text stringlengths 54 60.6k |
|---|
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 *
* (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS *
* ... |
<commit_before>/*
ofxTableGestures (formerly OF-TangibleFramework)
Developed for Taller de Sistemes Interactius I
Universitat Pompeu Fabra
Copyright (c) 2010 Carles F. Julià <carles.fernandez@upf.edu>
Permission is hereby granted, free of charge, to any person
obtaining a copy of this softwar... |
<commit_before>#include "IndividualEventStatistics.hpp"
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include "json/json.h"
#include "Event.hpp"
#include "EventStatistics.hpp"
namespace {
// Return a string properly escaped for csv. If the input contains \r or \n,
// the result will be... |
<commit_before>/**
* The MIT License (MIT)
*
* Copyright (c) 2014 wisol technologie GmbH
*
* 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 limita... |
<commit_before>#include <vector>
using std::vector;
#include <string>
using std::string;
#include <SofaTest/Sofa_test.h>
using sofa::Sofa_test;
#include<sofa/core/objectmodel/BaseObject.h>
using sofa::core::objectmodel::BaseObject ;
#include <SofaSimulationGraph/DAGSimulation.h>
using sofa::simulation::Simulation ;... |
<commit_before>//===- ProfileInfoLoad.cpp - Load profile information from disk -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------... |
<commit_before>#include "logger.h"
#include "text/table.h"
#include "task_mem_csv.h"
using namespace nano;
static void scale(const string_t& task_name, tensor3ds_t& samples)
{
const auto dims = samples.begin()->size();
vector_t maximums(dims);
for (const auto& sample : samples)
{
... |
<commit_before>//===-- RegisterScavenging.cpp - Machine register scavenging --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Copyright (c) 2012-2014 The Bitcoin Core developers
// Copyright (c) 2014-2015 The Dash Core developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#includ... |
<commit_before>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, Robert Bosch LLC.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... |
<commit_before>#include "RTSPluginPrivatePCH.h"
#include "RTSPlayerController.h"
#include "RTSSelectableComponent.h"
#include "RTSCameraBoundsVolume.h"
#include "Components/InputComponent.h"
#include "Engine/LocalPlayer.h"
#include "Kismet/GameplayStatics.h"
#include "Engine/Engine.h"
#include "EngineUtils.h"
void ... |
<commit_before>// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/ParameterList.hpp>
#include <Nazara/Core/Error.hpp>
#include <Nazara/Core/MemoryHelper.hpp>
#include <cstrin... |
<commit_before>// Copyright (C) 2012 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/TaskScheduler.hpp>
#include <Nazara/Core/ConditionVariable.hpp>
#include <Nazara/Core/Error.hpp>
#include <N... |
<commit_before>#include "PatternMatch.hpp"
bool patternMatch (uint64_t startwall, patternlist startpattern, const wallgraphvector& wallgraphptr ) {
typedef std::pair<uint64_t,patternlist> wallpair;
std::deque<wallpair> nodes_to_visit;
wallpair root = std::make_pair(startwall,startpattern);
nodes_to_visit.push_fr... |
<commit_before>/* **********************************************************
* Copyright (c) 2007-2008 VMware, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: so_checksum.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-09 13:32:32 $
*
* The Contents of this file are ma... |
<commit_before>#include "hierarchy.h"
#include "core/array.h"
#include "core/hash_map.h"
#include "core/iserializer.h"
#include "core/matrix.h"
#include "core/pod_hash_map.h"
#include "universe.h"
namespace Lumix
{
class HierarchyImpl : public Hierarchy
{
private:
typedef PODHashMap<int32_t, Array<Child>* > Chil... |
<commit_before>// $Id$
/***********************************************************************
Moses - factored phrase-based language decoder
Copyright (C) 2006 University of Edinburgh
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as ... |
<commit_before>/*
This file is part of VROOM.
Copyright (c) 2015-2018, Julien Coupey.
All rights reserved (see LICENSE).
*/
#include "./input_parser.h"
// Helper to get optional array of coordinates.
inline std::array<coordinate_t, 2>
parse_coordinates(const rapidjson::Value& object, const char* key) {
if (!obje... |
<commit_before>/*
Copyright (c) 2009, Arvid Norberg
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, this list of condi... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... |
<commit_before>/*
* Copyright 2011-2017 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
*/
#include "shaderc.h"
namespace bgfx
{
bool compilePSSLShader(bx::CommandLine& _cmdLine, uint32_t _version, const std::string& _code, bx::WriterI* _writer)
{
BX_UN... |
<commit_before>/*
Copyright (c) 2009, Arvid Norberg
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, this list of condi... |
<commit_before>/*************************************************************************
*
* $RCSfile: color.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: ssa $ $Date: 2002-06-26 16:40:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before>#include "../screenshot.hpp"
#define EzApp EasyGIF::App
#define EzUI EasyGIF::UI
EzApp::Screenshot::Screenshot()
{
// create a new RegionPicker but do not activate yet
m_Picker = new EzUI::RegionPicker(false);
}
void EzApp::Screenshot::RunUI()
{
m_Picker->Activate();
while(m_Picker->IsRunning() &&... |
<commit_before>/*********************************************************************
*
* Copyright 2011 Intel Corporation
* All Rights Reserved.
*
* 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 t... |
<commit_before>// Copyright (c) 2018 PaddlePaddle Authors. 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
//
/... |
<commit_before>#include "boost/program_options.hpp"
namespace po = boost::program_options;
#include "opencv2/opencv.hpp"
using namespace cv;
#include "autocrop/autocrop.hpp"
#include "saliency/saliency.hpp"
#include "features/feature.hpp"
#include "util/opencv.hpp"
int main(int argc, char** argv)
{
/*
* Argument ... |
<commit_before>//put global includes in 'BasicIncludes'
#include "BasicIncludes.h"
#include "rand.h"
#include "Camera.h"
#include "Input.h"
#include "Object.h"
//Function List
void Update(double);
void Draw();
void CameraInput();
void MouseInput();
void InitializeWindow();
void Terminate();
void Run();
//Variables
... |
<commit_before>// This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
#include "clientapi.hh"
#include "internal.hh"
#include "../configure.h" // RAPICORN_GETTEXT_DOMAIN
#include <stdlib.h>
#define SDEBUG(...) RAPICORN_KEY_DEBUG ("StartUp", __VA_ARGS__)
namespace Rapicorn {
static struct __Stat... |
<commit_before># include "conf.hpp"
# include "error.hpp"
# include "broker-util.hpp"
# include <cstdlib>
using std::getenv;
const char* unix_family = "UNIX";
const char* inet_family = "INET";
const char* mesg_relay_addr_env_var = "CHATTP_MESG_RELAY_ADDR";
const char* mesg_relay_family_env_var = "CHATTP_MESG_RELAY... |
<commit_before>#include "util/file_piece.hh"
#include "util/file.hh"
#include "util/usage.hh"
#include <stdio.h>
#include <fstream>
#include <iostream>
#include <ctime> //for timing.
#include <chrono>
#include "helpers/hash.hh"
#include "helpers/line_splitter.hh"
#include "helpers/probing_hash_utils.hh"
#include "he... |
<commit_before><commit_msg>INTEGRATION: CWS ooo19126 (1.1.1.1.370); FILE MERGED 2005/09/05 13:50:37 rt 1.1.1.1.370.1: #i54170# Change license header: remove SISSL<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2019 Google LLC
//
// 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 applicable la... |
<commit_before>/*
1837. Isenbaev's Number
Time limit: 0.5 second
Memory limit: 64 MB
[Description]
Vladislav Isenbaev is a two-time champion of Ural, vice champion of TopCoder
Open 2009, and absolute champion of ACM ICPC 2009. In the time you will spend
reading this problem statement Vladislav would have solved a prob... |
<commit_before>#include "drape_frontend/gps_track_renderer.hpp"
#include "drape_frontend/visual_params.hpp"
#include "drape/glsl_func.hpp"
#include "drape/shader_def.hpp"
#include "drape/vertex_array_buffer.hpp"
#include "indexer/scales.hpp"
#include "geometry/rect_intersect.hpp"
#include "base/logging.hpp"
#inclu... |
<commit_before>// Copyright (c) 2018 PaddlePaddle Authors. 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
//
/... |
<commit_before>/*************************************************************************
*
* $RCSfile: Pattern.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: rt $ $Date: 2004-04-02 10:55:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#include "cache_hash.hpp"
#include "os.hpp"
#include "compiler.hpp"
#include <stdio.h>
Error get_compiler_id(Buf **result) {
static Buf saved_compiler_id = BUF_INIT;
if (saved_compiler_id.list.length != 0) {
*result = &saved_compiler_id;
return ErrorNone;
}
Error err;
... |
<commit_before>/*
* File: BackpropeagationLearner.cpp
* Author: janvojt
*
* Created on July 13, 2014, 12:10 AM
*/
#include "BackpropagationLearner.h"
#include "Network.h"
#include "LabeledDataset.h"
#include <cstring>
#include <string>
#include <stdexcept>
#include "log/LoggerFactory.h"
#include "log4cpp/Cat... |
<commit_before>#include "MarchingCubesPainter.h"
#include <reflectionzeug/property/extensions/GlmProperties.h>
#include <globjects/globjects.h>
#include <gloperate/base/RenderTargetType.h>
#include <gloperate/painter/TargetFramebufferCapability.h>
#include <gloperate/painter/ViewportCapability.h>
#include <gloperate... |
<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 "content/nw/src/browser/nw_autofill_client.h"
#include "base/logging.h"
#include "base/prefs/pref_service.h"
#include "components... |
<commit_before><commit_msg>trim thread interval<commit_after><|endoftext|> |
<commit_before>/****************************************************************************
* Copyright (C) 2014-2015 by Savoir-Faire Linux *
* Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> *
* ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: jobexecutor.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-09 00:23:05 $
*
* The Contents of this file are ma... |
<commit_before>#include "Messaging/RpcHandler.hpp"
#include "Transports/AddressFactory.hpp"
#include "Connection.hpp"
#include "ConnectionManager.hpp"
using Dissent::Transports::AddressFactory;
namespace Dissent {
namespace Connections {
ConnectionManager::ConnectionManager(const Id &local_id, RpcHandler &rpc) :
... |
<commit_before>#include <CQIllustratorSelection.h>
#include <CQIllustrator.h>
#include <CQIllustratorShape.h>
#include <CQIllustratorShapeControlLine.h>
CQIllustratorSelectedShapes::
CQIllustratorSelectedShapes(CQIllustrator *illustrator) :
illustrator_(illustrator), locked_(false)
{
}
void
CQIllustratorSelectedShap... |
<commit_before>/* Copyright (c) 2011 Cody Miller, Daniel Norris, Brett Hitchcock.
*
* 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 ... |
<commit_before>/*
* Copyright (C) FFLAS-FFPACK
* Written by Hongguang ZHU <zhuhongguang2014@gmail.com>
* This file is Free Software and part of FFLAS-FFPACK.
*
* ========LICENCE========
* This file is part of the library FFLAS-FFPACK.
*
* FFLAS-FFPACK is free software: you can redistribute it and/or modify
* i... |
<commit_before>/* OpenSceneGraph example, osgparticle.
*
* 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, copy, modif... |
<commit_before>#include "evolve.h"
extern double eTable[26][26]; // English contact table
extern double cTable[26][26]; // Cipher contact table
extern vector < keyFitType > population; // The population of possible keys
// Uses index to select character from key for fitness evaluation
// NOTE: does not bounds check... |
<commit_before>#include "Game.h"
#include "Player.h"
#include "DrawComponent.h"
#include <stdio.h>
#include <SDL2/SDL.h>
bool Game::inst_ = false;
Game::Game()
{
if (!inst_)
{
window_ = NULL;
renderer_ = NULL;
entities_ = new Entity*[numEntities_];
for (int i = 0; i < numEntities_; i++)
{
... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE JPetReaderTest
#include <boost/test/unit_test.hpp>
#define protected public
#define private public
#include "../JPetSigCh/JPetSigCh.h"
#include "../JPetSignal/JPetSignal.h"
#include "../JPetReader/JPetReader.h"
#include <cstddef>
#include <iostream... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2005 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 LICENSE that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>/* Copyright (c) 2014-2015 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" ... |
<commit_before>// -*-c++-*-
#include <osg/Group>
#include <osg/Sequence>
#include <osg/MatrixTransform>
#include <osgDB/ReadFile>
#include <osgGA/TrackballManipulator>
#include <osgGLUT/Viewer>
#include <osgGLUT/glut>
//
// A simple demo demonstrating usage of osg::Sequence.
//
// simple event handler to start/s... |
<commit_before>//Copyright 2015 Adam Smith
//
//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 applicable law or agree... |
<commit_before><commit_msg>fdo#60491: embeddedobj: catch exception in fallback path<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: rotmodit.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-08 18:23:41 $
*
* The Contents of this file are made ... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2005 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 LICENSE that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>#include "PhysicsManager.hpp"
#include <btBulletDynamicsCommon.h>
#include <BulletCollision/CollisionDispatch/btGhostObject.h>
#include <glm/gtx/quaternion.hpp>
#include "../Component/RigidBody.hpp"
#include "../Component/Shape.hpp"
#include "../Entity/Entity.hpp"
#include "../Physics/GlmConversion.hpp"... |
<commit_before>#include <windows.h>
#include "PopupMenu.hpp"
#define TRAY_ID 666
#define TRAY_MSG 666
struct WindowData
{
PopupMenu* menu;
};
void HandleMenuSelection(PopupMenu::MenuItem item, HWND window)
{
WindowData* data = (WindowData*)GetWindowLongPtr(window, GWLP_USERDATA);
if(item.id... |
<commit_before>#include "tests/Base.hh"
#include "topology/Mesh.hh"
#include "topology/MorseSmaleComplex.hh"
#include <vector>
void test1()
{
ALEPH_TEST_BEGIN( "Simple mesh");
aleph::topology::Mesh<double> M;
M.addVertex( 0.0, 0.0, 0.0 );
M.addVertex( 0.0, 1.0, 0.0 );
M.addVertex( 1.0, 0.0, 0.0 );
M.ad... |
<commit_before>#include <vector>
#include <string>
#include <fstream>
#include "boost/program_options.hpp"
#include "boost/algorithm/string.hpp"
#include "boost/lexical_cast.hpp"
#include "vtrc-client-base/vtrc-client.h"
#include "vtrc-common/vtrc-pool-pair.h"
#include "vtrc-common/vtrc-exception.h"
#include "rfs-... |
<commit_before>/****************************************************************************
* Copyright (C) 2017 Savoir-faire Linux *
* Author: Nicolas Jäger <nicolas.jager@savoirfairelinux.com> *
* Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com> ... |
<commit_before>// Copyright 2018 Google Inc.
//
// 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 applicable law ... |
<commit_before>/**
* Copyright (c) Sjors Gielen, 2010
* See LICENSE for license.
*/
#include "database.h"
#include "config.h"
#include "utils.h"
#include <mongo.h>
#include <cerrno>
#include <cassert>
#include <sstream>
#include <stdio.h>
// #define DEBUG
#define M (mongo_sync_connection*)m_
#define PROPERTIES st... |
<commit_before>
#include <rosplan_planning_system/PlanDispatch/SimplePlanDispatcher.h>
#include "rosplan_planning_system/PlanDispatch/SimplePlanDispatcher.h"
namespace KCL_rosplan {
/*-------------*/
/* constructor */
/*-------------*/
SimplePlanDispatcher::SimplePlanDispatcher(ros::NodeHandle& nh) : PlanDispat... |
<commit_before>/* Copyright (C) 2003 MySQL AB
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; version 2 of the License.
This program is distributed in the hope that it will be useful,
... |
<commit_before>#include "gtest/gtest.h"
#include "../src/base/lib_common2.hpp"
#include "../src/base/lib_common3.hpp"
#include "../src/base/useot.hpp"
using namespace nOT::nUtils;
class cUseOtTest: public testing::Test {
protected:
std::shared_ptr<nOT::nUse::cUseOT> useOt;
std::string nym1;
std::string toNym;
s... |
<commit_before>#ifndef _SDD_DD_STACK_HH_
#define _SDD_DD_STACK_HH_
#include <algorithm>
#include <vector>
#include "sdd/dd/default_value.hh"
#include "sdd/util/hash.hh"
namespace sdd { namespace dd {
/*------------------------------------------------------------------------------------------------*/
template <type... |
<commit_before>#ifndef _PROFILE_HPP_
#define _PROFILE_HPP_
#include <chrono>
#include <functional>
#include <iostream>
#include <iomanip>
#define profile(name, fun) if(profile_block p = profile_block(name, fun))
class profile_block {
public:
profile_block(std::string name, std::function<void(std::string, long long)... |
<commit_before><commit_msg>Sketcher: Use move semantics wherever sensible<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <algorithm>
#include <ev.h>
#include <unistd.h>
#include <fcntl.h>
#include "service.h"
#include "dinit-log.h"
#include "cpbuffer.h"
LogLevel log_level = LogLevel::WARN;
LogLevel cons_log_level = LogLevel::WARN;
static bool log_to_console = false; // whether we should ou... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "reconfig_params.h"
namespace proton {
ReconfigParams::
ReconfigParams(const DocumentDBConfig::ComparisonResult &res)
: _res(res)
{
}
bool
ReconfigParams::configHasChang... |
<commit_before><commit_msg>Sketcher: Fix #3658 Levenberg-Marquardt solver precision issues<commit_after><|endoftext|> |
<commit_before>#include "HttpPlugin.hh"
#include "G4Application.hh"
using namespace g4;
namespace http
{
void HttpPlugin::OnRunInitialized()
{
_server->Start();
_action = new HttpEventAction(_server->GetState());
G4Application::GetInstance()->GetRunManager()->AddAction(_action);
}... |
<commit_before>#include <Refal2.h>
namespace Refal2 {
//-----------------------------------------------------------------------------
// CPrintHelper
void CPrintHelper::Variable( std::ostream& outputStream,
const TVariableIndex variable ) const
{
outputStream << "V" << variable;
}
void CPrintHelper::Label( std::o... |
<commit_before>/*
Copyright (c) 2007, Arvid Norberg
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, this list of condi... |
<commit_before>// Copyright (c) 2011 The Native Client Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// C headers
#include <cassert>
#include <cstdio>
// C++ headers
#include <sstream>
#include <string>
// NaCl
#include "ppapi/cp... |
<commit_before>//
// base.hpp
// ~~~~~~~~
//
// Copyright (c) 2014 Rick Yang (rick68 at gmail dot com)
//
// 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://mozilla.org/MPL/2.0/.
//
#ifndef E... |
<commit_before>/*
The MIT License (MIT)
Copyright (c) 2015 CantTouchDis <bauschp@informatik.uni-freiburg.de>
Copyright (c) 2015 brio1009 <christoph1009@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
... |
<commit_before>#include "server.hpp"
namespace po = boost::program_options;
using std::cout;
using std::cerr;
using std::endl;
using std::string;
sf::UdpSocket socket;
unsigned short client_port;
std::map<string, Player> players;
void shutdown(int s)
{
(void)s; // intentionally unused
cout << "\nServer shutting ... |
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE**
*
* Condor Software Copyright Notice
* Copyright (C) 1990-2006, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* This source code is covered by the Condor Public License, which can
* be foun... |
<commit_before><commit_msg>Core: Linkcondition cleanup (was causing warnings in VS2017)<commit_after><|endoftext|> |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2012-2015 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>/****************************************************************************
* Copyright (c) 2012-2019 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>// This file is part of the AliceVision project.
// 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 https://mozilla.org/MPL/2.0/.
#include "Stat3d.hpp"
namespace aliceVision {
doub... |
<commit_before><commit_msg>Create p113.cpp<commit_after><|endoftext|> |
<commit_before>/*
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008-2011 <http://www.ArcEmu.org/>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* th... |
<commit_before><commit_msg>LNX: vec4l<commit_after><|endoftext|> |
<commit_before><commit_msg>use uncompressed format on iOS<commit_after><|endoftext|> |
<commit_before>/*
* TexLogParser.cpp
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILI... |
<commit_before>#include "Literal.h"
#include <string>
#include <vector>
#include "../../Error/Error.h"
#include "../../Linkage/Linkage.h"
#include "../../Operation/Cast/Cast.h"
#include "../../llvmUtils/llvmUtils.h"
#include "../Utils/Utils.h"
using namespace dale::ErrorInst;
namespace dale {
llvm::Constant *string... |
<commit_before>/* gobby - A GTKmm driven libobby client
* Copyright (C) 2005 0x539 dev group
*
* 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
* version 2 of the License, or (at you... |
<commit_before>/*
Copyright (c) 2007, Arvid Norberg
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, this list of condi... |
<commit_before><commit_msg>SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025<commit_after><|endoftext|> |
<commit_before>// MultiPortOSSAudioDevice.cpp
#if defined(LINUX)
#include "MultiPortOSSAudioDevice.h"
#include <sys/soundcard.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <string.h> // strerror()
#define DEBUG... |
<commit_before>// Copyright 2015, University of Freiburg,
// Chair of Algorithms and Data Structures.
// Author: Björn Buchhold (buchhold@informatik.uni-freiburg.de)
#include <string>
#include <sstream>
#include <algorithm>
#include "./QueryExecutionTree.h"
#include "./IndexScan.h"
#include "./Join.h"
#include "./Sort... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.