text
stringlengths
54
60.6k
<commit_before>#include "Utils/Logging.hpp" #include "Settings.hpp" using Dissent::Utils::Logging; namespace Dissent { namespace Applications { Settings::Settings(const QString &file, bool actions) : _use_file(true), _settings(new QSettings(file, QSettings::IniFormat)) { Init(actions); } Setting...
<commit_before>#include <iostream> #include <stdio.h> #include <ctype.h> #include <cstring> #include <vector> #include <unistd.h> #include <sys/types.h> #include <stdlib.h> #include <sys/wait.h> using namespace std; //parses the entered command putting each string seperated //by spaces into a vector passed in by refer...
<commit_before>/**************************************************************************** * Copyright (c) 2012-2018 by the DataTransferKit authors * * All rights reserved. * * ...
<commit_before>#include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "addressbookpage.h" #include "optionsmodel.h" #include "sendcoinsentry.h" #include "guiutil.h" #include "askpassphrasedialog.h" #include "base58.h" #include <QMessageBox> #include <QL...
<commit_before>// Copyright 2017 The Ray Authors. // // 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>#include <iostream> #include <vector> #include <algorithm> #include <cassert> #include "viennautils/enum_pp.hpp" VIENNAUTILS_ENUM_PP(element_tag, (edge,1),(triangle),(rectangle,4)); template <typename T> void foo(T my_tag) { std::cout << "name of enum: " << viennautils::enum_pp::name<T>() << std::en...
<commit_before>#include "..\guid.h" #include <cassert> #include <string> int main() { /* api documentation */ // create a guid using the static guid::create_new function guid g = guid::create_new(); // check if empty bool empty = g.empty(); // convert the guid to a string like xxxxxxxx-xxxx-xx...
<commit_before>// belle http example #include "../../../include/belle.hh" namespace Belle = OB::Belle; #include <ctime> #include <string> #include <sstream> #include <iomanip> #include <iostream> // prototypes std::string http_routes(Belle::Server::Http_Routes& routes); // return string containing all http routes ...
<commit_before>// Copyright (c) 2009-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 "irc.h" #include "net.h" #include "strlcpy.h" #include "ba...
<commit_before>/* RTcmix - Copyright (C) 2000 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ #include <globals.h> #include <ugens.h> #include <iostream.h> #include "../rtstuff/Instrument.h" #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 <map> #include <openssl/ecdsa.h> #include <openssl/obj_mac.h> #include "key.h" // Generate a privat...
<commit_before>/** * This file is part of Slideshow. * Copyright (C) 2008-2012 David Sveningsson <ext@sidvind.com> * * Slideshow is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of...
<commit_before>/* * Project: CommonLib * * Version: 1.0.0 * History: V1.0 07/12/2013 SP - created * * Copyright (C) 2013 Stefan Paproth <pappi-@gmx.de> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Lice...
<commit_before>/* This file is part of the ORK library. Full copyright and license terms can be found in the LICENSE.txt file. */ #include"ork/ork.hpp" #define ORK_STL_INC_FILE <fstream> #include"ork/core/stl_include.inl" #define ORK_STL_INC_FILE <iostream> #include"ork/core/stl_include.inl" #define ORK_STL_INC_FILE <m...
<commit_before>#include <iostream> #include <fstream> #include <cstdarg> #include <uv.h> #include "log.h" using std::endl; using std::ostream; using std::ofstream; class NullLogger : public Logger { public: virtual Logger* prefix(const char *file, int line) override { return this; } virtual ostream& str...
<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>#include "opencv2/video/tracking.hpp" #include "opencv2/highgui/highgui.hpp" #include <stdio.h> using namespace cv; static inline Point calcPoint(Point2f center, double R, double angle) { return center + Point2f((float)cos(angle), (float)-sin(angle))*(float)R; } static void help() { printf( "...
<commit_before> #include <ugdk/system/engine.h> #include <ugdk/action/3D/camera.h> #include <ugdk/input/events.h> #include <ugdk/input/module.h> #include <bulletworks/object.h> #include <bulletworks/physicscene.h> #include <bulletworks/manager.h> #include <BtOgreGP.h> #include <memory> #include <OgreCamera.h> #include...
<commit_before>/* Copyright (c) 2014, Intel Corporation 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 ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string.h> #include "ssbase_type.h" void InitLinkList(LinkList* pList) { pList->pHead = NULL; pList->pTail = NULL; } void FreeLinkList(LinkList* pList) { if (!pList) return; if (pList->iNodeCount) { LinkListNode* pCurrentNode; LinkListNode*...
<commit_before>#include "scope.h" #include "details/grammar/nany.h" #include "details/ir/emit.h" using namespace Yuni; namespace ny::ir::Producer { bool Scope::visitASTExprTypeDecl(AST::Node& node, uint32_t& localvar) { assert(node.rule == AST::rgTypeDecl); localvar = 0; if (node.children.size() == 1) { auto& i...
<commit_before>/* Copyright (C) 2013 Slawomir Cygan <slawomir.cygan@gmail.com> * * 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 "nlt_store.hpp" namespace nark { namespace db { namespace dfadb { NARK_DB_REGISTER_STORE("nlt", NestLoudsTrieStore); NestLoudsTrieStore::NestLoudsTrieStore() { } NestLoudsTrieStore::~NestLoudsTrieStore() { } llong NestLoudsTrieStore::dataStorageSize() const { return m_store->mem_size(); } ...
<commit_before>#include "oddlib/compressiontype2.hpp" #include "oddlib/stream.hpp" #include "logger.hpp" namespace Oddlib { static bool ExpandElement(Sint32& remainingCount, Uint8*& src, Uint32*& dst) { if (!remainingCount) { return false; } const Sint32 src_word = *...
<commit_before> #include <vector> #include <string> using namespace std; namespace L10ns { enum class ActionKind { None, Init, Update, Log, Set, }; enum class FlagKind { None, Help, Version, Language, Key, Value, }; struct Argument { string * name; string * descr...
<commit_before> #include <vector> #include <string> using namespace std; namespace L10ns { enum class ActionKind { None, Init, Update, Log, Set, }; enum class FlagKind { None, Help, Version, Language, Key, Value, }; struct Argument { string * name; string * descr...
<commit_before>/** ** \file scheduler/scheduler.cc ** \brief Implementation of scheduler::Scheduler. */ //#define ENABLE_DEBUG_TRACES #include <cassert> #include <cstdlib> #include <libport/compiler.hh> #include <libport/containers.hh> #include <libport/foreach.hh> #include "kernel/userver.hh" #include "object/...
<commit_before>/* =========================================================================== Daemon GPL Source Code Copyright (C) 2012 Unvanquished Developers This file is part of the Daemon GPL Source Code (Daemon Source Code). Daemon Source Code is free software: you can redistribute it and/or modify it under the...
<commit_before>// Copyright (c) 2012, Noriyuki OHKAWA a.k.a. notogawa. // 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 //...
<commit_before>#include "Genes/Look_Ahead_Gene.h" #include <cmath> #include <algorithm> #include "Utility.h" #include "Game/Board.h" #include "Game/Clock.h" Look_Ahead_Gene::Look_Ahead_Gene() : Gene(0.0), mean_game_length(100), positions_per_second(0) { } void Look_Ahead_Gene::reset_properties() const ...
<commit_before>// Copyright (c) 2012, Cornell University // 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>#include "extractor/graph_compressor.hpp" #include "extractor/compressed_edge_container.hpp" #include "extractor/restriction_map.hpp" #include "util/dynamic_graph.hpp" #include "util/node_based_graph.hpp" #include "util/percent.hpp" #include "util/simple_logger.hpp" namespace osrm { namespace extracto...
<commit_before>#include <stdint.h> #include "types.h" #include "GetProofOfStakeReward.h" money_t GetProofOfStakeReward(timestamp_t coinAge, blockheight_t height) { // The actual formula is shaped as (A + exp(B * nHeight) + C) // Since we can't use float, and that using fixed-point numbers would be both compl...
<commit_before><commit_msg>No cloud collisions<commit_after><|endoftext|>
<commit_before>/************************************************************************* > File Name: TaskSerializer.cpp > Project Name: Hearthstonepp > Author: Young-Joong Kim > Purpose: Serializer for TaskMeta and MetaData > Created Time: 2018/05/20 > Copyright (c) 2018, Young-Joong Kim *****************************...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012, J3P LLC. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Red...
<commit_before>/* dlvhex -- Answer-Set Programming with external interfaces. * Copyright (C) 2005-2007 Roman Schindlauer * Copyright (C) 2006-2015 Thomas Krennwallner * Copyright (C) 2009-2016 Peter Schüller * Copyright (C) 2011-2016 Christoph Redl * Copyright (C) 2015-2016 Tobias Kaminski * Copyright (C) 2015-20...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>#include <iostream> #include <string> #include <cstring> using namespace std; void isPalin(const char *str) { int n = strlen(str); bool P[n][n]; int i, j, L; // 表示字串的长度 // 长度为1的都是回文 for (i = 0; i < n; i++) { P[i][i] = true; } // 长度可能从2开始 for (L = 2; L <= n; L++) { for (i = 0; i...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2008 Ulrich von Zadow // // 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 of the Li...
<commit_before>#include "tabs/image-preview.h" #include <QDir> #include <QEventLoop> #include <QFile> #include <QFileDialog> #include <QLabel> #include <QMenu> #include <QMovie> #include <QRandomGenerator> #include <QSettings> #include <QtMath> #include <QUrl> #include <QVBoxLayout> #include <QWidget> #include "downloa...
<commit_before>/* * Copyright 2017-2018 Baidu 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 applicabl...
<commit_before>#include "LIBGPU.H" #include "EMULATOR.H" #define GL_GLEXT_PROTOTYPES 1 #include <SDL.h> #include <SDL_opengl.h> #include <SDL_opengl_glext.h> #include <stdio.h> #include <cstring> #include <cassert> #include <LIBETC.H> unsigned short vram[1024 * 512]; DISPENV word_33BC; int dword_3410 = 0; char byte...
<commit_before>#include "MISC.H" #include "CONTROL.H" #include "CAMERA.H" #include "GPU.H" #include "LOAD_LEV.H" #include "SPECIFIC.H" #include "TEXT_S.H" #include <EMULATOR.H> #include <LIBETC.H> #if PSXPC_VERSION || PSXPC_TEST #include <stdint.h> #endif #if PSX_VERSION && !PSXPC_TEST typedef unsigned int uintptr_...
<commit_before><commit_msg>(IMU main): fix IMU example by increasing IMU task stack depth<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2012 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/api/permissions/permissions_api.h" #include "chrome/browser/extensions/extension_apitest.h" #includ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: b3dentty.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 20:32:22 $ * * The Contents of this file are made ...
<commit_before><commit_msg>A few more helgrind cleanups (https://stroika.atlassian.net/browse/STK-471_<commit_after><|endoftext|>
<commit_before>#pragma ident "$Id$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published //...
<commit_before>// // // Description: This file is part of FET // // // Author: Lalescu Liviu <Please see https://lalescu.ro/liviu/ for details about contacting Liviu Lalescu (in particular, you can find here the e-mail address)> // Copyright (C) 2005 Liviu Lalescu <https://lalescu.ro/liviu/> // /***********************...
<commit_before>// MaterialTests.cpp #include <gtest/gtest.h> #include "MaterialTests.h" #include <cmath> //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - TEST_F(MaterialTest, Constructors){ EXPECT_EQ(test_mat_->units(), "kg"); EXPECT_EQ(test_mat_->type(), MATERIAL_RES); EXPECT_...
<commit_before>#include "Support/IRPrettyPrinter.h" #include "IR/Type.h" #include "IR/Value.h" #include "IR/Instruction.h" #include "IR/BasicBlock.h" #include "IR/Constants.h" IRPrettyPrinter::IRPrettyPrinter(BasicBlock const* bb, std::ostream& out) : bb_(bb), out_(out) { } IRPrettyPrinter::~IRPrettyPrinter() { ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: listeneriter.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 09:53:44 $ * * The Contents of this file are m...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fmobjfac.cxx,v $ * * $Revision: 1.17 $ * * last change: $Author: hr $ $Date: 2007-06-27 18:13:34 $ * * The Contents of this file are made...
<commit_before>/* * XMSS Tools * (C) 2017 Matthias Gierlings * * Botan is released under the Simplified BSD License (see license.txt) **/ #include <botan/xmss_tools.h> namespace Botan { #if defined(BOTAN_TARGET_OS_HAS_THREADS) size_t XMSS_Tools::max_threads() { static const size_t threads { bench_threads...
<commit_before>/* * OS and machine specific utility functions * (C) 2015,2016,2017 Jack Lloyd * (C) 2016 Daniel Neus * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/internal/socket.h> #include <botan/exceptn.h> #include <chrono> #if defined(BOTAN_HAS_BOOST_ASIO) /* * We...
<commit_before>/* * SamplePlayerSW.cpp * * Created on: Dec 28, 2013 * Author: lukas */ #include "SamplePlayer_SW.h" SamplePlayer_SW::SamplePlayer_SW(std::vector<std::string> params) : SamplePlayer(params) { m_StringToLoadPolicyMap["LOAD_ON_DEMAND"] = LOAD_ON_DEMAND; m_StringToLoadPolicyMap["PR...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: IDocumentUndoRedo.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2007-05-25 12:59:33 $ * * The Contents of this file ...
<commit_before>#include <iostream> #include <fstream> #include <vector> #include <cassert> #include "structures.h" #define abs(x) ((x)<0 ? -(x) : (x)) int op(int x) { int ret ; ret = x&1 ; x >>= 1 ; for(int i = 0 ; i < 31 ; i++) { ret ^= x&1 ; x >>= 1 ; } return ret ; } void ...
<commit_before>#include <vector> #include <fstream> #include <string> #include <sys/stat.h> #include <Windows.h> #include <tinydir/tinydir.h> char appplication_folder[1024]; void set_application_folder( char const* application_path ) { int length = strrchr( application_path, '\\' ) - application_path + 1; memc...
<commit_before>/* * Copyright (c) 2006 The Regents of The University of Michigan * 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 copyri...
<commit_before>/* Copyright (c) 2009-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>#include "SharedMessagePool.hpp" #include "Statistics.hpp" #include "ConditionVariable.hpp" #include <stack> DEFINE_int64(shared_pool_size, 1L << 20, "Size (in bytes) of global SharedMessagePool (on each Core)"); DEFINE_int64(shared_pool_max, -1, "Maximum number of shared pools allowed to be allocated (...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 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 <math.h> #include "pow.h" #include "chain.h" #include "ch...
<commit_before>#pragma once #include <string> #include <functional> #include <cmath> #include <random> #include <iostream> #include <vector> #include <utility> #include "tbb/parallel_sort.h" #include "tbb/mutex.h" #include "tbb/pipeline.h" #include "util.hpp" #include "point.hpp" #define VALUE(x) std::cout << #x "=" ...
<commit_before>#include <bitcoin/blockchain/blockchain.hpp> #include <bitcoin/utility/assert.hpp> namespace libbitcoin { using std::placeholders::_1; using std::placeholders::_2; typedef blockchain_fetch_handler_block handler_block; class fetch_block_t : public std::enable_shared_from_this<fetch_block_t> { publi...
<commit_before> // Visomics includes #include "voDelimitedTextImportWidget.h" #include "ui_voDelimitedTextImportWidget.h" #include "voDelimitedTextPreviewModel.h" class voDelimitedTextImportWidgetPrivate : public Ui_voDelimitedTextImportWidget { public: voDelimitedTextImportWidgetPrivate(); void initWidgetFromMod...
<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 distributed WIT...
<commit_before>#include <string> #include <iostream> #include <cstdlib> #include <fstream> #include <assert.h> #include <unistd.h> #include "config.h" #include "file_utils.hpp" #include "NeighborJoining.hpp" #include <ctime> #include <time.h> #include "log_utils.hpp" #include "fnj_gengetopt.h" #include "DataInputStre...
<commit_before>/* * ExcaliburFrameDecoder.cpp * * Created on: Jan 16th, 2017 * Author: Tim Nicholls, STFC Application Engineering Group */ #include "ExcaliburFrameDecoder.h" #include "gettime.h" #include <iostream> #include <iomanip> #include <sstream> #include <arpa/inet.h> using namespace FrameReceiver; ...
<commit_before>// RUN: %clang_cc1 -triple x86_64-unknown-nacl -std=c++11 -verify %s // expected-no-diagnostics #include <stddef.h> #include <stdarg.h> static_assert(alignof(char) == 1, "alignof char is wrong"); static_assert(alignof(short) == 2, "sizeof short is wrong"); static_assert(alignof(short) == 2, "alignof s...
<commit_before>/* * gVirtuS -- A GPGPU transparent virtualization component. * * Copyright (C) 2009-2011 The University of Napoli Parthenope at Naples. * * This file is part of gVirtuS. * * gVirtuS is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as...
<commit_before><commit_msg>fix OOXML validation error<commit_after><|endoftext|>
<commit_before> // // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // // Permission is hereby granted, free of charge, to any pe...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestLabelPlacerExodus.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details....
<commit_before>/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved. This file is part of Navitia, the software to build cool stuff with public transport. Hope you'll enjoy and contribute to this project, powered by Canal TP (www.canaltp.fr). Help us simplify mobility and open publ...
<commit_before>// //#include <unistd.h> #include <cstdio> #include <cstdlib> #include <string> #include <ctime> #include <algorithm> #include <cmath> #include "GPIOClass.h" using namespace std; void Pulse(GPIOClass* pin, double cycles); void Wait(double seconds); clock_t timer; double time_to_complete;...
<commit_before><commit_msg>Revert "Fix n#653688"<commit_after><|endoftext|>
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // runtime_state.cpp // // Identification: src/codegen/runtime_state.cpp // // Copyright (c) 2015-17, Carnegie Mellon University Database Group // //===-------------------------------...
<commit_before>/* You can use one of the both BSD 3-Clause License or GNU Lesser General Public License 3.0 for this source. */ /* BSD 3-Clause License: * Copyright (c) 2013 - 2021, kazunobu watatsu. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
<commit_before>/* SWARM Copyright (C) 2012-2022 Torbjorn Rognes and Frederic Mahe 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 the Free Software Foundation, either version 3 of the License, or (...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // Copyright 2006 - 2015, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
<commit_before>#include "iteration/updater/source_updater_gauss_seidel.h" #include <memory> #include <iteration/updater/angular_source_updater_gauss_seidel.h> #include "test_helpers/gmock_wrapper.h" #include "quadrature/tests/quadrature_set_mock.h" #include "formulation/tests/angular_stamper_mock.h" namespace { us...
<commit_before>/************************************************************************** * Copyright(c) 2006-2008, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before> /* * kPPP: A front end for pppd for the KDE project * * $Id$ * * Copyright (C) 1997 Bernd Johannes Wuebben * wuebben@math.cornell.edu * * based on EzPPP: * Copyright (C) 1997 Jay Painter * * This program is free software; you can redistribute it a...
<commit_before>#include <inttypes.h> #include "constants.h" #include "main.h" #include "types.h" #include "GetNextTargetRequired.h" compact_target_t GetNextTargetRequired(CBlockIndex const * pindexTail0, bool fProofOfStake) { target_t initialTarget = POW_INITIAL_TARGET; if (pindexTail0 == NULL) retu...
<commit_before><commit_msg>Add Workbench name as Tab item tooltip<commit_after><|endoftext|>
<commit_before>/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>/* dlvhex -- Answer-Set Programming with external interfaces. * Copyright (C) 2005-2007 Roman Schindlauer * Copyright (C) 2006-2015 Thomas Krennwallner * Copyright (C) 2009-2016 Peter Schüller * Copyright (C) 2011-2016 Christoph Redl * Copyright (C) 2015-2016 Tobias Kaminski * Copyright (C) 2015-20...
<commit_before>/*********************************************************************** filename: CEGUIIrrlichtTexture.cpp created: Tue Mar 3 2009 author: Paul D Turner (based on original code by Thomas Suter) *************************************************************************/ /*************...
<commit_before>#include <string.h> #include <signal.h> #include <iostream> #include <fstream> #include <sstream> #include <thread> #include <set> #include "msg_filter.hpp" #include "io_policy/line.hpp" #include "io_policy/length.hpp" #include "io_policy/sysv_mq.hpp" #include "io_policy/tcp.hpp" #include "sub_entry.hpp"...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2011,2012 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public /...
<commit_before>/* * * Copyright 2016 gRPC authors. * * 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 applicab...
<commit_before>#include <syslog.h> #include "EventLoop.h" #include "ControlServer.h" #include "CMUXManager.h" int main(int argc, char *argv[]) { openlog("cmuxcontrold", LOG_PERROR | LOG_PID, LOG_DAEMON); syslog(LOG_INFO, "CMUX Control Daemon started"); EventLoop loop; CMUXManager manager(&loop); ControlSe...
<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/theme_preview_infobar_delegate.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #inc...
<commit_before>/*************************************************************************** * Copyright (C) 2006 by Till Adam <adam@kde.org> * * * * This program is free software; you can redistribute it and/or modify ...
<commit_before>/* medDatabaseExporter.cpp --- * * Author: Julien Wintz * Copyright (C) 2008 - Julien Wintz, Inria. * Created: Tue Jan 19 13:42:53 2010 (+0100) * Version: $Id$ * Last-Updated: Thu Feb 4 11:36:11 2010 (+0100) * By: Julien Wintz * Update #: 3 */ /* Commentary: * */ /* Change...
<commit_before>/* A central Playground object to manage a set of PulseSensors. See https://www.pulsesensor.com to get started. Copyright World Famous Electronics LLC - see LICENSE Contributors: Joel Murphy, https://pulsesensor.com Yury Gitman, https://pulsesensor.com Bradford Needham, @bneed...
<commit_before><commit_msg>Oops, forgot to add -s to the options spec.<commit_after><|endoftext|>
<commit_before>/* * * Copyright (C) 2010 MeVis Medical Solutions AG All Rights 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...