text
stringlengths
54
60.6k
<commit_before>#include "p_rect.h" #include "algebra.h" #include <stdexcept> #include <typeinfo> #include <algorithm> #include <iterator> using liven::scene; using liven::view; using liven::viewer; using liven::node; using liven::located; using liven::dimension; using liven::ascii_image; using liven::ascii_viewer; usi...
<commit_before><commit_msg>Fix: 2022-06-01<commit_after><|endoftext|>
<commit_before><commit_msg>Added printed output, MOST OF THE THINGS WORKgit add .!<commit_after><|endoftext|>
<commit_before><commit_msg>Correctly get Nth FILE_UIElement.<commit_after><|endoftext|>
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved */ #include "Stroika/Frameworks/StroikaPreComp.h" #include <cstdlib> #include <iostream> #include "Stroika/Foundation/Characters/String_Constant.h" #include "Stroika/Foundation/Characters/ToString.h" #include "Stroika/Foundatio...
<commit_before>// // Copyright (c) 2018 Rokas Kupstys // // 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, modif...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission no...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2014 Clifford Wolf <clifford@clifford.at> * Copyright (C) 2014 Johann Glaser <Johann.Glaser@gmx.at> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provid...
<commit_before> #include "Strategy.h" #include "ETSumoStrategy.h" #include "StrategyManager.h" #include "InOutManager.h" #include "SelfPositionManager.h" #include "ETTrainStrategy.h" #include "HSLColor.h" #include "ColorDecision.h" #include "SerialData.h" #include "PIDDataManager.h" #define BACK_POWER 20 #define TURN_...
<commit_before>/* This file is part of the KDE project Copyright (C) 2004-2007 Matthias Kretz <kretz@kde.org> 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 versio...
<commit_before>#include "life.h" #include <iostream> #include <thread> #include <chrono> #include <functional> #include <string.h> using namespace std; Life::Life() { board = new map<long, map<long, bool> >; } void Life::set_living(long x, long y) { (*board)[x][y] = true; } void Life::set_dead(long x, long y) { ...
<commit_before>// Base header file. Must be first. #include <Include/PlatformDefinitions.hpp> #include <cassert> #if defined(XALAN_OLD_STREAM_HEADERS) #include <iostream.h> #else #include <iostream> #endif #include <util/PlatformUtils.hpp> #include <util/Mutexes.hpp> #include <PlatformSupport/DOMStringHelp...
<commit_before>#include <boost_common.h> #include <boilerplate.cpp> #include <autogen_converters.cpp> #include <to_python_converters.cc> using std::string; using std::vector; bool VBoostedMaxEnt__wrap_train(VBoostedMaxEnt* inst, pyarr<double> X_train, ...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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 ...
<commit_before>#include "Tools/DataStructures/RingBufferWithSum.h" #include "Tools/Math/Common.h" #include <vector> #include <gtest/gtest.h> using namespace std; class RingBufferWithSumTest : public testing::Test { public: RingBufferWithSum<double, 29> buffer; float tolerance; std::vector<dou...
<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>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by app...
<commit_before>///////////////////////////////////////////////////////////////////////////// // Name: dialog_general_options.cpp // Author: jean-pierre Charras ///////////////////////////////////////////////////////////////////////////// /* functions relatives to the dialogs opened from the main menu : * ...
<commit_before>//===- LazyCallGraph.cpp - Analysis of a Module's call graph --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <yttrium/ion/document.h> #include <yttrium/ion/node.h> #include <yttrium/ion/object.h> #include <yttrium/ion/value.h> #include <yttrium/storage/reader.h> #include <yttrium/translation.h> #include <iostream> using namespace Yttrium; bool update_tr(Translation& translation, const IonObject& tr_...
<commit_before>//===--- DeltaAlgorithm.h - A Set Minimization Algorithm -------*- C++ -*--===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. //===-------------------------------------------...
<commit_before>//===- Inliner.cpp - Code common to all inliners --------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===- Inliner.cpp - Code common to all inliners --------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===- ADCE.cpp - Code to perform agressive dead code elimination ---------===// // // This file implements "agressive" dead code elimination. ADCE is DCe where // values are assumed to be dead until proven otherwise. This is similar to // SCCP, except applied to the liveness of values. // //===------...
<commit_before>//===-- GCSE.cpp - SSA based Global Common Subexpr Elimination ------------===// // // This pass is designed to be a very quick global transformation that // eliminates global common subexpressions from a function. It does this by // using an existing value numbering implementation to identify the commo...
<commit_before>#include "MethodResult.h" #include "common/RhodesApp.h" #include "common/StringConverter.h" #include "rubyext/WebView.h" #include "MethodResultConvertor.h" #include "RubyResultConvertor.h" #include "JSONResultConvertor.h" namespace rho { namespace apiGenerator { using namespace rho::json; using name...
<commit_before>//===- FDRRecordProducer.cpp - XRay FDR Mode Record Producer --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * Copyright 2012 Coherent Theory LLC * * This program 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, or * (at your option) any later version. * * ...
<commit_before>#include "uwhd/config/Config.h" #include "uwhd/canvas/CanvasViewer.h" #ifdef UWHD_BUILD_DISPLAY #include <graphics.h> #include <canvas.h> #include <led-matrix.h> #include <threaded-canvas-manipulator.h> namespace rgb_matrix { class RGBMatrix; } using namespace rgb_matrix; class GameDisplay : publ...
<commit_before><commit_msg>plugins: oisUserInput: ignore coordinatesystem on ray intersection<commit_after><|endoftext|>
<commit_before>#include "UASUnitTest.h" #include <stdio.h> #include <QObject> UASUnitTest::UASUnitTest() { } //This function is called after every test void UASUnitTest::init() { mav = new MAVLinkProtocol(); uas = new UAS(mav, UASID); uas->deleteSettings(); } //this function is called after every test void ...
<commit_before>// Copyright (c) 2015-2017 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "receivefreezedialog.h" #include "ui_receivefreezedialog.h" #include "guiconstants.h" #include ...
<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 "build/build_config.h" #if defined(OS_WIN) #include <windows.h> #endif #include <string> #include "base/icu_util.h" #...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Compositor. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No...
<commit_before>/*** * Copyright (c) 2013, Dan Hasting * 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 copyright * notice, ...
<commit_before>/***************************************************************************************** * * * OpenSpace * * ...
<commit_before>//---------------------------------------------------------- // @file : tracker_double.cpp // @adder : Watanabe Yuuta // @version: Ver0.0.1 (since 2014.05.02) // @date : 2014.11.21 //---------------------------------------------------------- #include <ros/ros.h> #include <pthread.h> #include...
<commit_before>/* listener.cpp * Copyright (C) 2003 Tommi Maekitalo * * 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 versi...
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* Copyright (c) 2008 Ash Berlin 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 limitatio...
<commit_before>// Copyright (c) 2013 GitHub, Inc. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string.h> #include "content/public/app/content_main.h" namespace node { int Start(int argc, char *argv[]); } #if defined(OS_WIN) #...
<commit_before>#include "MergeOperators.hpp" #include "macros.hpp" #include <iostream> #include <rocksdb/env.h> bool HOT Int64AddOperator::Merge( const rocksdb::Slice& key, const rocksdb::Slice* existing_value, const rocksdb::Slice& value, std::string* new_value, rocksdb::Logger* logger) const { ...
<commit_before>/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this fil...
<commit_before>/*************************************************************************** * * * Copyright 2012 Marco Martin <mart@kde.org> * * ...
<commit_before>/* * Copyright (C) 2013 - 2015 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> * * 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 (a...
<commit_before>#ifndef INCLUDE_AL_FILE_HPP #define INCLUDE_AL_FILE_HPP /* Allocore -- Multimedia / virtual environment application class library Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB. Copyright (C) 2012. The Regents of the University of California. All rights reserved. Re...
<commit_before>/** * 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 (the * ...
<commit_before>// // Copyright (c) 2012 Kim Walisch, <kim.walisch@gmail.com>. // All rights reserved. // // This file is part of primesieve. // Homepage: http://primesieve.googlecode.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
<commit_before>#include <string> #include <curl/curl.h> #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include "json/json.h" #include "accumulator.h" #include "authenticate.h" #include "check.h" #include "garage_common.h" #include "garage_tools_version.h" #include "logging/logging.h" #include "...
<commit_before>// SA:MP Profiler plugin // // Copyright (c) 2011 Zeex // // 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 req...
<commit_before>#include <gtest/gtest.h> #include "mixable_stat.hpp" #include <cmath> using namespace std; using namespace pfi::lang; namespace jubatus { TEST(mixable_stat_test, mixed_entropy) { stat::mixable_stat p(1024); p.push("test", 1.0); p.push("test", 2.0); p.push("test", 3.0); double e_d = 3 * log(...
<commit_before>//----------------------------------------------------------------------------- // HIMG, by Marcus Geelnard, 2015 // // This is free and unencumbered software released into the public domain. // // See LICENSE for details. //----------------------------------------------------------------------------- #...
<commit_before>#include <assert.h> #include <algorithm> #include <kstring.h> #include <vcf.h> #include "BCFSerialize.h" #include "residuals.h" using namespace std; namespace GLnexus { static string concat(const std::vector<std::string>& samples) { return std::accumulate(samples.begin(), samples.end(), std::strin...
<commit_before>/* * Copyright 2016-2017 Nikolay Aleksiev. All rights reserved. * License: https://github.com/naleksiev/mtlpp/blob/master/LICENSE */ #pragma once #include "defines.hpp" #include "ns.hpp" namespace mtlpp { class Heap; static const uint32_t ResourceCpuCacheModeShift = 0; static co...
<commit_before>#include "responce.h" std::string test(std::string data){ std::string message; message = data; return message; } <commit_msg>add newline delimiter at end of responce<commit_after>#include "responce.h" std::string test(std::string data){ std::stringstream ss; ss << data << std::endl; std::string ...
<commit_before>// This file is part of xsonrpc, an XML/JSON RPC library. // Copyright (C) 2015 Erik Johansson <erik@ejohansson.se> // // 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; ei...
<commit_before>/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015-2019 Hugo Beauzée-Luyssen, Videolabs, VideoLAN * * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr> * * T...
<commit_before>// sdl_main.cpp #ifdef _WIN32 # define WINDOWS_LEAN_AND_MEAN # define NOMINMAX # include <windows.h> #endif #include <fstream> #include <vector> #include <GL/glew.h> #include <SDL.h> #include <SDL_syswm.h> #undef main #include "ShaderFunctions.h" #include "Timer.h" #include "g_textures.h" Timer g...
<commit_before>/* * Copyright 2010-2012 Esrille 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 applica...
<commit_before>// Copyright (c) 2014-2017 The Helium Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "dsnotificationinterface.h" #include "darksend.h" #include "instantx.h" #include "governance.h" #inclu...
<commit_before>/* This file is part of the Kate project. * * Copyright (C) 2010 Dominik Haumann <dhaumann kde org> * Copyright (C) 2010 Diana-Victoria Tiriplica <diana.tiriplica@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General...
<commit_before>#include "dom.hpp" #include <vector> #include <ting/debug.hpp> #include <ting/Array.hpp> #include "parser.hpp" using namespace stob; namespace{ ting::MemoryPool<sizeof(Node), 4096 / sizeof(Node)> memoryPool; } void* Node::operator new(size_t size){ ASSERT(size == sizeof(Node)) return memor...
<commit_before>/** * Copyright (c) 2014 - 2016 Tolga Cakir <tolga@cevel.net> * * This source file is part of Sidewinder daemon and is distributed under the * MIT License. For more information, see LICENSE file. */ #include <chrono> #include <iostream> #include <queue> #include <thread> #include <fcntl.h> #includ...
<commit_before>#include<string> #include<iostream> #include<algorithm> #include<cstring> #include<map> #include<vector> class Vector3D { public: double data[3]; double& x; double& y; double& z; Vector3D(const double tx=0.0,const double ty=0.0,const double tz=0.0): data({tx,ty,tz}), x(data[0]),...
<commit_before>/* The MIT License Copyright (c) 2012 by Jorrit Tyberghein 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...
<commit_before>#include "generator/CompGenerator.h" // from STL #include <iostream> // from ROOT #include "TRandom.h" // from project - generator #include "generator/generator.h" #include "generator/Observables.h" // from project - configuration #include "configuration/CompConfig.h" namespace cptoymc { namespace...
<commit_before>#include <bits/stdc++.h> /* -------------------------------- Template -------------------------------- */ #define REP(i,n) for(int i=0;i<(int)(n);i++) #define ALL(x) (x).begin(),(x).end() using namespace std; using ll = long long; using ld = long double; template <typename T> T &chmin(T &a, const T ...
<commit_before>#include "HTTP.hpp" #include <iostream> using namespace boost; using namespace boost::asio::ip; // to get 'tcp::' void testHTTPGet(asio::io_service& io_service, tcp::resolver& resolver, asio::yield_context yield) { RESTClient::HTTP server("httpbin.org", io_service, resolver, yield, false); RESTCli...
<commit_before>//LUDUM DARE 30 #include <map> #include <string> #include <sstream> #include <iostream> #include <SFML/Window.hpp> #include <SFML/Graphics.hpp> namespace sf{ bool operator< (const sf::Color& c1, const sf::Color& c2){ if(c1.r < c2.r) return true; else if(c1.r > c2.r) return false; else if(c1.g < ...
<commit_before>// Copyright (c) 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 "timedata.h" #include "netbase.h" #include "sync.h" #include "ui_interface.h" #include "util.h" #include ...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, OpenROAD // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions...
<commit_before>#include <stdio.h> #include <sys/ioctl.h> #include <unistd.h> #include <iostream> #include <tiobj.hpp> #include <tiarg.hpp> #include "tisys.hpp" using namespace std; // ANSI-Cores #define C_VERMELHO "{FONTE}33[41m{FONTE}33[37m" #define C_VERDE "{FONTE}33[42m{FONTE}33[30m" #define C_LARANJ...
<commit_before>#ifndef GROUPER_HPP_ #define GROUPER_HPP_ #include "iterbase.hpp" #include <vector> #include <algorithm> #include <type_traits> #include <functional> #include <utility> #include <iterator> #include <initializer_list> namespace iter { template <typename Container> class Grouper; template <...
<commit_before><commit_msg>gui: fix isCore check<commit_after><|endoftext|>
<commit_before>#ifndef GROUPER_HPP #define GROUPER_HPP #include "iterator_range.hpp" #include <vector> #include <algorithm> #include <functional> #include <type_traits> namespace iter { template <typename Container> struct grouper_iter; template <typename Container> iterator_range<grouper_it...
<commit_before><commit_msg>Add one more test to TreeNodeModelTest.<commit_after><|endoftext|>
<commit_before><commit_msg>code_editor.cpp: remove unwanted empty line at EOF<commit_after><|endoftext|>
<commit_before><commit_msg>imguial_log: remove imgui demo<commit_after><|endoftext|>
<commit_before>/// /// \file integrated_snarl_finder.cpp /// /// #include "integrated_snarl_finder.hpp" #include <bdsg/overlays/overlay_helper.hpp> #include <structures/union_find.hpp> namespace vg { using namespace std; class IntegratedSnarlFinder::MergedAdjacencyGraph { protected: /// Hold onto the backing ...
<commit_before>// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be /...
<commit_before>#ifndef __Z2H_PARSER__ #define __Z2H_PARSER__ = 1 #include <cmath> #include <string> #include <vector> #include <fstream> #include <sstream> #include <iostream> #include <stddef.h> #include <sys/stat.h> #include <functional> #include "token.hpp" #include "symbol.hpp" #include "binder.hpp" using namesp...
<commit_before>#ifndef BFC_PARSER_HPP #define BFC_PARSER_HPP #include "lexer.hpp" #include "ast.hpp" namespace bfc { template <class Lexer> class Parser { using result = typename Lexer::result; public: Parser(Lexer lexer) : this.lexer(lexer) {} std:vector<AstNode> parse() { /*...
<commit_before>#include <assert.h> #include <iostream> #include <map> #include <memory> #include <vector> #include "common/simhubdeviceplugin.h" #include "main.h" // -- public C FFI extern "C" { int simplug_init(SPHANDLE *plugin_instance, LoggingFunctionCB logger) { *plugin_instance = new PokeyDevicePluginState...
<commit_before>/* * Copyright (c) 2009, Piotr Korzuszek * 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 a shim for zig1. The real implementations of these are in // src-self-hosted/stage1.zig #include "userland.h" #include "util.hpp" #include "zig_llvm.h" #include <stdio.h> #include <stdlib.h> #include <string.h> Error stage2_translate_c(struct Stage2Ast **out_ast, struct Stage2Er...
<commit_before>// Copyright (C) 2016 xaizek <xaizek@posteo.net> // // This file is part of uncov. // // uncov 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 // (at...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Machinecoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/machinecoin-config...
<commit_before>#include "player.h" #include <list> #include <vector> #include <iostream> const char* Player::VERSION = "Default C++ folding player"; class Hand; using namespace std; class Card { public: enum Suit { hearts, spades, clubs, diamonds}; Suit suit; int rank; // 2-2 .. 10-10 11-V 12-D 13-K ...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2009-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before><commit_msg>fix truncate operation in synchronous replication (#10492)<commit_after><|endoftext|>
<commit_before>// Conventions: // O is the stack pointer (post-decrement) // B is the (so far only) return register // C is the (so far only) argument register // N is the relative-jump temp register #include "common.th" _start: bare_metal_init() // TODO this shouldn't be necessary prologue c <- 1 ...
<commit_before>#include <memory> #include <miniMAT/checker/Checker.hpp> #include <iostream> namespace miniMAT { namespace checker { Checker::Checker(std::shared_ptr<std::map<std::string, Matrix>> vars, std::shared_ptr<reporter::ErrorReporter> reporter) { this->vars = ...
<commit_before>// // Copyright(c) 2015 Gabi Melman. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // spdlog usage example #include <cstdio> void stdout_logger_example(); void basic_example(); void rotating_example(); void daily_example(); void async_example(); void binary_example(); void ...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * inc...
<commit_before>#include "bitstreamparser.h" #include "exceptions/decodernotfoundexception.h" #include "exceptions/bitstreamnotfoundexception.h" #include "gitlupdateuievt.h" #include <QProcess> #include <QDir> #include <QFileInfo> #include <QDebug> #include <QApplication> BitstreamParser::BitstreamParser(QObj...
<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 "postgres.h" #include <string.h> #include "fmgr.h" #include "utils/geo_decls.h" #ifdef __cplusplus extern "C" { #endif #ifdef PG_MODULE_MAGIC PG_MODULE_MAGIC; #endif /* by value */ PG_FUNCTION_INFO_V1(add_one); Datum add_one(PG_FUNCTION_ARGS) { int32 arg = PG_GETARG_INT32(0); PG_RE...
<commit_before>#include "ossimS3StreamBuffer.h" #include <aws/s3/model/PutObjectRequest.h> #include <aws/s3/model/GetObjectRequest.h> #include <aws/s3/model/GetObjectResult.h> #include <aws/s3/model/HeadObjectRequest.h> #include <aws/core/Aws.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <iostre...
<commit_before>#ifndef RDB_PROTOCOL_CHANGEFEED_HPP_ #define RDB_PROTOCOL_CHANGEFEED_HPP_ #include <deque> #include <exception> #include <map> #include "errors.hpp" #include <boost/variant.hpp> #include "concurrency/rwlock.hpp" #include "containers/counted.hpp" #include "containers/scoped.hpp" #include "protocol_api...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#include "RTC.h" #include <sys/time.h> #include <ctime> #include <csignal> #include <cerrno> #include <cstring> using namespace std; namespace Simulator { /* the following implements a very crude semaphore. We want that several RTC clocks can update their time when a tick event is ...