text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 2006-2008 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 "base/string_util.h" #include "webkit/glue/plugins/test/plugin_client.h" #include "webkit/glue/plugins/test/plugin_argume...
<commit_before> #include "interlecto.h" using namespace web; int web::main(enviro&Enviro) { content Content(Enviro); format Page(Enviro); string request(Enviro.value("request")); request.trim("\\/"); Page.set_title(request); Page.load(Content); cout << Enviro.headers(); cout << Page.html(); return Enviro....
<commit_before>// // Created by haohanwang on 1/24/16. // #include "ProximalGradientDescent.hpp" #include <Eigen/Dense> #include <iostream> #include <map> using namespace Eigen; using namespace std; ProximalGradientDescent::ProximalGradientDescent(const map<string, string>& options) { try { setLearningRa...
<commit_before>#include "decafs_barista.h" #define MIN_ARGS 5 #define STRIPE_SIZE 1 #define CHUNK_SIZE 2 #define METADATA 3 #define ESPRESSO 4 int main (int argc, char *argv[]) { process_arguments (argc, argv); // TODO: Change to proper logging printf ("Barista is initialized.\n"); printf ("\tstripe_size: %d...
<commit_before>/**************************************************************************** * * Copyright (C) 20158 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) the JPEG XL 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. #include "lib/jxl/modular/encoding/dec_ma.h" #include "lib/jxl/dec_ans.h" #include "lib/jxl/modular/encoding/ma_common.h" #includ...
<commit_before>#include "SCD.h" #if (__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-parameter" #else #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #endif #include <llvm/IR/Module.h> #include <llvm/IR/Function.h> #include <llvm/Analysis/PostDominat...
<commit_before>/*------------ant.cpp---------------------------------------------------------// * * ants -- We have them * * Purpose: Figure out ant pathing to food. I want food. * *-----------------------------------------------------------------------------*/ #include <array> #include <iostream> #include...
<commit_before>/* * File: AlarmClockSpeedTest.cpp * Author: Amanda Carbonari * Created: January 6, 2015 9:00am * * WARNING: This only measures CPU time */ #include <ctime> #include <iostream> #include <AlarmClock.h> #include <chrono> #include <thread> using namespace std; using namespace std::chrono; typedef ...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>// Copyright (C) 2010 and 2011 Marcin Arkadiusz Skrobiranda. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // 1. Redistributions of source code must retain the above copyri...
<commit_before>#include "mysql.hpp" #include "CQuery.hpp" #include "CConnection.hpp" #include "CDispatcher.hpp" #include "COptions.hpp" #include "CLog.hpp" CConnection::CConnection(const char *host, const char *user, const char *passw, const char *db, const COptions *options) { CLog::Get()->Log(LogLevel::DEBUG, ...
<commit_before>#include "crunch/concurrency/meta_scheduler.hpp" #include "crunch/base/assert.hpp" #include "crunch/base/stack_alloc.hpp" #include "crunch/concurrency/event.hpp" #include <algorithm> #if defined (CRUNCH_PLATFORM_WIN32) # include <windows.h> #endif namespace Crunch { namespace Concurrency { class M...
<commit_before>/** * Appcelerator Kroll - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved. */ #ifdef OS_OSX #include <Cocoa/Cocoa.h> #endif #if defined(OS_WIN32) # include "base.h" # include <windows....
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkRibbonFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1998 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted ...
<commit_before>/******************************************************************************* Program: Wake Forest University - Virginia Tech CTC Software Id: $Id$ Language: C++ *******************************************************************************/ // command line app to subtract tagged stool fro...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkProStarReader.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Thi...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // ļVerFile.cpp // ߣSong Baoming,2016 // ; resource.h *.rc ļӱ汾 CVerFile ķļ // Licensehttps://github.com/songbaoming/IncBuildVer/blob/master/LICENSE ///////////////////////////////////////////////////////////////////////////...
<commit_before>#ifndef BUW_MATERIAL_HPP #define BUW_MATERIAL_HPP #include <string> #include <iostream> #include "color.hpp" class Material { public: Material(); Material(std::string const& n, Color const& a, Color const& d, Color const& s, float const& m); Material(std::string const& n, Color const& a, flo...
<commit_before>/*========================================================================= Programme : OTB (ORFEO ToolBox) Auteurs : CS - T.Feuvrier Language : C++ Date : 11 janvier 2005 Version : Role : Test de la classe LineSpatialObjectList $Id$ ===========================...
<commit_before>/*********************************************************************** filename: CEGUISpinner.cpp created: 3/2/2005 author: Paul D Turner *************************************************************************/ /*************************************************************************** * Cop...
<commit_before>#include "ShaderPaths.hpp" #include "UniformLocations.glsl" #include <atlas/glx/Buffer.hpp> #include <atlas/glx/Context.hpp> #include <atlas/glx/ErrorCallback.hpp> #include <atlas/glx/GLSL.hpp> #include <atlas/gui/GUI.hpp> #include <fmt/printf.h> #include <array> using namespace atlas; // We need to...
<commit_before>// // Created by vrosca on 1/21/17. // #include "ArrivalsProvider.hpp" ArrivalsProvider::ArrivalsProvider (std::string station, std::string country, Calendar calendar) { query = "MATCH (tr:Trip)-[t:TO_STOP]->(a:Stop{name: '" + station + "'}), (tr:Trip)-[:FOR]->(r:Route)-[:STARTS_AT]->(b:Stop), (b)-...
<commit_before>#include "Maze.h" int main(int argc, char **argv){ Maze::Launch(argc, argv); return 0; }<commit_msg>Just add line to ignore all the annoying warnings<commit_after>#ifdef __APPLE__ #pragma GCC diagnostic ignored "-Wwarning-flag" #endif #include "Maze.h" int main(int argc, char **argv){ Maze::La...
<commit_before>//===--- GuaranteedARCOpts.cpp --------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>//=====================================================================// /*! @file @brief player クラス @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include <iostream> #include <algorithm> #include <boost/lexical_cast.hpp> #inclu...
<commit_before>#include "binarytree.h" #include <stdlib.h> #include <fstream> int main(int argc, char* argv[]) { binarytree::BinaryTree<int> n; for (int x = 0; x < 1000000; ++x) { n.Add(rand() % 1000000); } for (auto el : n.Walk()) std::cout << el << std::endl; } <commit_msg>Make the C++ test case ...
<commit_before>// Time: build tree: O(n), query: O(h), modify: O(h) // Space: O(h) /** * Definition of Interval: * classs Interval { * int start, end; * Interval(int start, int end) { * this->start = start; * this->end = end; * } */ class SegmentTreeSumNode { public: int start...
<commit_before> // (c) COPYRIGHT URI/MIT 1998 // Please read the full copyright statement in the file COPYRIGH. // // Authors: // jhrg,jimg James Gallagher (jgallagher@gso.uri.edu) // // Implementation of the DODS Time class // $Log: DODS_Time.cc,v $ // Revision 1.1 1998/12/28 19:07:33 jimg // Initial ...
<commit_before>//#include <ros/ros.h> #include <fstream> #include <iostream> #include <map> #include <vector> #include <string> #include <sstream> #include <list> #include <Eigen/Dense> #include <sys/time.h> #include <cmath> #include <random> #include <dynmeans/kerndynmeans.hpp> #include "maxmatching.hpp" using names...
<commit_before>#include "get_new_points.hxx" #include "eval_weighted.hxx" #include "poles_prefactor.hxx" #include "power_prefactor.hxx" #include "../sdp_solve.hxx" #include "../ostream_set.hxx" std::vector<El::BigFloat> compute_optimal(const std::vector<Positive_Matrix_With_Prefactor> &matrices, cons...
<commit_before>/* * Global Presence - wraps calls to set and get presence for all accounts. * * Copyright (C) 2011 David Edmundson <kde@davidedmundson.co.uk> * * 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 th...
<commit_before>#include "Emulator.h" #include "Log.h" #include "Font.h" #include <fstream> namespace Chip8 { Emulator::Emulator() : cpu(this) { init(); } Emulator::~Emulator() { } void Emulator::init() { // Load font for (int i = 0; i < (FONT_BYTES*16); ++i) { memory.write(Memory::FONT_START + i, FONT[i]); } ...
<commit_before>/*! @file @author George Evmenov @date 01/2010 */ #include "precompiled.h" #include "CodeGenerator.h" #include "EditorWidgets.h" #include "UndoManager.h" #include "Localise.h" namespace tools { // FIXME const std::string TemplateName = "BaseLayoutCPP.xml"; CodeGenerator::CodeG...
<commit_before>/* * Copyright (C) 2016-2018 Muhammad Tayyab Akram * * 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 requi...
<commit_before>// @(#)root/gui:$Name: $:$Id: TRootContextMenu.cxx,v 1.4 2002/04/04 17:32:14 rdm Exp $ // Author: Fons Rademakers 12/02/98 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>#pragma once #include <string> #include <vector> #include <json/json.h> #include "Entity/World.hpp" class TextureAsset; class ScriptFile; /// A hymn to beauty. class ActiveHymn { friend ActiveHymn& Hymn(); public: /// Clear the hymn of all properties. void Clear(); ...
<commit_before>#include <k52/parallel/worker_pool_factory.h> #include <stdexcept> #include "sequential_worker_pool.h" using ::k52::parallel::SequentialWorkerPool; #ifdef BUILD_WITH_BOOST_THREAD #include "thread/thread_worker_pool.h" using ::k52::parallel::thread::ThreadWorkerPool; #endif #ifdef BUILD_WITH_MPI #incl...
<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/test/nacl/nacl_test.h" #include "base/file_util.h" #include "base/path_service.h" #include "chrome/common/chrome_path...
<commit_before><commit_msg>disable failing tests while I debug<commit_after><|endoftext|>
<commit_before>#include "Connection.h" #include <TelepathyQt4/ContactManager> namespace TelepathyIM { Connection::Connection(Tp::ConnectionManagerPtr tp_connection_manager, const Communication::CredentialsInterface &credentials) : tp_connection_manager_(tp_connection_manager), name_("Gabble"), protocol_("jabber"...
<commit_before>/*********************************************************************************************************************** * VListCF.cpp * * Created on: Feb 24, 2011 * Author: Dimitar Asenov *********************************************************************************************************...
<commit_before>#include <string> #include <iostream> #include <sstream> #include <boost/program_options.hpp> #include "CmdSession.h" #include <SmurffCpp/Configs/Config.h> #include <SmurffCpp/Utils/counters.h> #include <SmurffCpp/Version.h> #include <SmurffCpp/IO/GenericIO.h> #include <SmurffCpp/IO/MatrixIO.h> #defi...
<commit_before>#include "private_window.h" #include <game/DirectWindow.h> // We really shouldn't be compiled with an older compiler to begin with...we need epic TCO to work properly... #if __cplusplus > 199711L #define ATHENA_OVERRIDE override #else #define ATHENA_OVERRIDE #endif #include <vector> #include <...
<commit_before>#include "Expressions.hpp" #include "RegisterPool.hpp" #include "ProcessLog.hpp" #include "StringTable.hpp" #include "SymbolTable.hpp" #include <fstream> extern std::ostream cpslout; namespace { bool isValidPair(MemoryLocation* a, Expr* b) { if(!a) return false; if(!b) return false; r...
<commit_before>#include "util.h" #include <mysql++.h> #include <iostream> using namespace std; int main(int argc, char *argv[]) { try { mysqlpp::Connection con(mysqlpp::use_exceptions); if (!connect_sample_db(argc, argv, con, "")) { return 1; } bool created = false; try { con.select_db(kpcSampleDa...
<commit_before>/* Copyright (c) 2016, Dan Bethell, Johannes Saam, Vahan Sosoyan, Brian Scherbinski. All rights reserved. See COPYING.txt for more details. */ #include "FrameBuffer.h" #include "boost/format.hpp" using namespace aton; const std::string chStr::RGBA = "RGBA", chStr::rgb = "rgb", ...
<commit_before>#include <iostream> #include <string> using namespace std; class Calculator { public: Calculator(string strr) { str = strr; counter = 0; } double result() { double res = calculate(); if (counter != str.length()) throw "Invalid express...
<commit_before>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009, 2010 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it ...
<commit_before>/* kopeteaccountmanager.cpp - Kopete Account Manager Copyright (c) 2002-2003 by Martijn Klingens <klingens@kde.org> Copyright (c) 2003 by Olivier Goffart <ogoffart@tiscalinet.be> Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> ***************...
<commit_before>/* This file is part of the KDE libraries Copyright (C) 2005 Daniel Molkentin <molkentin@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 version 2 as published by the Free Software Foundation. T...
<commit_before><commit_msg>rejigged overrides <commit_after><|endoftext|>
<commit_before><commit_msg>Correctly compute the gradients for RNN<commit_after><|endoftext|>
<commit_before><commit_msg>not set ebx and edx before call cupid<commit_after><|endoftext|>
<commit_before>#include "HAL/HAL.hpp" #include "HAL/Port.h" #include "HAL/Errors.hpp" #include "ctre/ctre.h" #include "visa/visa.h" #include "ChipObject.h" #include "NetworkCommunication/FRCComm.h" #include "NetworkCommunication/UsageReporting.h" #include "NetworkCommunication/LoadOut.h" #include "NetworkCommunication...
<commit_before>/* * Author(s): * - Laurent Lec <llec@aldebaran-robotics.com> * * Copyright (C) 2012 Aldebaran Robotics */ #pragma once #ifndef _QIMESSAGING_URL_HPP_ #define _QIMESSAGING_URL_HPP_ #include <string> #include <sstream> namespace qi { class Url { private: std::string _url; unsigned s...
<commit_before>/* * Copyright (C) 2015 Dan Leinir Turthra Jensen <admin@leinir.dk> * * 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 your...
<commit_before>#include "ScreenActor.h" #include "ScreenState.h" ScreenActor::ScreenActor(ScreenState* startingState) { _numberOfLines = 0; state = startingState; } ScreenActor::~ScreenActor() { state = NULL; } void ScreenActor::doUpdate(const UpdateState & us) { ScreenState* newState = state->...
<commit_before>#include "namespace.hpp" #include "runtime.hpp" #include <siplasplas/utility/string.hpp> using namespace cpp; using namespace dynamic_reflection; Namespace::Namespace(const Namespace::Metadata& metadata) : Entity(metadata) { assert(metadata.kind() == SourceInfo::Kind::NAMESPACE); } std::shared...
<commit_before>/* * tools_p.cpp * * Copyright (c) 2001, 2002, 2003 Frerich Raabe <raabe@kde.org> * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. For licensing and distributi...
<commit_before>#include "packetfactory.h" #include "cli_accept_req.h" #include "cli_channel_list_req.h" #include "cli_char_list_req.h" #include "cli_create_char_req.h" #include "cli_delete_char_req.h" #include "cli_join_server_req.h" #include "cli_login_req.h" #include "cli_select_char_req.h" #include "cli_srv_selec...
<commit_before> #include <iostream> #include <set> #include <string> #include <vector> using namespace std; int get_frequency_delta(string input) { int delta = stoi(input.substr(1, input.length() - 1)); if (input[0] == '+') { return delta; } return delta * -1; } int solution1() { int fr...
<commit_before>#define DEBUG 1 /** * File : F2.cpp * Author : Kazune Takahashi * Created : 2019/9/1 22:51:39 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack> #...
<commit_before>/* * 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 following conditions are met: * * * Redistributions of source code must retain the above copyright * ...
<commit_before><commit_msg>Reset Element's input on disconnect<commit_after><|endoftext|>
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/************************************************************************* * * $RCSfile: cclass_unicode.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: er $ $Date: 2002-03-26 17:57:44 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>#ifndef __SERIALIZER_SEMANTIC_CHECKING_HPP__ #define __SERIALIZER_SEMANTIC_CHECKING_HPP__ #include "errors.hpp" #include <string> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <boost/crc.hpp> #include "arch/arch.hpp" #include "config/args.hpp" #include "serializer/serializer.h...
<commit_before>#include <ros/ros.h> #include <stdlib.h> #include <string> #include <ros/publisher.h> #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/filters/voxel_grid.h> #include <pcl_ros/point_cloud.h> #include <pcl_ros/transforms.h> pcl::PointCloud<pcl::PointXYZ>::Ptr map_cloud; ros::Publish...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkBlockItem.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Th...
<commit_before>#include <iostream> #include "Include/AppDelegate.h" #include "Include/HelloWorldScene.h" USING_NS_CC; AppDelegate::AppDelegate() { } AppDelegate::~AppDelegate() { } //if you want a different context,just modify the value of glContextAttrs //it will takes effect on all platforms void AppDelegate::...
<commit_before>#include "GameManager.h" #include "GameLogic.h" #include "NetworkLogic.h" CGameManager* CGameManager::m_pInstance = nullptr; CGameManager::CGameManager(void) { m_IsOnlineGame = false; m_IsUpdated = false; m_GameData = nullptr; } CGameManager::~CGameManager(void) { } CGameManager* ...
<commit_before>#include <appbase/application.hpp> #include <eosio/chain_plugin/chain_plugin.hpp> #include <eosio/http_plugin/http_plugin.hpp> #include <eosio/net_plugin/net_plugin.hpp> #include <eosio/producer_plugin/producer_plugin.hpp> #include <fc/log/logger_config.hpp> #include <fc/log/appender.hpp> #include <fc/...
<commit_before>/* Copyright (C) 2016 INRA * * 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, merge, pu...
<commit_before>#include <iostream> #include <Utils/utils.h> #include "numgrind.h" #include "DeepGrind/deepgrind.h" #include "Solvers/SGDWithMomentumSolver.h" #include "Solvers/GradientDescentSolver.h" #include "Utils/eigenimport.h" int main() { using namespace NumGrind::SymbolicGraph; const std::string dataDir...
<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 "media/base/video_decoder_config.h" #include "base/logging.h" #include "base/metrics/histogram.h" namespace media { VideoDe...
<commit_before>#ifndef LOCK_QUEUE #define LOCK_QUEUE #include<memory> //allocator, shared_ptr #include<type_traits> #include<utility> //move #include"Node.hpp" #include"../tool/CAlloc_obj.hpp" namespace nThread { struct Use_pop_if_exist; struct Do_not_use_pop_if_exist; template<class T,class PopIfExis...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // File Foundations.hpp // // For more information, please see: http://www.nektar.info // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of Aeronautics, I...
<commit_before>// Copyright 2016, Dawid Kurek, <dawikur@gmail.com> #ifdef CROW_CONFIG_ #define ROWS_COUNT 5 #define COLS_COUNT 13 #endif // CROW_CONFIG_ #ifdef CROW_KEYMAP_ { // // Layer 0 // // ,____,____,____,____,____,____,____,____,____,____,____,____,____,________, // |~ |! |@ |# |$ |% |^ |& ...
<commit_before>/** * Copyright (c) 2016 DeepCortex GmbH <legal@eventql.io> * Authors: * - Paul Asmuth <paul@eventql.io> * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License ("the license") as * published by the Free Software Foun...
<commit_before>#include <cmath> #include <iostream> #include "triangle.h" using namespace std; Triangle::Triangle() { } double Triangle::height() { double height = 0.0f; double tArea = area(); if (tArea > 0) { // area = 0.5*base*height // We will use the first side as base height = tArea / (0.5 * sides_.at...
<commit_before>// C++11 (c) 2014 Vladimír Štill #include "udptools.h" #include<iostream> #include<arpa/inet.h> #include<unistd.h> #include<sys/socket.h> #include<sys/types.h> #include<stdio.h> #include<string.h> #include<stdlib.h> namespace udp { struct Socket::_Data { _Data( Address local, int rcvbufsize ) : ...
<commit_before>#include <iostream> #include <cstdlib> #include "viennagrid/meta/typelist.hpp" template<typename type1, typename type2> void test_type() { bool is_the_same = viennameta::_equal<type1, type2>::value; std::cout << " " << std::boolalpha << is_the_same << std::endl; if (!i...
<commit_before>#include <Arduino.h> #include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino //needed for library #include <DNSServer.h> #include <ESP8266WebServer.h> #include <WiFiManager.h> //https://github.com/tzapu/WiFiManager #include <ESP8266HTTPClient.h> #include <LinkedList.h> #include ...
<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. c...
<commit_before>#include "pending_irob.h" #include "debug.h" #include "timeops.h" #include <functional> #include <vector> using std::vector; using std::max; using std::mem_fun_ref; using std::bind1st; #include "pthread_util.h" static pthread_mutex_t count_mutex = PTHREAD_MUTEX_INITIALIZER; ssize_t PendingIROB::obj_cou...
<commit_before>#ifndef STAN_MCMC_HMC_NUTS_BASE_NUTS_HPP #define STAN_MCMC_HMC_NUTS_BASE_NUTS_HPP #include <stan/interface_callbacks/writer/base_writer.hpp> #include <boost/math/special_functions/fpclassify.hpp> #include <stan/math/prim/scal.hpp> #include <stan/mcmc/hmc/base_hmc.hpp> #include <stan/mcmc/hmc/hamiltonian...
<commit_before>/* * Copyright (c) 2013 Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above c...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENS...
<commit_before>/***************************************************************************** * spatializer.cpp: sound reverberation ***************************************************************************** * Copyright (C) 2004, 2006, 2007 the VideoLAN team * * Google Summer of Code 2007 * * Authors: Biodun ...
<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>#include "GasMeter.h" #include "preprocessor/llvm_includes_start.h" #include <llvm/IR/IntrinsicInst.h> #include "preprocessor/llvm_includes_end.h" #include "Ext.h" #include "RuntimeManager.h" namespace dev { namespace eth { namespace jit { namespace // Helper functions { int64_t const c_stepGas[] = ...
<commit_before>#ifndef IMAP__H__ #define IMAP__H__ #include "zip.hpp" #include <utility> #include <type_traits> namespace iter { // Everything in detail namespace // modified from http://stackoverflow.com/questions/10766112/ // Question by Thomas http://stackoverflow.com/users/115355/thomas // Answ...
<commit_before>/* * Copyright (c) 2012-2013 by KO Myung-Hun <komh@chollian.net> * 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 t...
<commit_before>#include <fstream> #include <iostream> #include <sstream> #include <string> #include <vector> #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <map> void parse_data(std::ifstream &instream_data,std::map<std::string, std::vector <std::string> > & map_data){ int count=0; while (instre...
<commit_before>8778f45e-4b02-11e5-9441-28cfe9171a43<commit_msg>update testing<commit_after>8783870c-4b02-11e5-8c31-28cfe9171a43<|endoftext|>
<commit_before>8562796c-2d15-11e5-af21-0401358ea401<commit_msg>8562796d-2d15-11e5-af21-0401358ea401<commit_after>8562796d-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>dcb15e3d-313a-11e5-885f-3c15c2e10482<commit_msg>dcb83326-313a-11e5-a527-3c15c2e10482<commit_after>dcb83326-313a-11e5-a527-3c15c2e10482<|endoftext|>
<commit_before>#include <memory> #include <iostream> #include <exception> #include <appgrm.h> #ifdef _OPENMP extern "C" { int omp_get_num_procs(); int omp_get_max_threads(); void omp_set_num_threads(int); } #endif int main(int argc, char *argv[]) { #ifdef _OPENMP int num_procs = omp_get_num_procs(); ...
<commit_before>8431fc8d-2d15-11e5-af21-0401358ea401<commit_msg>8431fc8e-2d15-11e5-af21-0401358ea401<commit_after>8431fc8e-2d15-11e5-af21-0401358ea401<|endoftext|>