text
stringlengths
54
60.6k
<commit_before>/* * Copyright (C) 2008-2012 See the AUTHORS file for details. * Copyright (C) 2006-2007, CNU <bshalm@broadpark.no> (http://cnu.dieplz.net/znc) * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * b...
<commit_before>// Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #include "gtest/gtest.h" #include <Utils/ResponseUtils....
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // create_executor.cpp // // Identification: src/executor/create_executor.cpp // // Copyright (c) 2015-17, Carnegie Mellon University Database Group // //===--------------------------...
<commit_before>/************************************************************************* * * $RCSfile: PreparedStatement.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2004-11-09 12:18:07 $ * * The Contents of this file are made available subject to the terms of * either of the follow...
<commit_before>/************************************************************************* * * $RCSfile: ResultSetMetaData.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-18 16:14:26 $ * * The Contents of this file are made available subject to the terms of * either of the fo...
<commit_before>/**************************************************************************** * * Copyright (c) 2015 Estimation and Control Library (ECL). All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
<commit_before>// Copyright 2013 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 "sync/internal_api/public/base/cancelation_signal.h" #include "base/bind.h" #include "base/message_loop/message_loop.h" #include ...
<commit_before>#include "Plane.h" #include "Mesh.h" #include "Texture.h" #include "Logger.h" #include "MeshLoader.h" #include "Engine.h" #include <SDL_main.h> #include <iostream> #include <map> #include <random> #include <components/PerspectiveCamera.h> #include "Menu.h" class DocEditor : public Game { public: virtu...
<commit_before>#ifndef TEST_STRASSEN_MATRIX_MULTIPLICATION_HPP_ #define TEST_STRASSEN_MATRIX_MULTIPLICATION_HPP_ #include <boost/test/unit_test.hpp> #include "types/matrix.hpp" #include "algorithms/math/strassen_matrix_multiplication.hpp" BOOST_AUTO_TEST_CASE(test_smm_empty_matrices) { BOOST_CHECK(Matrix<int>() ...
<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>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: wrap_ITKBasicFilters.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See...
<commit_before>/* ** Copyright 2011 Merethis ** ** This file is part of Centreon Clib. ** ** Centreon Clib 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 yo...
<commit_before>/* ** Copyright 1986, 1987, 1988, 1989, 1990, 1991 by the Condor Design Team ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, ** provided that the above copyright notice appear in all copies and that ** both ...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
<commit_before>/* Copyright (C) 2009-2010 George Kiagiadakis <kiagiadakis.george@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, ...
<commit_before>/* * Copyright (c) 2003-2016 Rony Shapiro <ronys@pwsafe.org>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ ...
<commit_before>#include "RadixSort.h" #include <random> RadixSort::RadixSort (GLuint _numblocks) : blocksize (512), numblocks (_numblocks) { counting.CompileShader (GL_COMPUTE_SHADER, "shaders/radixsort/counting.glsl", "shaders/simulation/include.glsl"); counting.Link (); blockscan.CompileShader (GL_COMPUTE_SHADER...
<commit_before>/* Copyright 2017 Jonathan Bayle, Thomas Medioni 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 la...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: http://www.qt-project.org/ ** ** ** GNU Lesser General Public License Usage ** ** This file may be used ...
<commit_before>#include "RayTracer.hpp" #include "Tree.hpp" #include <ctime> //temporary variables Vec3Df testRayOrigin; Vec3Df testRayDestination; string mesh; extern unsigned int textures[2]; clock_t lastFrameTime; float fps; unsigned int framesSinceLastDraw = 30; string screenFPS; extern unsigned int previewResX; e...
<commit_before>#include "ucfb_reader.hpp" #include <stdexcept> Ucfb_reader::Ucfb_reader(const gsl::span<const std::byte> bytes) : _mn{reinterpret_span_as<Magic_number>( gsl::span<const std::byte, sizeof(Magic_number)>{&bytes[0], sizeof(Magic_number)}...
<commit_before>#include <unistd.h> #include <stdio.h> #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/wait.h> #include <string> #include "out.hpp" Rout::Rout() {} Rout::Rout(const string &filename) { file = filename; } void Rout::truncate(const string &filename) { int out; out = open...
<commit_before>#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "FireSimulator.h" #include "../World.h" #include "../BlockID.h" #include "../Defines.h" #include "../Chunk.h" // Easy switch for turning on debugging logging: #if 0 #define FLOG LOGD #else #def...
<commit_before>/****************************************************************************** The MIT License(MIT) Embedded Template Library. https://github.com/ETLCPP/etl https://www.etlcpp.com Copyright(c) 2020 jwellbelove Permission is hereby granted, free of charge, to any person obtaining a copy of this softwa...
<commit_before>/****************************************************************************** The MIT License(MIT) Embedded Template Library. https://github.com/ETLCPP/etl https://www.etlcpp.com Copyright(c) 2020 jwellbelove Permission is hereby granted, free of charge, to any person obtaining a copy of this softwa...
<commit_before>/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. * * All rights reserved. Email: russ@q12.org Web: www.q12.org * * ...
<commit_before><commit_msg>reorganize alias<commit_after><|endoftext|>
<commit_before>/* This file is part of the Cagibi daemon. Copyright 2010-2011 Friedrich W. H. Kossebau <kossebau@kde.org> 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 v...
<commit_before>/* * Copyright (c) 2006 The Regents of The University of Michigan * 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 copyri...
<commit_before>// // nthRoot.cpp // Calculator // // Created by Gavin Scheele on 3/27/14. // Copyright (c) 2014 Gavin Scheele. All rights reserved. // #include "nthRoot.h" using namespace std; nthRoot::nthRoot(int root, int operand, int coefficient) { this->type = "nthRoot"; this->operand = operand; th...
<commit_before><commit_msg>Add empty method for thread safe queue<commit_after><|endoftext|>
<commit_before>// Copyright: 2014, Ableton AG, Berlin. All rights reserved. //! @note Turn to one to check if our custom accumulate has any //! performance cost or not. // // #define ABL_REDUCE_WITH_ACCUMULATE 1 // #define ABL_REDUCE_NON_VARIADIC 0 #include <ableton/build_system/Warnings.hpp> #include <ableton/funken...
<commit_before><commit_msg>-Werror,-Wunused-const-variable<commit_after><|endoftext|>
<commit_before><?hh // strict /** * @copyright 2010-2015, The Titon Project * @license http://opensource.org/licenses/bsd-license.php * @link http://titon.io */ namespace Titon\Context; use Closure; use ArrayAccess; use ReflectionClass; use ReflectionMethod; use ReflectionFunction; use ReflectionExce...
<commit_before>#include "BedFile.h" #include "ToolBase.h" #include "NGSHelper.h" #include "BasicStatistics.h" #include "FastaFileIndex.h" #include "Settings.h" #include "Exceptions.h" #include <cmath> class ConcreteTool : public ToolBase { Q_OBJECT public: ConcreteTool(int& argc, char *argv[]) : ToolBase(argc, ...
<commit_before>/* * Copyright (C) 2008-2013 The Communi Project * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Th...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
<commit_before>/** * The Seeks proxy and plugin framework are part of the SEEKS project. * Copyright (C) 2009-2011 Emmanuel Benazera <ebenazer@seeks-project.info> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published b...
<commit_before>/* libs/graphics/ports/SkFontHost_fontconfig.cpp ** ** Copyright 2008, 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/...
<commit_before>/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #ifndef XENFRONT_HH_ #define XENFRONT_HH_ #include <memory> #include "net.hh" #include "core/sstring.hh" #include "core/xen/gntalloc.hh" std::unique_ptr<net::device> create_xenfront_net_device(boost::program_options::variables_map opts, bool userspac...
<commit_before>/* * Copyright © 2010 Intel Corporation * * 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 to use, copy, mod...
<commit_before>// // Copyright (c) 2017, Boris Popov <popov@whitekefir.ru> // // 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 "Semaphore.hpp" #include "E...
<commit_before>#include "tidyup_state_creators/stateCreatorRobotPoseGrounding.h" #include <pluginlib/class_list_macros.h> #include <visualization_msgs/MarkerArray.h> #include <angles/angles.h> #include <symbolic_planning_utils/extractPose.h> #include <symbolic_planning_utils/load_tables.h> #include <symbolic_planning_u...
<commit_before>// //// libavg - Media Playback Engine. //// Copyright (C) 2003-2011 Ulrich von Zadow //// //// 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 //// versi...
<commit_before> /* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkMutex.h" #include "SkOnce.h" #include "gl/GrGLInterface.h" #include "gl/GrGLAssembleInterface.h" #include "gl/command_buffer/GLTestContext_command_...
<commit_before>// Sh: A GPU metaprogramming language. // // Copyright 2003-2005 Serious Hack Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the Licen...
<commit_before>/* * gl_shader.cpp * * Created on: 24.05.2012 * */ #include "graphics/gl_extensions.h" #include "graphics/utils/gl_shader.h" #include <stdio.h> #include "scripts/LuaConfig.h" #include <map> #include "config.h" #include "safestring.h" #include "hacks.h" #include "debug.h" #include <cmath> //#defi...
<commit_before>#include "ledostalker.h" #include <QThread> #include <QDebug> class LEDOSTalkerPrivate { public: LEDOSTalkerPrivate() { serial = NULL; } ~LEDOSTalkerPrivate() { if( serial != NULL && serial->isOpen() ) serial->close(); } QSerialPort *serial; }; LEDOST...
<commit_before>/*========================================================================= Library: CTK Copyright (c) Kitware 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>#include<iostream> #include<vector> #include<cstdio> #include<string> #include<thread> #include<dirent.h> #include<chrono> #include<sys/socket.h> #include<netinet/in.h> #include<sys/types.h> #include<arpa/inet.h> #include<fcntl.h> #include<unistd.h> #include<cstdlib> #include<sys/wait.h> #include<string....
<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/system/input_device_settings.h" #include <stdarg.h> #include <string> #include <vector> #include "b...
<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/gtk/options/customize_sync_window_gtk.h" #include <gtk/gtk.h> #include <string> #include "app/gtk_signal.h"...
<commit_before>#ifndef TOKENIZER_H #define TOKENIZER_H #include <list> #include <string> #include <stdexcept> #include <sstream> #include <iterator> namespace sexp_cpp { class Tokenizer { public: std::list<std::string> Tokenize(const std::string& input) { std::string code = input; ...
<commit_before> #include <climits> #include <cstdlib> #include <exception> #include <sstream> #include "Utilities.h" #if defined(_MSC_VER) #include <windows.h> #include <Shlwapi.h> #include <vector> #endif std::string getAbsolutePath(const std::string &path) { std::string result = ""; #if defined(_MSC_VER) result....
<commit_before>#include "incline_mgr.h" #include "incline_dbms.h" #include "incline_driver_standalone.h" #include "incline_util.h" using namespace std; vector<string> incline_driver_standalone::insert_trigger_of(const string& src_table) const { vector<string> body; for (vector<incline_def*>::const_iterator di = m...
<commit_before>#include "incline_mgr.h" #include "incline_dbms.h" #include "incline_driver_standalone.h" #include "incline_util.h" using namespace std; void incline_driver_standalone::insert_trigger_of(trigger_body& body, const string& src_table) const { for (vector<incline_def*>::const_iterator di = mgr_...
<commit_before>#pragma once /* libsoundbag Copyright (c) 2017 Togo Nishigaki This software released under MIT License http://opensource.org/licenses/mit-license.php */ #ifndef libsoundbag_threads_h #define libsoundbag_threads_h namespace soundbag { /* usage: { soundbag::try_lock<mutex> locker(_mutex); ...
<commit_before>#ifndef CONTAINERS_SCOPED_HPP_ #define CONTAINERS_SCOPED_HPP_ #include <string.h> #include "errors.hpp" #include "containers/archive/archive.hpp" // Like boost::scoped_ptr only with release, init, no bool conversion, no boost headers! template <class T> class scoped_ptr_t { public: scoped_ptr_t() ...
<commit_before>#include <iostream> #include <fstream> #include <cmath> #include <cstring> #include <vector> #include "Page.h" using std::cout; using std::cerr; using std::endl; using std::string; using std::stoi; using std::ifstream; using std::ofstream; bool checkParameters(int argc, char* argv[],ifstream& programLi...
<commit_before>#include <iostream> #include <signal.h> #include <sys/socket.h> #include <netinet/in.h> #include <netdb.h> #include <strings.h> #include <pthread.h> #include <unistd.h> #include <string.h> using std::cout; using std::cin; using std::endl; using std::string; const int PORT_NUMBER = 9993; void controlCSi...
<commit_before>/*ckwg +5 * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "registration.h" #include <vistk/pipeline/process_registry.h> #inclu...
<commit_before>#include <boost/python.hpp> #include <Magick++/Drawable.h> #include <Magick++.h> using namespace boost; using namespace boost::python; void __Drawable() { implicitly_convertible< Magick::DrawableBase, Magick::Drawable >(); class_< Magick::DrawableBase, noncopyable >("DrawableBase", no_init)...
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2014 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade 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 Foundat...
<commit_before>/* _______ __ __ __ ______ __ __ _______ __ __ * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / * / / /__ / / // / // / // / / / ___ / // ___ / // /| ' / / * / /_// /\ / /_// / ...
<commit_before>/* * SpriteBatch.cpp * moFlo * * Created by Scott Downie on 06/10/2010. * Copyright 2010 Tag Games. All rights reserved. * */ #include <ChilliSource/Rendering/Sprite/DynamicSpriteBatcher.h> #include <ChilliSource/Rendering/Base/RenderSystem.h> #include <ChilliSource/Core/Math/MathUtils.h> #...
<commit_before>/* * Copyright (c) 2011 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>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "shared_operation_throttler.h" #include <condition_variable> #include <cassert> #include <functional> #include <mutex> namespace vespalib { namespace { class NoLimitsOperationThrottler fin...
<commit_before>/* * Copyright 2007-2018 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...
<commit_before>/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013 Vladimír Vondruš <mosra@centrum.cz> 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 r...
<commit_before>namespace math { namespace detail { template<class Policy> inline float lerp_check_mu(float t) { QASSERT(t >= 0 && t <= 1); return t; } template<> inline float lerp_check_mu<safe>(float t) { return clamp(t, 0.f, 1.f); } } template<class Policy = stan...
<commit_before>// ////////////////////////////////////////////////////////////////////// #ifndef __STDAIR_BOM_EVENTTYPES_HPP #define __STDAIR_BOM_EVENTTYPES_HPP // ////////////////////////////////////////////////////////////////////// // Import section // ///////////////////////////////////////////////////////////////...
<commit_before>#include "../../../ui.h" #include "nbind/nbind.h" #include <uv.h> #include <Windows.h> bool running = false; uv_thread_t *thread; uv_async_t * asyncCall; bool runningSteps = false; static void eventsPending(uv_async_t* handle) { Nan::HandleScope scope; while (uiMainStep(0)); runningSteps = false; } ...
<commit_before>#ifndef utf8_hh_INCLUDED #define utf8_hh_INCLUDED #include "assert.hh" #include "unicode.hh" #include "units.hh" #include <cstddef> namespace Kakoune { namespace utf8 { template<typename Iterator> [[gnu::always_inline]] inline char read(Iterator& it) noexcept { char c = *it; ++it; return c; } // re...
<commit_before>#include <array> #include <tuple.hpp> #include <tbb/concurrent_hash_map.h> #include <nmmintrin.h> namespace var_hash_map { template<typename K> struct var_crc_hash { var_crc_hash() = default; var_crc_hash(const var_crc_hash& h) = default; inline bool equal(const K& j, co...
<commit_before>/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkEndian.h" #include "SkFontStream.h" #include "SkStream.h" struct SkSFNTHeader { uint32_t fVersion; uint16_t fNumTables; uint16_t ...
<commit_before>#include <array> #include <string> #include <utility> #include <ros/ros.h> #include <controller_manager/controller_manager.h> #include <hardware_interface/joint_command_interface.h> #include <hardware_interface/joint_state_interface.h> #include <hardware_interface/robot_hw.h> #include <ics3/ics> class...
<commit_before>/*ckwg +5 * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "utils.h" #ifdef HAVE_PTHREAD_NAMING #include <pthread.h> #ifndef DE...
<commit_before>// Copyright (c) 2011 - 2019, GS Group, https://github.com/GSGroup // 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 and this permission notice appear in all copies. // THE SOFTWARE IS PRO...
<commit_before>#include "stdafx.h" #include "error.h" #include "utils.h" void create_shortcut(crwstr distro_name, crwstr file_path, crwstr icon_path) { auto hr = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); if (FAILED(hr)) throw error_hresult(err_create_shortcut, {}, hr); IShellLink *psl; hr = CoCre...
<commit_before>/* * The MIT License (MIT) * * Copyright (c) 2015 Microsoft Corporation * * -=- Robust Distributed System Nucleus (rDSN) -=- * * 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...
<commit_before>/*********************************************************************** filename: RenderTarget.inl created: Sun, 6th April 2014 author: Lukas E Meindl *************************************************************************/ /***************************************************...
<commit_before>/* * This file is part of the rc_dynamics_api package. * * Copyright (c) 2017 Roboception GmbH * All rights reserved * * Author: Christian Emmerich * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// Reaper /// /// Copyright (c) 2015-2017 Thibault Schueller /// This file is distributed under the MIT License //////////////////////////////////////////////////////////////////////////////// #include "Win32Window.h" #in...
<commit_before>#pragma once #ifndef WTL_SFMT_HPP_ #define WTL_SFMT_HPP_ #include <random> #include <limits> #define HAVE_SSE2 #define SFMT_MEXP 19937 #include "SFMT/SFMT.h" /////////1/////////2/////////3/////////4/////////5/////////6/////////7///////// namespace wtl { /////////1/////////2/////////3/////////4////////...
<commit_before>/* * GreyscaleLuminanceSource.cpp * zxing * * Copyright 2010 ZXing 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...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * 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) 2009-2013, Arvid Norberg 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 of ...
<commit_before>/* Copyright (c) 2009-2013, Arvid Norberg 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 of ...
<commit_before>/** * * EDFLIB is a cross platform EDF reading writing library in C++ * * by @jonbrennecke - github.com/jonbrennecke * */ // TODO read edf file into hdf5 #include <fstream> #include <map> #include <cstdlib> #include <vector> namespace edf { /** * * basic data structure for containing ...
<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/worker_host/message_port_dispatcher.h" #include "base/callback.h" #include "base/singleton.h" #include "chrom...
<commit_before>//g++-5 -Wall --std=c++11 -g -o ds_string_zigzag_conversion ds_string_zigzag_conversion.cc /** * @file String Zigzag traversal * @brief Given string return its zigzag traversal. */ // https://leetcode.com/problems/zigzag-conversion/ #include <iostream> /* std::cout */ #...
<commit_before>/* * Copyright (c) 2003-2005 The Regents of The University of Michigan * 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 c...
<commit_before>//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgp...
<commit_before>#include "rpc/connectivity/multiplexer.hpp" #include "errors.hpp" #include <boost/bind.hpp> #include <boost/function.hpp> #include "rpc/connectivity/connectivity.hpp" message_multiplexer_t::run_t::run_t(message_multiplexer_t *p) : parent(p) { rassert_unreviewed(parent->run == NULL); parent->ru...
<commit_before>/************************************************************************* * * $RCSfile: SwUndoPageDesc.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2004-09-08 14:48:34 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>// augmentation_widget.cpp #include "augmentation_widget.hpp" #include <QOpenGLExtraFunctions> #include <QTemporaryFile> #include <QVector2D> #include <QVector3D> #include <math.h> augmentation_widget::augmentation_widget (QWidget* parent) : QOpenGLWidget (parent) , _scale_factor (1.0f) , _x_pos (0.0f...
<commit_before>/* * Copyright (c) 2016, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * ...
<commit_before>/* * ----------------------------------------------------------------------------- * This source file is part of OGRE * (Object-oriented Graphics Rendering Engine) * For the latest info, see http://www.ogre3d.org/ * * Copyright (c) 2000-2013 Torus Knot Software Ltd * * Permission is hereby grante...
<commit_before>#include <ros/ros.h> #include <sensor_msgs/PointCloud2.h> #include <sensor_msgs/PointField.h> #include <pcl_conversions/pcl_conversions.h> #include <pcl/io/pcd_io.h> #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/common/common.h> #include <pcl/PCLPointCloud2.h> #include <pcl/PCL...