text
stringlengths
54
60.6k
<commit_before>7936b88a-2d53-11e5-baeb-247703a38240<commit_msg>793737ba-2d53-11e5-baeb-247703a38240<commit_after>793737ba-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>7f6cf567-2d15-11e5-af21-0401358ea401<commit_msg>7f6cf568-2d15-11e5-af21-0401358ea401<commit_after>7f6cf568-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>#include <iostream> #include <sched.h> #include <stdlib.h> #include <sys/wait.h> #include <errno.h> #include <unistd.h> #include <sys/utsname.h> #include <string> #include <cstring> #include <vector> #include <algorithm> #include "container.h" int run(void* arg) { const std::string name = "funny-nam...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>8fd0494d-2d14-11e5-af21-0401358ea401<commit_msg>8fd0494e-2d14-11e5-af21-0401358ea401<commit_after>8fd0494e-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>98bbc73d-327f-11e5-9abd-9cf387a8033e<commit_msg>98c1e338-327f-11e5-a29e-9cf387a8033e<commit_after>98c1e338-327f-11e5-a29e-9cf387a8033e<|endoftext|>
<commit_before>/* <x0/request.hpp> * * This file is part of the x0 web server project and is released under LGPL-3. * * (c) 2009 Chrisitan Parpart <trapni@gentoo.org> */ #ifndef x0_http_request_hpp #define x0_http_request_hpp (1) #include <x0/buffer.hpp> #include <x0/header.hpp> #include <x0/fileinfo.hpp> #inclu...
<commit_before>#include "include/udata.h" #include "include/amici_exception.h" #include <cstdio> #include <cstring> #include <algorithm> namespace amici { UserData::UserData(const int np, const int nk, const int nx) : sizex(nx) { // these fields must always be initialized, others are optional or can be set later ...
<commit_before>#include "utils.h" // #include <fstream> // fstream #include <boost/tokenizer.hpp> #include <boost/numeric/ublas/matrix.hpp> using namespace std; using namespace boost; using namespace boost::numeric::ublas; std::ostream& operator<<(std::ostream& os, const map<int, double>& int_double_map) { map...
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved. #ifndef UTILS_HPP_ #define UTILS_HPP_ #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS #endif #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS #endif #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #ifdef VALGRIND #inc...
<commit_before>#include "ed.h" utimer::timer_entry::timer_entry (const utime_t &time, u_long interval, lisp fn, int one_shot_p) : te_time (time + interval * utime_t (UNITS_PER_SEC / 1000)), te_interval (interval), te_fn (fn), te_flags (one_shot_p ? (TE_ONE_SHOT | TE...
<commit_before>// Copyright (c) 2011, 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>// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2009 Bastian Holst <bastianholst@gmx.de> // // Self #include "PluginItem...
<commit_before>/* * Header-only library abstracting some filesystem properties. */ #ifndef MODTOOLS_COMPAT_FS_HPP #define MODTOOLS_COMPAT_FS_HPP #include "modtools_compat/common.hpp" #include "modtools_compat/posix.hpp" #include <string> #include <algorithm> #include <iterator> #include <cassert> #include <cstdlib...
<commit_before>#pragma once #include <appbase/application.hpp> #include <eos/chain/chain_controller.hpp> #include <eos/chain/key_value_object.hpp> #include <eos/chain/account_object.hpp> #include <eos/types/AbiSerializer.hpp> #include <eos/database_plugin/database_plugin.hpp> namespace fc { class variant; } namespac...
<commit_before>#include <configure/bind.hpp> #include <configure/Node.hpp> #include <configure/lua/State.hpp> #include <configure/lua/Type.hpp> #include <boost/filesystem/path.hpp> namespace fs = boost::filesystem; namespace configure { void bind_node(lua::State& state) { /// Node represent a vertex in the bui...
<commit_before>/** @file @brief Implementation @date 2016 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2016 Sensics, 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 ...
<commit_before>/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBitmapScaler.h" #include "SkBitmapFilter.h" #include "SkConvolver.h" #include "SkImageInfo.h" #include "SkPixmap.h" #include "SkRect.h" #include "Sk...
<commit_before>// #undef UNICODE // #include <sstream> #include "logconsole.h" std::ostream& Core::Color::operator<<(std::ostream& os, Core::Color::CodeFG code) { #ifndef _WIN32 return os << "\033[1;" << static_cast<int>(code) << "m"; #else return os; #endif } s...
<commit_before>/* This file is part of Strigi Desktop Search * * Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info> * * 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; eithe...
<commit_before>/************************************************************************* * * $RCSfile: TableGrantCtrl.hxx,v $ * * $Revision: 1.1 $ * * last change: $Author: oj $ $Date: 2001-06-20 06:59:32 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>// doosabin_regression.cpp // Includes #include <algorithm> #include <cstdio> #include <fstream> #include <iostream> #include <memory> #include <string> #include <streambuf> #include <utility> #include "ceres/ceres.h" #include "gflags/gflags.h" #include "glog/logging.h" #include <Eigen...
<commit_before>#include <stdexcept> #include <iostream> #include <csignal> #include <boost/program_options.hpp> #include "cppkafka/consumer.h" #include "cppkafka/configuration.h" using std::string; using std::exception; using std::cout; using std::endl; using cppkafka::Consumer; using cppkafka::Configuration; using c...
<commit_before>#include <fcntl.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/io/zero_copy_stream_impl.h> #include <google/protobuf/text_format.h> #include <leveldb/db.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui_c.h> #include <o...
<commit_before>/* This file is part of KXForms. Copyright (c) 2006 Cornelius Schumacher <schumacher@kde.org> 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 ve...
<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>#include <blackhole/formatter/string.hpp> #include <blackhole/log.hpp> #include <blackhole/repository.hpp> #include <blackhole/sink/files.hpp> using namespace blackhole; enum class level { debug, info, warning, error }; void init() { repository_t<level>::instance().configure< ...
<commit_before>// Copyright (c) 2012-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "clientversion.h" #include "tinyformat.h" #include <string> /** * Name of client reported in the 'vers...
<commit_before>// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, Universi...
<commit_before>// CChemEqElement // // A class describing an element of a chemical equation // (C) Stefan Hoops 2001 // #include "copasi.h" #include "CChemEq.h" CChemEq::CChemEq(){}; CChemEq::CChemEq(const CChemEq & src) { mChemicalEquation = src.mChemicalEquation; mChemicalEquationConverted = src.mChemicalEqua...
<commit_before>/* This file is part of the clazy static checker. Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com Author: Sérgio Martins <sergio.martins@kdab.com> Copyright (C) 2015 Sergio Martins <smartins@kde.org> This library is free software; you can redistribute it...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <stdlib.h...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <algorith...
<commit_before>#include "game_object_factory.hpp" using namespace mindscape; engine::GameObject* GameObjectFactory::fabricate( GameObjectFactory::Options option, std::pair<int, int> coordinates, int priority){ switch(option){ case(GameObjectFactory::LITTLE_GIRL): return fabricate_little_girl(); ...
<commit_before>/** * Copyright (c) 2015 Damien Tardy-Panis * * This file is subject to the terms and conditions defined in * file 'LICENSE', which is part of this source code package. **/ #include "Erzaehlmirnix.h" #include <QDebug> #include <QRegularExpression> #include <QRegularExpressionMatch> Erzaehlmirnix:...
<commit_before>#include <Core/Tasks/TaskQueue.hpp> #include <Core/Tasks/Task.hpp> #include <stack> #include <iostream> namespace Ra { namespace Core { TaskQueue::TaskQueue( uint numThreads ) : m_processingTasks( 0 ), m_shuttingDown( false ) { CORE_ASSERT(...
<commit_before>#include <ctime> #include <json/json.h> #include <fstream> #include <iostream> #include <utils.h> #include "CommandHandler.h" static bool valid_resp(const std::string &resp, std::string &err); CustomCommandHandler::CustomCommandHandler(commandMap *defaultCmds, TimerManager *tm, const std::string &whe...
<commit_before>#ifndef TATUM_COMMON_ANALYSIS_VISITOR_HPP #define TATUM_COMMON_ANALYSIS_VISITOR_HPP #include "tatum_error.hpp" #include "TimingGraph.hpp" #include "TimingConstraints.hpp" #include "TimingTags.hpp" namespace tatum { namespace detail { /** \file * * Common analysis functionality for both setup and hold...
<commit_before>/***************************************************************************//** * FILE : cmiss_set.hpp * * Template class derived from STL set which handles reference counting and * maintains connections between sets of related objects to safely and * efficiently manage changing the identifier i.e....
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mythes.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2007-08-03 12:31:01 $ * * The Contents of this file are made av...
<commit_before>#include <agency/future.hpp> #include <agency/new_executor_traits.hpp> #include <iostream> #include <cassert> #include "test_executors.hpp" template<class Executor> void test() { using executor_type = Executor; size_t n = 100; auto int_ready = agency::detail::make_ready_future(0); auto void...
<commit_before>/* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
<commit_before>#include "autocompletebasictest.h" #include <QUrl> #include <QFileInfo> #include <QStringList> #include "integrationtestbase.h" #include "signalwaiter.h" #include "../../xpiks-qt/Commands/commandmanager.h" #include "../../xpiks-qt/Models/artitemsmodel.h" #include "../../xpiks-qt/MetadataIO/metada...
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "generic_state_handler.h" #include <vespa/vespalib/data/slime/slime.h> namespace vespalib { namespace { vespalib::string url_escape(const vespalib::string &item) { return ite...
<commit_before>/* $Id$ * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version * 2.0 (th...
<commit_before>#pragma once #include <map> #include <typeinfo> #include "../Scene/Scene.hpp" namespace Component { class SuperComponent; } /// %Entity containing various components. class Entity { public: /// Create new entity. /** * @param scene The scene in which the entity is cont...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: UriSchemeParser_vndDOTsunDOTstarDOTscript.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-09-16 17:38:50 $ * * T...
<commit_before>/**************************************************************************** ** ** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercia...
<commit_before> #include "test.h" #include <GLFW/glfw3.h> #include <bgfx.h> #include <common.h> #include <bgfx_utils.h> #include <bgfxplatform.h> #include <bx/string.h> #include <bx/readerwriter.h> #include "file.h" #include "utilities.h" #include "rendercontext.h" video_test::video_test( void ) { se_type = 0; ...
<commit_before>/************************************************************************* * * $RCSfile: dp_ucb.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2004-08-12 12:09:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/** * \author John Szwast * \year 2014-2016 * \copyright MIT */ #pragma once #include <mutex> #include <type_traits> #include <utility> /** * \brief MemoizedMember is a C++ class that caches the result of a computation. * * \details * If your class `A` has an attri...
<commit_before>#include <boost/algorithm/string.hpp> #include <functional> #include <string> #include <vector> #include <map> #include "collectfunctions.h" #include "vvvptreehelper.hpp" #include "myparamnames.hpp" using namespace clang; std::string getDoxyBrief(const ASTContext& ctx, const RawComment* comment) { ...
<commit_before>#include <cstdio> #include <string> #include <regex> #include <fstream> #include <sys/stat.h> #include <unistd.h> // http://tclap.sourceforge.net/manual.html #include "tclap/CmdLine.h" #include "HCIDumpParser.h" #include "MsgPublisherTypeConstraint.h" #include "../lcd/LcdDisplay.h" #include "MockScannerV...
<commit_before>/* * author: Max Kellermann <mk@cm4all.com> */ #ifndef EXPANDABLE_STRING_LIST_HXX #define EXPANDABLE_STRING_LIST_HXX #include "util/ShallowCopy.hxx" #include <inline/compiler.h> #include <iterator> struct pool; class MatchInfo; class Error; template<typename T> struct ConstBuffer; class Expandabl...
<commit_before>#include "Globals.h" #include "Application.h" #include "PhysBody3D.h" #include "ModuleCamera3D.h" ModuleCamera3D::ModuleCamera3D(Application* app, bool start_enabled) : Module(app, start_enabled) { name = "Camera3D"; CalculateViewMatrix(); X = vec3(1.0f, 0.0f, 0.0f); Y = vec3(0.0f, 1.0f, 0.0f); ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cancelcommandexecution.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: rt $ $Date: 2005-09-09 16:36:02 $ * * The Contents of this...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: VectorConfidenceConnected.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. ...
<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>#ifndef PIXELBOOST_DISABLE_GRAPHICS #include <algorithm> #include <set> #include "pixelboost/graphics/camera/camera.h" #include "pixelboost/graphics/camera/viewport.h" #include "pixelboost/graphics/device/device.h" #include "pixelboost/graphics/effect/effect.h" #include "pixelboost/graphics/effect/mana...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/notifications/notification_ui_manager.h" #include "base/logging.h" #include "base/scoped_ptr.h" #include "bas...
<commit_before>/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "Copyright (c) 2012-2013 Tokutek Inc. All rights reserved." #ident "$Id$" // Test to make sure nothing crashes if the backup source directory has unreadable permissions. #include ...
<commit_before>#include <QtTest> #include <timing/calendartiming.h> class TestCalendarTiming : public QObject { Q_OBJECT private slots: void constructors() { CalendarTiming timing; QCOMPARE(timing.type(), QLatin1String("calendar")); } }; QTEST_MAIN(TestCalendarTiming) #include "tst...
<commit_before>/* * Copyright (C) 2013 midnightBITS * * 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, * mod...
<commit_before>#include "remote_control/resource_allocation_manager_impl.h" #include "application_manager/application.h" #include "application_manager/message_helper.h" #include "remote_control/rc_module_constants.h" #include "json/json.h" #include "utils/helpers.h" #include "utils/make_shared.h" #include "remote_contr...
<commit_before>#include "I2PEndian.h" #include "CryptoConst.h" #include "Tunnel.h" #include "NetDb.h" #include "Timestamp.h" #include "Garlic.h" #include "TunnelPool.h" namespace i2p { namespace tunnel { TunnelPool::TunnelPool (i2p::garlic::GarlicDestination& localDestination, int numInboundHops, int numOutboundHops,...
<commit_before> #include <stdio.h> #include "Common.hpp" #include <Lumino/Base/Logger.hpp> #ifdef __EMSCRIPTEN__ #include <emscripten.h> static volatile bool g_ioDione = false; extern "C" void setIODone() { printf("called setIODone()\n"); g_ioDione = true; } void pre1(void *arg) { EM_ASM...
<commit_before>#include "McMaker/TpcEffFitter.h" #include "Common.h" // ROOT #include "TGraphAsymmErrors.h" #include "TFile.h" #include "Logger.h" #include "Reporter.h" #include "RooPlotLib.h" using namespace jdb; TpcEffFitter::TpcEffFitter( XmlConfig * _cfg, string _nodePath ){ DEBUG( "( " << _cfg << ", " << _nod...
<commit_before>/** Count Vowels program - Enter some text and the program automatically counts the vowels and returns the total. * Copyrights (c) Frédéric Charette - 2016 * * for some reason; the code does not prompt for text on mobile... */ #include <iostream> #include <string> #include <cstdlib> using nam...
<commit_before>//===- TableGen.cpp - Top-Level TableGen implementation for Clang ---------===// // // 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) 2011 Arduino. All right reserved. Copyright (c) 2015 Intel Corporation. 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 ...
<commit_before>/* HardwareSerial.cpp - Hardware serial library for Wiring Copyright (c) 2006 Nicholas Zambetti. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; e...
<commit_before>/** * Eval.cpp * * This file holds the implementation for the Php::eval() function * * @author andot <https://github.com/andot> */ /** * Dependencies */ #include "includes.h" /** * Open PHP namespace */ namespace Php { /** * Evaluate a PHP string * @param phpCode The PHP code ...
<commit_before>/** \file apply_differential_update.cc * \brief A tool for applying a differential update to a complete MARC dump. * \author Dr. Johannes Ruscheinski */ /* Copyright (C) 2018 Library of the University of Tübingen This program is free software: you can redistribute it and/or modify ...
<commit_before>/* * Copyright (c) 2014 by Robert Schmidtke, Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ #include <gtest/gtest.h> #include <boost/algorithm/string/predicate.hpp> #include <boost/scoped_ptr.hpp> #include <boost/thread.hpp> #include <fstream> #include...
<commit_before>/** * Copyright (C) 2015 Topology LP * 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 the Software without restriction, including without limitation the ...
<commit_before>#include "RaZ/Render/Mesh.hpp" namespace Raz { Mesh::Mesh(const Triangle& triangle) : Mesh() { // TODO: check if vertices are defined counterclockwise const Vec3f& firstPos = triangle.getFirstPos(); const Vec3f& secondPos = triangle.getSecondPos(); const Vec3f& thirdPos = triangle.getThirdPo...
<commit_before>// Copyright 2019 The TensorFlow 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 // // Un...
<commit_before>#include "game.h" #define LOOKAHEAD 4 #define SACRIFICE_OPTIONS 5 #define OPPONENT_MOVES 5 using namespace std; // globals int sacrificeCombinations = factorial(SACRIFICE_OPTIONS) / (factorial(SACRIFICE_OPTIONS - 2) * factorial(2)); stringstream token; char botId; char state[16][18]; int roundNum, tim...
<commit_before>#include "core/settings.hpp" #include "core/tz_glad/glad_context.hpp" #include "core/debug/assert.hpp" namespace tz { void RenderSettings::enable_wireframe_mode(bool wireframe) const { if(wireframe) { glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); glLineWidth(...
<commit_before>#include "archive.hh" #include "fs-accessor.hh" #include "store-api.hh" namespace nix { struct LocalStoreAccessor : public FSAccessor { ref<Store> store; LocalStoreAccessor(ref<Store> store) : store(store) { } void assertStore(const Path & path) { Path storePath = toStorePath(...
<commit_before>/* * Copyright 2009 The VOTCA Development Team (http://www.votca.org) * * 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 <tensorflow/core/common_runtime/constant_folding.h> #include <tensorflow/core/graph/graph_constructor.h> #include <tensorflow/core/graph/node_builder.h> #include <tensorflow/core/graph/subgraph.h> #include <tensorflow/core/platform/init_main.h> #include <tensorflow/core/public/session.h> #includ...
<commit_before>#include "breakpoint.h" #include <windows.h> #include <tlhelp32.h> #include <algorithm> #include <iostream> const char HWBreakpoint::m_originalOpcode[8] = { 0x48, 0x83, 0xEC, 0x48, 0x4C, 0x8B, 0xC9, 0x48 }; HWBreakpoint::HWBreakpoint() { ZeroMemory(m_address, sizeof(m_address)); m_countActive = 0; B...
<commit_before>// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. // // Copyright (C) 2021 Intel Corporation #include <algorithm> #include <sstream> #include "streaming/onevpl...
<commit_before>/****************** <VPR heading BEGIN do not edit this line> ***************** * * VR Juggler Portable Runtime * * Original Authors: * Allen Bierbaum, Patrick Hartling, Kevin Meinert, Carolina Cruz-Neira * * ----------------------------------------------------------------- * File: $RC...
<commit_before>#include "cvm.h" void DabValue::dump(FILE *file) const { static const char *types[] = {"INVA", "FIXN", "BOOL", "NIL ", "CLAS", "OBJE", "ARRY", "UIN8", "UI16", "UI32", "UI64", "INT8", "IN16", "IN32", "IN64", "METH", "PTR*", "BYT*", "...
<commit_before>/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2010 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This libra...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2011, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
<commit_before>/* * DynApproxBetweenness.cpp * * Created on: 31.07.2014 * Author: ebergamini */ #include "DynApproxBetweenness.h" #include "../auxiliary/Random.h" #include "../distance/Diameter.h" #include "../graph/Sampling.h" #include "../graph/DynDijkstra.h" #include "../graph/DynBFS.h" #include "../auxi...
<commit_before>// Copyright (c) 2015, Galaxy Authors. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: yuanyi03@baidu.com #include "curl_downloader.h" #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno...
<commit_before>/* dstar_from_grid.cpp */ #ifdef MACOS #include <OpenGL/gl.h> #include <OpenGL/glu.h> #include <GLUT/glut.h> #else #include <GL/glut.h> #include <GL/gl.h> #include <GL/glu.h> #endif #include <stdlib.h> #include <unistd.h> #include "dstar.h" namespace dstar { class DstarInterface () { }; } // End dsta...
<commit_before>/************************************************************************* * * $RCSfile: mcnttype.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: tra $ $Date: 2001-02-26 06:59:47 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>#include <iostream> #include <string> #include <stdexcept> #include <dlfcn.h> #include <boost/program_options.hpp> #include <boost/filesystem.hpp> #include <QApplication> #include <QMainWindow> #include <QMenu> #include <QAction> #include <QKeyEvent> #include <QHBoxLayout> #include <dependency_graph/...
<commit_before>/* * 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 your option) any later version. * * This program is distributed in the hope...
<commit_before>// [AsmJit] // Complete x86/x64 JIT and Remote Assembler for C++. // // [License] // Zlib - See LICENSE.md file in the package. // [Export] #define ASMJIT_EXPORTS // [Dependencies - AsmJit] #include "../base/cputicks.h" // [Dependencies - Posix] #if defined(ASMJIT_OS_POSIX) # include <time.h> # includ...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/io/p9_io_xbus_scominit.C $ ...
<commit_before>/**************************************************************************** * * Copyright (C) 2021 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
<commit_before>/* * Copyright (c) 2006, Mathieu Champlon * 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 ...
<commit_before>/* * Copyright (c) 2009, Mathieu Champlon * 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 ...