text
stringlengths
54
60.6k
<commit_before>/** * @file */ #include "numbirch/jemalloc/jemalloc.hpp" #include "numbirch/numbirch.hpp" #include <omp.h> #include <cassert> /* * Host-device shared arena and thread cache for jemalloc. Allocations in this * arena will migrate between host and device on demand. */ static thread_local unsigned sha...
<commit_before><commit_msg>try to explicitly include map for tinderbox<commit_after><|endoftext|>
<commit_before> #include "numerics/чебышёв_series.hpp" #include <vector> #include "geometry/grassmann.hpp" #include "geometry/r3_element.hpp" #include "geometry/serialization.hpp" #include "glog/logging.h" #include "numerics/fixed_arrays.hpp" #include "numerics/newhall.mathematica.cpp" namespace principia { using ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>/** * syntaxhighlighter.cpp * * Copyright (c) 2003 Trolltech AS * * 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; version 2 of the License * * This program is distrib...
<commit_before>/* This file is part of KOrganizer. Copyright (c) 1998 Barry D Benowitz <b.benowitz@telesciences.com> Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License...
<commit_before>/* This file is part of the KDE project Copyright (C) 2001 Christoph Cullmann (cullmann@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 version 2...
<commit_before>/************************************************************************* * * $RCSfile: inputsequencechecker.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: er $ $Date: 2002-03-26 17:07:06 $ * * The Contents of this file are made available subject to the terms of * either of the fol...
<commit_before>// ======================================================================== // // Copyright 2009-2019 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2012, 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...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Axel Naumann <axel@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU Lesser G...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2017 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
<commit_before>// @(#)root/xmlparser:$Id$ // Author: Jose Lo 12/1/2005 /************************************************************************* * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#ifndef __UDP_DISCOVERY_IP_PORT_H_ #define __UDP_DISCOVERY_IP_PORT_H_ #include <string> namespace udpdiscovery { class IpPort { public: IpPort() : ip_(0), port_(0) { } IpPort(unsigned int ip, int port) : ip_(ip), port_(port) { } void set_ip(unsigned int ip) { ip_ = ip; ...
<commit_before>// $Id: ExportInterface.cpp 3045 2010-04-05 13:07:29Z hieuhoang1972 $ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2009 University of Edinburgh This library is free software; you can redistribute it and/or modify i...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/optimization/COptProblem.cpp,v $ $Revision: 1.55 $ $Name: $ $Author: shoops $ $Date: 2005/07/08 19:36:22 $ End CVS Header */ /** * File name: COptProblem.cpp * * Programmer: Yongqun He * Contact emai...
<commit_before><commit_msg>Implemented polish notation<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2012 The Brave 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 "brave/browser/plugins/brave_plugin_service_filter.h" #include "chrome/browser/plugins/chrome_plugin_service_filter.h" #include ...
<commit_before>// // AnalyticXStringUtilAndroid.cpp // AnalyticX // // Created by diwwu on 5/14/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #include "AnalyticXStringUtilAndroid.h" #define isKindOfClass(obj,class) (dynamic_cast<class*>(obj) != NULL) jobjectArray AnalyticXStringUtilAndroid:...
<commit_before>/* -------------------------------------------------------------------------- * * OpenSim: testInducedAccelerations.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and ...
<commit_before>#include "bananagrams.hpp" using std::cerr; using std::endl; using std::string; Typer::Typer() {} bool Typer::get_ch(char* ch) { if (!chars.empty()) { *ch = chars.front(); chars.pop(); return true; } return false; } bool Typer::process_event(sf::Event& event) { // add character to queue (i...
<commit_before>#include "rosplan_planning_system/PDDLProblemGenerator.h" #include <iostream> #include <sstream> #include <fstream> #include <vector> #include <string> namespace KCL_rosplan { /** * generates a PDDL problem file. * This file is later read by the planner. */ void PDDLProblemGenerator::generatePD...
<commit_before>/* rtbkit_exchange_connector.cc Mathieu Stefani, 15 May 2013 Implementation of the RTBKit exchange connector. */ #include "rtbkit_exchange_connector.h" #include "rtbkit/plugins/exchange/http_auction_handler.h" using namespace Datacratic; namespace RTBKIT { /*********************************...
<commit_before>/* This sample code was originally provided by Liu Liu * Copyright� 2009, Liu Liu All rights reserved. */ #include "opencv2/highgui/highgui.hpp" #include "opencv2/features2d/features2d.hpp" #include "opencv2/imgproc/imgproc_c.h" static CvScalar colors[] = { {{0,0,255}}, {{0,128,255}}, {{...
<commit_before>#include "opencv2/video/background_segm.hpp" #include "opencv2/highgui/highgui.hpp" #include <stdio.h> using namespace cv; void help() { printf("\nDo background segmentation, especially demonstrating the use of cvUpdateBGStatModel().\n" "Learns the background at the start and then segments.\n" "Learni...
<commit_before>#include "node.h" #include <iomanip> #include <sstream> #include <stdint.h> #include "base58.h" #include "json/reader.h" #include "json/writer.h" #include "node_factory.h" #include "ppapi/cpp/instance.h" #include "ppapi/cpp/module.h" #include "ppapi/cpp/var.h" #include "types.h" class HDWalletDispatch...
<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 "stdafx.h" #include "CommandTree.h" CommandTree::CommandTree() { } CommandTree::~CommandTree() { } bool CommandTree::ShouldRunThisCommand(ParsedCommand* Parsed) { return (Parsed->Words->at(0) == "tree"); } void CommandTree::Run(ParsedCommand* Parsed) { clock_t start; double duration; s...
<commit_before>/*========================================================================= * * Copyright UMC Utrecht and contributors * * 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>#pragma once #include <cstddef> #include <cstdint> #include "types.hpp" //基本方針:packできない時は変更を加えない /** \~japanese @brief Stoneを省メモリに格納するクラスです \~english @brief Class for store Stone \~japanese @detail 格納できる要素数は32個です。64bitを2bitずつ使用します。この構造の実現のためにbit演算を多用します。 \~english @detail The capacity of this class is 3...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkJPEGWriter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. T...
<commit_before>// --------------------------------------------------------------------------- // // This file is part of the <kortex> library suite // // Copyright (C) 2013 Engin Tola // // See LICENSE file for license information. // // author: Engin Tola // e-mail: engintola@gmail.com // web : http://www.engintola....
<commit_before>//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm 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://ww...
<commit_before>// http://www.apache.org/licenses/LICENSE-2.0 // Copyright 2014 Perttu Ahola <celeron55@gmail.com> #include "interface/thread_pool.h" #include "interface/mutex.h" #include "interface/semaphore.h" #include "core/log.h" #include <c55/os.h> #include <deque> #ifdef _WIN32 #include "ports/windows_compat.h" #...
<commit_before>/** * @author Carsten Könemann */ // This is a ROS project #include <ros/ros.h> // We are working with OpenCV #include <cv_bridge/cv_bridge.h> #include <opencv2/opencv.hpp> #include <image_geometry/pinhole_camera_model.h> // Local headers #include <thesis/config.h> #include <thesis/math3d.h> #includ...
<commit_before>// @(#)root/core/meta:$Id$ // Author: Paul Russo 30/07/2012 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<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 <algorithm> #include "net/proxy/proxy_server.h" #include "base/string_tokenizer.h" #include "base/string_util.h" #include "n...
<commit_before>// @(#)root/net:$Name: $:$Id: TServerSocket.cxx,v 1.4 2004/02/19 00:11:18 rdm Exp $ // Author: Fons Rademakers 18/12/96 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>#pragma once #include "elog_block.hpp" #include "elog_entry.hpp" #include "xyz/openbmc_project/Collection/DeleteAll/server.hpp" #include "xyz/openbmc_project/Logging/Create/server.hpp" #include "xyz/openbmc_project/Logging/Entry/server.hpp" #include "xyz/openbmc_project/Logging/Internal/Manager/server.h...
<commit_before>/* * Copyright 2018 The Cartographer Authors * * 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...
<commit_before>// // PlugIn.cpp // UltraschallHub // // Created by Daniel Lindenfelser on 02/11/14. // Copyright (c) 2014 ultraschall.fm. All rights reserved. // #include "PlugIn.h" #include "CAException.h" #include "CADispatchQueue.h" #include "CADebugMacros.h" #include "Device.h" UltHub_PlugIn& UltHub_PlugIn:...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: IsolatedConnectedImageFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. ...
<commit_before>// // Array class for the CUPS PPD Compiler. // // Copyright 2007-2019 by Apple Inc. // Copyright 2002-2005 by Easy Software Products. // // Licensed under Apache License v2.0. See the file "LICENSE" for more information. // // // Include necessary headers... // #include "ppdc-private.h" // // 'ppdc...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>#include "stdafx.h" #include "Win32NonBlockingDispatcher.h" #include <queue> #include <mutex> #include <boost/optional.hpp> #if defined(_WIN32) // WTL includes #define NOMINMAX #include <Windows.h> #include <atlbase.h> #include <atlapp.h> namespace isprom { struct Win32NonBlockingDis...
<commit_before>#include "interactive_mode.hpp" #include <unistd.h> #include <cmath> #include <cstring> #include <fstream> #include <string> #include <vector> #include "comp.hpp" #include "computer.hpp" #include "cursor.hpp" #include "drawing3D.hpp" #include "drawing3Db.hpp" #include "drawing2D.hpp" #in...
<commit_before>/* ------------------------------------------------------------------------- * * OpenSim: ExampleHopperAssistDevice.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simu...
<commit_before>#include "../../../ScriptObject.h" // Quest Script: SubFst002_00025 // Quest Name: Quarrels with Squirrels // Quest ID: 65561 // Start NPC: 1000263 // End NPC: 1000263 class SubFst002 : public EventScript { private: static constexpr auto SEQ_0 = 0; static constexpr auto SEQ_1 = 1; static ...
<commit_before>//===-- GraphWriter.cpp - Implements GraphWriter support routines ---------===// // // 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) 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 "chrome/browser/chromeos/login/webui_login_display.h" #include "chrome/browser/chromeos/accessibility/accessibility_util.h" #...
<commit_before>//===- llvm/ADT/SmallPtrSet.cpp - 'Normally small' pointer set ------------===// // // The LLVM Compiler Infrastructure // // This file was developed by Chris Lattner and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===-----...
<commit_before>/* * Solution 1: * Sweep Line + Heap * */ // version 1: priority_queue class Solution { private: enum NODE_TYPE {LEFT, RIGHT}; struct node { int x, y; NODE_TYPE type; node(int _x, int _y, NODE_TYPE _type) : x(_x), y(_y), type(_type) {} }; public: vector<p...
<commit_before>/** * \file LMSFilter.cpp */ #include <ATK/Adaptive/LMSFilter.h> #include <complex> #include <cstdint> #include <stdexcept> #include <Eigen/Core> #include <ATK/Core/TypeTraits.h> namespace ATK { template<typename DataType_> class LMSFilter<DataType_>::LMSFilterImpl { public: typedef Ei...
<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/chromeos/cros/screen_lock_library.h" #include "base/message_loop.h" #include "base/string_util.h" #include "c...
<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 "base/command_line.h" #include "base/path_service.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #i...
<commit_before>// Copyright (c) 2011 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/extensions/extension_apitest.h" #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/profi...
<commit_before>// Copyright (c) 2011 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/extensions/extension_apitest.h" #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/profi...
<commit_before>#include "AssetSubCommandLoadAsset.h" #include <maya/MFileObject.h> #include <maya/MGlobal.h> #include <maya/MPlug.h> #include <maya/MPxCommand.h> #include "AssetNode.h" #include "AssetSubCommandSync.h" #include "util.h" AssetSubCommandLoadAsset::AssetSubCommandLoadAsset( const MString &otlFil...
<commit_before>#ifndef Interfaces_hxx #define Interfaces_hxx #include "InterfaceTraits.h" namespace elx { template<class InterfaceT> int InterfaceAcceptor<InterfaceT>::Connect(ComponentBase* providerComponent){ InterfaceT* providerInterface = dynamic_cast<InterfaceT*> (providerComponent); if (!providerInterface) ...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2009-04-23 13:50:34 +0200 (Do, 23 Apr 2009) $ Version: $Revision: 16947 $ Copyright (c) German Cancer Research Center, Division of Medic...
<commit_before>#include "httpserver.h" #include <iostream> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <fcntl.h> #include "channel.h" void ConnectCB(void* arg) { //HttpServer* server = (HttpServer*) arg; HttpServer::...
<commit_before>/* Copyright (c) 2016, the Cap authors. * * This file is subject to the Modified BSD License and may not be distributed * without copyright and license information. Please refer to the file LICENSE * for the text and further information on this license. */ #define BOOST_TEST_MODULE CheckpointRestar...
<commit_before>#include "WSEchoRespSource.h" #include "../WebSocket/IMsgHandler.h" #include "../WebSocket/IMsgSender.h" using namespace HTTP::WebSocket; class EchoMsgHandler : public IMsgHandler { public: inline EchoMsgHandler() : MySender(nullptr) { } virtual void RegisterSender(IMsgSender *NewSender) { MySen...
<commit_before>/* $Id$*/ // Script to create alignment parameters and store them into CDB // Two sets of alignment parameters can be created: // 1) 1 PHOS module with exact position // 2) 5 PHOS modules with small disalignments #if !defined(__CINT__) #include "TControlBar.h" #include "TString.h" #include "TRandom.h" ...
<commit_before>#include "iCubProprioception/CADSuperimposer.h" #include <exception> #include <utility> #include <iCub/ctrl/math.h> #include <yarp/math/Math.h> #include <yarp/os/Bottle.h> #include <yarp/os/LogStream.h> #include <yarp/os/ResourceFinder.h> using namespace yarp::dev; using namespace yarp::math; using na...
<commit_before><commit_msg>Linux: ctrl+scroll for zoom<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: xmlehelp.cxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-19 00:31:44 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/spd/spd_traits.H $ ...
<commit_before><commit_msg>Convert SV_DECL_PTRARR_SORT_DEL to boost::ptr_set<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ximpshow.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: rt $ $Date: 2008-03-12 10:39:20 $ * * The Contents of this file are made...
<commit_before>#include <phypp.hpp> int phypp_main(int argc, char* argv[]) { if (argc < 2) { print("usage: make_shifts <ob_filter> [options]"); return 0; } vec1u exclude; std::string helper; read_args(argc-1, argv+1, arg_list(exclude, helper)); if (helper.empty()) { e...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ximpshow.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-09 14:01:17 $ * * The Contents of this file are made ...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "FlipperClient.h" #include <fstream> #include <iostream> #include <stdexcept> #include <vector> #include "C...
<commit_before>#include "AliAnalysisTaskGammaDeltaPIDSaveQvec.h" void AddTaskGammaDeltaPIDSaveQvec(Int_t gFilterBit = 768,Double_t fPtMin=0.2,Double_t fPtMax=2.0,Double_t fEtaMin=-0.8, Double_t fEtaMax=0.8,Double_t fChi2max=4.0,Int_t gNclustTPC=70, Int_t fparticle=0,Double_t nSigTPC = 3.0, Double_t nSigTOF = 3.0, Bool...
<commit_before>/******************************************************************************* * Copyright 2015 See AUTHORS file. * * 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>/******************************************************************************* * Copyright 2015 See AUTHORS file. * * 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>#pragma once #include <iostream> #include <array> #include <thread> #include <mutex> #include "cxxtest/TestSuite.h" #include <zcm/message_tracker.hpp> using namespace std; class MessageTrackerTest : public CxxTest::TestSuite { public: void setUp() override {} void tearDown() override {} ...
<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>#include "amd64.h" #include "distribution.hh" #include "spinbarrier.hh" #include "libutil.h" #include "xsys.h" #include <fcntl.h> #include <spawn.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/stat.h> #include <sys/wait.h> #include <string> #include <thr...
<commit_before>#include <pthread.h> #ifdef __ANDROID__ #include <unistd.h> #endif // __ANDROID__ #include "../Include/CSoundManager.h" namespace LM { void* WaitSoundFinished(void* a_pSoundManager) { CSoundManager* pSoundManager = static_cast<CSoundManager*>(a_pSoundManager); std::string sSoundURL = pSoundMana...
<commit_before>/* * PointLIFProbe.cpp * * Created on: Mar 10, 2009 * Author: rasmussn */ #include "PointLIFProbe.hpp" #include "../layers/HyPerLayer.hpp" #include "../layers/LIF.hpp" #include <string.h> #include <assert.h> namespace PV { /** * @filename * @xLoc * @yLoc * @fLoc * @msg */ PointLIFProb...
<commit_before>#ifndef CLIENT_WSS_HPP #define CLIENT_WSS_HPP #include "client_ws.hpp" #include <boost/asio/ssl.hpp> namespace SimpleWeb { typedef boost::asio::ssl::stream<boost::asio::ip::tcp::socket> WSS; template<> class SocketClient<WSS> : public SocketClientBase<WSS> { public: Soc...
<commit_before>/*********************************************************************** filename: CEGuiD3D81BaseApplication.cpp created: 24/9/2004 author: Paul D Turner *************************************************************************/ /******************************************************...
<commit_before>#include "mitkMovieGenerator.h" #include <GL/gl.h> #ifdef WIN32 #include "mitkMovieGeneratorWin32.h" #endif #ifndef GL_BGR #define GL_BGR GL_BGR_EXT #endif mitk::MovieGenerator::Pointer mitk::MovieGenerator::New() { Pointer smartPtr; MovieGenerator *rawPtr = ::itk::ObjectFactory<MovieGenera...
<commit_before>/********************************************************************** * $Id$ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesse...
<commit_before>/************************************************************************* * * $RCSfile: mapmod.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2004-01-06 13:47:28 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>/** * Purity in C++17 * =============== * * Very naive attempt. * * Note: Compile with -std=c++17. */ #include <tuple> class pure_io { public: template <auto F()> static constexpr auto fapply() noexcept { static_assert(noexcept(F()), "constant function required"); constexpr auto ret ...
<commit_before>/* * Copyright (c) 2013 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>#include "graph.hpp" #include <cmath> #include <queue> #include <iostream> Graph::Graph() { addNode(Node(0, 0)); addNode(Node(0, 10)); forceNewEdge(Node(0, 0), Node(0, 10)); } // TODO: pour l’instant, cette fonction ne renvoie que le nombre de nœuds intermédiaires // TODO: De plus, on ne fait pas d...
<commit_before>// // mcbAnimationDataProvider.cpp // SoundSurfer // // Created by Radif Sharafullin on 10/20/13. // // #include "mcbAnimationDataProvider.h" #include "mcbPlatformSupportFunctions.h" #include "mcbAudioPlayer.h" #include "mcbCallLambda.h" using namespace cocos2d; namespace mcb{ namespace PlatformSupp...
<commit_before><commit_msg>Update Graph folder<commit_after><|endoftext|>
<commit_before>/* The OpenTRV project licenses this file to you under the Apache Licence, Version 2.0 (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2017, Image Engine Design 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:...
<commit_before>/* DisplayController.h - Library for Controlling a 14x28 bits FlipDot display sign using two FP2800A. Created by Antonio Carioca, March 3, 2014. */ //#include "Arduino.h" //#include <avr/pgmspace.h> //#include "application.h" #include "mark-iv-flip-dot-display-sign-14x28-controller.h" /* CONSTANTS */ ...
<commit_before>#line 2 "quanta/app_script_host/main.cpp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. */ #include <quanta/app_script_host/config.hpp> #include <quanta/app_script_host/types.hpp> #include <quanta/core/lua/lua.hpp> #include <togo/core/utility/utility.hpp> #include <togo/...
<commit_before>#pragma once #include <array> #include <cassert> #include <functional> #include <string> #include <sstream> #include <tuple> #include <type_traits> #include <vector> namespace vibrating { // Forward declaration template <class> struct Option; //--------------------------------------------------------...
<commit_before> #include <sarah/cat_problem.h> #include <fstream> #include <iostream> #include <algorithm> // std::transform #include <functional> // std::plus /** * Main function: Initialise problem and run it. */ int main (int argc, char *argv[]) { // Initialise MPI dealii::Utilities::MPI::MPI_InitFin...
<commit_before>/* (c) Matthew Slocum 2015 msgComponent.cpp msgComponent is resbonaible for sending and revieving messages upon creation it spins off a thread to listen for incoming messages. the parent process takes input from the user and executes commands or sends messages. */ #include <iostream> #includ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/kernel/basesegment.C $ ...
<commit_before>/**************************************************************************** * * Copyright (c) 2013, 2014 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 m...