text
stringlengths
54
60.6k
<commit_before>#include "yaml-cpp/yaml.h" #include <iostream> #include <fstream> #include <string> #include <list> #define YAML_ERROR 0 #define YAML_SUCCESS 1 #define SYSTEM_SUCCESS 0 #define SYSTEM_ERROR 1 #define FILE_ERROR 0 #define ALPHA_NUMBER 200 #define STATES_NUMBER 200 #define NUM_CHARS 10 #define FIN_YAML 0 ...
<commit_before>#include "stdafx.h" #include "cpuid.hpp" #include "cache.hpp" #include "features.hpp" #include "standard.hpp" #include "topology.hpp" #include <map> #include <iostream> #include <iomanip> #include <gsl/gsl> #include <fmt/format.h> template<std::size_t N, std::size_t... Is> constexpr std::array<char,...
<commit_before>/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2016 Filipe Coelho <falktx@falktx.com> * * This program 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. * * This program i...
<commit_before>/* <x0/HttpConnection.cpp> * * This file is part of the x0 web server project and is released under LGPL-3. * http://www.xzero.ws/ * * (c) 2009-2010 Christian Parpart <trapni@gentoo.org> */ #include <x0/http/HttpConnection.h> #include <x0/http/HttpListener.h> #include <x0/http/HttpRequest.h> #incl...
<commit_before>#ifndef _FALCON_TUPLE_TUPLE_APPLY_HPP #define _FALCON_TUPLE_TUPLE_APPLY_HPP #include <falcon/tuple/parameter_index.hpp> namespace falcon { template <typename _Function, typename _T, std::size_t... _Indexes> constexpr auto tuple_apply(const parameter_index<_Indexes...>&, _Function __func, cons...
<commit_before>/** * * FaZend.com, Fully Automated Zend Framework * RQDQL.com, Requirements Definition and Query Language * * Redistribution and use in source and binary forms, with or * without modification, are PROHIBITED without prior written * permission from the author. This product may NOT be used * an...
<commit_before>/** * @file Font.hpp * @brief Font class prototype. * @author zer0 * @date 2017-11-16 * * @see <https://en.wikipedia.org/wiki/TrueType> */ #ifndef __INCLUDE_LIBTBAG__LIBTBAG_TYPOGRAPHY_FONT_HPP__ #define __INCLUDE_LIBTBAG__LIBTBAG_TYPOGRAPHY_FONT_HPP__ // MS compatible compilers support #pr...
<commit_before>#line 1 "C:/Program Files/Git/smart_house/exec_unit/USBdsc.c" const unsigned int USB_VENDOR_ID = 0x1209; const unsigned int USB_PRODUCT_ID = 0x0001; const char USB_SELF_POWER = 0xC0; const char USB_MAX_POWER = 50; const char HID_INPUT_REPORT_BYTES = 64; const char HID_OUTPUT_REPORT_BYTES = 64; const char...
<commit_before>/************************************************************************* * * * I|*j^3Cl|a "+!*% qt Nd gW * * l]{y+l?MM* !#Wla\NNP NW MM I| * * ...
<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. #if defined(OS_WIN) #include <atlbase.h> #include <atlapp.h> #include <atlmisc.h> #endif #include "chrome/browser/tab_contents/we...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2018 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted p...
<commit_before>// (c) 2015, dividiti // BSD license #ifndef CL_LAUNCHER_HPP #define CL_LAUNCHER_HPP #include <iostream> #include <sstream> #include <cstdlib> #include <cassert> #include <CL/cl.h> #include <xopenme.h> namespace gemmbench { class arguments { public: std::string file; cl_uint platform_idx; ...
<commit_before>/* Copyright (C) 2000-2005 Kern Sibbald 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 ...
<commit_before><commit_msg>Test WNT instead of the vague UNX<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ide_pch.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2006-09-17 00:28:13 $ * * The Contents of this file are made ...
<commit_before>#include "gns/test_util/random_number.h" namespace gns { namespace test_util { RandomNumber::RandomNumber(const size_t seed) : engine_(), distribution_() { } double RandomNumber::operator()() { return distribution_(engine_); } double RandomNumber::operator()(const double min, const...
<commit_before>#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MAIN #define BOOST_TEST_MODULE parse JSON #include <boost/test/unit_test.hpp> #include "../parse.h" static const char correct_json[] = "{\"id\": 7384,\"method\": \"add\",\"params\":{\"path\": \"foo/bar/state\",\"value\": 123}}"; static const char wrong_jso...
<commit_before>#pragma once #include <utility> #include <memory> #include <sdbusplus/message.hpp> #include "utils.hpp" namespace phosphor { namespace inventory { namespace manager { class Manager; namespace details { using FilterBase = holder::CallableBase < bool, sdbusplus::message::message&, Man...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile: mitkPropertyManager.cpp,v $ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Bio...
<commit_before>#include "System.h" System::System() { this->m_inputHandler = NULL; this->m_window = NULL; } System::~System() { } int System::Shutdown() { int result = 0; this->m_inputHandler->Shutdown(); delete this->m_inputHandler; //Destroy the display window SDL_DestroyWindow(m_window); //Quit SDL subsy...
<commit_before>#include "ControlledSimulator.h" //Set these values to 0 to get all warnings //const static double gTorqueLimitWarningThreshold = 0; const static double gTorqueLimitWarningThreshold = Inf; //const static double gJointLimitWarningThreshold = 0; const static double gJointLimitWarningThreshold = Inf; C...
<commit_before><commit_msg>patch accessing_xhr.response_as_arraybuffer_from_node_context<commit_after><|endoftext|>
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "cling/MetaProcessor/MetaProce...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "cling/MetaProcessor/MetaProce...
<commit_before>//===--- MisplacedWideningCastCheck.cpp - clang-tidy-----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <sys/socket.h> #include <cassert> #include "server.hh" #include "../runtime/fiber.hh" namespace mimosa { namespace net { Server::Server() : handler_(0), fd_(-1), stop_(false), accept_loop_(0) { } Server::~Server() { stop(); } ...
<commit_before>// // Custom Casts // namespace { $(when measurements $(foreach measurements $(if active and ( custom_cast or label_map ) then OUT=[[ template<typename FilterType> struct ${name}CustomCast { template <typename T> ]] if custom_cast then OUT=OUT..[[ static ${type} Helper( const T & value ) { return ${c...
<commit_before>#include "rec/util/STL.h" #include "echomesh/color/FColorList.h" #include "echomesh/color/RGB.h" #include "echomesh/component/InstrumentGrid.h" namespace echomesh { static const int TOP_TWEAK = 5; static const int LEFT_TWEAK = 5; InstrumentGrid::InstrumentGrid() : isUnclipped_(false), labelS...
<commit_before> #include <arpa/inet.h> #include <netinet/in.h> #include <sys/types.h> #include <sys/socket.h> #include <unistd.h> #include <thread> #include <future> #include <fibre/protocol.hpp> #define TCP_RX_BUF_LEN 512 class TCPBytesSender : public StreamSink { public: TCPBytesSender(int socket_fd) : ...
<commit_before>/******************************************************************************\ * ___ __ * * /\_ \ __/\ \ * * \//\ \ /\_\ \ \____ ___ _____ _____ __ ...
<commit_before>#include <ContentForgeTool.h> #include <Utils.h> #include <fbxsdk.h> //#include <CLI11.hpp> namespace fs = std::filesystem; // Set working directory to $(TargetDir) // Example args: // -s src/scenes class CFBXTool : public CContentForgeTool { protected: FbxManager* pFbxManager = nullptr; public: ...
<commit_before>#include "HelloWorld2.h" #include "NFComm\NFCore\NFCObject.h" bool HelloWorld2::Init() { //ʼ std::cout << "Hello, world2, Init" << std::endl; return true; } int HelloWorld2::OnPropertyCallBackEvent( const NFIDENTID& self, const std::string& strProperty, const NFIValueList& old...
<commit_before>/* -*-C-*- ############################################################################### # # File: list.c # Description: List processing procedures. # Author: Mark Seaman, Software Productivity # Created: Thu Jul 23 13:24:09 1987 # Modified: Thu Dec 22 10:59:52 1988 (Mark Seaman...
<commit_before>#include "LibraryPanel.h" #include "LibraryPage.h" #include "StagePanel.h" #include "dataset/Layer.h" #include <ee/panel_msg.h> #include <ee/FileHelper.h> #include <ee/LibraryList.h> #include <ee/SymbolMgr.h> #include <ee/Exception.h> #include <ee/FetchAllVisitor.h> #include <ee/PasteSymbolOP.h> #inclu...
<commit_before>#include "StateSpace.h" StateSpace::StateSpace(const int _x_size, const int _y_size): x_size(_x_size), y_size(_y_size), space(x_size, std::vector< PriorityQueue<Experience*,double> > (y_size, PriorityQueue<Experience*,double> (HeapType::MAX))) {} StateSpace::~StateSpace() { //ridiculously extensive...
<commit_before>/* * Copyright (c) 2007-2008 Digital Bazaar, Inc. All rights reserved. */ #include "db/mail/SmtpClient.h" #include "db/net/InternetAddress.h" using namespace std; using namespace db::io; using namespace db::mail; using namespace db::net; using namespace db::rt; SmtpClient::SmtpClient() { mSslCon...
<commit_before>// @(#)root/mathcore:$Id$ // Author: L. Moneta Thu Sep 21 16:21:29 2006 /********************************************************************** * * * Copyright (c) 2006 LCG ROOT Math Team, CERN/PH-SFT * * ...
<commit_before>/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #include <max_clique/dbmcsa_max_clique.hh> #include <max_clique/colourise.hh> #include <max_clique/print_incumbent.hh> #include <threads/atomic_incumbent.hh> #include <threads/queue.hh> #include <graph/degree_sort.hh> #include <graph/min_width_sort.hh> #...
<commit_before>/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBlendModePriv.h" #include "SkRasterPipeline.h" #include "../jumper/SkJumper.h" bool SkBlendMode_SupportsCoverageAsAlpha(SkBlendMode mode) { swi...
<commit_before>#include "include/geom.h" #include <assert.h> Constructor::Constructor(MoveListener listener) : Scope(listener), angles() {} bool Constructor::contains(const Angle *a) const { return a != nullptr && std::count_if(angles.begin(), angles.end(), [a](const Angle *p) {return *p == *a; });...
<commit_before>/** * The MIT License (MIT) * * Copyright (c) 2015 Nathan Osman * * 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>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2012-2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
<commit_before>/* * Copyright (c) 2012 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementati...
<commit_before>/* MIT License Copyright (c) 2016-2017 Mark Allender 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 ...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with th...
<commit_before>// // PROJECT: Aspia Remote Desktop // FILE: crypto/encryptor.cc // LICENSE: See top-level directory // PROGRAMMERS: Dmitry Chapyshev (dmitry@aspia.ru) // #include "crypto/encryptor.h" #include "base/logging.h" namespace aspia { Encryptor::Encryptor(Mode mode...
<commit_before>#include <cstdio> #include <vector> #include <deque> #include <string> #include <algorithm> #include <sstream> /* definitions */ const int stone_size = 8; const int field_size = 32; const int empty_val = -1; // 障害物やzkの無いことを表す const int filled_val = 256; // 障害物を表す FILE* dumpout = stdout; // dump系関数の出力先 ...
<commit_before>/* * \copyright Copyright 2014 Xiang Zhang All Rights Reserved. * \license @{ * * 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/LIC...
<commit_before>// Copyright Steinwurf ApS 2011-2012. // Distributed under the "STEINWURF RESEARCH LICENSE 1.0". // See accompanying file LICENSE.rst or // http://www.steinwurf.com/licensing #pragma once #include <ctime> #include <cstdint> #include <cstdio> #include <gauge/gauge.hpp> /// A test block represents an e...
<commit_before>/******************************************************************************* * Copyright (c) 2015-2017 Vanamco AG, http://www.vanamco.com * * The MIT License (MIT) * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files...
<commit_before>/************************************************************************* * * $RCSfile: HTables.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-06-27 08:25:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>// Copyright (c) 2018-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 <blockfilter.h> static void ConstructGCSFilter(benchmark::Bench& bench) { ...
<commit_before>/* * Copyright (c) 2010 .SE (The Internet Infrastructure Foundation) * 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 ab...
<commit_before>#ifndef MJOLNIR_OMP_SORT_HPP #define MJOLNIR_OMP_SORT_HPP #include <type_traits> #include <algorithm> #include <functional> #include <utility> #include <vector> #include <omp.h> namespace mjolnir { namespace omp { // Do NOT call this from parallel region. template<typename Value, typename Alloc, typena...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file m...
<commit_before><commit_msg>Perception: clean up duplicated boolean value assignment<commit_after><|endoftext|>
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file m...
<commit_before>#include "builder.h" #include <fstream> #include "../domain/mesh_cartesian.h" namespace bart { namespace framework { template <int dim> Builder<dim>::Builder(std::shared_ptr<problem::ParametersI> parameters) : parameters_(parameters) {} template <int dim> std::unique_ptr<domain::Definition<dim>...
<commit_before>/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>/** * This file is part of the CernVM File System. * * This tool checks a cvmfs cache directory for consistency. * If necessary, the managed cache db is removed so that * it will be rebuilt on next mount. */ #define _FILE_OFFSET_BITS 64 #include "cvmfs_config.h" #include <dirent.h> #include <err...
<commit_before>/** * @file cache.cpp * * @date Nov 21, 2012 * @author perämäki */ #include "cache.h" #include "logger_factory.h" #include "info.h" #include <time.h> #include "plugin_factory.h" #include <boost/lexical_cast.hpp> using namespace std; using namespace himan::plugin; typedef lock_guard<mutex> Lock; ...
<commit_before>/* * Ascent MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the ...
<commit_before>#include "kernel.h" #include "coverage.h" #include "numericrange.h" #include "numericdomain.h" #include "columndefinition.h" #include "table.h" #include "attributerecord.h" #include "feature.h" #include "factory.h" #include "abstractfactory.h" #include "featurefactory.h" #include "featurecoverage.h" #inc...
<commit_before>#include <agency/execution_policy.hpp> #include <vector> int sum(const std::vector<int>& data) { using namespace agency; int result = 0; bulk_invoke(con(data.size() / 2), [&](concurrent_agent& self, std::vector<int>& scratch) { auto i = self.index(); auto n = scratch.size(); while...
<commit_before>#include "kernel.h" #include "coverage.h" #include "numericrange.h" #include "numericdomain.h" #include "columndefinition.h" #include "table.h" #include "attributerecord.h" #include "feature.h" #include "factory.h" #include "abstractfactory.h" #include "featurefactory.h" #include "featurecoverage.h" #inc...
<commit_before>// Copyright © 2011, Université catholique de Louvain // 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 not...
<commit_before>#include <osg/Texture2D> #include <osg/TexGen> #include <osg/Material> #include <osg/LightSource> #include <osg/Geode> #include <osg/ShapeDrawable> #include <osgUtil/CullVisitor> #include <osgUtil/RenderToTextureStage> #include "CreateShadowedScene.h" using namespace osg; class CreateShadowTextureCul...
<commit_before>//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2006/03/23 // Author: Sriram Rao // // Copyright 2008 Quantcast Corp. // Copyright 2006-2008 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apache License, Ver...
<commit_before>#include <clpeak.h> #define FETCH_PER_WI 16 int clPeak::runGlobalBandwidthTest(cl::CommandQueue &queue, cl::Program &prog, device_info_t &devInfo) { float timed_lo, timed_go, timed, gbps; cl::NDRange globalSize, localSize; float *arr = NULL; if(!isGlobalBW) return 0; cl::Context...
<commit_before>#include <fstream> #include <deque> using namespace std; void remove_trailing_spaces(string& str) { string::iterator erase_begin=str.end(); while(erase_begin!=str.begin() && isspace(*(erase_begin-1))) --erase_begin; str.erase(erase_begin, str.end()); } int main(int argc, char **argv) // argv[0] com...
<commit_before>#ifndef GRAPH_LIB_PROPERTIES_HPP #define GRAPH_LIB_PROPERTIES_HPP namespace graph { struct WeightedProperty { int weight; bool operator==(WeightedProperty other) const { return weight == other.weight; } }; struct AstarNodeProperty { int gScore; int fScore; bool...
<commit_before>/* * Copyright (C) 2017 Rhys Ulerich * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef DESCENDU_SEXP_HPP #define DESCENDU_SEXP_HPP #inc...
<commit_before>#ifndef BLUETOE_LINK_LAYER_RING_BUFFER_HPP #define BLUETOE_LINK_LAYER_RING_BUFFER_HPP #include <cstdint> #include <cassert> #include <cstdlib> #include <bluetoe/link_layer/buffer.hpp> namespace bluetoe { namespace link_layer { /** * @brief structure, able to store variable sized link layer P...
<commit_before>#include <engine/engine.h> #include <engine/resource_manager.h> #include <foundation/array.h> #include <foundation/malloc_allocator.h> #include <foundation/memory.h> #include <opengl_renderer/opengl_context_windows.h> #include <opengl_renderer/opengl_renderer.h> #include <os/windows/callstack_capturer.h>...
<commit_before>// // Created by Seth on 8/2/17. // #include <iostream> #include "yanda.hpp" //// Simplify with typedefs as needed //// using Array4D = yanda::NDimensionalArray<int, 4>; using Array3D = yanda::NDimensionalArray<int, 3>; using Array2D = yanda::NDimensionalArray<int, 2>; using Idx = Array4D::Index; int ...
<commit_before>// Copyright 2022 Google LLC // // 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 o...
<commit_before>// Copyright Hugh Perkins 2016 // 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 agr...
<commit_before>// ECE556 - Copyright 2014 University of Wisconsin-Madison. All Rights Reserved. #include "ece556.h" int main(int argc, char **argv) { signal(SIGSEGV, handler); if(argc!=5){ fprintf(stderr, "Usage : ./ROUTE.exe -d=<num> -n=<num> <input_benchmark_name> <output_file_name> \n"); re...
<commit_before>#include "itemdetailswidget.hpp" #include "ui_itemdetailswidget.h" #include <QHBoxLayout> #include <QHeaderView> #include <QLabel> #include <QMapIterator> #include <QSqlQuery> #include <QTableWidget> #include <QTabWidget> #include <QTextEdit> #include <QVBoxLayout> #include "attribute_set.hpp" #include...
<commit_before>/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * * 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 ...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: chartspacefragment.cxx,v $ * * ...
<commit_before>/* * Copyright (c) 2013 Nicholas Corgan (n.corgan@gmail.com) * * Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt * or copy at http://opensource.org/licenses/MIT) */ #include "OptionsGroupBox.hpp" using namespace pkmnsim; using namespace std; OptionsGroupBox::OptionsGrou...
<commit_before>/* **************************************************************************** * * FILE main_samsonKiller.cpp * * AUTHOR Ken Zangelin * * CREATION DATE Feb 25 2011 * */ #include "parseArgs/parseArgs.h" // parseArgs #include "parseArgs/paUsage.h" ...
<commit_before>/* * Copyright (c) 2010-2013 OTClient <https://github.com/edubart/otclient> * * 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 limita...
<commit_before>// // Originally written by BjÃrn Fahller (bjorn@fahller.se) // Modified by Jeff Bush // // No rights claimed. The sources are released to the public domain // // For license information, please refer to <http://unlicense.org> // #include <setjmp.h> #include <stdlib.h> #include <iostream> #include <ostr...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Script Generator project on Qt Labs. ** **...
<commit_before>#include "Application.hpp" #include "InputHandlers.hpp" #include "renderer/RenderContext.hpp" #include "renderer/ShaderManager.hpp" #include "renderer/OculusVR.hpp" #include "renderer/CameraDirector.hpp" // application globals extern CameraDirector g_cameraDirector; RenderContext g_renderContext; Applic...
<commit_before>/**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ ...
<commit_before>#ifndef HAND_ROLLED_INCLUDED__ #define HAND_ROLLED_INCLUDED__ #include <cassert> #include <functional> #include <iostream> #include <memory> #include <type_traits> #include <utility> #include <vector> // Variation 1: Accept std::reference_wrapper<>. #ifndef ACCEPT_REFERENCE_WRAPPER #define ACCEPT_REFE...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // taskwarrior - a command line task list manager. // // Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // All rights reserved. // // This program is free software; you can redistribute it and/or modify it under...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pngwrite.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 18:03:05 $ * * The Contents of this file are made ...
<commit_before>//----------------------------------*-C++-*----------------------------------// /*! * \file AdjointMcParallelFor.cc * \author Steven Hamilton * \brief Perform single history of adjoint MC */ //---------------------------------------------------------------------------// #ifndef mc_solver_AdjointM...
<commit_before>// implementation for sampled_mapping.h namespace MathTL { SampledMapping<1>::SampledMapping() : Grid<1>(), values_() { } SampledMapping<1>::SampledMapping(const SampledMapping<1>& sm) : Grid<1>(sm), values_(sm.values_) { } SampledMapping<1>::SampledMapping(const Grid<1>& grid) ...
<commit_before>/* * The MIT License (MIT) * * Copyright (c) 2017 Nathan Osman * * 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>#ifndef VIENNAFVM_PDE_SOLVER_HPP #define VIENNAFVM_PDE_SOLVER_HPP /* ======================================================================= Copyright (c) 2011, Institute for Microelectronics, TU Wien http://www.iue.tuwien.ac.at ----------------- ViennaFVM -...
<commit_before>#include <math.h> #include <vector> #include <string> #include "io.hh" #include "conf.hh" #include "Recipe.hh" #include "FeatureGenerator.hh" #include "SpeakerConfig.hh" const char *recipe_file; const char *out_file; conf::Config config; FeatureGenerator gen; SpeakerConfig m_speaker_config(gen); // Sp...
<commit_before>/* ozmtool_main.cpp Copyright (c) 2014, tuxuser. All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/lic...
<commit_before>// Copyright (c) 2018 PaddlePaddle 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 // // ...
<commit_before>/* This file is part of the KDE project Copyright (C) 2008 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 version 2.1...
<commit_before>#ifndef _http_UserBufferedMessage_hpp__ #define _http_UserBufferedMessage_hpp__ // Copyright(c) Andre Caron <andre.l.caron@gmail.com>, 2011-2012 // // This document is covered by the an Open Source Initiative approved license. A // copy of the license should have been provided alongside this software pa...