text
stringlengths
54
60.6k
<commit_before><commit_msg>Destroy HidServiceLinux::FileThreadHelper before DeviceManagerLinux.<commit_after><|endoftext|>
<commit_before>//============================================================================== // SingleCellSimulation plugin //============================================================================== #include "singlecellsimulationplugin.h" #include "cellmlfilemanager.h" //=====================================...
<commit_before>#include <GarrysMod/Lua/Interface.h> #include <GarrysMod/Lua/LuaInterface.h> #include <SymbolFinder.hpp> #include <MologieDetours/detours.h> #include <stdexcept> #include <string> #include <stdint.h> #include <stdio.h> #include <sha1.h> #if defined _WIN32 #define snprintf _snprintf #define FASTCALL __...
<commit_before>#include "verify.hpp" #include <iostream> #include "sta_util.hpp" #include "util.hpp" #define RELATIVE_EPSILON 1.e-5 #define ABSOLUTE_EPSILON 1.e-13 using std::cout; using std::endl; using tatum::NodeId; using tatum::DomainId; using tatum::LevelId; using tatum::TimingGraph; using tatum::NodeType; boo...
<commit_before>#include "commonOptions.h" #include "Option.h" namespace commonOptions { bool& hasError() { static bool error{false}; return error; } void print() { auto allOptions = getRootSection()->getVariables(); for (auto b : allOptions) { b->print(); } } void printShellCompl() { auto allOptions = getRo...
<commit_before>#include "thread_manager.h" #include "core_manager.h" #include "config.h" #include "log.h" #include "transport.h" #include "simulator.h" #include "network.h" #include "message_types.h" #include "core.h" #define LOG_DEFAULT_RANK -1 #define LOG_DEFAULT_MODULE THREAD_MANAGER ThreadManager::ThreadManager(C...
<commit_before>/****************************************************************************** * * Wendy asset manager * Copyright (c) 2011 Remi Papillie * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arisin...
<commit_before>#include <stingray/toolkit/StringUtils.h> namespace stingray { std::string Utf8ToLower(const std::string& str) { std::string result; for (std::string::const_iterator it = str.begin(); it != str.end(); ++it) { if (*it >= 'A' && *it <= 'Z') result.push_back(*it + 'a' - 'A'); else if ((...
<commit_before>/* Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd 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/L...
<commit_before>// Copyright (c) 2011-2012 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 "sync.h" #include "util.h" #include "state.h" #include <boost/foreach.hpp> #ifdef DEBUG_LOCKCONTENT...
<commit_before>#include <vector> #include <string> #include <sstream> #include <pcl/io/pcd_io.h> #include <pcl/common/time.h> #include <pcl/console/parse.h> #include <pcl/search/kdtree.h> #include <pcl/search/brute_force.h> using namespace std; int main (int argc, char ** argv) { if (argc < 2) { pcl::console:...
<commit_before>// Filename: binaryXml.cxx // Created by: drose (13Jul09) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // licens...
<commit_before>#include <SFML/Graphics.hpp> #include <cmath> #include <iostream> int main() { sf::RenderWindow okno(sf::VideoMode(400, 400), "2048", sf::Style::Close); sf::Clock stoper; sf::Texture textura; textura.loadFromFile("klocek.png"); sf::Sprite obraz; obraz.setTexture(textura); while (okno.isOpen()) ...
<commit_before>#ifndef WIGWAG_SIGNAL_POLICIES_HPP #define WIGWAG_SIGNAL_POLICIES_HPP // Copyright (c) 2016, Dmitry Koplyarov <[email protected]> // // 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...
<commit_before>/* * yafdb - Yet Another Face Detection and Bluring * * Copyright (c) 2014 FOXEL SA - http://foxel.ch * Please read <http://foxel.ch/license> for more information. * * * Author(s): * * Antony Ducommun <[email protected]> * * * This file is part of the FOXEL project <http://foxel.ch>. * * This...
<commit_before>#include "CD.H" #include "GAMEWAD.H" #include "SPECIFIC.H" #include <stdio.h> #include <assert.h> //Number of XA files on disc (XA1-17.XA) #define NUM_XA_FILES 17 #ifdef PSX #define XA_FILE_NAME "\XA%d.XA;1" #else #define XA_FILE_NAME "XA%d.XA" #endif unsigned short XATrackClip[136]; short XAFadeR...
<commit_before>#include<iostream> #define _USE_MATH_DEFINES #include<cmath> #include<cassert> #include<thread> #include<chrono> #include "ics3/ics" int main(int argc, char **argv) { { ics::ID id(2); ics::Angle degree = ics::Angle::newDegree(); try { ics::ICS3 ics("/dev/ttyUSB0", ics::ICSBaudrate::...
<commit_before>#include <primecount.h> #include <primesieve/soe/ParallelPrimeSieve.h> #include <stdint.h> #include <iostream> #include <cstdlib> #include <string> #include <iomanip> #include <ctime> using namespace std; namespace primecount { void assert_equal(const std::string& f1_name, int64_t x, int64_t f1_res, ...
<commit_before>#include "testApp.h" #include "CursorFeedback.hpp" #include "FigureFeedback.hpp" #include "TapFeedback.hpp" #include "Calibrator.hpp" //-------------------------------------------------------------- void testApp::Setup(){ new CursorFeedback(); new FigureFeedback(); new TapFeedback(); new...
<commit_before> /* * client.cpp * * Handles the client env. * * Created by Ryan Faulkner on 2014-06-08 * Copyright (c) 2014. All rights reserved. */ #include <iostream> #include <string> #include <vector> #include <regex> #include <assert.h> #include "column_types.h" #include "redis.h" #include "md5.h" #in...
<commit_before>#include "file.h" #include "file_p.h" #include "abstractfileengine.h" #include "abstractfileengine_p.h" #include "abstractfileengineplugin.h" #include "pluginmanager_p.h" #include <QtCore/QFutureWatcher> void FilePrivate::init() { state = File::Closed; openMode = QIODevice::NotOpen; buffer...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // task - a command line task list manager. // // Copyright 2006 - 2010, Paul Beckingham. // All rights reserved. // // This program is free software; you can redistribute it and/or modify it under // the terms of the GNU Ge...
<commit_before>#include "token.h" namespace flora { Token Tokens::LookupKeyword(const std::string &identifier) { auto result = lookup_table_.find(identifier); return result == lookup_table_.end() ? result->second : Token::Identifier; } #define T(name, literal, precedence) #name, const char *Tokens::name_[Tokens:...
<commit_before>#include "tree.h" #include "entry_points.h" #include "oid.h" #include "repository.h" /******************************************************************************/ // Tree static void _git_tree_free(git_tree *tree) { git_object_free((git_object *)tree); } Tree::Tree(git_tree *_tree) { tree =...
<commit_before>#ifndef units_hh_INCLUDED #define units_hh_INCLUDED #include "hash.hh" #include <type_traits> namespace Kakoune { template<typename RealType, typename ValueType = int> class StronglyTypedNumber { public: [[gnu::always_inline]] explicit constexpr StronglyTypedNumber(ValueType value) : ...
<commit_before>/** * Released under the same permissive MIT-license as Urho3D. * https://raw.githubusercontent.com/urho3d/Urho3D/master/License.txt */ #include <string> #include <Urho3D/Urho3D.h> #include <Urho3D/Core/CoreEvents.h> #include <Urho3D/Engine/Application.h> #include <Urho3D/Engine/Engine.h> #include <Urh...
<commit_before>/*** Copyright 2013-2016 Dave Cridland Copyright 2014-2016 Surevine Ltd 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>#include "SteamWebAPI.h" std::string SteamWebAPI::getMatchHistory(std::string numMatches){ std::string url = std::string("https://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/V001/?format=XML"); url.append(std::string("&key=").append(API_KEY)); url.append(std::string("&account_id=").append(AC...
<commit_before>/* * cclive Copyright (C) 2009 Toni Gundogdu. This file is part of cclive. * * cclive is free software: you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your option) a...
<commit_before>/// \file AddTaskEMCALPi0Calibration.C /// \brief Configuration of task AliAnalysisTaskEMCALPi0CalibSelection. /// /// Configuration of task AliAnalysisTaskEMCALPi0CalibSelection, which fills invariant mass /// histograms for each of the EMCal channels. It has to be executed in several iterations. /// //...
<commit_before>#include "Python.h" #include "orbit_mpi.hh" #include <iostream> //modules headers #include "wrap_orbit_mpi.hh" #include "wrap_bunch.hh" #include "wrap_utils.hh" #include "wrap_teapotbase.hh" #include "wrap_trackerrk4.hh" #include "wrap_spacecharge.hh" #include "wrap_linacmodule.hh" #include "wrap_colli...
<commit_before>/* Copyright (C) The LinBox group * ========LICENCE======== * This file is part of the library LinBox. * * LinBox 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 ...
<commit_before> #include "polyimport.h" #include "PolyPolygon.h" #include "OSBasics.h" using namespace Polycode; const struct aiScene* scene = NULL; bool hasWeights = false; vector<aiBone*> bones; unsigned int numBones = 0; unsigned int addBone(aiBone *bone) { for(int i=0; i < bones.size(); i++) { if(bones[i]->mN...
<commit_before>// // CRT.cpp // Clock Signal // // Created by Thomas Harte on 19/07/2015. // Copyright © 2015 Thomas Harte. All rights reserved. // #include "CRT.hpp" #include <stdarg.h> static const int bufferWidth = 512; static const int bufferHeight = 512; using namespace Outputs; CRT::CRT(int cycles_per_lin...
<commit_before>/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *******************************...
<commit_before>/* bid_request_endpoint_test.cc Eric Robert, 9 May 2013 Copyright (c) 2013 Datacratic Inc. All rights reserved. Tool to test a bid request endpoint. */ #include <memory> #include <boost/program_options/cmdline.hpp> #include <boost/program_options/options_description.hpp> #include <boost/progr...
<commit_before>/************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * Fo...
<commit_before>// MFEM Example 2 - Parallel Version // PETSc Modification // // Compile with: make ex2p // // Sample runs: // mpirun -np 4 ex2p -m ../../data/beam-quad.mesh --petscopts rc_ex2p // // Description: This example code solves a simple linear elasticity p...
<commit_before><commit_msg>[drape] remove extra copy in gpu_mem_tracker<commit_after><|endoftext|>
<commit_before> #include "Main.h" int main(int argc, char **argv) { //Create window, do basic setup if (SDL_Init(SDL_INIT_EVERYTHING) != 0) quit("SDL_Init", 1); SDL_Window *win = SDL_CreateWindow("NPC-Game", 10, 30, SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_SHOWN); if (win == nullptr) quit("SDL_CreateWin...
<commit_before>/* kopeteaway.cpp - Kopete Away Copyright (c) 2002 by Hendrik vom Lehn <[email protected]> Copyright (c) 2003 Olivier Goffart <[email protected]> Kopete (c) 2002-2003 by the Kopete developers <[email protected]> ****************************...
<commit_before>/* libscratch - Multipurpose objective C++ library. Copyright (C) 2012 - 2013 Angelo Geels 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 3 of th...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_BASEFUNCTIONSET_FEM_HH #define DUNE_GDT_BASEFUNCTIONSET_FEM_HH #include...
<commit_before>#ifndef DUNE_HELPER_TOOLS_GRID_INTERSECTION_HH #define DUNE_FEMTOOLS_GRID_INTERSECTION_HH #ifdef HAVE_CMAKE_CONFIG #include "cmake_config.h" #else #include "config.h" #endif // ifdef HAVE_CMAKE_CONFIG // dune-common includes #include <dune/common/fvector.hh> #include <dune/common/static_assert.hh> /...
<commit_before>/* * Copyright (c) 2012,2017-2018 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 im...
<commit_before>// Copyright (c) 2009-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. #if defined(HAVE_CONFIG_H) #include <config/bitcoin-config.h> #endif #include <arith_uint256.h> #include <cli...
<commit_before>/* * Copyright 2014 National ICT Australia Limited (NICTA) * * 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 * * Un...
<commit_before>/****** ootree: An easy to use and highly configurable C++ template tree class, using STL container style interfaces. Copyright (c) 2010 Erik Erlandson Author: Erik Erlandson <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in...
<commit_before>/* * Copyright (c) 2014 Advanced Micro Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice...
<commit_before>// UiaDll.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "Locator.h" #include "DynamicAssemblyResolver.h" #include "StringHelper.h" IUIAutomation* getGlobalIUIAutomation() ; using namespace RAutomation::UIA; using namespace RAutomation::UIA::Co...
<commit_before>#include "calc.h" #include <stdexcept> #include <sstream> #include <istream> #include <limits> int sign(const int i) { return (int(0) < i) - (i < int(0)); } void throw_overflow_if(const bool condition) { if (condition) throw std::invalid_argument { "overflow" }; } // Calculates the result of two num...
<commit_before>/************************************************************ cvcontourtree.cpp - $Author: lsxi $ Copyright (C) 2007 Masakazu Yonekura ************************************************************/ #include "cvcontour.h" /* * Document-class: OpenCV::CvContourTree * * Contour tree. CvContou...
<commit_before> #include "view.hpp" #include "view/shade.hpp" namespace View { void printErrors(const char *prefix = "OpenGL error(s): ") { GLenum err; bool once = false; std::ostringstream oss; while(!(err = glGetError())) { once = true; switch(err) { case GL_INVALID_ENUM: oss << "invalid en...
<commit_before><commit_msg>Adapt loplugin:derefnullptr to old Clang versions<commit_after><|endoftext|>
<commit_before>// Copyright (C) 2017, 2018 Rob Caelers <[email protected]> // // 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 righ...
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2013, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This application is open source and may be redistributed and/or modified * freely and without restriction, both in commericial and non commericial * applications, as long as this copyright notice is maintained. * * This a...
<commit_before>#include "MatrixTransform.h" #include "Group.h" #include <osg/Notify> #include <osgDB/FileNameUtils> #include <osgDB/FileUtils> #include <osgDB/Registry> using namespace osg; using namespace osgDB; class IVEReaderWriter : public ReaderWriter { public: virtual const char* className() const...
<commit_before>#include <iostream> #include <fstream> #include <sstream> #include <osg/Notify> #include <osgDB/Input> #include <osgDB/Registry> #include <osgDB/FileUtils> #include <osgDB/FileNameUtils> #include <osgDB/ReadFile> #include <osgDB/WriteFile> #include <osgDB/FileUtils> #include <osg/MatrixTransform> #incl...
<commit_before>#include <iostream> #include <fstream> #include <sstream> #include <osg/Notify> #include <osgDB/Input> #include <osgDB/Registry> #include <osgDB/FileUtils> #include <osgDB/FileNameUtils> #include <osgDB/ReadFile> #include <osgDB/WriteFile> #include <osgDB/FileUtils> #include <osg/MatrixTransform> #incl...
<commit_before>#include <sstream> #include <osg/Image> #include <osg/Group> #include <osg/Notify> #include <osgDB/FileNameUtils> #include <osgDB/FileUtils> #include <osgDB/fstream> #include <osgDB/Registry> #include <osgDB/Input> #include <osgDB/Output> using namespace osg; using namespace osgDB; // pull in symbols...
<commit_before>//----------------------------------------------------------------------------- // // This source file is part of the YETI open source package under the // BSD (2-clause) licence (see LICENCE file for details). // // (c) H Hathrell, R F L Evans 2014. All rights reserved. // //----------------------------...
<commit_before>#include <node_version.h> #if NODE_VERSION_AT_LEAST(0, 11, 1) && !defined(_MSC_VER) #include <sys/types.h> #endif #include <errno.h> #include <napi.h> #if defined(_MSC_VER) #include <time.h> #include <windows.h> // Pick GetSystemTimePreciseAsFileTime or GetSystemTimeAsFileTime depending // on which ...
<commit_before>// Copyright 2016 Las Venturas Playground. All rights reserved. // Use of this source code is governed by the MIT license, a copy of which can // be found in the LICENSE file. #include "playground/plugin/native_parser.h" #include <algorithm> #include <fstream> #include <set> #include <streambuf> #inclu...
<commit_before>#include "assembly_reader.h" #include <cstring> #include "../common/ptr_util.h" #include "opcodes.h" #include "../pe/coded_index.h" #include "../pe/pe_image_reader.h" #include "assembly.h" namespace stereo { namespace assemblies { AssemblyReader::AssemblyReader(const char* file_path) ...
<commit_before>#include <iostream> #include <QtGui> #include <limits> #include <cmath> #include <bitset> #include "./nbt.h" #include "./settings.h" #include "./colors.h" int main(int ac, const char* av[]) { if (ac != 2) { std::cerr << "Usage: ./nbtparse [filename | world number]" << std::endl; exit(1); } ...
<commit_before>/*------------------------------------------------------------------------- * * stack_trace.cpp * file description * * Copyright(c) 2015, CMU * * /peloton/src/backend/bridge/stack_trace.cpp * *------------------------------------------------------------------------- */ #include <cstdio> #inclu...
<commit_before>/******************************************************* * Copyright (c) 2015, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *******************************...
<commit_before>/* * Copyright (c) 2012 Aldebaran Robotics. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the COPYING file. */ #include <boost/filesystem.hpp> #include <locale> #include <cstdio> #include <cstdlib> #include <algorithm> #include <fcntl.h> #i...
<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> #pragma once #include <map> #include <string> #include <vector> #include "Werk/Commands/Command.hpp" #include "Werk/Commands/EchoCommand.hpp" #include "Werk/Logging/Logger.hpp" namespace werk { class CommandManager { public: CommandManager(Logger *log) : _log(log) { //Default commands _command...
<commit_before>#include "dsa_common.h" #include "broker_config.h" #include <boost/filesystem.hpp> #include <iostream> #include "module/logger.h" namespace fs = boost::filesystem; namespace dsa { BrokerConfig::BrokerConfig(int argc, const char* argv[]) { init(); load(); } const string_& BrokerConfig::get_file_p...
<commit_before>/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * 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 require...
<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. // // This test performs a series false positive checks using a list of URLs // against a known set of SafeBrowsing data. // // It uses ...
<commit_before>/* Copyright 2002-2013 CEA LIST This file is part of LIMA. LIMA 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 your option) ...
<commit_before>//================================================================================================= /*! // \file src/mathtest/lapack/OperationTest.cpp // \brief Source file for the LAPACK operation test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaz...
<commit_before>#include "Adafruit_MCP23008.h" // This is a library for the MCP23008 i2c port expander // These displays use I2C to communicate, 2 pins are required to // interface // Adafruit invests time and resources providing this open source code, // please support Adafruit and open-source hardware ...
<commit_before>#include <algorithm> #include <cmath> #include "gain_schedule.h" #include "MPU6050.h" namespace control { vector_t<state_size> StateEstimator::update(const vector_t<state_size>& x, const vector_t<input_size>& u) const { return A * x + B * u; } vector_t<ou...
<commit_before>/** * @file uart.cpp * * @brief Contains uart access functionality * * Example usage: * @code * * Uart uart0(&UBRR0, &UCSR0A, &UCSR0B, &UCSR0C, &UDR0); * uart0.Init(9600); * * @endcode */ #include <stdint.h> #include <avr/io.h> #include <avr/interrupt.h> #include "uart.h" #include "util/ri...
<commit_before>// // Aspia Project // Copyright (C) 2020 Dmitry Chapyshev <[email protected]> // // 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 3 of the License, or // (at your ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: property.cxx,v $ * * $Revision: 1.17 $ * * last change: $Author: kz $ $Date: 2007-05-10 09:59:17 $ * * The Contents of this file are made...
<commit_before>/* * Modularity.cpp * * Created on: 10.12.2012 * Author: cls */ #include "Modularity.h" namespace EnsembleClustering { Modularity::Modularity() : QualityMeasure() { } Modularity::~Modularity() { // TODO Auto-generated destructor stub } double Modularity::getQuality(const Clustering& ...
<commit_before>//===----------------------------------------------------------------------===// // // PelotonDB // // abstract_backend.h // // Identification: src/backend/storage/backend_file.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===------------------------...
<commit_before>/* This file is part of the Palabos library. * * Copyright (C) 2011-2015 FlowKit Sarl * Route d'Oron 2 * 1010 Lausanne, Switzerland * E-mail contact: [email protected] * * The most recent release of Palabos can be downloaded at * <http://www.palabos.org/> * * The library Palabos is free soft...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2011, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>/* * PoolingGenConn.cpp * * Created on: Apr 25, 2011 * Author: peteschultz */ #include "PoolingGenConn.hpp" namespace PV { PoolingGenConn::PoolingGenConn(const char * name, HyPerCol * hc, HyPerLayer * pre, HyPerLayer * post, HyPerLayer * pre2, HyPerLayer * post2, const char *...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/* * ConnectedComponents.cpp * * Created on: Dec 16, 2013 * Author: cls */ #include "ConnectedComponents.h" #include <set> namespace NetworKit { ConnectedComponents::ConnectedComponents() { } ConnectedComponents::~ConnectedComponents() { } void ConnectedComponents::run(const Graph& G) ...
<commit_before>/* bzflag * Copyright (c) 1993 - 2009 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>/*! * \author ddubois * \date 28-Apr-18. */ #ifndef NOVA_RENDERER_FRAMEBUFFER_MANAGER_H #define NOVA_RENDERER_FRAMEBUFFER_MANAGER_H #include <cstdint> #include <glm/glm.hpp> #include <vector> #include <vulkan/vulkan.h> #include "../../util/utils.hpp" namespace nova::renderer { class vulkan_rend...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>/* * SessionOptions.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero Genera...
<commit_before>/** * @file device_properties.hpp * * @brief Classes for holding CUDA device properties and * CUDA compute capability values. * */ #pragma once #ifndef CUDA_API_WRAPPERS_DEVICE_PROPERTIES_HPP_ #define CUDA_API_WRAPPERS_DEVICE_PROPERTIES_HPP_ #include <cuda/api/types.hpp> #include <cuda/api/constan...
<commit_before>/* L3G4200D implementation based on code by: * http://bildr.org/2011/06/l3g4200d-arduino/ * http://www.pieter-jan.com/node/7 * https://github.com/sparkfun/Tri-Axis_Gyro_Breakout-L3G4200D */ #include "GY50.hpp" #include "../../../utilities/Utilities.hpp" namespace { const uint8_t kGyroAdd...
<commit_before>/************************************************************************* * UrBackup - Client/Server backup system * Copyright (C) 2011 Martin Raiber * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
<commit_before>// -*- C++ -*- // The MIT License (MIT) // // Copyright (c) 2021 Alexander Samoilov // // 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 withou...
<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 "chrome/browser/extensions/extensions_service.h" #include "base/file_util.h" #include "base/values.h" #include "base/str...
<commit_before>/******************************************************************************** ** The MIT License (MIT) ** ** Copyright (c) 2013 Sascha Ludwig Häusler ** ** Permission is hereby granted, free of charge, to any person obtaining a copy of ** this software and associated documentation files (the "S...
<commit_before>#include "Halide.h" #include <cstdlib> #include <chrono> #include <iomanip> #include <fstream> #include <iostream> #include <fstream> #include <string> #include <time.h> #include "configure.h" #include "fused_resnet_block_generator_tiramisu.o.h" #include <tiramisu/utils.h> using namespace std; bool comp...
<commit_before>#include <aleph/math/SymmetricMatrix.hh> #include <aleph/persistenceDiagrams/Norms.hh> #include <aleph/persistenceDiagrams/PersistenceDiagram.hh> #include <aleph/persistentHomology/Calculation.hh> #include <aleph/topology/Simplex.hh> #include <aleph/topology/SimplicialComplex.hh> #include <aleph/topo...