text
stringlengths
54
60.6k
<commit_before>/* * This file is part of the SPLINTER library. * Copyright (C) 2012 Bjarne Grimstad (bjarne.grimstad@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 this * file, You can obtain one at http://mozill...
<commit_before>#include <taichi/common/util.h> #include <taichi/common/task.h> #include <taichi/math.h> #include <taichi/system/timer.h> #include <Eigen/Dense> TC_NAMESPACE_BEGIN constexpr int rounds = 8192; constexpr int N = 1024; template <int dim, typename T> real eigen_matmatmul() { std::vector<Eigen::Matrix<T...
<commit_before>#ifndef HEADER_GUARD_NEW_MOVE_H #define HEADER_GUARD_NEW_MOVE_H #include <string> #include <vector> typedef std::vector<std::string>* contents; void mvline (contents, unsigned long); void mv (contents, unsigned long y, unsigned long x); void mvrel (contents, long y, long x); void mvcol...
<commit_before>#include "OrientationSensorsWrapper.h" #include "SDLogDriver.h" #include "DualEncoderDriver.h" #include "MotorDriver.h" #include "PlanarAccelerationModule.h" #include "TireContactModule.h" #include "FrontLiftedDetection.h" #include "constants.h" #include <Wire.h> #include <SD.h> enum { WAITING_FOR_CO...
<commit_before>#include "crt.h" #include "parser.h" #include "scanner.h" #include "token.h" #include "exceptions.h" #include <sstream> #include <cstdio> namespace YAML { Parser::Parser() { } Parser::Parser(std::istream& in) { Load(in); } Parser::~Parser() { } Parser::operator bool() const { return m...
<commit_before>#include "crt.h" #include "parser.h" #include "scanner.h" #include "token.h" #include "exceptions.h" #include <sstream> #include <cstdio> namespace YAML { Parser::Parser() { } Parser::Parser(std::istream& in) { Load(in); } Parser::~Parser() { } Parser::operator bool() const { return m...
<commit_before>#include <boost/test/unit_test.hpp> #include <boost/thread/thread.hpp> #include <iostream> #include "NonblockingSignal.hpp" #include "RandomSignal.hpp" #include "Sample.hpp" using namespace std; uint8_t mac[RandomSignal::MAC_ADDRESS_SIZE] = { 0x1, 0x2, 0x3, 0x4, 0x5, 0x6 }; BOOST_AUTO_TEST_SUITE(Nonb...
<commit_before>#include <stdexcept> #include "Person.h" Person::Person(std::string name) { if(name.empty()){ throw std::invalid_argument("Name can not be empty."); } this->name = name; }; <commit_msg>Add verification to Person constructor<commit_after>#include <stdexcept> #include "Person.h" Person::Per...
<commit_before> #include <iostream> #include <fstream> #include <algorithm> #include <limits.h> #include <errno.h> #include <cstdio> #include <sys/time.h> #include <mist/dtsc.h> #include "player.h" namespace Player{ ///\todo Make getNowMS available in a library /// Gets the current system time in milliseconds. l...
<commit_before>#include "FaultState.h" #include "utilConstants.h" #include <sstream> using std::string; using std::stringstream; using std::auto_ptr; using acsalarm::FaultState; /** * Default Constructor */ FaultState::FaultState() { auto_ptr<Timestamp> tstamp(new Timestamp()); setUserTimestamp(tstamp); } /** *...
<commit_before>/** * REXUS PIOneERS - Pi_1 * raspi1.cpp * Purpose: Main logic control of the REXUS PIOneERS experiment handling data * communication and transfer as well as the boom and antenna sub-systems. * * @author David Amison * @version 2.2 12/10/2017 */ #include <stdio.h> #include <cstdint> #include <un...
<commit_before>#include <string> #include <Spark/Spmv.hpp> #include <Spark/SimpleSpmv.hpp> #include <Spark/Utils.hpp> #include <Eigen/Sparse> #include <Spark/io.hpp> #include <dfesnippets/Timing.hpp> #include <chrono> #include <boost/program_options.hpp> using namespace spark::spmv; using namespace spark::utils; //...
<commit_before>#include <iostream> #include <string> #include <boost/tokenizer.hpp> //Boost tokenizer #include <unistd.h> // Fork() #include <sys/types.h> // Wait() #include <sys/wait.h> // Wait() #include <vector> #include <stdio.h> //Perror() #include <errno.h> // Perror() #include <algorithm> using namespace std; u...
<commit_before>/* Copyright (c) 2016 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 Unless required by ap...
<commit_before>#include "gtest/gtest.h" #include "sdd/values/bitset.hh" typedef sdd::values::bitset<64> bitset; /*-------------------------------------------------------------------------------------------*/ TEST(bitset_test, empty) { bitset b; ASSERT_TRUE(b.empty()); } /*--------------------------------------...
<commit_before>// Copyright 2019 Google 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 applicable law o...
<commit_before>#include "multiverso/server.h" #include <algorithm> #include <sstream> #include <string> #include <vector> #include "multiverso/actor.h" #include "multiverso/dashboard.h" #include "multiverso/multiverso.h" #include "multiverso/table_interface.h" #include "multiverso/io/io.h" #include "multiverso/util/c...
<commit_before>//======================================================================= // Copyright (c) 2013-2018 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================...
<commit_before>/******************************************************************************* Copyright (c) 2014, Jan Koester jan.koester@gmx.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: * R...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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.or...
<commit_before>#include "stdafx.h" #include "ObjectPoolTest.h" #include "ObjectPool.h" #include "TestFixtures/SimpleThreaded.h" class PooledObject { }; TEST_F(ObjectPoolTest, VerifyOutstandingLimit) { ObjectPool<PooledObject> pool(2); std::shared_ptr<PooledObject> obj1, obj2, obj3; // Try to grab some objects...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKC...
<commit_before>/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2...
<commit_before>#ifndef GNR_STRUCTITERATOR_HPP # define GNR_STRUCTITERATOR_HPP # pragma once #include <iterator> #include <memory> //std::addressof() #include "boost/pfr.hpp" namespace gnr { namespace detail::struct_iterator { template <class S> constexpr auto all_same() noexcept { if constexpr (constexpr auto N...
<commit_before>/* * TurretDataComponent.cpp * * Created on: Dec 10, 2012 * Author: root */ #include "TurretDataComponent.h" #include "server/zone/objects/installation/InstallationObject.h" #include "server/zone/packets/scene/AttributeListMessage.h" #include "server/zone/objects/installation/components/Turre...
<commit_before>/************************************************************************* * Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Con...
<commit_before>#include "cnn/nodes.h" #include "cnn/cnn.h" #include "cnn/training.h" #include "cnn/timing.h" #include "cnn/expr.h" #include <iostream> #include <fstream> #include <sstream> using namespace std; using namespace cnn; using namespace cnn::expr; int main(int argc, char** argv) { cnn::Initialize(argc, a...
<commit_before>#include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/core/core.hpp" #include <stdio.h> #include <cv.h> #include <highgui.h> CvHaarClassifierCascade *cascade; CvMemStorage *storage; void detect(IplImage *img); int main(int argc, char** a...
<commit_before>/** * Copyright 2016, Quickstep Research Group, Computer Sciences Department, * University of Wisconsin—Madison. * * 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 ...
<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>#ifndef STREAM_H_ #define STREAM_H_ #include "dtypes.hpp" #include "server.hpp" #include "Decerealiser.hpp" #include <vector> #include <memory> #include <cassert> class MqttStream { public: MqttStream(int size): _buffer(size), _scratch(size), _begin{_buffer.begin()} {...
<commit_before>/* pvsops.c: pvs and other spectral-based opcodes Copyright (C) 2017 Victor Lazzarini This file is part of Csound. The Csound 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 Foundat...
<commit_before>void MakeCTPDummyEntries(){ // macro to put in OCDB the dummy entries for CTP configuration and scalers AliCDBManager *man = AliCDBManager::Instance(); man->SetDefaultStorage("local://$ALICE_ROOT/OCDB"); Char_t * filenameConfig = gSystem->ExpandPathName("$ALICE_ROOT/GRP/CTP/p-p.cfg"); Char_t * fil...
<commit_before>/************************************************************************* * * $RCSfile: fchrfmt.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: dvo $ $Date: 2001-07-09 20:10:42 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: directory.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-10-04 05:51:59 $ * * The Contents of this file are mad...
<commit_before>/* * PrimeSieveGUI.cpp -- This file is part of primesieve * * Copyright (C) 2010 Kim Walisch, <kim.walisch@gmail.com> * * 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, eith...
<commit_before>/************************************************************************* * * $RCSfile: fmtclbl.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2004-08-23 08:32:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>// Copyright (c) 2012 Plenluno All rights reserved. #include <string> #include "libj/string.h" namespace libj { const Size NO_POS = -1; const Char NO_CHAR = -1; class StringImpl : public String { public: Size length() const { return str8_ ? str8_->length() : str32_ ? str32...
<commit_before>#include "safe_debug_print.h" // we implement this #include "basic_int_to_string.h" // for [un]signed_integer_to_string_{dec|hex} #include "assert.h" #include <cstdio> #include <cstring> #include <cctype> #include <algorithm> using tinfra::signed_integer_to_string_dec; using tinfra::unsigned_integer_...
<commit_before>/************************************************************************* * * $RCSfile: unosrch.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: vg $ $Date: 2003-04-01 15:27:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/* * String hash map. * * author: Max Kellermann <mk@cm4all.com> */ #ifndef BENG_PROXY_STRMAP_HXX #define BENG_PROXY_STRMAP_HXX #include <inline/compiler.h> #include <boost/intrusive/set.hpp> struct pool; struct strmap { struct Item { typedef boost::intrusive::set_member_hook<boost::...
<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>// // TestGraph.cpp // Graphs // // Created by Viktoras Laukevičius on 21/03/15. // Copyright (c) 2015 Viktoras Laukevicius. All rights reserved. // #include <iostream> #include "Graph.h" #include "Vertex.h" using namespace std; class TestGraph { public: TestGraph() { Graph graph; ...
<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>/******************************************************************************\ * File: frame.cpp * Purpose: Implementation of wxExFrame class and support classes * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are re...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: XMLSectionFootnoteConfigImport.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2006-06-19 18:44:03 $ * * The Contents ...
<commit_before>/************************************************************************* * * $RCSfile: XMLSectionFootnoteConfigImport.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2004-11-09 12:19:06 $ * * The Contents of this file are made available subject to the terms of * either ...
<commit_before>#include <Arduino.h> #include "system.h" void lwmqtt_arduino_timer_set(lwmqtt_client_t *client, void *ref, int timeout) { // cast timer reference lwmqtt_arduino_timer_t *t = (lwmqtt_arduino_timer_t *)ref; // set future end time t->end = millis() + timeout; } int lwmqtt_arduino_timer_get(lwmqt...
<commit_before>/** * @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required b...
<commit_before>// Copyright 2019 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
<commit_before>#include "coverage.h" #include "location.h" #include "geos/geom/Coordinate.h" #include "coordinate.h" #include "box.h" #include "coordinatesystem.h" #include "georeference.h" //#include "cornersgeoreference.h" #include "rootdrawer.h" #include "spatialdatadrawer.h" #include "layersrenderer.h" using names...
<commit_before>#include "FaultState.h" #include "utilConstants.h" #include <sstream> using std::string; using std::stringstream; using std::auto_ptr; using acsalarm::FaultState; /** * Default Constructor */ FaultState::FaultState() { auto_ptr<Timestamp> tstamp(new Timestamp()); setUserTimestamp(tstamp); } /** *...
<commit_before>/******************************************************************************\ * File: support.cpp * Purpose: Implementation of support classes * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproducti...
<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: WW8ResourceModel.hxx,v $ * $Revi...
<commit_before>// ======================================================================== // // Copyright 2009-2017 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>// make a contour plot and get the first contour in a TPolyMarker void FirstContour() { //this macro generates a color contour plot by selecting entries //from an ntuple file. //The TGraph object corresponding to the first contour line is //accessed and displayed into a separate canvas. /...
<commit_before>/*! @file tissue.hpp @brief Interface of Tissue class */ #pragma once #ifndef TUMOPP_TISSUE_HPP_ #define TUMOPP_TISSUE_HPP_ #include "coord.hpp" #include "cell.hpp" #include "random.hpp" #include <cstdint> #include <sstream> #include <string> #include <vector> #include <array> #include <unordered_s...
<commit_before>#include <StdAfx.h> #include <UI/Dialogs/Editors/restriction/CriteriaEditor.h> #include <UI/Dialogs/Editors/restriction/RestrictEditor.h> #include <core/mapi/extraPropTags.h> #include <core/sortlistdata/binaryData.h> #include <core/mapi/mapiMemory.h> #include <core/utility/output.h> #include <core/interp...
<commit_before>#include "stdafx.h" #include "ReClass2015.h" #include "DialogModules.h" #include "MainFrm.h" #include "ChildFrm.h" #include "SDK.h" #include "afxdialogex.h" IMPLEMENT_DYNAMIC(CDialogModules, CDialogEx) CDialogModules::CDialogModules(CWnd* pParent) : CDialogEx(CDialogModules::IDD, pParent) { } CDia...
<commit_before>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // #include <BALL/VIEW/PRIMITIVES/QuadMesh> using namespace std; namespace BALL { namespace VIEW { QuadMesh::QuadMesh() : GeometricObject(), MultiColorExtension() { } QuadMesh::QuadMesh(const QuadMesh& mesh) : GeometricObject(m...
<commit_before>/* kwatchgnupgconfig.cpp This file is part of Kleopatra, the KDE keymanager Copyright (c) 2001,2002,2004 Klarlvdalens Datakonsult AB Kleopatra 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 So...
<commit_before>// Copyright 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/logging.h" #include <stdio.h> #include <stdlib.h> #include <iomanip> #if defined(OS_POSIX) #include <sys/time.h> #in...
<commit_before>/*********************************************************************** filename: CEGuiOgreBaseApplication.cpp created: 9/3/2004 author: Paul D Turner *************************************************************************/ /********************************************************...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXDE-Qt - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2012 Razor team * Authors: * Alexander Sokoloff <sokoloff.a@gmail.com> * * This program or library is free software; you can redistribute it * and/or modif...
<commit_before>/* Dune II - The Maker Author : Stefan Hendriks Contact: stefanhen83@gmail.com Website: http://d2tm.duneii.com 2001 - 2009 (c) code by Stefan Hendriks ----------------------------------------------- Game menu items ----------------------------------------------- */ #i...
<commit_before>// baljsn_tokenizer.cpp -*-C++-*- #include <baljsn_tokenizer.h> #include <bsls_ident.h> BSLS_IDENT_RCSID(baljsn_tokenizer_cpp,"$Id$ $CSID$") #include <bdlb_chartype.h> #include <bsl_cstring.h> #include <bsl_ios.h> #include <bsl_streambuf.h> #include <balj...
<commit_before>/******************************************************************************* Name: Samuel Wenninger, Brandon Drumheller, and Malcolm Lorber Date Created: 11-25-2015 Filename: bank.cpp Description: Bank server that services requests from the ATM using the Boost library. Compile using the...
<commit_before>// // Created by david on 2018-01-31. // #include "class_flbit.h" #include <config/nmspc_settings.h> #include <general/nmspc_tensor_extra.h> #include <iostream> #include <physics/nmspc_quantum_mechanics.h> #include <tensors/state/class_state_finite.h> #include <tools/common/fmt.h> #include <tools/common...
<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/browser/chromeos/login_manager_view.h" #include <signal.h> #include <sys/types.h> #include "app/l10n_util.h" #includ...
<commit_before>// MidiClient.cpp #include "stdafx.h" #include "WinRTMidi.h" #include <iostream> #include <mutex> #include <string> using namespace std; using namespace WinRT; std::mutex g_mutex; WinRTWatcherPortCountFunc gWatcherPortCountFunc = nullptr; WinRTWatcherPortNameFunc gWatcherPortNameFunc = nullptr; Wi...
<commit_before>/* * WIN32 Events for POSIX * Author: Mahmoud Al-Qudsi <mqudsi@neosmart.net> * Copyright (C) 2011 - 2015 by NeoSmart Technologies * This code is released under the terms of the MIT License */ #ifdef _WIN32 #include <Windows.h> #include "pevents.h" namespace neosmart { neosmart_event_t CreateEvent...
<commit_before>/* * Task.cc * * Created on: Feb 27, 2014 */ #include "Task.h" #include <stdlib.h> #include <ucontext.h> #include <stdio.h> namespace BOOOS { volatile Task * Task::__running; Task* Task::__main; int Task::STACK_SIZE = 32768; int Task::__tid_counter = 1; Task::Task(void (*entry_point)(void), int n...
<commit_before>#include <iostream> #include <memory> #include <thread> #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE Main #include <boost/test/unit_test.hpp> #include <boost/algorithm/string.hpp> #include <boost/lexical_cast.hpp> #include "tcp_server.h" #include "logger.h" using namespace Akumuli; static L...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkChooserPainter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>#include <glow/LogMessageBuilder.h> #include <glow/logging.h> namespace glow { LogMessageBuilder::LogMessageBuilder(LogMessage::Level level, AbstractLogHandler* handler) : std::stringstream() , m_level(level) , m_handler(handler) { } LogMessageBuilder::LogMessageBuilder(const LogMessageBuilder& build...
<commit_before>#include "SerializationEssentials.h" #ifndef OBJECTFACTORY_H #include "ObjectFactory.h" #endif #ifndef OBJECTFORMATTER_H #include "ObjectFormatter.h" #endif #ifndef OBJECTSERIALIZER_H #include "ObjectSerializer.h" #endif #ifndef CASEBASEEX_H #include "CaseBaseEx.h" #endif #ifndef CASEEX_H #include "Cas...
<commit_before>//===-- cc1as_main.cpp - Clang Assembler ---------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * molecularmaps.cpp * Copyright (C) 2009-2015 by MegaMol Team * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "molecularmaps/molecularmaps.h" #include "MapGenerator.h" #include "mmcore/api/MegaMolCore.std.h" #include "mmcore/utility/plugins/Plugin200Instance.h" #include "mmcore/versi...
<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. // // This file defines a class that contains various method related to branding. // It provides only default implementations of these m...
<commit_before>// // Robit.cpp // RoboNeko // // Created by nsp on 16/3/17. // Copyright © 2017 nspool. All rights reserved. // #include "Robit.hpp" Robit::Robit(SDL_Renderer* renderer, SDL_Point p) { _p = p; _renderer = renderer; // Load the robit SDL_Surface* gRobits = IMG_Load( "robits.png" ); ...
<commit_before>/// @file h5_pool_serialize.cpp /// @brief h5_pool serialization implementation /// @author uentity /// @version /// @date 24.01.2012 /// @copyright This source code is released under the terms of /// the BSD License. See LICENSE for more details. //#include "bs_bos_core_data_storage_stdafx....
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
<commit_before>/* EMCAL DA for online calibration: for LED studies Contact: silvermy@ornl.gov Run Type: PHYSICS or STANDALONE DA Type: MON Number of events needed: continously accumulating for all runs, rate ~0.1-1 Hz Input Files: argument list Output Files: RESULT_FILE=EMCALLED.root, to be exported t...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 Couchbase, 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 * *...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>// This is a personal academic project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /** * A camera component that generates view and projection matrices. * * License: Mozilla Public License Version 2.0 (https://www.mozilla.org/en-US/MPL...
<commit_before>// @(#)root/graf:$Id$ // Author: Rene Brun 17/10/95 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>// (C) Copyright Gennadiy Rozental 2012. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ // //...
<commit_before>/* * This file is part of TelepathyQt4Yell Models * * Copyright (C) 2010 Collabora Ltd. <http://www.collabora.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 the Free Software Foundatio...
<commit_before>#include "core.h" #include "llvm-c/Target.h" #include "llvm/Support/Host.h" #include "llvm-c/TargetMachine.h" #include "llvm/Target/TargetMachine.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/Analysis/TargetLibraryInfo.h" #include "llvm/ADT/Triple.h" #include "llvm/Support/TargetRegistry.h" #i...
<commit_before>/* Siconos-Kernel, Copyright INRIA 2005-2010. * Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * Siconos is a free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free ...
<commit_before>#pragma once #include <vector> #include "acmacs-base/fmt.hh" #include "acmacs-base/range-v3.hh" // ---------------------------------------------------------------------- namespace acmacs { namespace detail { template <typename Key, typename Value> class map_base_t { ...
<commit_before>#include "itkNarrowBand.h" #include <vector.h> int itkNarrowBandTest (int, char*[]) { unsigned int i; typedef unsigned int IndexType; typedef float DataType; typedef itk::BandNode<IndexType,DataType> BandNodeType; typedef itk::NarrowBand<BandNodeType> BandType; typedef BandType::RegionType ...
<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>//=====================================================================// /*! @file @brief ファースト・サンプル(LED 点滅) @n RX64M, RX71M: @n 12MHz のベースクロックを使用する @n     P07 ピンにLEDを接続する @n RX65N (Renesas Envision kit RX65N): @n 12MHz のベースクロックを使用する @n     P70 に接続された LED を利用する @n RX24T: @n...
<commit_before>/* * qisplit.cpp * * Copyright (c) 2015 Tobias Wood. * * 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/. * */ #include <getopt.h> #include <s...
<commit_before>// Copyright 2015 Florian Muecke. All rights reserved. #include <iostream> #include <vector> #include <string> #include <system_error> #include <filesystem> #include <memory> #include "../../WinUtil/System.hpp" #include "../../WinUtil/Security.hpp" using namespace std; using namespace std::tr2; using na...
<commit_before>// // BundleActivator.cpp // // $Id$ // // Copyright (c) 2015, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "Poco/WebTunnel/RemotePortForwarder.h" #include "Poco/Net/HTTPSessionFactory.h" #include "Poco/Net/HTTPSessionInsta...
<commit_before><commit_msg>use read_uInt8s_AsOString here<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unokywds.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-09-16 19:26:22 $ * * The Contents of this file are made...