text
stringlengths
54
60.6k
<commit_before>#include "fontContext.h" #include "platform.h" #define SDF_IMPLEMENTATION #include "sdf.h" #include <memory> #include <regex> #define DEFAULT "fonts/NotoSans-Regular.ttf" #define FONT_AR "fonts/NotoNaskh-Regular.ttf" #define FONT_HE "fonts/NotoSansHebrew-Regular.ttf" #define FONT_JA "fonts/DroidSansJ...
<commit_before>#include "tileManager.h" #include "scene/scene.h" #include "tile/mapTile.h" #include "view/view.h" #include <chrono> TileManager::TileManager() { } TileManager::TileManager(TileManager&& _other) : m_view(std::move(_other.m_view)), m_tileSet(std::move(_other.m_tileSet)), m_dataSources(std::...
<commit_before>#include "tileManager.h" #include "scene/scene.h" #include "tile/mapTile.h" #include "view/view.h" #include <chrono> #include <algorithm> TileManager::TileManager() { // Instantiate workers for (size_t i = 0; i < MAX_WORKERS; i++) { m_workers.push_back(std::unique_ptr<TileWorker>(new Ti...
<commit_before>// Natron /* 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 "AboutWindow.h" #include "Global/Macros.h" CLANG_DIAG_OFF(deprecated) #includ...
<commit_before>#include "kernel.h" #include "geometries.h" #include "ilwisdata.h" #include "ellipsoid.h" #include "geodeticdatum.h" #include "projection.h" #include "coordinatesystem.h" #include "conventionalcoordinatesystem.h" #include "proj4parameters.h" using namespace Ilwis; ConventionalCoordinateSystem::Conventi...
<commit_before>// // MFM.cpp // Clock Signal // // Created by Thomas Harte on 18/09/2016. // Copyright 2016 Thomas Harte. All rights reserved. // #include "Encoder.hpp" #include "Constants.hpp" #include "../../Track/PCMTrack.hpp" #include "../../../../NumberTheory/CRC.hpp" #include <cassert> #include <set> usin...
<commit_before>//================================================================================================= // Copyright (C) 2017 Olivier Mallet - All Rights Reserved //================================================================================================= #ifn...
<commit_before>// // vtTerrainScene - Container class for all of the terrains loaded // // Copyright (c) 2001-2003 Virtual Terrain Project // Free for all uses, see license.txt for details. // #include "vtlib/vtlib.h" #include "vtdata/vtLog.h" #include "TerrainScene.h" #include "Light.h" #include "SkyDome.h" #include ...
<commit_before>#include "atlas/utils/Scene.hpp" #include "atlas/math/Math.hpp" #include "atlas/core/Macros.hpp" #include "atlas/gl/GL.hpp" #include "atlas/utils/Application.hpp" #include "atlas/core/GLM.hpp" namespace atlas { namespace utils { Scene::Scene() { } Scene::~Scene() ...
<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. #ifdef __ANDROID__ #include "rust_android_dummy.h" #include <math.h> #include <errno.h> int backtrace(void **array, int size) { retur...
<commit_before>// MediaInfo - All info about media files // Copyright (C) 2002-2008 Jerome Martinez, [email protected] // // 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 ve...
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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) any later version. cpp-ethereum is dis...
<commit_before>/* * Copyright 2015 BrewPi / Elco Jacobs * * This file is part of BrewPi. * * BrewPi 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...
<commit_before>#include <stdio.h> #include "../SynCommonLib/RelationsIterator.h" #include "../common/SyntaxHolder.h" void GetAnanlytForms(const CSentence& Sentence, string& Res) { for( int WordNo = 0; WordNo<Sentence.m_Words.size(); WordNo++ ) { const CSynWord& W = Sentence.m_Words[WordNo]; if (...
<commit_before>/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #include <solver/solver.hh> #include <graph/graph.hh> #include <graph/dimacs.hh> #include <max_biclique/naive_max_biclique.hh> #include <max_biclique/cc_max_biclique.hh> #include <max_biclique/ccd_max_biclique.hh> #include <max_biclique/degree_max_bicli...
<commit_before>#pragma once //=====================================================================// /*! @file @brief FT5206 class @n FocalTech @n Capacitive Touch Panel Controller ドライバー @author 平松邦仁 ([email protected]) @copyright Copyright (C) 2018 Kunihito Hiramatsu @n Released under the MIT license ...
<commit_before>// $Id: Hash_test.C,v 1.5 2000/06/16 08:45:51 oliver Exp $ #include <BALL/CONCEPT/classTest.h> /////////////////////////// #include <BALL/COMMON/hash.h> /////////////////////////// START_TEST(class_name, "$Id: Hash_test.C,v 1.5 2000/06/16 08:45:51 oliver Exp $") ///////////////////////////////////////...
<commit_before>int main(int argc, char *argv[]) { }<commit_msg>finished 3.2 std::lits & std::copy to std::vector<commit_after># include < cstdlib > // std :: rand () # include < vector > // std :: vector < > # include < list > // std :: list < > # include < iostream > // std :: cout # include < iterator > // std :: o...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkHierarchicalGraphPipeline.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for d...
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
<commit_before>/** * * Copyright (c) 2021 Project CHIP 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 * * ...
<commit_before>// Copyright (c) 2019 ASMlover. 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, this list o...
<commit_before>/************************************************************************* * * $RCSfile: measctrl.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: cl $ $Date: 2002-06-06 09:08:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#include <memory> #include "core/armor_up.h" #include "daemon.h" #include "dataset/dataset.h" #include "micro_http_server.h" #include "supp/helpers.h" #include "utils/query.h" #include "utils/formatter.h" using micro_http_server::Daemon; using micro_http_server::PostHandler; using micro_http_server::S...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: multipat.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: obo $ $Date: 2006-10-12 12:19:20 $ * * The Contents of this file are made...
<commit_before>/******************************************************************************/ /** @file @author Scott Fazackerley @brief Wraps the Arduino Serial object and provides a simple printf implementation for C. @copyright Copyright 2016 The University of British Columbia, IonDB Project Contribut...
<commit_before>/************************************************************************* * * $RCSfile: optinet2.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: rt $ $Date: 2005-01-28 15:41:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>//===- DomPrinter.cpp - DOT printer for the dominance trees ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/************************************************************************* * * $RCSfile: pagectrl.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hjs $ $Date: 2000-11-06 19:19:26 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>#include <iostream> #include <string> void run_part_one() { } void run_part_two() { } int main(int argc, char* argv[]) { if (argc > 1) { if (std::string(argv[1]) == "--part_two") { run_part_two(); } else { std::cout << "Usage: day16 [--part_two]" << std::end...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: srchcfg.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-08 23:55:42 $ * * The Contents of this file are made a...
<commit_before><commit_msg>fdo#56980 drop cached shape engine on invalidation<commit_after><|endoftext|>
<commit_before><commit_msg>GRAPHICS: Check that the textureSRVs and/or samplers are non-empty before trying to iterate<commit_after><|endoftext|>
<commit_before>#include <QNetworkInterface> #include "DiscoveryServer.h" /* TODO: implement a security process based on activation * Client send Discovery process with an UUID, EMS check if * this UUID is known, if it's the case, we accept the request * and send back the DISCOVERY answer. * If it's not the case, ...
<commit_before>#include "Assembler.hpp" #include "VMOpcodes.hpp" #include <sstream> #include <cstdio> namespace wvm { static void stripAsmComments(std::string& str) { bool erasing = false; str += ' '; for(std::size_t i = 1u; i < str.size(); ++i) { if(str[i] == '\n') erasing = false; i...
<commit_before>//===--- CGException.cpp - Emit LLVM Code for C++ exceptions --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* ATS is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Authors: Ethan Coon ([email protected]) */ //! An evaluator for calculating the water table height, relative to the surface. #include "wate...
<commit_before>#include "../includes/AxisInertia.hpp" #include "../includes/pdb/CGReader.hpp" #include "../includes/para/MassConst.hpp" using namespace coffeemill; int main(int argc, char *argv[]) { if(argc != 3) { std::cerr << "Usage: ./inertia <filename>.pdb [chain IDs]" << std::endl; std::ce...
<commit_before><commit_msg>fdo#54620 do not use vector iterator after insert<commit_after><|endoftext|>
<commit_before><commit_msg>dead increment (clang)<commit_after><|endoftext|>
<commit_before>#include "tcp_socket.h" #ifndef _WIN32 #define POSIX #endif //Include these files if the platform is POSIX #ifdef POSIX #include <sys/stat.h> #include <sys/socket.h> #include <unistd.h> #include <arpa/inet.h> #include <sys/types.h> #include <netinet/in.h> #endif #include <cstring> #include <thread> #i...
<commit_before>#if !defined( __CINT__) || defined(__MAKECINT__) #include <iostream> #include <AliCDBManager.h> #include <AliCDBStorage.h> #include <AliCDBEntry.h> #include <AliCDBMetaData.h> #include "AliTRDgeometry.h" #include "AliTRDCalROC.h" #include "AliTRDCalChamberPos.h" #include "AliTRDCalStackPos.h" #includ...
<commit_before>//===--- DebugTypeInfo.cpp - Type Info for Debugging ----------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/*************************************************************************** * Copyright (C) 2005-2008 by the FIFE team * * http://www.fifengine.de * * This file is part of FIFE. ...
<commit_before>/* +---------------------------------------------------------------------------+ | The Mobile Robot Programming Toolkit (MRPT) | | | | http://www.mrpt.org/ ...
<commit_before>//===--- Immediate.cpp - the swift immediate mode -------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>#pragma once #include "constants.hpp" #include "filesystem.hpp" #include <fcntl.h> #include <sstream> #include <string> #include <sys/file.h> class process_utility final { public: static bool lock_single_application(const std::string& pid_file_path) { auto fd = open(pid_file_path.c_str(), O_WRONL...
<commit_before> #include "register_types.h" #include "object_type_db.h" #include "reference.h" // Wrap for oda #include "engine.h" #include <vector> #include <string> using std::string; using std::vector; const static string paths[1] = {"patches"}; class ODAModule : public Reference { OBJ_TYPE(ODAModule, Referen...
<commit_before>#pragma once #include "constants.hpp" #include "filesystem.hpp" #include <fcntl.h> #include <sstream> #include <string> #include <sys/file.h> namespace krbn { class process_utility final { public: static bool lock_single_application(const std::string& pid_file_path) { auto pid_directory = filesys...
<commit_before>/** * This file is part of the CernVM File System. */ #define __STDC_FORMAT_MACROS #include "swissknife_diff_tool.h" #include <inttypes.h> #include <stdint.h> #include "cvmfs_config.h" #include <vector> #include "directory_entry.h" #include "download.h" namespace swissknife { DiffTool::DiffTool(...
<commit_before><commit_msg>svx: simplify this<commit_after><|endoftext|>
<commit_before><commit_msg>Don't set Referer when accessing embedded media<commit_after><|endoftext|>
<commit_before>#include <fstream> #include <iostream> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string> #include <time.h> #include <unistd.h> using namespace std; double pi = 3.141592653589793238463; double todeg = 180.0 / pi; double torad = pi / 180.0; double hstep = 1.0 / 24; double mstep =...
<commit_before>/************************************************************************* * * $RCSfile: unoctabl.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: af $ $Date: 2002-02-13 10:48:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/** * This file is part of TelepathyQt4 * * @copyright Copyright (C) 2010 Collabora Ltd. <http://www.collabora.co.uk/> * @copyright Copyright (C) 2010 Nokia Corporation * @license LGPL 2.1 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Les...
<commit_before>/************************************************************************* * * $RCSfile: unoedsrc.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: svesik $ $Date: 2004-04-21 14:14:37 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/* This program tests class LinkedList */ #include<iostream> #include<vector> #include "linkedlist.h" // tests insertion void testInsert(){ std::cout<<"Test Insert\n"; // define vector of values std::vector<int> values = {6,5,4,3,2,1}; // create linked list LinkedList ll; // insert values i...
<commit_before>/************************************************************************* * * $RCSfile: unoforou.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: cl $ $Date: 2001-08-22 14:30:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/*! \file ws.cpp \brief WebSocket C++ Library implementation \author Ivan Shynkarenka \date 22.05.2019 \copyright MIT License */ #include "server/ws/ws.h" #include "string/encoding.h" #include "string/format.h" #include <algorithm> #include <openssl/sha.h> namespace CppServer { na...
<commit_before>//=====================================================================// /*! @file @brief MTU サンプル @author 平松邦仁 ([email protected]) @copyright Copyright (C) 2022 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ //==========...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<commit_before>//== HTMLRewrite.cpp - Translate source code into prettified HTML --*- C++ -*-// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before><commit_msg>SwNoTextFrm::Paint: stop using SwViewShell::GetOut()<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: drawdoc.cxx,v $ * * $Revision: 1.22 $ * * last change: $Author: kz $ $Date: 2007-05-10 15:58:07 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: edredln.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2007-09-27 08:46:31 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: drawfont.hxx,v $ * * $Revision: 1.39 $ * * last change: $Author: obo $ $Date: 2008-02-26 09:45:41 $ * * The Contents of this file are mad...
<commit_before>//===- SystemUtils.cpp - Utilities for low-level system tasks -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before><commit_msg>fix a big pile of the crash tester .doc import failures<commit_after><|endoftext|>
<commit_before><commit_msg>coverity#1158240 Dereference before null check<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: wrtxml.hxx,v $ * * $Revision: 1.11 $ * * last change: $Author: vg $ $Date: 2006-03-16 12:44:00 $ * * The Contents of this file are made a...
<commit_before>/** @file @brief Implementation @date 2014 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2014 Sensics, 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 ...
<commit_before>//===-- asan_malloc_mac.cc ------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* Copyright 2016 Nervana Systems 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 or agre...
<commit_before>#include <iostream> // GLEW #define GLEW_STATIC #include <GL/glew.h> // GLFW #include <GLFW/glfw3.h> // SOIL #include "SOIL2/SOIL2.h" // GLM Mathematics #include <glm.hpp> #include <gtc/matrix_transform.hpp> #include <gtc/type_ptr.hpp> // Other includes #include "Shader.h" // Function prototypes void key...
<commit_before>#ifndef KENGINE_RECAST_MAX_AGENTS # define KENGINE_RECAST_MAX_AGENTS 1024 #endif #include "EntityManager.hpp" #include "data/ModelComponent.hpp" #include "data/PathfindingComponent.hpp" #include "data/PhysicsComponent.hpp" #include "data/TransformComponent.hpp" #include "helpers/instanceHelper.hpp" #i...
<commit_before> #include "Network.hpp" #include "Server.hpp" #include "CoordinateSegmentation.hpp" #include "Message.hpp" #include "ServerMessageQueue.hpp" #include "ServerMessageReceiver.hpp" #include "Statistics.hpp" #include "Options.hpp" #include "Forwarder.hpp" #include "ObjectSegmentation.hpp" #include "OSegLook...
<commit_before> #include "config.h" // boost #include <boost/filesystem.hpp> // dune-common #include <dune/common/exceptions.hh> #include <dune/common/mpihelper.hh> #include <dune/common/timer.hh> // dune-grid-multiscale #include <dune/grid/multiscale/provider/cube.hh> // dune-stuff #include <dune/stuff/common/para...
<commit_before>#include "boost_defs.hpp" #include "hid_manager.hpp" #include "hid_observer.hpp" #include <boost/optional/optional_io.hpp> namespace { class dump_hid_value final { public: dump_hid_value(const dump_hid_value&) = delete; dump_hid_value(void) { hid_manager_.device_detected.connect([this](auto&& ...
<commit_before>/* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 op...
<commit_before>// // calcPWP.cpp // // // Created by Evan McCartney-Melstad on 1/10/15. // // #include "calcPWP.h" #include <iostream> #include <vector> #include <fstream> #include <thread> #include <string> int calcPWPfromBinaryFile (std::string binaryFile, unsigned long long int numLoci, const int numIndividua...
<commit_before>#include "Player.h" #include <Debug.h> #include "Product.h" #include "Playlist.h" using namespace OpenHome; using namespace OpenHome::MediaPlayer; // Track const Track* Track::iZero = new Track(0, Brn(""), Brn("")); Track::Track(TUint aId, const Brx& aUri, const Brx& aMetadata) : iId(aId) { i...
<commit_before>#include <Vertica.h> using Vertica::ScalarFunction; using Vertica::ScalarFunctionFactory; extern "C" { #include <json/selector.h> #include <json/slice.h> } class JsonQuery : public ScalarFunction { public: virtual void processBlock(Vertica::ServerInterface &, Vertica::Bloc...
<commit_before> #include <string> #include <iostream> #include <algorithm> #include <mutex> #include "boost/lockfree/queue.hpp" #include "LogServer.hpp" struct LogServer::LogServerImpl { LogServerImpl() : m_messageQueue(1024) {} public: typedef LogMessage queue_element_type; typedef boost::lockfree::queue<queue...
<commit_before>#pragma once #include <eosio/blockvault_client_plugin/blockvault.hpp> #include <eosio/chain_plugin/chain_plugin.hpp> namespace eosio { namespace blockvault { template <typename BP> struct blockvault_sync_strategy : public sync_callback { blockvault_sync_strategy(block_vault_interface* blockvault, BP...
<commit_before>#include "MenuScene.hpp" #include "MenuBehaviors.hpp" MenuScene::MenuScene(SceneId id, Game* game) : Scene(id, game) { _screenAct = nullptr; } MenuScene::~MenuScene() { delScreenAct(); } void MenuScene::init() { _clk.reset(); screen(MENU_SCR_TITLE); _state = SCENE_LOADED; } void MenuScen...
<commit_before>// ***************************************************************************** // // Copyright (c) 2014, Southwest Research Institute® (SwRI®) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following cond...
<commit_before>/* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 op...
<commit_before>// Copyright Hugh Perkins 2016, 2017 // 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 ...
<commit_before>/* * Copyright (C) 2011, British Broadcasting Corporation * All Rights Reserved. * * Author: Philip de Nier * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source cod...
<commit_before>/* * Copyright (C) 2011, British Broadcasting Corporation * All Rights Reserved. * * Author: Philip de Nier * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source cod...
<commit_before>#include "nanocv/string.h" #include "nanocv/measure.hpp" #include "nanocv/math/gauss.hpp" #include "nanocv/vision/image.h" #include "nanocv/math/random.hpp" #include "nanocv/math/numeric.hpp" #include "nanocv/tensor/random.hpp" #include "nanocv/vision/gradient.hpp" #include "nanocv/vision/convolve.hpp" #...
<commit_before><commit_msg>Fix regression on FAT files (from 64-bit support).<commit_after><|endoftext|>
<commit_before>#include <FAST/Streamers/KinectStreamer.hpp> #include "KinectTracking.hpp" #include "FAST/Data/Image.hpp" #include "FAST/Data/Mesh.hpp" namespace fast { KinectTracking::KinectTracking() { createInputPort<Image>(0); createInputPort<Mesh>(1); createOutputPort<Image>(0, OUTPUT_DEPENDS_ON_INP...
<commit_before>//===-- ProcessLauncherWindows.cpp ------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>#ifndef GUARD_persistent_object_hpp #define GUARD_persistent_object_hpp #include "database_connection.hpp" #include <jewel/decimal.hpp> #include <boost/optional.hpp> #include <boost/shared_ptr.hpp> #include <stdexcept> #include <string> namespace sqloxx { /** * Class template for creating objects p...
<commit_before>#include <blackhole/sink/stream.hpp> #include "global.hpp" using namespace blackhole; TEST(stream_t, Class) { sink::stream_t sink1(sink::stream_t::output_t::stdout); sink::stream_t sink2(sink::stream_t::output_t::stderr); UNUSED(sink1); UNUSED(sink2); } TEST(stream_t, IsThreadUnsafe) { ...
<commit_before>#include "volume_renderer.h" TLANG_NAMESPACE_BEGIN bool use_gui = false; auto volume_renderer = [](std::vector<std::string> cli_param) { auto param = parse_param(cli_param); bool gpu = param.get("gpu", true); TC_P(gpu); CoreState::set_trigger_gdb_when_crash(true); Program prog(gpu ? Arch::g...
<commit_before>#ifndef CONSOLEPLAYER_HPP #define CONSOLEPLAYER_HPP #include <istream> #include "model/IPlayer.hpp" namespace ui { namespace text { class ConsolePlayer : public model::IPlayer { public: ConsolePlayer(std::istream&); void connectGameState(const std::vector<Card>& cardsView, const std::vector<Call>& ...
<commit_before>#include "../codecvt/codecvt_specializations.h" #include "../codecvt/utf_conversion_helpers.h" #include <cstring> #include "cppunit-header.h" #include "multistring.h" // utility wrapper to adapt locale-bound facets for wstring/wbuffer convert template<class Facet> class deletable_facet : public Facet ...
<commit_before>/** @file @brief a sample of BLS signature see https://github.com/herumi/bls @author MITSUNARI Shigeo(@herumi) @license modified new BSD license http://opensource.org/licenses/BSD-3-Clause */ #include <mcl/bn256.hpp> #if CYBOZU_CPP_VERSION >= CYBOZU_CPP_VERSION_CPP11 #include <random> std::random...