text stringlengths 54 60.6k |
|---|
<commit_before>/*
* Copyright 1999-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
<commit_before>/*
* Copyright 2009 Utkin Dmitry
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
<commit_before>/*********************************************************************
*
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, Christian Rose
* Team Hector,
* Technische Universität Darmstadt
* All rights reserved.
*
* Redistribution and... |
<commit_before>/*************************************************************************
*
* $RCSfile: bulitem.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: ka $ $Date: 2001-10-31 16:48:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: galmisc.hxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: ihi $ $Date: 2006-08-29 14:26:24 $
*
* The Contents of this file are made... |
<commit_before>/*************************************************************************
*
* $RCSfile: pszctrl.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2004-09-09 15:37:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* $RCSfile: swdbdata.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: os $ $Date: 2001-03-30 11:59:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*
* This is part of the FL library, a C++ Bayesian filtering library
* (https://github.com/filtering-library)
*
* Copyright (c) 2014 Jan Issac ([email protected])
* Copyright (c) 2014 Manuel Wuthrich ([email protected])
*
* Max-Planck Institute for Intelligent Systems, AMD Lab
* Univer... |
<commit_before><commit_msg>Use bool instead of int<commit_after><|endoftext|> |
<commit_before><commit_msg>devel: Added multiplicativeSeparability implementation<commit_after>namespace mant {
template <typename ParameterType>
class MultiplicativeSeparability : public Property<ParameterType> {
public:
bool isSeparable() const noexcept;
void isSeparable(const bool isSeparable) n... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: radiobtnbox.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: hr $ $Date: 2007-06-27 17:35:38 $
*
* The Contents of this file are ma... |
<commit_before><commit_msg>error C2782: template parameter '_Ty' is ambiguous<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: atrfld.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: kz $ $Date: 2004-02-26 15:34:07 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before><commit_msg>WaE: default constructor could not be generated<commit_after><|endoftext|> |
<commit_before><commit_msg>coverity#1309049 Unchecked return value<commit_after><|endoftext|> |
<commit_before><commit_msg>simplify a bit<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: htmlnum.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 17:14:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before><commit_msg>remove unconditionally dead code<commit_after><|endoftext|> |
<commit_before>// Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless require... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2014-2016 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>/*
** Copyright 2012-2014 Merethis
**
** This file is part of Centreon Broker.
**
** Centreon Broker is free software: you can redistribute it and/or
** modify it under the terms of the GNU General Public License version 2
** as published by the Free Software Foundation.
**
** Centreon Broker is distribu... |
<commit_before>#include <limits.h>
#include <stdio.h>
#include <iostream>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <vector>
#include <map>
#include <set>
#include <algorithm>
#include <assert.h>
#include <string>
using namespace std;
typedef vector<int> VI;
typedef vector<long long> VLL;
typed... |
<commit_before>/*
* Copyright (c) 2016, https://github.com/zhatalk
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... |
<commit_before>/***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the... |
<commit_before>#include <ncurses.h>
#include <iostream>
#include <unistd.h>
#include <algorithm>
#include "interface/Display.h"
#include "map/Level.h"
#include "map/filters/DrunkardsWalkFilter.h"
#include "core/Rand.h"
#include "entity/ecs.h"
void pause_curses(Display& display)
{
display.pause();
std::cout << "Pa... |
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "SoundSystem.h"
#include "OpenALAudioModule.h"
#include "WavLoader.h"
#include "VorbisDecoder.h"
#include "RexTypes.h"
#include "AssetServiceInterface.h"
#include "AssetEvents.h"
... |
<commit_before>#include <QDebug>
#include <memory>
#include "kernel.h"
#include "ilwisdata.h"
#include "mastercatalog.h"
#include "iooptions.h"
#include "uicontextmodel.h"
#include "coveragelayermodel.h"
#include "coverage.h"
#include "visualizationmanager.h"
using namespace Ilwis;
LayerManager::LayerManager(QObject ... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "dialogopen.h"
#include "dialognew.h"
#include <QDirModel>
#include <QFileDialog>
#include <QDebug>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow),
folderHistory(new QStack<QString>),
fol... |
<commit_before>/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "Lice... |
<commit_before>/*
Copyright 2015 Brain Research Institute, Melbourne, Australia
Written by Rami Tabbara, 18/02/15.
This file is part of MRtrix.
MRtrix is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Found... |
<commit_before>//shit to do
//Do checks to make sure it doesn't crash (make sure creators exists, that the resource creation didn't fail)
//Make AddType Template in the .inl file//And creators isn't attached to anything. You're supposed to be initialising the static creators in ResourceFactory.
//And finally, you don't... |
<commit_before>#ifndef AUTOCHECK_GENERATOR_COMBINATORS_HPP
#define AUTOCHECK_GENERATOR_COMBINATORS_HPP
#include <type_traits>
#include <limits>
namespace autocheck {
namespace detail {
/* Wrappers used by combinators. */
template <typename Func, typename Gen>
class mapped_generator {
public:
... |
<commit_before>/*
* Copyright 2007-2018 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <[email protected]>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source... |
<commit_before><commit_msg>proper -l flag formatting. currently trying to repair -laR flag<commit_after><|endoftext|> |
<commit_before>#include "TGLViewer.h"
namespace Alieve {
class MUONData;
class Event;
}
Alieve::MUONData* g_muon_data = 0;
Alieve::Event* g_muon_last_event = 0;
Int_t g_currentEvent = -1;
Bool_t g_fromRaw = kFALSE;
void MUON_digits(Bool_t fromRaw = kFALSE, Bool_t showTracks = kTRUE)
{
TTree* dt = 0;
if (A... |
<commit_before>#ifndef GUARD_MLOPEN_OCL_KERNEL_HPP_
#define GUARD_MLOPEN_OCL_KERNEL_HPP_
#include <sstream>
#include <array>
#include <utility>
#include <vector>
#include <mlopen.h>
#include <cassert>
#include <functional>
#include <array>
#include <memory>
#include <algorithm>
#include <mlopen/errors.hpp>
#include <... |
<commit_before><commit_msg>Flick the switch back to PATCH_PROTOCOL while sorting out a few failing unit tests on the builder.<commit_after><|endoftext|> |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved
*/
#include "../StroikaPreComp.h"
#include "Instruments/LoadAverage.h"
#include "Instruments/MountedFilesystemUsage.h"
#include "Instruments/NetworkInterfaces.h"
#include "Instruments/ProcessDetails.h"
#include ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: GridWrapper.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-05-22 17:18:22 $
*
* The Contents of this file are ma... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: MultipleChartConverters.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-08 00:24:01 $
*
* The Contents of this... |
<commit_before>// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/android/compositor/layer/content_layer.h"
#include "cc/layers/layer.h"
#include "cc/layers/layer_lists.h"
#includ... |
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/message_loop.h"
#include "base/path_serv... |
<commit_before>/**
* \file
* \brief StaticRawMessageQueue class header
*
* \author Copyright (C) 2015-2018 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
*... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/test/automated_ui_tests/automated_ui_test_base.h"
#include "chrome/test/au... |
<commit_before>#ifndef INC_AL_UTIL_CUBE_MAP_FBO_HPP
#define INC_AL_UTIL_CUBE_MAP_FBO_HPP
/* Allocore --
Multimedia / virtual environment application class library
Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB.
Copyright (C) 2012. The Regents of the University of California.
All rig... |
<commit_before>#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MAIN
#include <string>
#include <boost/assign.hpp>
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
#include <searcher.hpp>
std::string path_to_string(Graph::Path_type& path)
{
std::stringstream s;
s << "[";
BOOST_FOREACH (Grap... |
<commit_before>#include "eventblock.h"
#include <ctime>
#include <iostream>
#include <cstdlib>
using namespace std;
// Constructor & Destructor
EventBlock::EventBlock(QGameItem * parent) : Block(parent)
{
}
EventBlock::~EventBlock()
{
}
// Methods
void EventBlock::enter(Player* player)
{
}
void EventBlock::ch... |
<commit_before>// Copyright (C) 2010-2014 Joshua Boyce.
// See the file COPYING for copying permission.
#pragma once
#include <type_traits>
#include <utility>
#include <hadesmem/config.hpp>
namespace hadesmem
{
namespace detail
{
template <typename T> class Optional
{
public:
HADESMEM_DETAIL_... |
<commit_before>/**
* response_status.hpp
*
* Created on: 28 авг. 2015 г.
* Author: zmij
*/
#ifndef TIP_HTTP_COMMON_RESPONSE_STATUS_HPP_
#define TIP_HTTP_COMMON_RESPONSE_STATUS_HPP_
namespace tip {
namespace http {
/** The status of the reply.
* [RFC 2616 Fielding, et al.](http://www.w3.org/Protocols/rfc2... |
<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <cstddef>
#include <type_traits>
#include <utility>
#include <visionaray/math/limits.h>
#include <visionaray/math/ray.h>
#include <visionaray/intersector.h>
#include <visionaray/update_if.h>
#include "../e... |
<commit_before>/**
* Copyright (c) 2016-2017 metaverse core developers (see MVS-AUTHORS)
*
* This file is part of metaverse.
*
* metaverse is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by th... |
<commit_before>/*
* Copyright (c) 2009, Piotr Korzuszek
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice... |
<commit_before>// SafeArryGUID.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <objbase.h>
#include <string>
#include<atlsafe.h>
#include<iostream>
using namespace std;
string GuidToString(const GUID &guid)
{
char buf[64] = { 0 };
sprintf_s(buf, sizeof(buf), "{%08X-%04X-%0... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2009 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>#include "file_utils.h"
#include "log/log.h"
#include <wordexp.h>
#include <fstream>
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
LOG_DECLARE_NAMESPACE("client.common.file_utils");
namespace Cthun {
namespace Common {
namespace FileUtils {
// HERE(ale): copied from Pegasus
// TODO(ale... |
<commit_before>#include <QObject>
#include <QGraphicsSceneMouseEvent>
#include <dcpappletpage.h>
#include <dcpappletobject.h>
#include "ut_dcpappletpage.h"
void Ut_DcpAppletPage::init()
{
m_subject = new DcpAppletPage(0);
}
void Ut_DcpAppletPage::cleanup()
{
delete m_subject;
m_subject = 0;
}
void Ut_D... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tp_3D_SceneGeometry.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-05-22 17:42:31 $
*
* The Contents of this fil... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: tp_3D_SceneGeometry.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2007-07-03 13:39:43 $
*
* The Contents of this fil... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/dom_ui/shown_sections_handler.h"
#include "base/scoped_ptr.h"
#include "chrome/browser/chrome_thread.h"
#incl... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/extension_apitest.h"
// TODO(rafaelw,erikkay) disabled due to flakiness
// BUG=22668 (probably the... |
<commit_before>//==============================================================================
/// Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file vktTimestampedCmdBuf.cpp
/// \brief A wrapper for internal command buffer which holds 1 timestamp.
//... |
<commit_before>// Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fpdfapi/font/cpdf_type3font.h"
#include <utilit... |
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/renderer_host/gtk_key_bindings_handler.h"
#include <gdk/gdkkeysyms.h>
#include <string>
#include <utility>
#in... |
<commit_before>#include <iostream>
#include "../include/PreAllocString.h"
int main() {
CREATE(str25, 25);
printf("Size: %u\n", static_cast<unsigned int>(str25.SizeOf()));
const char *cstr = "fester string";
printf("String: %s\n", str25);
str25 += 'c';
str25.AddWhiteSpace();
printf("String: %s... |
<commit_before>int source();
void sink(...) {};
void arithAssignments(int source1, int clean1) {
sink(clean1); // clean
clean1 += source1;
clean1 += 1;
sink(clean1); // tainted
clean1 = source1 = 1;
sink(clean1); // clean
source1 = clean1 = source();
source1++;
++source1;
source1 += 1;
sink(sour... |
<commit_before>#ifndef EXPORTELEMENTVISITOR_HPP_DEFINED
#define EXPORTELEMENTVISITOR_HPP_DEFINED
#include "Callbacks.hpp"
#include "GeoCoordinate.hpp"
#include "entities/Element.hpp"
#include "entities/Node.hpp"
#include "entities/Area.hpp"
#include "entities/Way.hpp"
#include "entities/Relation.hpp"
#include "heightm... |
<commit_before>#include "lsys/LSystemParser.hpp"
#include "lsys/StringTurtle.hpp"
#include <boost/test/unit_test.hpp>
using namespace utymap::lsys;
using namespace utymap::tests;
namespace {
const double ProbabilityPrecision = 0.01;
const std::string SimpleGrammar = "generations: 3\n"
... |
<commit_before><commit_msg>removed variable re-declaration.<commit_after><|endoftext|> |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2011-2012, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// ... |
<commit_before>// Please read Bounce2.h for information about the liscence and authors
#if defined(ARDUINO) && ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
#include "Bounce2.h"
#define DEBOUNCED_STATE 0
#define UNSTABLE_STATE 1
#define STATE_CHANGED 3
Bounce::Bounce()
: previous_mil... |
<commit_before>/*
* D3D11VertexBufferArray.cpp
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "D3D11VertexBufferArray.h"
#include "D3D11VertexBuffer.h"
#include "../../CheckedCast.h"
namespace LLGL
{
D3D11VertexBuffe... |
<commit_before>#include "ExampleGame/Components/GameScripts/Units/Assassin.h"
#include "ExampleGame/Components/Grid/GameGrid.h"
#include "ExampleGame/Components/Grid/GridCell.h"
#include "ExampleGame/Components/Grid/GridManager.h"
#include "ExampleGame/Components/Grid/GridNavigator.h"
#include "ExampleGame/GameConstant... |
<commit_before>/**
* Copyright 2016, Quickstep Research Group, Computer Sciences Department,
* University of Wisconsin—Madison.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License ... |
<commit_before>/// @file
/// @author uentity
/// @date 22.06.2018
/// @brief Implementation of BS tree-related serialization
/// @copyright
/// This Source Code Form is subject to the terms of the Mozilla Public License,
/// v. 2.0. If a copy of the MPL was not distributed with this file,
/// You can obtain one at http... |
<commit_before>/*
This file is part of KOrganizer.
Copyright (c) 2001,2002,2003 Cornelius Schumacher <[email protected]>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either v... |
<commit_before>/* This file is part of the KDE libraries
* Copyright (C) 2005 Joseph Wenninger <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* vers... |
<commit_before><commit_msg>WaE: keep msvc happy<commit_after><|endoftext|> |
<commit_before>/**
* @file lsh_test.cpp
*
* Unit tests for the 'LSHSearch' class.
*/
#include <mlpack/core.hpp>
#include <mlpack/core/metrics/lmetric.hpp>
#include <boost/test/unit_test.hpp>
#include "old_boost_test_definitions.hpp"
#include <mlpack/methods/lsh/lsh_search.hpp>
#include <mlpack/methods/neighbor_sea... |
<commit_before>#include "MaterialElement.h"
#include "PhysicalElement.h"
#include <iostream>
//Constructors & destructor-------------------------------
MaterialElement::MaterialElement()
{}
MaterialElement::MaterialElement(Point P, double masse , double charge_)
{
position = P; // does a shallow copy of P
m... |
<commit_before>#include "MaterialElement.h"
#include "Geo.h"
#include <iostream>
//Constructors & destructor-------------------------------
MaterialElement::MaterialElement()
{}
MaterialElement::MaterialElement(Point p, Vect resultantForce, Vect velocity,
double masse, double charge_ )
{
Charge = charge_; // in Co... |
<commit_before>//--------------------------------------------------------------------------------------
// File: SpriteFontTest.cpp
//
// Developer unit test for DirectXTK SpriteFont
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT... |
<commit_before>// Copyright (C) 2010 - 2013 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and The University
// of Manchester.
// All rights reserved.
// Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., EML Research, gGmbH, Universi... |
<commit_before>#include "include/vkalloc.h"
#include <vector>
#include <unordered_map>
namespace vka {
struct Page {
VkDeviceMemory deviceMemory = VK_NULL_HANDLE;
Node* head = nullptr;
};
struct Node {
Node* next = nullptr;
uint64_t offset = 0;
uint64_t size = 0;
... |
<commit_before>/*
* Written by : BinHong Lee
* Last edited : 5/12/2016
*/
#include <iostream>
#include <string>
#include <stack>
#include <fstream>
#include "Person.cpp"
using namespace std;
//Declaration of functions
void getUser(string);
void login();
void adminLogin();
void loggedIn();
void registration();
v... |
<commit_before>/*
Copyright (c) 2015 Arduino LLC. All right reserved.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any late... |
<commit_before>/*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// Name: frame.cpp
// Purpose: Implementation of wxExFrame class
// Author: Anton van Wezenbeek
// Created: 2010-03-26
// RCS-ID: $Id$
// Copyright: (c) 2010 Anton van Wezenbeek
///////////////////////////////... |
<commit_before>//
// precise-generator.cpp
//
// Created by Peter Gusev on 19 March 2016.
// Copyright 2013-2016 Regents of the University of California
//
// #define DEBUG_PG
#include "precise-generator.hpp"
#include <boost/make_shared.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/thread/mutex.... |
<commit_before>/******************************************************************************\
* File: shell.cpp
* Purpose: Implementation of class wxExSTCShell
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
*
* Copyright (c) 1998-2009 Anton van Wezenbeek
* All rights are reserved. Reproduct... |
<commit_before>/******************************************************************************\
* File: test.cpp
* Purpose: Implementation for wxextension cpp unit testing
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
* Created: za 17 jan 2009 11:51:20 CET
*
* Copyright (c) 2009 Anton ... |
<commit_before>/*
The MIT License (MIT)
Copyright (c) 2013-2015 SRS(ossrs)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, cop... |
<commit_before>// Halide tutorial lesson 1.
// This lesson demonstrates basic usage of Halide as a JIT compiler for imaging.
// This lesson can be built by invoking the command:
// make tutorial_lesson_01_basics
// in a shell with the current directory at the top of the halide source tree.
// Otherwise, see the pl... |
<commit_before>// Halide tutorial lesson 13: Tuples
// This lesson describes how to write Funcs that evaluate to multiple
// values.
// On linux, you can compile and run it like so:
// g++ lesson_13*.cpp -g -I ../include -L ../bin -lHalide -lpthread -ldl -o lesson_13 -std=c++11
// LD_LIBRARY_PATH=../bin ./lesson_13
... |
<commit_before>// ======================================================================== //
// Copyright 2009-2015 Intel Corporation //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); ... |
<commit_before>#define ProofNtuple_cxx
//////////////////////////////////////////////////////////
//
// Example of TSelector implementation to do generic
// processing (filling a simple ntuple, in this case).
// See tutorials/proof/runProof.C, option "ntuple", for an
// example of how to run this selector.
//
////////... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2021 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>//Rubisks trying to wrap leveldb-mcpe
#include <leveldb/cache.h>
#include <leveldb/comparator.h>
#include <leveldb/db.h>
#include <leveldb/env.h>
#include <leveldb/filter_policy.h>
#include <leveldb/write_batch.h>
#define BOOST_PYTHON_STATIC_LIB
#include <boost/python/module.hpp>
#include <boost/python... |
<commit_before>// @(#)root/editline:$Id$
// Author: Mary-Louise Gill, 2009
/*************************************************************************
* Copyright (C) 1995-2011, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>// @(#)root/editline:$Id$
// Author: Mary-Louise Gill, 2009
/*************************************************************************
* Copyright (C) 1995-2011, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#include "dreal/solver/icp_seq.h"
#include <tuple>
#include <utility>
#include "dreal/solver/branch.h"
#include "dreal/solver/icp_stat.h"
#include "dreal/util/interrupt.h"
#include "dreal/util/logging.h"
using std::pair;
using std::tie;
using std::vector;
namespace dreal {
IcpSeq::IcpSeq(const Confi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.