text
stringlengths
54
60.6k
<commit_before>/* Copyright (c) 2010, The Mineserver Project 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, th...
<commit_before>/* * car.cpp * * Author: Ming Tsang * Copyright (c) 2014 HKUST SmartCar Team * Refer to LICENSE for details */ #include <cstddef> #include <memory> #include <libsc/k60/encoder.h> #include <libsc/k60/led.h> #include <libsc/k60/motor.h> #include <libsc/k60/simple_buzzer.h> #include <libsc/k60/trs_d...
<commit_before>#include <event2/event.h> #include <string> #include "city.h" #include "event_manager.h" int City::cache_[] = {5, 15, 45, 135}; double City::defense_multiplier[] = {1.1, 1.15, 1.2, 1.25}; city_id City::INVALID_CITY = -1; city_id City::current_id = -1; City * City::winning_city; int City::incomes_[] = ...
<commit_before>/* * ModSecurity, http://www.modsecurity.org/ * Copyright (c) 2015 Trustwave Holdings, Inc. (http://www.trustwave.com/) * * 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 * * If any of...
<commit_before>/* ** Copyright 2009-2011 MERETHIS ** This file is part of Centreon Broker. ** ** Centreon Broker is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Broker is distributed...
<commit_before>/* * ===================================================================================== * * Filename: mp4duration.cc * * Description: MP4 duration parser - node.js c++ addon * * Version: 1.0 * Created: 2014/10/24 16时14分34秒 * Revision: none * Compiler: ...
<commit_before>// Copyright 2014 J.C. Moyer // // 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 ...
<commit_before>#include <allegro.h> #include <cstring> #include <iostream> #include <sstream> #include <stdlib.h> #include <pthread.h> #include <time.h> #include <vector> #include <map> #include "globals.h" #include "mugen_reader.h" #include "mugen_section.h" #include "mugen_item_content.h" #include "mugen_item.h" #in...
<commit_before>/******************************************************************************* Copyright (c) 2014, Chris Vasseng All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of...
<commit_before>#include "MS5837.h" #include <Wire.h> #define MS5837_ADDR 0x76 #define MS5837_RESET 0x1E #define MS5837_ADC_READ 0x00 #define MS5837_PROM_READ 0xA0 #define MS5837_CONVERT_D1_8192 0x4A #define MS5837_CONVERT_D2_8192 0x5A const float MS5837::Pa = 100....
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gdef.h" #include <limits> #include <vector> #include "gpos.h" #include "gsub.h" #include "layout.h" #include "maxp.h" // G...
<commit_before>#include "grid.h" #include <stdlib.h> #include <chrono> #include <iostream> #include <thread> #include "cell.h" Grid::Grid(int width, int height, int renderDelay) { this->width = width; this->height = height; this->renderDelay = renderDelay; window = newwin(width * 2 + 10, height * 2 + 10, 0, 0)...
<commit_before> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <unistd.h> #include <fcntl.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/types.h> #include <signal.h> #include <errno.h> #include "utils.hpp" #include "worker_pool.hpp" #include "async_io.hpp" #include "alloc_blackho...
<commit_before>// Copyright (c) 2013 GitHub, Inc. All rights reserved. // Use of this source code is governed by MIT license that can be found in the // LICENSE file. #include <string.h> #include "rescle.h" #include "version.h" namespace { void print_help() { fprintf(stdout, "Rcedit " RCEDIT_VERSION ":\n"); } b...
<commit_before><commit_msg>‘AddTask_for_root6’<commit_after><|endoftext|>
<commit_before><commit_msg>Added MC settings for HSE<commit_after><|endoftext|>
<commit_before>/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashMatrix. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before>/* * Copyright (c) 2013 Chun-Ying Huang * * This file is part of GamingAnywhere (GA). * * GA is free software; you can redistribute it and/or modify it * under the terms of the 3-clause BSD License as published by the * Free Software Foundation: http://directory.fsf.org/wiki/License:BSD_3Clause *...
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. 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 // // ...
<commit_before> /* * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood * 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 ...
<commit_before>/* * Copyright (c) ICG. All rights reserved. * * Institute for Computer Graphics and Vision * Graz University of Technology / Austria * * * This software is distributed WITHOUT ANY WARRANTY; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the ab...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved */ /* ******************************************************************************** ***************************** Implementation Details *************************** *********************************************************...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2012. All rights reserved */ #ifndef _Stroika_Foundation_Containers_Concrete_Tally_LinkedList_inl_ #define _Stroika_Foundation_Containers_Concrete_Tally_LinkedList_inl_ 1 /* ****************************************************************************...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * Copyright (C) 2020 CS Systemes d'Information (CS SI) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this f...
<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/session/onnxruntime_cxx_api.h" #include "providers.h" #include <memory> #include <vector> #include <iostream> #include <atomic> #include <gtest/gtest.h> #include "test_allocator.h" #include "te...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>/** * @file IntegralImageProvider.cpp * * Implementation of class IntegralImageProvider * */ #include "IntegralImageProvider.h" IntegralImageProvider::IntegralImageProvider() {} IntegralImageProvider::~IntegralImageProvider() {} void IntegralImageProvider::execute(CameraInfo::CameraID id) { ...
<commit_before><commit_msg>Copy parsed URL into CF_UNICODETEXT when user select entire of Omnibox.<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/browser/extensions/extension_s...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/autofill_messages.h" #include "chrome/test/render_view_test.h" #include "testing/gtest/include/gtest/gtest.h" #...
<commit_before><commit_msg>Add wrong surface warnings to NavigationMesh.create_from_mesh()<commit_after><|endoftext|>
<commit_before><commit_msg>INTEGRATION: CWS impress2 (1.1.2); FILE ADDED 2004/06/08 12:42:00 af 1.1.2.1: #i22705# Initial revision.<commit_after><|endoftext|>
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE...
<commit_before>#include "shortcutmanager.h" #include <coreplugin/actionmanager/actionmanager.h> #include <coreplugin/actionmanager/actioncontainer.h> #include <coreplugin/icore.h> #include <coreplugin/editormanager/documentmodel.h> #include <coreplugin/coreconstants.h> #include <utils/hostosinfo.h> #include "qmldesig...
<commit_before>// // Created by Manuel Polzhofer on 19.05.15. // #include "TweeZCodeCompilerPipeline.h" #include <TweeParser.h> #include <fstream> #include <iostream> #include <memory> #include <map> #include <TweeFile.h> #include "AssemblyParser.h" #include "ZCodeObjects/ZCodeContainer.h" #include "ZCodeObjects/ZCod...
<commit_before>#include <iostream> #ifdef WITH_THREADS #include <boost/thread/thread.hpp> #endif #include "moses/TypeDef.h" #include "moses/TranslationModel/CompactPT/PhraseTableCreator.h" #include "util/file.hh" using namespace Moses; void printHelp(char **argv) { std::cerr << "Usage " << argv[0] << ":\n" ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkRotationalExtrusionFilter.cc Language: C++ Date: 09 Oct 1995 Version: 1.13 Copyright (c) 1993-1996 Ken Martin, Will Schroeder, Bill Lorensen. This software is c...
<commit_before>/* * IOBenchmark.cpp * * Created on: 01.02.2013 * Author: Christian Staudt (christian.staudt@kit.edu) */ #ifndef NOGTEST #include "IOBenchmark.h" #include "../RasterReader.h" #include "../../generators/Quadtree/QuadtreePolarEuclid.h" #include "../../geometric/HyperbolicSpace.h" namespace Ne...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/tab_contents/tab_contents_observer.h" #include "content/browser/renderer_host/render_view_host.h" #include "...
<commit_before>#include "orrerybody.hpp" #include "units.hpp" namespace sim { orrery_body_vec_t load_debugging_orrery() { /* std::string name, std::string description, double GM, double radius, double ra, double dec, double rotational_rate, double ...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2005 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file *...
<commit_before>// // Copyright (c) 2014 CNRS // Authors: Florent Lamiraux // // This file is part of hpp-core // hpp-core 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 // 3 of the Lic...
<commit_before>/* Copyright (C) 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.com> Copyright (C) 2013 Martin Klapetek <mklapetek@kde.org> 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 Soft...
<commit_before>/* Persons Model Item Represents one person in the model Copyright (C) 2012 Martin Klapetek <martin.klapetek@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 Softw...
<commit_before> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #include <unistd.h> #include "au/string.h" // au::str() #include "au/Cronometer.h" // au::Cronometer #include "au/CommandLine.h" // au::CommandLine class Position { public: double x; double y; Posi...
<commit_before>#include <algorithm> #include <string> #include <vector> #include <boost/optional.hpp> #include <locale> #include "../../../src/prompt.hh" #include "../../../src/configuration.hh" #include "../../../src/to_str.hh" #include "../../../src/show_message.hh" #include "../../../src/visual.hh" #include "move.h...
<commit_before>#include <omp.h> #include "configure.h" // This code is from BVLC/Caffe changed a little bit : link https://github.com/BVLC/caffe/blob/master/src/caffe/util/im2col.cpp // Function uses casting from int to unsigned to compare if value of // parameter a is greater or equal to zero and lower than value of ...
<commit_before>/* Copyright (c) 2008-2010, Avian Contributors 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. There is NO WARRANTY for this s...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ignoreMiddleDot_ja_JP.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-07 17:28:56 $ * * The Contents of this f...
<commit_before>/* **** **** **** **** **** **** **** **** * * * _/ _/ _/ * _/_/_/ _/_/_/ _/_/_/ * _/ _/ _/ _/ _/ _/ * _/ _/ _/ _/ _/ _/ * _/_/_/ _/_/_/ _/_/_/ * * bit by bit * bbb/difference_sequence.hpp * * author: ISHII 2bit * m...
<commit_before>/* * Copyright 2009, Google 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 * notic...
<commit_before>/* * StepParameters.hpp * * Created on: Feb 18, 2016 * Author: Péter Fankhauser * Institute: ETH Zurich, Autonomous Systems Lab */ #pragma once #include "free_gait_core/TypeDefs.hpp" #include "free_gait_core/step/StepCompleter.hpp" namespace free_gait { class StepParameters { public: ...
<commit_before>/* * Lua_Service_Wrapper.cpp * * Copyright (C) 2020 by MegaMol Team * Alle Rechte vorbehalten. */ // TODO: we need this #define because inclusion of LuaHostService.h leads to windows header inclusion errors. // this stems from linking ZMQ via CMake now being PUBLIC in the core lib. i dont know how ...
<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/renderer_host/plugin_info_message_filter.h" #include "base/bind.h" #include "base/metrics/histogram.h" #inclu...
<commit_before> #include "drake/systems/plants/RigidBodySystem.h" #include "drake/systems/plants/RigidBodyFrame.h" #include "drake/util/testUtil.h" using namespace std; using namespace Eigen; using namespace Drake; int main(int argc, char* argv[]) { if (argc < 2) { std::cerr << "Usage: " << argv[0] ...
<commit_before>// Created on: 2007-09-04 // Created by: Andrey BETENEV // Copyright (c) 2007-2012 OPEN CASCADE SAS // // The content of this file is subject to the Open CASCADE Technology Public // License Version 6.5 (the "License"). You may not use the content of this file // except in compliance with the License. Pl...
<commit_before>/* Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. 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 rig...
<commit_before>#pragma once #include "depthai-shared/common/CameraBoardSocket.hpp" #include "depthai-shared/common/CameraImageOrientation.hpp" #include "depthai-shared/datatype/RawCameraControl.hpp" #include "depthai-shared/properties/Properties.hpp" namespace dai { /** * Specify properties for ColorCamera such as...
<commit_before>/***************************************************************************** * taglib.cpp: Taglib tag parser/writer ***************************************************************************** * Copyright (C) 2003-2006 the VideoLAN team * $Id$ * * Authors: Clément Stenac <zorglub@videolan.org> ...
<commit_before>#ifndef CLOTHO_VARIABLE_SUBSET_RECOMBINATION_DEF_HPP_ #define CLOTHO_VARIABLE_SUBSET_RECOMBINATION_DEF_HPP_ #include "clotho/powerset/config.hpp" #include <iostream> #include <cassert> #include <algorithm> #include "clotho/recombination/recombination_def.hpp" #include "clotho/powerset/variable_subset....
<commit_before>/* Copyright (c) 2017, Vadim Malyshev, lboss75@gmail.com All rights reserved */ #include "stdafx.h" #include "get_root_app.h" #include "keys_control.h" vds::get_root_app::get_root_app() : key_generate_command_set_("Generate keys", "Generate keys", "generate", "keys"), user_login_( "l", "log...
<commit_before>/** * \file * \brief StaticSignalInformationQueueWrapper class header * * \author Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL w...
<commit_before>#ifndef EBITEN_GRAPHICS_DETAIL_OPENGL_IOS_NATIVE_VIEW_HPP #define EBITEN_GRAPHICS_DETAIL_OPENGL_IOS_NATIVE_VIEW_HPP #include "ebiten/input.hpp" namespace ebiten { namespace graphics { namespace detail { typedef GLKView* native_view; namespace { void native_view_set_input(native_view nv, class input&...
<commit_before>/********************************************************************************* * Copyright (c) 2013 David D. Marshall <ddmarsha@calpoly.edu> * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies...
<commit_before>// Ylikuutio - A 3D game and simulation engine. // // Copyright (C) 2015-2022 Antti Nuortimo. // // 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 by the Free Software Foundation, either version 3 of the ...
<commit_before>/* * File: Node.hpp * Author: iMer * * Created on 3. Juli 2014, 01:00 */ #ifndef ENGINE_NODE_HPP #define ENGINE_NODE_HPP #include <list> #include <mutex> #include "SFML/Graphics/Drawable.hpp" #include "SFML/Graphics/Transformable.hpp" #include "SFML/Graphics/RenderTarget.hpp" #include "SFML/Graph...
<commit_before>#pragma once #include "noncopyable.hpp" #include "response.hpp" using namespace cinatra; #define HAS_MEMBER(member)\ template<typename T, typename... Args>struct has_member_##member\ {\ private:\ template<typename U> static auto Check(int) -> decltype(std::declval<U>().member(std::declval<Arg...
<commit_before>#ifndef CLUE_CONFIG__ #define CLUE_CONFIG__ #ifdef __GNUC__ # define CLUE_GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) #endif #ifdef __clang_major__ # define CLUE_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__) #endif #if define...
<commit_before>/** * @file compmanager.cpp * @brief COSSB component manager * @author Byunghun Hwang<bhhwang@nsynapse.com> * @date 2015. 6. 21 * @details */ #include "manager.hpp" #include "container.hpp" #include "broker.hpp" #include "driver.hpp" #include <list> using namespace std; namespace cossb { na...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/notifications/desktop_notification_service.h" #include "base/memory/ref_counted.h" #include "base/message_loo...
<commit_before>/* * libjingle * Copyright 2012, Google Inc. * * 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 notice, * this list of condi...
<commit_before>// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #ifndef NIX_SECTION_H #defin...
<commit_before>#include "framework/serialization/providers/zipdataprovider.h" #include "framework/logger.h" #include "library/sp.h" // Disable automatic #pragma linking for boost - only enabled in msvc and that should provide boost // symbols as part of the module that uses it #define BOOST_ALL_NO_LIB #include "librar...
<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>/* The Next Great Finite Element Library. */ /* Copyright (C) 2003 Benjamin S. Kirk */ /* 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 o...
<commit_before>//============================================================================== // CellML annotation view CellML details widget //============================================================================== #include "borderedwidget.h" #include "cellmlannotationviewcellmldetailswidget.h" #includ...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before> #include "pch.h" #include "PortTree.h" #include "Port.h" #include "Bridge.h" #include "stp.h" static const _bstr_t PortTreeString = "PortTree"; static const _bstr_t TreeIndexString = "TreeIndex"; static const _bstr_t PortPriorityString = "PortPriority"; HRESULT PortTree::Serialize (IXMLDOMDocument3* d...
<commit_before>/** Definitions for the pqxx::result class and support classes. * * pqxx::result represents the set of result rows from a database query. * * DO NOT INCLUDE THIS FILE DIRECTLY; include pqxx/result instead. * * Copyright (c) 2001-2017, Jeroen T. Vermeulen. * * See COPYING for copyright license. I...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SlsCacheCompactor.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-09 06:09:41 $ * * The Contents of this file ...
<commit_before>#pragma once #include <cstring> #include <pmmintrin.h> namespace rack { /** Abstraction of byte-aligned values for SIMD CPU acceleration. */ namespace simd { /** Generic class for vector types. This class is designed to be used just like you use scalars, with extra features for handling bitwise lo...
<commit_before>#include "Application.h" #include <iostream> #include "Display.h" #include "Util/Random.h" #include "States/Playing_State.h" #include "States/Splash_Screen.h" #include "Game/Equipment/Equipment_Data.h" namespace { void calculateFPS() { static sf::Clock timer; static sf::Clock...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SlsRequestFactory.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-10-24 07:42:10 $ * * The Contents of this file ...
<commit_before><commit_msg>Bin obsolete pointless preprocessor trickery<commit_after><|endoftext|>
<commit_before>#pragma once #include <sse/schemes/tethys/types.hpp> #include <cstring> #include <array> #include <istream> #include <ostream> namespace sse { namespace tethys { namespace encoders { template<class Key, class T, size_t PAGESIZE> struct EncodeSeparateEncoder { static constexpr size_t kAdditionalK...
<commit_before>/** \copyright * Copyright (c) 2015, Balazs Racz * 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>/* * Software License Agreement (BSD License) * * Copyright (c) 2016-2020, Natalnet Laboratory for Perceptual Robotics * 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>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "pow.h" #include "arith_uint256.h" #include "chain.h" #i...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "pow.h" #include "arith_uint256.h" #include "chain.h" #i...
<commit_before>#pragma once #include <bts/blockchain/types.hpp> namespace bts { namespace blockchain { static std::unordered_map<uint32_t, bts::blockchain::block_id_type> CHECKPOINT_BLOCKS { { 1, bts::blockchain::block_id_type( "8abcfb93c52f999e3ef5288c4f837f4f15af5521" ) }, { 100000, bts::blockchain::...
<commit_before>/** @file bts/blockchain/fork_blocks.hpp * @brief Defines global block number constants for when hardforks take effect */ #pragma once #include <stdint.h> #include <vector> #define BTS_EXPECTED_CHAIN_ID digest_type( "6984e235f2573526db030e92f4844312ee93d63068c5224506a34a9c0b7b5db7" ) #define ...
<commit_before>/* Copyright (C) 2001 by Jorrit Tyberghein This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later ve...
<commit_before>#include "sniffer.h" #include "util.h" #include <cstdlib> #include <pcap.h> static pcap_t *handle = NULL; void initialize(char * interface) { if ( handle ) { error("Trying to reinitialize using interface %s",interface); abort(); } char errbuf[BUFSIZ]; handle = pcap_open_live(interfac...
<commit_before>#include "Tests.h" #include "../../TestFramework/UnitTest++/UnitTest++.h" #include "../Scheduler.h" #include <Squish.h> namespace EmbeddedImage { #include "LenaColor.h" #include "LenaColorDXT1.h" } SUITE(DxtTests) { ////////////////////////////////////////////////////////////////////...
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_LA_CONTAINER_FACTORY_EIGEN_HH #define DUNE_DETAILED_DISCRETIZATIONS_LA_CONTAINER_FACTORY_EIGEN_HH #include <dune/stuff/la/container/pattern.hh> #include <dune/stuff/la/container/eigen.hh> #include <dune/detailed/discretizations/space/interface.hh> namespace Dune {...
<commit_before>/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full r...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 * * (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>//============================================================================= // socket.cpp // (c) 8-12-2010, Frans Spijkerman, Avans Hogeschool // enhanced for cross-platform use by Bob Polis (c) 2013 // // Implementation of classes Socket, ServerSocket and CientSocket //========================...
<commit_before>// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/extensions/renderer/xwalk_extension_renderer_controller.h" #include "base/command_line.h" #include "base/values.h" #inclu...