text
stringlengths
54
60.6k
<commit_before>// @(#)root/auth:$Id$ // Author: Gerardo Ganis 08/07/05 /************************************************************************* * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before><commit_msg>MC_sphericity<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: VColumn.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: oj $ $Date: 2001-03-02 15:26:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<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 <set> #include "base/file_util.h" #include "base/memory/scoped_callback_factory.h" #include "base/memory/scoped_ptr.h" #incl...
<commit_before>#include "gtest/gtest.h" #include <list> #include "../src/scene/Ionosphere.h" #include "../src/tracer/Ray.h" #include "../src/core/Config.h" #include "../src/exporter/Data.h" #include "../src/exporter/MatlabExporter.h" namespace { using namespace raytracer::exporter; using namespace raytracer::math; ...
<commit_before>#include "tensorflow/core/public/session.h" #include "tensorflow/core/platform/env.h" int main(int argc, char** argv) { namespace tf = tensorflow; tf::Session* session; tf::Status status = tf::NewSession(tf::SessionOptions(), &session); if (!status.ok()) { std::cout << status.T...
<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. // HACK for crbug.com/142782. I've put it all the way up here to avoid a merge // collision namespace base { namespace mac { bool IsOSS...
<commit_before>/************************************************************************* * * $RCSfile: cmdlinehelp.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2003-05-28 13:26:13 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>/* * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information * * 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>/************************************************************************* * * $RCSfile: updatesvc.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2003-03-19 16:18:49 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>#include <fstream> #include <sstream> #include <iostream> #include <cstdlib> #include <stdint.h> #include <cstring> #include <list> #include <cmath> #define FILE_MARKER "\xF0\xE1" #define FILE_VERSION "fpcl.00001" // increment this number file format change ! std::stringstream *linestream; std::string ...
<commit_before>#include <cybozu/test.hpp> #include <cybozu/zlib.hpp> #include <cybozu/file.hpp> #include <cybozu/stream.hpp> #include <cybozu/serializer.hpp> #include <sstream> #include <fstream> #include <string> #include <vector> #include <map> CYBOZU_TEST_AUTO(test1_deflate) { typedef cybozu::ZlibCompressorT<std::...
<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 "content/child/npapi/np_channel_base.h" #include "base/auto_reset.h" #include "base/containers/hash_tables.h" #include "base/lazy...
<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/common/swapped_out_messages.h" #include "content/common/content_client.h" #include "content/common/view_messages.h" ...
<commit_before>#include "kernel.h" #include "ilwisdata.h" #include "domain.h" #include "range.h" #include "datadefinition.h" #include "columndefinition.h" #include "connectorinterface.h" #include "table.h" #include "basetable.h" using namespace Ilwis; BaseTable::BaseTable() : Table(), _rows(0), _columns(0), _dataload...
<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/renderer/p2p/port_allocator.h" #include "base/bind.h" #include "base/string_number_conversions.h" #include "base/str...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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. Redistributi...
<commit_before>/** \file augment_time_aspects.cc * \brief A tool for adding normalised time references to MARC-21 datasets. * \author Dr. Johannes Ruscheinski */ /* Copyright (C) 2019-2021, Library of the University of Tübingen This program is free software: you can redistribute it and/or modify ...
<commit_before>/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/** * \file * \brief FpuSignalTestCase class implementation for ARMv7-M * * \author Copyright (C) 2015-2019 Kamil Szczygiel https://distortec.com https://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 ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved */ #ifndef _Stroika_Foundation_Configuration_Version_inl_ #define _Stroika_Foundation_Configuration_Version_inl_ 1 /* ******************************************************************************** ***************************...
<commit_before>// $Id$ // vim:tabstop=2 /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2010 Hieu Hoang This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lic...
<commit_before>// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQuick module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Us...
<commit_before>/* * Copyright 2018 Google, Inc. * * 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 conditions and the following ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 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>// 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 agreed to in writing, software ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkThinPlateSplineMeshWarp.cxx Language: C++ Date: $Date$ Version: $Revision$ Thanks: Thanks to Tim Hutton (MINORI Project, Dental and Medical Infor...
<commit_before> /* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrContextFactory.h" #include "gl/GLTestContext.h" #if SK_ANGLE #include "gl/angle/GLTestContext_angle.h" #endif #include "gl/command_buffer/GLTe...
<commit_before>#ifndef GENERIC_ALGORITHM_HPP # define GENERIC_ALGORITHM_HPP # pragma once #include <cstddef> #include <type_traits> #include <utility> #include "meta.hpp" namespace generic { // min, max template <typename T> constexpr inline T const& max(T const& a, T const& b) noexcept { return a > b ? a : b; ...
<commit_before>/* * Copyright 2006-2008 The FLWOR Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
<commit_before>#include <memory.h> #include "vtrc-hash-iface.h" #include "hash/sha2-traits.h" namespace vtrc { namespace common { namespace hash { namespace { template <typename HashTraits> struct hasher_sha: public hash_iface { size_t hash_size( ) const { ...
<commit_before>#include "vtrc-pool-pair.h" #include "vtrc-thread.h" #include "vtrc-mutex-typedefs.h" //#include "boost/asio.hpp" namespace vtrc { namespace common { namespace basio = boost::asio; struct pool_pair::impl { thread_pool *genegal_; thread_pool *rpc_; const bool same_;...
<commit_before>/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org...
<commit_before>/** * \file main.cc * \brief Program for giving an indication when a rfid card has been detected, a database connection has been made and a string has been encrypted * \author Tim IJntema, Stefan de Beer, Arco Gelderblom, Rik Honcoop, Koen de Groot * \copyright Copyright (c) 2017, The R2D2 Te...
<commit_before>/* * Copyright (c) 2003 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>#include "cube-egl.h" #include "cube.h" #include <kms++util/kms++util.h> using namespace std; EglState::EglState(void *native_display) { EGLBoolean b; EGLint major, minor, n; static const EGLint context_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 2, EGL_NONE }; static const EGLint config_attr...
<commit_before>/* * MissionTerminalImplementation.cpp * * Created on: 03/05/11 * Author: polonel */ #include "MissionTerminal.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/packets/scene/AttributeListMessage.h" #include "server/zone/objects/player/PlayerObject.h" #include ...
<commit_before>/* Copyright 2013 - 2014 Yurii Litvinov, CyberTech Labs 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 * * Unle...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // Name: stcdlg.cpp // Purpose: Implementation of class wxExSTCEntryDialog // Author: Anton van Wezenbeek // Created: 2009-11-18 // RCS-ID: $Id$ // Copyright: (c) 2009 Anton van Wezenbeek /////////////////////...
<commit_before>// // Demo showing H -> ZZ -> 4 mu generated by Pythia. // Requires libPythia6. //============================================================================== // Constants. //------------------------------------------------------------------------------ const Double_t kR_min = 240; const Double_t kR_...
<commit_before>/* Q Light Controller Plus efxitem.cpp Copyright (C) Massimo Callegari 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.t...
<commit_before>/************************************************************************* * * $RCSfile: salbmp.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: pluby $ $Date: 2000-12-31 20:54:10 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before><commit_msg>Don't use uninitialized ImplSplitItem::mnPixSize<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: syschild.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: obo $ $Date: 2006-09-17 12:21:44 $ * * The Contents of this file are made...
<commit_before>#include <sstream> #include <string> #include "codegen.hpp" // // NOTE: This file is autogenerated based on the tac-definition. // You should therefore not edit it manually. // using namespace std; using namespace bohrium::core; namespace bohrium{ namespace engine{ namespace cpu{ namespace codeg...
<commit_before>#pragma once #include "../base/type.h" #include "../base/check.h" #include "../utils/type_traits.hpp" #include <boost/callable_traits.hpp> #include "../brigand.hpp" #ifdef AUTOCXXPY_INCLUDED_PYBIND11 #include <pybind11/stl.h> #endif #include <iostream> #include <type_traits> #include "./utils.hpp" #...
<commit_before>/* * #%L * %% * Copyright (C) 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 * * Unles...
<commit_before>#include "test_precomp.hpp" using namespace cv; using namespace std; TEST(Core_Drawing, _914) { const int rows = 256; const int cols = 256; Mat img(rows, cols, CV_8UC1, Scalar(255)); line(img, Point(0, 10), Point(255, 10), Scalar(0), 2, 4); line(img, Point(-5, 20), Point(260, 20),...
<commit_before>#include <GL/glut.h> #include <stdio.h> #include <vector> #include <floppy.h> using namespace std; vector<char> inputKey; double g,v,tmp2; int cnt; void gameoverAnimation() { inputKey.push_back('U'); v=1.0; } void movePhysics() { int ii; g=10; for(ii=0;ii<inputKey.size();ii++) { if(inputKey...
<commit_before>// This file is part of the dune-hdd project: // http://users.dune-project.org/projects/dune-hdd // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_HDD_EXAMPLES_LINEARELLIPTIC_OS2014_HH #define DUNE_HDD_EXAMPLES_LINEARELLIP...
<commit_before>/** * \file * \brief SignalsReceiverControlBlock class header * * \author Copyright (C) 2015-2017 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 was ...
<commit_before>/************************************************ * libgo sample12 ************************************************ * 这是一个协程监听器的例子 * 使用协程监听器 co_listener 可以监听协程的 * 创建销毁等事件,也可以进行异常处理 ************************************************/ #include "coroutine.h" #include <iostream> using namespace std; //...
<commit_before>#include <agency/execution_policy.hpp> #include <mutex> #include <iostream> #include <thread> #include <cassert> // this is just like std::mutex, except it has a move constructor // the move constructor just acts like the default constructor class movable_mutex { public: constexpr movable_mutex() ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/ ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file und...
<commit_before>/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>#include <string> #include <utility> #include <QMessageBox> #include <QInputDialog> #include "chatwidget.hpp" #include "caf/all.hpp" #include "caf/detail/scope_guard.hpp" using namespace std; using namespace caf; ChatWidget::ChatWidget(QWidget* parent, Qt::WindowFlags f) : super(parent, f), m_input(...
<commit_before>/* * Copyright (C) 2018 The Android Open Source Project * * 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 ...
<commit_before>// -*- mode: c++; coding: utf-8 -*- /*! @file simulation.cpp @brief Inplementation of Simulation class */ #include "simulation.h" #include "cxxwtils/iostr.hpp" #include "cxxwtils/getopt.hpp" #include "cxxwtils/prandom.hpp" #include "cxxwtils/os.hpp" #include "cxxwtils/gz.hpp" #include "cxxwtils/mult...
<commit_before>#include "cuda.h" #include <cstdio> struct checkers_point{ int board[64]; int how_much_children; checkers_point * children = NULL; checkers_point * next = NULL; checkers_point * prev = NULL; checkers_point * parent = NULL; bool min_max; int alpha = -1000000000; int be...
<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/common/common_param_traits.h" #include "chrome/common/chrome_constants.h" #include "gfx/rect.h" #include "googleurl/s...
<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/nacl/nacl_validation_query.h" #include "base/logging.h" #include "crypto/nss_util.h" #include "chrome/nacl/nacl_valid...
<commit_before>#include "yaml-cpp/node/node.h" #include "yaml-cpp/node/impl.h" #include "yaml-cpp/node/convert.h" #include "yaml-cpp/node/iterator.h" #include "yaml-cpp/node/detail/impl.h" #include "gtest/gtest.h" namespace YAML { namespace { TEST(NodeTest, SimpleScalar) { YAML::Node node = YAML::Node("Hello, World...
<commit_before>//===- llvm/unittest/IR/AsmWriter.cpp - AsmWriter tests -------------------===// // // 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>/* * nRF51-DK BLEDevice service/characteristic (read/write) using mbed.org */ // uncomment if not interested in a console log #define CONSOLE_LOG #include "mbed.h" #include "BLE.h" //------------------------------------------------------------------------- #ifdef CONSOLE_LOG #define I...
<commit_before>/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this fil...
<commit_before>#include <stan/lang/rethrow_located.hpp> #include <gtest/gtest.h> template <typename E, typename E2> void test_rethrow_located_2() { try { try { throw E("foo"); } catch (const std::exception& e) { stan::lang::rethrow_located(e, 5); } } catch (const E2& e) { EXPECT_TRUE(st...
<commit_before>#include "Application.h" #include <chrono> #include "util.h" using namespace world; Application::Application() : _running(false), _mainView(std::make_unique<MainView>(*this)), _newUpdatePos(0, 0, 5000), _lastUpdatePos(_newUpdatePos), _explorer(std::make_unique<FirstPersonEx...
<commit_before>/* Copyright 2013 Rogier van Dalen. This file is part of Rogier van Dalen's Rime library for C++. This library 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 (...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: HtmlReader.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-08 15:17:56 $ * * The Contents of this file are mad...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: evntpost.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2007-06-27 20:26:30 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: salinfo.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2006-07-26 09:20:53 $ * * The Contents of this file are made a...
<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 "net/base/keygen_handler.h" #include <Security/SecAsn1Coder.h> #include <Security/SecAsn1Templates.h> #include <Security/Secu...
<commit_before><commit_msg>Fix clang warning in UDPSocketTest.<commit_after><|endoftext|>
<commit_before>#include "xchainer/backprop_mode.h" #include <cstddef> #include <string> #include <vector> #include <gtest/gtest.h> #include <nonstd/optional.hpp> #include "xchainer/context.h" #include "xchainer/error.h" #include "xchainer/graph.h" namespace xchainer { namespace { void ExpectLastBackpropModeEqual(C...
<commit_before>#include "process.h" #include "timing.h" #include "database.h" #include "shop.h" #include "parse.h" #include "faction.h" #include "extern.h" #include "toggle.h" #include "guild.h" #include "being.h" #include <sys/shm.h> #include <sys/ipc.h> /////////// // procFactoryProduction procFactoryProduction::p...
<commit_before>#ifndef DOMImplementation_HEADER_GUARD_ #define DOMImplementation_HEADER_GUARD_ /* * The Apache Software License, Version 1.1 * * Copyright (c) 2001-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, ...
<commit_before>/* * This file is a part of Xpiks - cross platform application for * keywording and uploading images for microstocks * Copyright (C) 2014 Taras Kushnir <[email protected]> * * Xpiks is distributed under the GNU General Public License, version 3.0 * * This program is free software: you can redist...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkVotingBinaryImageFilterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reser...
<commit_before>/* Copyright (c) 2014-2019 AscEmu Team <http://www.ascemu.org> This file is released under the MIT license. See README-MIT for more information. */ #include "StdAfx.h" #include "ConsoleAuthMgr.h" ConsoleAuthMgr& ConsoleAuthMgr::getInstance() { static ConsoleAuthMgr mInstance; return mInstance;...
<commit_before>/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2014 Ben Vanik. All rights reserved. ...
<commit_before>#pragma once #include <assert.h> #include <mutex> #include <iostream> /** Thread safe output stream. * * Insert SafeStream::begin to start a session => lock the stream * Insert SafeStream::end to stop a session => unlock the stream. * Insert anything else to insert in the protected stream (requ...
<commit_before>/* * Copyright (C) 2020 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>#ifndef STAN_MATH_PRIM_MAT_FUN_MDIVIDE_LEFT_TRI_HPP #define STAN_MATH_PRIM_MAT_FUN_MDIVIDE_LEFT_TRI_HPP #include <boost/math/tools/promotion.hpp> #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/prim/mat/fun/promote_common.hpp> #include <stan/math/prim/mat/err/check_multiplicable.hpp> #in...
<commit_before>/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation ([email protected]) ** ** No Commercial Usage ** ** This file contains pre-release cod...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
<commit_before>#include <thread> #include <atomic> #include <mutex> #include <condition_variable> #include <iostream> using namespace std; std::mutex mut; std::condition_variable cond; bool go = false; typedef char buffer[4096*2]; using atom = std::atomic<size_t>; typedef void (*fnc_type)(size_t, size_t); atom lock_...
<commit_before>#include "Scaly.h" namespace scaly { _Page::_Page(size_t size) : currentPage(this), nextPage(0), previousPage(0), size(size), extendingPage(0) { reset(); } _Page** _Page::getLastExtensionPageLocation() { return ((_Page**) ((char*) this + size)) - 1; } _Page* _Page::next() { if (nextPage == 0)...
<commit_before>/* Copyright (c) 2008, 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 condi...
<commit_before>/* Copyright (c) 2008, 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 condi...
<commit_before>/* Copyright (c) 2007, Un Shyam 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 conditions...
<commit_before>#pragma once //=====================================================================// /*! @file @brief Arithmetic テンプレート @n ※テキストの数式を展開して、計算結果を得る。@n 演算式解析 @author 平松邦仁 ([email protected]) @copyright Copyright (C) 2015, 2020 Kunihito Hiramatsu @n Released under the MIT license @n ...
<commit_before>// Copyright 2021 MozoLM 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 // // Unless required by applicable l...
<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/common/set_process_title.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #...
<commit_before>#ifndef VIENNAGRID_METAINFO_HPP #define VIENNAGRID_METAINFO_HPP /* ======================================================================= Copyright (c) 2011-2012, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...
<commit_before>/* Implement parallel vectorize workqueue on top of Intel TBB. */ #define TBB_PREVIEW_WAITING_FOR_WORKERS 1 /* tbb.h redefines these */ #include "../../_pymodule.h" #ifdef _POSIX_C_SOURCE #undef _POSIX_C_SOURCE #endif #ifdef _XOPEN_SOURCE #undef _XOPEN_SOURCE #endif #include <tbb/tbb.h> #include <strin...
<commit_before>/************************************************************************* * * $RCSfile: staticassert.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2003-12-09 11:47:53 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>#ifndef VIENNAGRID_ALGORITHM_ANGLE_HPP #define VIENNAGRID_ALGORITHM_ANGLE_HPP /* ======================================================================= Copyright (c) 2011-2013, Institute for Microelectronics, Institute for Analysis and Scientific Computing, ...