text
stringlengths
54
60.6k
<commit_before>55de8be6-5216-11e5-a549-6c40088e03e4<commit_msg>55e5a3cc-5216-11e5-9f9e-6c40088e03e4<commit_after>55e5a3cc-5216-11e5-9f9e-6c40088e03e4<|endoftext|>
<commit_before>c84ef4ba-35ca-11e5-aafa-6c40088e03e4<commit_msg>c8558b10-35ca-11e5-80fb-6c40088e03e4<commit_after>c8558b10-35ca-11e5-80fb-6c40088e03e4<|endoftext|>
<commit_before>d6c72c17-2e4e-11e5-bbc5-28cfe91dbc4b<commit_msg>d6cd737a-2e4e-11e5-be70-28cfe91dbc4b<commit_after>d6cd737a-2e4e-11e5-be70-28cfe91dbc4b<|endoftext|>
<commit_before>8b33254c-2d14-11e5-af21-0401358ea401<commit_msg>8b33254d-2d14-11e5-af21-0401358ea401<commit_after>8b33254d-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>#include <iostream> #include <string> #include <cstring> using namespace std; char ** get_command(string a) { char * copy = new char [a.length() + 1]; strcpy(copy, a.c_str()); //bool done = false; char * begin = copy; char * token = strtok(copy, " ;|&"); while (token != 0) ...
<commit_before>565ff01c-ad5b-11e7-b5b5-ac87a332f658<commit_msg>Stuff changed<commit_after>56d84075-ad5b-11e7-91a9-ac87a332f658<|endoftext|>
<commit_before>b2c12699-4b02-11e5-b622-28cfe9171a43<commit_msg>update testing<commit_after>b2cc6687-4b02-11e5-a4f2-28cfe9171a43<|endoftext|>
<commit_before>ec4ecdd4-313a-11e5-86f8-3c15c2e10482<commit_msg>ec550570-313a-11e5-b8a4-3c15c2e10482<commit_after>ec550570-313a-11e5-b8a4-3c15c2e10482<|endoftext|>
<commit_before>#include <iostream> #include <string> #include <stdlib.h> /* srand, rand */ #include <time.h> #include <limits> /* numeric_limits */ #include <stdlib.h> /* exit, EXIT_SUCCESS */ using namespace std; // Global variables int randomInt, userMove; char playAgain; const string moves[] = {"rock...
<commit_before>d6ab603d-327f-11e5-9a3b-9cf387a8033e<commit_msg>d6b15c1e-327f-11e5-86c5-9cf387a8033e<commit_after>d6b15c1e-327f-11e5-86c5-9cf387a8033e<|endoftext|>
<commit_before>1540f9a6-2f67-11e5-a659-6c40088e03e4<commit_msg>1547ab18-2f67-11e5-9ea0-6c40088e03e4<commit_after>1547ab18-2f67-11e5-9ea0-6c40088e03e4<|endoftext|>
<commit_before>#include <iostream> #include "include/CSVWriter.h" using namespace std; void test1(){ CSVWriter csv; csv << "this" << "is" << "a" << "row"; cout << csv << endl; } void test2(){ CSVWriter csv; csv.newRow() << "this" << "is" << "the" << "first" << "row"; csv.newRow() << "this" ...
<commit_before>438351f0-5216-11e5-9965-6c40088e03e4<commit_msg>438c7a7a-5216-11e5-8180-6c40088e03e4<commit_after>438c7a7a-5216-11e5-8180-6c40088e03e4<|endoftext|>
<commit_before>fdf03350-585a-11e5-972a-6c40088e03e4<commit_msg>fdfa8b46-585a-11e5-a7d9-6c40088e03e4<commit_after>fdfa8b46-585a-11e5-a7d9-6c40088e03e4<|endoftext|>
<commit_before>b03c6eb8-35ca-11e5-98d1-6c40088e03e4<commit_msg>b0434b66-35ca-11e5-be37-6c40088e03e4<commit_after>b0434b66-35ca-11e5-be37-6c40088e03e4<|endoftext|>
<commit_before>047da412-585b-11e5-b2d5-6c40088e03e4<commit_msg>0484e22e-585b-11e5-8047-6c40088e03e4<commit_after>0484e22e-585b-11e5-8047-6c40088e03e4<|endoftext|>
<commit_before>dc24fcf0-327f-11e5-bc1f-9cf387a8033e<commit_msg>dc2b38eb-327f-11e5-a0a1-9cf387a8033e<commit_after>dc2b38eb-327f-11e5-a0a1-9cf387a8033e<|endoftext|>
<commit_before>9babef59-2d3e-11e5-a113-c82a142b6f9b<commit_msg>9c0d0be3-2d3e-11e5-9ea3-c82a142b6f9b<commit_after>9c0d0be3-2d3e-11e5-9ea3-c82a142b6f9b<|endoftext|>
<commit_before>2ef6e48a-2f67-11e5-b127-6c40088e03e4<commit_msg>2efdbc76-2f67-11e5-b994-6c40088e03e4<commit_after>2efdbc76-2f67-11e5-b994-6c40088e03e4<|endoftext|>
<commit_before>78073bec-2d53-11e5-baeb-247703a38240<commit_msg>7807c166-2d53-11e5-baeb-247703a38240<commit_after>7807c166-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>1d6dfc0a-2f67-11e5-a635-6c40088e03e4<commit_msg>1d7557b6-2f67-11e5-9d92-6c40088e03e4<commit_after>1d7557b6-2f67-11e5-9d92-6c40088e03e4<|endoftext|>
<commit_before>#include <QCoreApplication> #include <QDomDocument> #include <QStringList> #include <QFile> #include <QDir> #include <iostream> #include "protocolparser.h" #include "xmllinelocator.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); ProtocolParser parser; // The list of a...
<commit_before>7a172287-4b02-11e5-a234-28cfe9171a43<commit_msg>more fixes<commit_after>7a231d99-4b02-11e5-9434-28cfe9171a43<|endoftext|>
<commit_before>939107c2-4b02-11e5-ad57-28cfe9171a43<commit_msg>I'm done<commit_after>93a093de-4b02-11e5-be58-28cfe9171a43<|endoftext|>
<commit_before>#include "test_engine.hpp" #include <QTest> #include <QSqlQuery> #include <QSqlError> #include <QSqlDatabase> #include <QRegularExpression> #include <QFileSystemModel> #include <QDebug> #include <qtreports/engine.hpp> Test_Engine::Test_Engine( QObject * parent ) : QObject( parent ) {} Test_Engin...
<commit_before>#pragma once #include <gtl/box3.hpp> #include <gtl/gtl.hpp> #include <gtl/ray.hpp> #include <gtl/vec3.hpp> namespace gtl { /*! \class sphere sphere.hpp geometry/sphere.hpp \brief Represents a sphere in 3D. \ingroup base This class is used by many other classes. \sa */ ...
<commit_before>#define _BSD_SOURCE #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> #include <signal.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/wait.h> #include <unistd.h> #include <sys/ptrace.h> #include "ptbox.h" pt_process *pt_alloc_process(pt_d...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkImageRegistrationMethodTest_6.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserve...
<commit_before>#include "blas.hpp" #include "linalg.hpp" #include "fast424_26_257.hpp" #include <chrono> #include <vector> extern "C" { void dgetrf_(int *m, int *n, double *A, int *lda, int *ipiv, int *info); void sgetrf_(int *m, int *n, float *A, int *lda, int *ipiv, int *info); } void GetrfWrap(double *data, i...
<commit_before>#include "Octree.h" #include "ModuleRenderer3D.h" OctreeNode::OctreeNode(AABB& box, OctreeNode* p) { if (p != nullptr) { this->parent = p; } for (uint i = 0; i < 8; i++) { children[i] = nullptr; } this->box = box; box_size = this->box.Size(); } OctreeNode::~OctreeNode() { for (uint i =...
<commit_before>#include "calculator/cell/fission_source_norm.h" #include <memory> #include "data/cross_sections.h" #include "domain/domain_types.h" #include "domain/tests/finite_element_mock.h" #include "material/tests/mock_material.h" #include "system/moments/tests/spherical_harmonic_mock.h" #include "test_helpers/g...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2016. All rights reserved */ #include "../StroikaPreComp.h" #if defined (__GCC__) #include <cxxabi.h> #elif qPlatform_Windows #include <Windows.h> #include <Dbghelp.h> #endif #include "Demangle.h" using namespace Stroika::Found...
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved. #include <string> #include <vector> #include "errors.hpp" #include <boost/algorithm/string/predicate.hpp> #include "http/http.hpp" #include "clustering/administration/http/json_adapters.hpp" #include "clustering/administration/http/semilattice_app....
<commit_before>#ifndef CLUSTERING_IMMEDIATE_CONSISTENCY_QUERY_MASTER_HPP_ #define CLUSTERING_IMMEDIATE_CONSISTENCY_QUERY_MASTER_HPP_ #include <map> #include "clustering/immediate_consistency/branch/broadcaster.hpp" #include "clustering/immediate_consistency/query/metadata.hpp" #include "containers/archive/order_token...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * 2019 Eddie Hung <eddie@fpgeh.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that ...
<commit_before>/* -------------------------------------------------------------------------- * * Simbody(tm) * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating fr...
<commit_before>#include "wifi_utils.h" WifiState wifiState = WIFI_DISCONNECTED; const char * system_event_reasons1[] = { "UNSPECIFIED", "AUTH_EXPIRE", "AUTH_LEAVE", "ASSOC_EXPIRE", "ASSOC_TOOMANY", "NOT_AUTHED", "NOT_ASSOCED", "ASSOC_LEAVE", "ASSOC_NOT_AUTHED", "DISASSOC_PWRCAP_BAD", "DISASSOC_SUPCHAN_BAD", "IE_INVAL...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2009 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docume...
<commit_before>//===----- R600Packetizer.cpp - VLIW packetizer ---------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===-- X86FixupBWInsts.cpp - Fixup Byte or Word instructions -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------...
<commit_before>#include <set> #include <string> #include <memory> #include <cassert> #include <iostream> #include <stdexcept> #include "config.h" #include "parsers/cli.h" #include "solvers/dpll.h" #include "solvers/tseitin.h" #include "structures/equality_atom.h" #include "structures/extended_formula.h" #include "solv...
<commit_before>//===- StripSymbols.cpp - Strip symbols and debug info from a module ------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2016 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 "stdafx.h" #include "AnimationManager.h" #include <fstream> #include <cassert> #include "..\..\SGD Wrappers\SGD_Geometry.h" #include"..\..\SGD Wrappers\SGD_GraphicsManager.h" #include <iterator> //*********************************************************************** // SINGLETON // - instanti...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/io/p9_io_obus_image_build.C...
<commit_before>#include <xzero/executor/NativeScheduler.h> #include <xzero/RuntimeError.h> #include <xzero/WallClock.h> #include <xzero/sysconfig.h> #include <algorithm> #include <vector> #include <sys/types.h> #include <sys/time.h> #include <sys/select.h> #include <unistd.h> #include <fcntl.h> namespace xzero { #def...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/io/p9_io_xbus_image_build.C...
<commit_before> #include "game.hpp" #ifdef GAME_NO_RENDER_WINDOW #include <GL/glew.h> #endif // set packfile name/filepath if one is being used #define PACKFILE_NAME "" // set to true if a packfile is being used #define IS_USING_PACKFILE false // if not using cmake to build and using the ResourcePacker lib, // defi...
<commit_before>// Copyright (c) 2016-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <bench/bench.h> #include <bench/data.h> #include <rpc/blockchain.h> #include <streams.h> #include <v...
<commit_before>#include <fstream> #include <iostream> #include <sstream> #define SEQAN_PROFILE #ifndef RELEASE //#define SEQAN_DEBUG //#define SEQAN_TEST #endif #include <string> #include <seqan/basic.h> #include <seqan/sequence.h> #include <seqan/file.h> #include <seqan/map.h> #include <seqan/refinement.h> #inc...
<commit_before>// RUN: %clangxx_tsan -O1 %s -DLIB -fPIC -shared -o %T/libignore_lib4.so // RUN: %clangxx_tsan -O1 %s -o %t // RUN: echo "called_from_lib:libignore_lib4.so" > %t.supp // RUN: %env_tsan_opts=suppressions='%t.supp' %run %t 2>&1 | FileCheck %s // Longjmp assembly has not been implemented for mips64 yet // ...
<commit_before>#pragma once #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/version.hpp> #include "blackhole/error.hpp" #include "blackhole/factory.hpp" #include "blackhole/sink/files/rotation.hpp" namespace blackhole { namespace sink { class boost_backend_t { const boos...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2018 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // A menu system for PixelVFO. // // The idea is to define a menu definition with an associated hotspot // definition. The code draws the menu and items on the screen, and uses the // hotspot definition to handle screen tou...
<commit_before>// Copyright 2010 Google // 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 agreed...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <assert.h> #include <semaphore.h> #include "ChannelSelectTestRequestProxy.h" #include "ChannelSelectTestIndicationWrapper.h" #include "GeneratedTypes.h" sem_t data_sem; sem_t config_sem; class ChannelSelectTestIndication : public Cha...
<commit_before>#include "../ris_lib/ris_generator.h" #include "../ris_lib/ris_json_resources.h" #include "../ris_lib/ris_bundle_compression.h" #include "../ris_lib/ris_writing_files.h" #include "../ris_lib/template.h" #include "../ris_lib/ris_resource_loader.h" #include "../ris_lib/ris_default_or_from_file.h" #include...
<commit_before>/****************************************************************************** * Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions a...
<commit_before>/* * Escape or unescape HTML entities. * * author: Max Kellermann <mk@cm4all.com> */ #include "escape_html.hxx" #include "escape_class.h" #include "strref.h" #include "strutil.h" #include <assert.h> #include <string.h> static const char * html_unescape_find(const char *p, size_t length) { retu...
<commit_before>/* Kopete , The KDE Instant Messenger Copyright (c) 2001-2002 by Duncan Mac-Vicar Prett <duncan@kde.org> Viva Chile Mierda! Started at Wed Dec 26 03:12:10 CLST 2001, Santiago de Chile Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> *********************...
<commit_before>#include <cstdio> #include <cstring> #include <chrono> typedef long long ll; static const int N = 1<<20;//10^5 static const int M = 500000 + 8;//5*10^5 static const int oo = 1000000000; int a[N]; int n,m; char in[1<<23]; char out[1<<23]; struct scanner { char const* o; scanner(): o(in){ ...
<commit_before>/****************************************************************************** * Copyright (c) 2016 Sergey Alexandrov * * 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 wi...
<commit_before>#include "dispatcher_utility.hpp" #include "grabbable_state_manager/manager.hpp" #include "iokit_utility.hpp" #include <csignal> #include <pqrs/osx/iokit_hid_manager.hpp> #include <pqrs/osx/iokit_hid_queue_value_monitor.hpp> namespace { class grabbable_state_manager_demo final : public pqrs::dispatcher:...
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef BUFFER_CACHE_ALT_ALT_HPP_ #define BUFFER_CACHE_ALT_ALT_HPP_ #include <map> #include <vector> #include <utility> #include "errors.hpp" #include <boost/ptr_container/ptr_map.hpp> #include "buffer_cache/alt/page_cache.hpp" #include "buffer_c...
<commit_before>/* * Copyright (C) 2014 gameld * Write: huangtao117@gmail.com * 注意: * JNI规定每个JNIEnv对于线程都是本地的 * 一个线程使用另一个线程的JNIEnv将引起BUG和崩溃 * 对于c++创建的线程如果需要调用JNI则必须创建JNIEnv * 对于CallStaticObjectMethod这类调用来说,异常检测是必须的。 */ #include <jni.h> #include <string.h> #include <stdio.h> #include <stdint.h> #include <android/l...
<commit_before>#if !defined(__CINT__) || defined(__MAKECINT__) #include <Riostream.h> #include "TFile.h" #include "TTree.h" #include "AliAODEvent.h" #include "AliAODHeader.h" #include "AliAODVertex.h" #include "AliAODTrack.h" #include "AliAODCluster.h" #endif void ReadAOD(const char *fileName = "AliAOD.root") { ...
<commit_before>// infoware - C++ System information Library // // Written in 2016-2019 by nabijaczleweli <nabijaczleweli@gmail.com> and ThePhD <phdofthehouse@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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.or...
<commit_before>/* Copyright 2015-2016 Kogutich Denis * * 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>// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef BUFFER_CACHE_ALT_ALT_HPP_ #define BUFFER_CACHE_ALT_ALT_HPP_ #include <map> #include <vector> #include <utility> #include "buffer_cache/alt/page_cache.hpp" #include "buffer_cache/types.hpp" #include "containers/two_level_array.hpp" #include ...
<commit_before>#include <iostream> #include <fstream> #include <sstream> #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <vector> #include <list> #include <ctime> #include <cmath> using namespace std; template<typename T> string toStr(const T &val) { ostringstream ss; ss << val; return ss....
<commit_before>#include "Halide.h" using namespace Halide; using namespace Halide::ConciseCasts; class MatMul : public Generator<MatMul> { public: // We take 2 8-bit matrices as input. Input<Buffer<uint8_t>> A{"A", 2}; Input<Buffer<uint8_t>> B{"B", 2}; // We produce a 32 bit matrix result. Output...
<commit_before>/** * A simple Urho3D example in one (big) file. * Copyright 2014 Peter Gebauer, 2015 gawag. * Released under the same permissive MIT-license as Urho3D. * https://raw.githubusercontent.com/urho3d/Urho3D/master/License.txt * * Why? * Because A first "simple" example tutorial shouldn't require additional *...
<commit_before>#pragma once #include <experimental/coroutine> #include "coro.hpp" BEGIN_ASYNCIO_NAMESPACE; template <typename ReturnType> class co_runner { public: co_runner(coro<ReturnType> &co) : _runner(run(co)) { _runner.await_suspend(nullptr); } co_runner(coro<ReturnType> &&co) : _runner(run(co)) { ...
<commit_before>#include "layer.h" #include "datahandler.h" #include <opencv2/core.hpp> using namespace std; using namespace cv; int main(int argc, char** argv) { const char *keys = "{ board b || GPU board(s): 0 or 012, etc. }" "{ data d || Model pbtxt file }" "{ layer l || Layer pbtxt f...
<commit_before>#include "siprouting.h" #include <QSettings> #include "common.h" SIPRouting::SIPRouting(std::shared_ptr<TCPConnection> connection): connection_(connection), contactAddress_(""), contactPort_(0), first_(true) {} void SIPRouting::processOutgoingRequest(SIPRequest& request, QVariant& content) ...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#include <QtGui/QApplication> #include "qmlapplicationviewer.h" Q_DECL_EXPORT int main(int argc, char *argv[]) { QScopedPointer<QApplication> app(createApplication(argc, argv)); QScopedPointer<QmlApplicationViewer> viewer(QmlApplicationViewer::create()); viewer->addImportPath(QLatin1String(...
<commit_before>#include <iostream> #include "CommPool.h" #include "TCPConnector.h" #include "MemPool.h" using namespace std; //1024 * 6 #define BUFF_SIZE 6144 #define MAX_PKGLEN 1<<16 namespace KxServer { char* CTCPConnector::g_RecvBuffer = NULL; CTCPConnector::CTCPConnector(char* addr, int port, ICommunicationPol...
<commit_before>#include "rapid_utils/command_line.h" #include <iostream> #include "boost/algorithm/string.hpp" using std::cout; using std::cerr; using std::endl; using std::string; using std::vector; namespace rapid { namespace utils { void ExitCommand::Execute(const std::vector<std::string>& args) {} std::string E...
<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-CHROMIUM file. #include "browser/url_request_context_getter.h" #include "network_delegate.h" #include "base/string_util.h" #include "base/th...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include "extract/filewalk.hpp" #include "config/cmd_args.hpp" #include "errors.hpp" #include "logger.hpp" namespace extract { void usage(const char *name) { // Note: some error messages may refer to the names of comman...
<commit_before>/* * MacFileMonitor.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, * MERCHANTABI...
<commit_before>// // Copyright RIME Developers // Distributed under the BSD License // // 2016-09-08 osfans <waxaca@163.com> // #include <rime/candidate.h> #include <rime/engine.h> #include <rime/schema.h> #include <rime/segmentation.h> #include <rime/ticket.h> #include <rime/translation.h> #include <rime/gear/codepoi...
<commit_before> #ifndef __BUFFER_CACHE_WRITEBACK_IMPL_HPP__ #define __BUFFER_CACHE_WRITEBACK_IMPL_HPP__ template <class config_t> writeback_tmpl_t<config_t>::writeback_tmpl_t( cache_t *cache, bool wait_for_flush, unsigned int flush_interval_ms, unsigned int force_flush_threshold) : ...
<commit_before>/* * eos - A 3D Morphable Model fitting library written in modern C++11/14. * * File: python/pybind11_Image.hpp * * Copyright 2017 Patrik Huber * * 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 ...
<commit_before> #ifndef __BUFFER_CACHE_WRITEBACK_IMPL_HPP__ #define __BUFFER_CACHE_WRITEBACK_IMPL_HPP__ template <class config_t> writeback_tmpl_t<config_t>::writeback_tmpl_t(cache_t *cache, bool wait_for_flush, unsigned int flush_interval_ms) : wait_for_flush(wait_for_flush), interval_ms(flush_inter...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// @brief primary index /// /// @file /// /// DISCLAIMER /// /// Copyright 2014 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 ...
<commit_before>// // Typer.cpp // Clock Signal // // Created by Thomas Harte on 19/06/2016. // Copyright 2016 Thomas Harte. All rights reserved. // #include "Typer.hpp" using namespace Utility; Typer::Typer(const std::string &string, HalfCycles delay, HalfCycles frequency, std::unique_ptr<CharacterMapper> charac...
<commit_before>#include <iostream> #include "grpc_cb_core/server.h" int main() { grpc_cb_core::Server server; return 0; } <commit_msg>Fix include.<commit_after>#include <iostream> #include "grpc_cb_core/server/server.h" int main() { grpc_cb_core::Server server; return 0; } <|endoftext|>
<commit_before> #include <binder/ProcessState.h> #include <cutils/properties.h> #include <utils/SystemClock.h> #include <fcntl.h> #include <time.h> #include <vector> #include "libpreview.h" #include "SimpleH264Encoder.h" using android::Mutex; libpreview::Client *libpreviewClient; SimpleH264Encoder *simpleH264Encode...
<commit_before>/************************************************************************* * * $RCSfile: WinFOPImpl.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hro $ $Date: 2002-08-14 15:45:02 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
<commit_before> // A Sample of ORM Lite // https://github.com/BOT-Man-JL/ORM-Lite // BOT Man, 2016 // gcc -std=c++11 Sample.cpp "src/sqlite3.c" -lstdc++ -lpthread -ldl -o Sample #include <string> #include <iostream> #include "src/ORMLite.h" using namespace BOT_ORM; /* #0 Basic Usage */ class MyClass { // Inject O...
<commit_before>/* Copyright (C) 2001 by Norman Krmer 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 version 2 of the License, or (at your option) any later version...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: XMLTableHeaderFooterContext.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-08 19:58:20 $ * * The Contents of ...
<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 COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...