text stringlengths 54 60.6k |
|---|
<commit_before>d3cc5ae1-2e4e-11e5-a405-28cfe91dbc4b<commit_msg>d3d1bfd1-2e4e-11e5-bae2-28cfe91dbc4b<commit_after>d3d1bfd1-2e4e-11e5-bae2-28cfe91dbc4b<|endoftext|> |
<commit_before>1f75cda6-585b-11e5-bd2d-6c40088e03e4<commit_msg>1f7d1d10-585b-11e5-a7d9-6c40088e03e4<commit_after>1f7d1d10-585b-11e5-a7d9-6c40088e03e4<|endoftext|> |
<commit_before>3e057e3d-2e4f-11e5-8cae-28cfe91dbc4b<commit_msg>3e0e1940-2e4f-11e5-bf8b-28cfe91dbc4b<commit_after>3e0e1940-2e4f-11e5-bf8b-28cfe91dbc4b<|endoftext|> |
<commit_before>6515e034-2fa5-11e5-a3fe-00012e3d3f12<commit_msg>6517dc06-2fa5-11e5-8d5b-00012e3d3f12<commit_after>6517dc06-2fa5-11e5-8d5b-00012e3d3f12<|endoftext|> |
<commit_before>a25966ee-327f-11e5-afbd-9cf387a8033e<commit_msg>a25fb582-327f-11e5-b771-9cf387a8033e<commit_after>a25fb582-327f-11e5-b771-9cf387a8033e<|endoftext|> |
<commit_before>ec7a2647-313a-11e5-95b5-3c15c2e10482<commit_msg>ec801e54-313a-11e5-9f5b-3c15c2e10482<commit_after>ec801e54-313a-11e5-9f5b-3c15c2e10482<|endoftext|> |
<commit_before>8562794a-2d15-11e5-af21-0401358ea401<commit_msg>8562794b-2d15-11e5-af21-0401358ea401<commit_after>8562794b-2d15-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>06bdbfc0-2f67-11e5-a409-6c40088e03e4<commit_msg>06c42b9e-2f67-11e5-9711-6c40088e03e4<commit_after>06c42b9e-2f67-11e5-9711-6c40088e03e4<|endoftext|> |
<commit_before>92b1011a-35ca-11e5-866d-6c40088e03e4<commit_msg>92b7a81c-35ca-11e5-af14-6c40088e03e4<commit_after>92b7a81c-35ca-11e5-af14-6c40088e03e4<|endoftext|> |
<commit_before>6627c33a-5216-11e5-aed8-6c40088e03e4<commit_msg>662f9cba-5216-11e5-b8b9-6c40088e03e4<commit_after>662f9cba-5216-11e5-b8b9-6c40088e03e4<|endoftext|> |
<commit_before>aaf18b3d-2e4f-11e5-aebe-28cfe91dbc4b<commit_msg>aaf84a11-2e4f-11e5-8faa-28cfe91dbc4b<commit_after>aaf84a11-2e4f-11e5-8faa-28cfe91dbc4b<|endoftext|> |
<commit_before>16d8b3ec-585b-11e5-bbfa-6c40088e03e4<commit_msg>16e0c710-585b-11e5-8dee-6c40088e03e4<commit_after>16e0c710-585b-11e5-8dee-6c40088e03e4<|endoftext|> |
<commit_before>d26d0180-313a-11e5-9397-3c15c2e10482<commit_msg>d27309f5-313a-11e5-b0c4-3c15c2e10482<commit_after>d27309f5-313a-11e5-b0c4-3c15c2e10482<|endoftext|> |
<commit_before>16f44858-585b-11e5-b649-6c40088e03e4<commit_msg>16faac52-585b-11e5-a25b-6c40088e03e4<commit_after>16faac52-585b-11e5-a25b-6c40088e03e4<|endoftext|> |
<commit_before>c2b5d62e-35ca-11e5-b5ae-6c40088e03e4<commit_msg>c2bbd808-35ca-11e5-b3bc-6c40088e03e4<commit_after>c2bbd808-35ca-11e5-b3bc-6c40088e03e4<|endoftext|> |
<commit_before>bf35a623-2747-11e6-8a55-e0f84713e7b8<commit_msg>Made changes so it will hopefully compile by the next commit<commit_after>bf4a4e68-2747-11e6-a5bd-e0f84713e7b8<|endoftext|> |
<commit_before>/*
* Menu
*
* Copyright (C)2016 Laurentiu Badea
*
* This file may be redistributed under the terms of the MIT license.
* A copy of this license has been included with this distribution in the file LICENSE.
*/
#include "menu.h"
#define BLACK 0
#define WHITE 1
#define INVERSE 2
/*
* OptionSelecto... |
<commit_before>#ifndef ROCFFT_HPP_
#define ROCFFT_HPP_
#include "core/application.hpp"
#include "core/timer_hip.hpp"
#include "core/fft.hpp"
#include "core/types.hpp"
#include "core/traits.hpp"
#include "core/context.hpp"
#include "rocfft_helper.hpp"
#include "hip/hip_runtime_api.h"
#include "hip/hip_vector_types.h"... |
<commit_before>// Copyright (C) 2014 Jérôme Leclercq
// This file is part of the "Nazara Engine - Mathematics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_MATRIX4_HPP
#define NAZARA_MATRIX4_HPP
#include <Nazara/Core/String.hpp>
#include <Nazara/Mat... |
<commit_before>#ifndef ARABICA_XSLT_SORT_HPP
#define ARABICA_XSLT_SORT_HPP
#include <algorithm>
#include "handler/xslt_value_validation.hpp"
namespace Arabica
{
namespace XSLT
{
class Sort
{
public:
Sort(const Arabica::XPath::XPathExpressionPtr<std::string>& select,
const Arabica::XPath::XPat... |
<commit_before>#pragma once
#ifndef macros_hxx
#include "encoding.hxx"
#define blood_is_null(x) x == 0
#define blood_is_not_null(x) != 0
#define blood_return_if(x) if (x) {return;}
#if defined(BLOOD_VS) || defined(BLOOD_32)
#define blood_folder_separator '\\'
#else
#define blood_folder_separtor '/'
#end... |
<commit_before>/*
* Copyright 2012, 2013 Matthew Harvey
*
* 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 app... |
<commit_before>/**
* \file
* \brief FifoQueue class header
*
* \author Copyright (C) 2014 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
* distributed with... |
<commit_before>#include <string>
#include <map>
namespace dota2
{
const auto MATCHHISTORY_API = "IDOTA2Match_570/GetMatchHistory/V1/";
const auto MATCHDETAILS_API = "IDOTA2Match_570/GetMatchDetails/V1/";
const auto HEROES_API = "IEconDOTA2_570/GetHeroes/V1/";
const auto ITEMS_API = "IEcon... |
<commit_before>/*
Copyright (c) 2009-2011, Jack Poulson
All rights reserved.
This file is part of Elemental.
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 t... |
<commit_before>/*
Copyright (c) 2016, Project OSRM contributors
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>/****
* unionfind : a data structure for efficiently performing unification for n terms in effectively O(n) time
****/
#ifndef HOBBES_UTIL_UNIONFIND_HPP_INCLUDED
#define HOBBES_UTIL_UNIONFIND_HPP_INCLUDED
#include <unordered_map>
#include <stdexcept>
#include <sstream>
#include <memory>
namespace ho... |
<commit_before>//
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2013 Project Chrono
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file at the top level of the distribution
// and at http://projectchrono.org/license-chrono.... |
<commit_before>/**
* Copyright (C) 2013 IIT - Istituto Italiano di Tecnologia - http://www.iit.it
* Author: Silvio Traversaro
* CopyPolicy: Released under the terms of the GNU LGPL v2.0 (or any later version)
*
* The development of this software was supported by the FP7 EU project
* CoDyCo (No. 600716 ICT 2011.... |
<commit_before>/*
Copyright (c) 2008, 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>/*****************************************************************************
(c) 2013 Hobu, Inc. hobu.inc@gmail.com
Author: Uday Verma uday dot karan at gmail dot com
This is free software; you can redistribute and/or modify it under the
terms of the GNU Lesser General Licence as pub... |
<commit_before>/* ************************************************************************* */
/* This file is part of Shard. */
/* */
/* Shard is free software: you can redistribute it and/or modify ... |
<commit_before>/*
* Copyright 2016 Ivan Ryabov
*
* 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 o... |
<commit_before>/*
This file is part of cpp-ethereum.
cpp-ethereum 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 3 of the License, or
(at your option) any later version.
cpp-ethereum is dis... |
<commit_before>#pragma once
#include <cassert>
#include <cstring>
#include <cwchar>
#include <stack>
#include <deque>
#include <atomic>
#include <thread>
//! 32bitの4文字チャンクを生成
#define MAKECHUNK(c0,c1,c2,c3) ((c3<<24) | (c2<<16) | (c1<<8) | c0)
namespace spn {
//! スピンロックによるmutex
class Synchro {
private:
using AT... |
<commit_before>/*************************************************************************
* UrBackup - Client/Server backup system
* Copyright (C) 2011-2015 Martin Raiber
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as... |
<commit_before>#pragma once
#include <cassert>
#include <cstring>
#include <cwchar>
#include <stack>
#include <deque>
#include <atomic>
#include <thread>
//! 32bitの4文字チャンクを生成
#define MAKECHUNK(c0,c1,c2,c3) ((c3<<24) | (c2<<16) | (c1<<8) | c0)
namespace spn {
//! スピンロックによるmutex
class Synchro {
private:
using AT... |
<commit_before>// Copyright (2015) Gustav
#include "finans/core/commandline.h"
#include "gtest/gtest.h"
#include "gmock/gmock.h"
using namespace testing;
struct CommandlineTest : public Test {
std::ostringstream output;
std::ostringstream error;
argparse::Parser parser;
std::string animal;
std::string an... |
<commit_before>#include <iostream>
#include <functional>
#include <memory>
#include <future>
#include "integration_test_helper.h"
#include "dronecore.h"
using namespace dronecore;
using namespace std::placeholders; // for `_1`
static std::shared_ptr<MissionItem> add_mission_item(double latitude_deg,
... |
<commit_before>#define DEBUG
#include <iostream>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/epoll.h>
//for connection to server
#include "../sockets/SocketW.h"
bool ready4data = false;//set to true when stream... |
<commit_before>#include "TextureCube.hpp"
#include "Error.hpp"
#include "InvalidObject.hpp"
#include "Buffer.hpp"
#include "InlineMethods.hpp"
PyObject * MGLTextureCube_tp_new(PyTypeObject * type, PyObject * args, PyObject * kwargs) {
MGLTextureCube * self = (MGLTextureCube *)type->tp_alloc(type, 0);
#ifdef MGL_V... |
<commit_before>/***************************************************
Copyright (c) 2017 Luis Llamas
(www.luisllamas.es)
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/licen... |
<commit_before>//Copyright (c) 2017 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "utils/intpoint.h" //To normalize vectors.
#include "utils/math.h" //For round_up_divide.
#include "utils/MinimumSpanningTree.h" //For the
#include "utils/polygonUtils.h" //For moveInside.
#i... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkMapper.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This ... |
<commit_before>// Logger.cpp
#include "Logger.h"
#include <stdarg.h>
#include <time.h>
#include <iostream>
/// Default constructor: called the first time Instance() is called.
/// Open the output file.
Logger::Logger()
{
m_stream.open("RiftVolume-log.txt");
Write("RiftVolume log");
}
/// Flush... |
<commit_before>#include <iostream>
#include <cstdlib>
#include <cassert>
#include "VtkUgReader.h"
#include "vtkCellArray.h"
#include "vtkPointData.h"
#include "vtkDoubleArray.h"
#include "vtkFloatArray.h"
// ---------------------------------------------------------------------------
cigma::VtkUgReader::VtkUgReade... |
<commit_before>// -----------------------------------------------------------------------
// pion-common: a collection of common libraries used by the Pion Platform
// -----------------------------------------------------------------------
// Copyright (C) 2007-2011 Atomic Labs, Inc. (http://www.atomiclabs.com)
//
// ... |
<commit_before>#include "RenderController.h"
using namespace std;
RenderController::RenderController(QWidget *parent, const DatabaseRef& dbr)
: QWidget(parent)
{
mSettings.LoadSettingsFromFile();
mShapes = dynamic_pointer_cast<ShapesModule>(dbr.GetModule(DatabaseRef::SHAPES_KEY));
mSolver = dynamic_pointer_cast<... |
<commit_before>#include "basic_tiling_render_policy.hpp"
#include "../platform/platform.hpp"
#include "../indexer/scales.hpp"
#include "tile_renderer.hpp"
#include "coverage_generator.hpp"
#include "queued_renderer.hpp"
size_t BasicTilingRenderPolicy::CalculateTileSize(size_t screenWidth, size_t screenHeight)
{
i... |
<commit_before>#include "PRINTOBJ.H"
#include "EFFECTS.H"
#include "MATHS.H"
#include "LOAD_LEV.H"
#include "SETUP.H"
#include "SPECIFIC.H"
#include "DRAWOBJ.H"
#include "DRAW.H"
#include "3D_GEN.H"
#include "ITEMS.H"
#include "DELTAPAK.H"
#include "CONTROL.H"
#include "ANIMITEM.H"
#include "LIGHT.H"
#include <GTEREG... |
<commit_before>////////////////////////////////////////////////////////////////////////
//
// name: AliHits2SDigits
// date: 4.4.2002
// last update: 4.4.2002
// author: Jiri Chudoba
// version: 1.0
//
// description:
// creates sdigits for several detectors
// stores sdigits in separate file (or in the so... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/*
* Copyright 2006-2008 The FLWOR 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 required by... |
<commit_before>//
// Created by Miguel Rentes on 19/01/2017.
//
#include "STL.h"
int main(void) {
unsigned int number_elements;
unsigned int number_queries;
unsigned int element;
bool present = false;
unsigned int index;
cin >> number_elements;
vector <unsigned int> elements;
for (int ... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice 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 ... |
<commit_before>// Copyright (c) 2009 libmv authors.
//
// 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, modify,... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice 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 ... |
<commit_before>// This file is part of eigen2mat, a simple C++ library to use
// Eigen with MATLAB's MEX files
//
// Copyright (C) 2013 Nguyen Damien <damien.nguyen@a3.epfl.ch>
//
// 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 t... |
<commit_before>/*
* Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the COPYING file.
*/
#include <qi/qi.hpp>
#include <qi/os.hpp>
#include <numeric>
#include <boost/filesystem.hpp>
#include "src/filesystem.hpp"
#ifdef... |
<commit_before>#include "./application.h"
#include <QQmlContext>
#include <QStateMachine>
#include <QDebug>
#include <vector>
#include "./window.h"
#include "./scene.h"
#include "./scene_controller.h"
#include "./nodes.h"
#include "./nodes_controller.h"
#include "./label_node.h"
#include "./input/invoke_manager.h"
#inc... |
<commit_before>#include "nevil/arena/robot.hpp"
nevil::robot::robot()
: Enki::EPuck(EPuck::CAPABILITY_CAMERA) {}
nevil::robot::robot(double x, double y, double angle ,const std::string &robot_name, const Enki::Color &color, double max_speed)
: Enki::EPuck(EPuck::CAPABILITY_CAMERA)
, _initial_angle(angle ... |
<commit_before>#ifndef MJOLNIR_STRUCTURE_TOPOLOGY_H
#define MJOLNIR_STRUCTURE_TOPOLOGY_H
#include <mjolnir/util/throw_exception.hpp>
#include <algorithm>
#include <stdexcept>
#include <vector>
namespace mjolnir
{
class StructureTopology
{
public:
typedef std::size_t chain_id_type;
enum class connection_kin... |
<commit_before>#include <memory>
#include <string>
#include <vector>
#include "warped.hpp"
#include "tclap/ValueArg.h"
WARPED_DEFINE_OBJECT_STATE_STRUCT(PingPongState) {
unsigned int balls_created_;
unsigned int balls_received_;
unsigned int balls_sent_;
};
class PingPongEvent : public warped::Event {
pu... |
<commit_before>#include "../includes/Scanner.h"
#include "../../Automat/includes/Automat.h"
#include "../../Symboltable/includes/Information.h"
#include <error.h>
#include <errno.h>
Scanner::Scanner(char* argv, char* argv2) {
if (argv == NULL) {
argv = "../input/in.txt";
argv2 ... |
<commit_before>#include "can/canread.h"
#include <stdlib.h>
#include "util/log.h"
#include "util/timer.h"
#define MS_PER_SECOND 1000
using openxc::util::bitfield::getBitField;
namespace time = openxc::util::time;
const char* openxc::can::read::ID_FIELD_NAME = "id";
const char* openxc::can::read::DATA_FIELD_NAME = "... |
<commit_before>/* Copyright (c) 2012 Stanford University
* Copyright (c) 2015 Diego Ongaro
*
* 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... |
<commit_before>#include "ofMain.h"
#include "MiniFont.h"
float pxToMm = 1. / 10.;
float carWidth = 2600, tireWidth = 550, tireHeight = 180, tireSpacing = 845;
float directionSize = 10000, triangleSide = 50000;
float outerEllipseWidth = 4600, outerEllipseHeight = 3480;
float innerEllipseWidth = 3840, innerEllipseHeight... |
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
... |
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "assert.h"
#include "chainparams.h"
#include "main.h"
#include... |
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "assert.h"
#include "chainparams.h"
#include "main.h"
#include... |
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "assert.h"
#include "chainparams.h"
#include "core.h"
#include... |
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "assert.h"
#include "chainparams.h"
#include "core.h"
#include... |
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.... |
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#incl... |
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.... |
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.... |
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.... |
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.... |
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/assign/list_of.hpp> // for 'map_list_of()'
#include <boost/foreach.hpp>
#include "checkpoints.... |
<commit_before>#include "dice.h"
#include <qDebug>
#include <ctime>
#include <cstdlib>
#include <QMediaPlayer>
#include <QFileInfo>
#include <QTimeLine>
using namespace std;
Dice::Dice()
{
qDebug() << "Dice Created";
srand((unsigned)time(NULL));
value1 = 0;
value2 = 0;
roll_sound = new QMediaPlaye... |
<commit_before>
#include "include/types.h"
#include "config.h"
#include "debug.h"
#include "Mutex.h"
#include "Clock.h"
#include "ceph_ver.h"
#include <errno.h>
#include <fstream>
#include <iostream>
using namespace std;
#define _STR(x) #x
#define STRINGIFY(x) _STR(x)
// debug output
Mutex _dout_lock("_dout_lock", ... |
<commit_before>/** @file
* @brief Implementation of interface to the core framework
* @copyright MIT License
*/
#include "AllPix.hpp"
#include <chrono>
#include <climits>
#include <fstream>
#include <memory>
#include <stdexcept>
#include <thread>
#include <utility>
#include <TROOT.h>
#include <TRandom.h>
#inclu... |
<commit_before>#include "i_core.h"
#include "core/i_position_component.h"
#include "core/i_move_component.h"
Weapon::Weapon( int32_t Id )
: Item( Id )
, mCooldown( 0.0 )
, mShootCooldown( 1.0 )
, mShootAltCooldown( 1.0 )
, mScatter( 0 )
, mAltScatter( 0 )
{
mType = ItemType::Weapon;
}
void ... |
<commit_before>#include "MipsExecutor.h"
using namespace std;
CMipsExecutor::CMipsExecutor(CMIPS& context) :
m_context(context)
{
}
CMipsExecutor::~CMipsExecutor()
{
Clear();
}
void CMipsExecutor::Clear()
{
for(BlockList::iterator blockIterator(m_blocks.begin());
blockIterator != ... |
<commit_before>//
// TextUtilties.hpp
// SwingGame
//
// Created by Tim Brier on 25/09/2014.
// Copyright (c) 2014 tbrier. All rights reserved.
//
#ifndef __SwingGame__TextUtilties__
#define __SwingGame__TextUtilties__
// =============================================================================
// Include Fil... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2017 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
... |
<commit_before>/*
* MIT License
*
* Copyright (c) 2009-2018 Jingwood, unvell.com. All right 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 the Software without restriction, including without ... |
<commit_before>#include "global_include.h"
#include "device_impl.h"
#include "dronelink_impl.h"
#include <unistd.h>
namespace dronelink {
DeviceImpl::DeviceImpl(DroneLinkImpl *parent) :
_mavlink_handler_table(),
_timeout_handler_map_mutex(),
_timeout_handler_map(),
_target_system_id(0),
_target_co... |
<commit_before><commit_msg>silence annoying log output<commit_after><|endoftext|> |
<commit_before>#include "ircd.hpp"
#include "tokens.hpp"
#include <algorithm>
#include <set>
#include <debug>
#include <timer>
#include <kernel/syscalls.hpp>
IrcServer::IrcServer(
Network& inet_,
uint16_t port,
const std::string& name,
const std::string& netw,
motd_func_t mfunc)
: inet(ine... |
<commit_before>#include <pcl/point_cloud.h>
#include <pcl_ros/point_cloud.h>
#include <ros/publisher.h>
#include <ros/ros.h>
#include <stdlib.h>
#include <Eigen/Core>
#include <opencv2/opencv.hpp>
#include <opencv2/core/eigen.hpp>
#include <pcl_ros/transforms.h>
//#include <igvc_msgs>
ros::Publisher pointcloud_pub;
cv... |
<commit_before>/*************************************************************************
*
* $RCSfile: ScrollHelper.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: oj $ $Date: 2002-07-05 09:28:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>/*************************************************************************
*
* $RCSfile: TableRowExchange.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: oj $ $Date: 2001-03-22 07:46:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the followi... |
<commit_before>/*****************************************************************************
* interface_widgets.hpp : Custom widgets for the main interface
****************************************************************************
* Copyright (C) 2006-2008 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac ... |
<commit_before>// This file is part of Poseidon.
// Copyleft 2020, LH_Mouse. All wrongs reserved.
#include "../precompiled.hpp"
#include "abstract_tls_socket.hpp"
#include "socket_address.hpp"
#include "../utilities.hpp"
#include <netinet/tcp.h>
namespace poseidon {
namespace {
IO_Result
do_translate_ssl_error(const... |
<commit_before>/*
* Logger.cpp
*
* Created on: May 31, 2017
* Author: liebman
*/
#include "Logger.h"
#ifdef DEBUG_LOGGER
#define DBP_BUF_SIZE 256
unsigned int snprintf(char*, unsigned int, ...);
#define dbprintf(...) {char dbp_buf[DBP_BUF_SIZE]; snprintf(dbp_buf, DBP_BUF_SIZE-1, __VA_ARGS__); Serial.pri... |
<commit_before>// Copyright 2015 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 "flutter/flow/layers/clip_rrect_layer.h"
namespace flow {
ClipRRectLayer::ClipRRectLayer() {}
ClipRRectLayer::~ClipRRectLayer()... |
<commit_before>/************************************************************************************
**
* @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved.
*
*************************************************************************************/
/**
* @file g_sys.cpp
* @version
* @... |
<commit_before>#pragma once
#include "LinearContainer.hpp"
namespace morda{
/**
* @brief Horizontal container widget.
* Row is a horizontal variant of linear container. From GUI scripts it can be instantiated as "Row".
*/
class Row : public LinearContainer{
public:
Row(const stob::Node* chain) :
Widget(chain)... |
<commit_before>
class TEveProjectionManager;
class TEveGeoShape;
class TEveElement;
class TEveElementList;
TEveProjectionManager * proj = 0;
TEveGeoShape * geom = 0;
void tpc_tracks(const char *input=0)
{
//
//
//
if (input){
TString ipath(input);
if (ipath.Contains(".zip")){
gSystem->Exec("rm ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.