text
stringlengths
54
60.6k
<commit_before>// Copyright 2017 Netherlands Institute for Radio Astronomy (ASTRON) // Copyright 2017 Netherlands eScience Center // // 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>// 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/ui/views/file_manager_dialog.h" #include "base/file_util.h" #include "base/logging.h" #include "base/memory/s...
<commit_before>/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * 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 file except in compliance with the License. * You may ob...
<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/views/tab_contents/tab_contents_drag_win.h" #include <windows.h> #include <string> #include "base/file_path...
<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>// 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/download/save_file_resource_handler.h" #include "base/logging.h" #include "base/message_loop.h" #include "ba...
<commit_before>#ifndef constants_hpp #define constants_hpp #include <string> using namespace std; const string REGEX_LHS_LEQ_RHS = "(.*)\\s*<=\\s*(.*)"; const string REGEX_LHS_GEQ_RHS = "(.*)\\s*>=\\s*(.*)"; const string REGEX_INIT_FUNCTIONS = "void init_(.*)\\(\\);"; const string REGEX_TRIANGLE_VAR = "(...
<commit_before>#ifndef _COTL_TYPE_HPP #define _COTL_TYPE_HPP namespace cotl { class Val { private: long _type; protected: inline Val(long type): _type(type) {}; inline Val(const Val &) = delete; inline void setType(long type) { _type = type; } public: inline long getType() { ...
<commit_before>//======================================================================= // Copyright (c) 2014 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //========================================================...
<commit_before>/* * Copyright © 2014 Mozilla Foundation * * This program is made available under an ISC-style license. See the * accompanying file LICENSE for details. */ #ifndef NOMINMAX #define NOMINMAX #endif // NOMINMAX #include <algorithm> #include <cmath> #include <cassert> #include <cstring> #include <cst...
<commit_before>/* * This file is part of libgpiod. * * Copyright (C) 2017-2018 Bartosz Golaszewski <bartekgola@gmail.com> * * This program 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 v...
<commit_before>//============================================================================================================= /** * @file main.cpp * @author Jana Kiesel <jana.kiesel@tu-ilmenau.de> * Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @v...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #ifndef _Stroika_Foundation_Characters_Format_inl_ #define _Stroika_Foundation_Characters_Format_inl_ 1 /* ******************************************************************************** ***************************** Imp...
<commit_before>// // Copyright (C) 2006 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2006 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ ////////////////////////////////////////////////////////////////////////////// #include <cppunit/ex...
<commit_before>// // Copyright (C) 2004-2006 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved. // Licensed to SIPfoundry under a Contributor Agreement. // // $$ /////////////////////////////////////////////////////////////////////////////...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, Willow Garage, 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...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>// // Copyright (c) articy Software GmbH & Co. KG. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // #include "DatabaseGenerator.h" #include "CodeGenerator.h" #include "ArticyDatabase.h" #include "ArticyImportData.h" #inc...
<commit_before>/********************************************************************************* * * Copyright (c) 2017 Josef Adamsson, Denise Härnström * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2017 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and bina...
<commit_before>/*************************************************************************/ /* test_astar.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/* * Fork a process and delegate open() to it. The subprocess returns * the file descriptor over a unix socket. * * author: Max Kellermann <mk@cm4all.com> */ #include "Client.hxx" #include "Handler.hxx" #include "Protocol.hxx" #include "async.hxx" #include "please.hxx" #include "fd_util.h" #includ...
<commit_before>//======================================================================= // Copyright (c) 2014-2015 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * 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 file except in compliance with the License. * You may ob...
<commit_before><commit_msg>delegate/Client: use class Event<commit_after><|endoftext|>
<commit_before>#include "generator.h" #include <fstream> #include <sstream> #include <string> #include <assert.h> #include <arpa/inet.h> #include <string> #include <map> using namespace std; int main (void) { int ad_id, isd_id, isCore, registerPath, as1, as2, rel, nbrType1, port = 33000, nbrType2, ifId1,...
<commit_before>#include <ROOT/TDataFrame.hxx> #include <ROOT/TTrivialDS.hxx> #include <ROOT/TSeq.hxx> #include "gtest/gtest.h" using namespace ROOT::Experimental; using namespace ROOT::Experimental::TDF; TEST(TTrivialDS, ColTypeNames) { TTrivialDS tds(32); tds.SetNSlots(1); auto colName = tds.GetColumnName...
<commit_before>// Deadfrog includes #include "df_bmp.h" #include "df_font.h" #include "df_time.h" #include "df_window.h" #include "fonts/df_mono.h" // Standard includes #include <math.h> void StretchBlitMain() { CreateWin(1024, 768, WT_WINDOWED, "Stretch Blit Example"); g_defaultFont = LoadFon...
<commit_before>// Copyright (c) 2016 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>// // key-chain-manager.cpp // // Created by Peter Gusev on 02 September 2016. // Copyright 2013-2016 Regents of the University of California // #include "key-chain-manager.hpp" #include <algorithm> #include <ndn-cpp/security/key-chain.hpp> #include <ndn-cpp/security/certificate/identity-certificate....
<commit_before>// // key-chain-manager.h // // Created by Peter Gusev on 02 September 2016. // Copyright 2013-2016 Regents of the University of California // #ifndef __key_chain_manager_h__ #define __key_chain_manager_h__ #include <boost/shared_ptr.hpp> namespace ndn { class KeyChain; class Face; class I...
<commit_before>/* * Copyright (c) 2012 by Michael Berlin, Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ #include "common/test_environment.h" #include "common/test_rpc_server_dir.h" #include "common/test_rpc_server_mrc.h" #include "common/test_rpc_server_osd.h" #incl...
<commit_before>/* Various utility definitions for libpqxx. * * DO NOT INCLUDE THIS FILE DIRECTLY; include pqxx/util instead. * * Copyright (c) 2000-2020, Jeroen T. Vermeulen. * * See COPYING for copyright license. If you did not receive a file called * COPYING with this source code, please notify the distributo...
<commit_before>/* * Copyright (C) 2009-2010, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ /** ** \fil...
<commit_before>#include <rleahylib/rleahylib.hpp> #include <mod.hpp> #include <server.hpp> #include <multi_scope_guard.hpp> #include <atomic> #include <functional> #include <limits> #include <utility> #include <type_traits> namespace MCPP { /** * Contains all possible phases of * the moon. */ enum class Lun...
<commit_before>/* Copyright 2022 Google LLC. 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 applicable law o...
<commit_before>#include "simdjson/jsonparser.h" #include <unistd.h> #include "benchmark.h" // #define RAPIDJSON_SSE2 // bad for performance // #define RAPIDJSON_SSE42 // bad for performance #include "rapidjson/document.h" #include "rapidjson/reader.h" #include "rapidjson/stringbuffer.h" #include "rapidjson/writer.h" ...
<commit_before>/**************************************************************************** This file is part of the QtMediaHub project on http://www.qtmediahub.com Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).* All rights reserved. Contact: Girish Ramakrishnan girish@forwardbias.in Contact: N...
<commit_before>/* * trakstar.cpp * * Created on: Nov 05, 2013 * Author: Bjorn Blissing */ #include "trakstar.h" #include <iostream> TrakStar::TrakStar() : m_sensor(0), m_transmitter(0), m_initialized(false), m_numberOfSensors(0), m_numberOfTransmitters(0) { initialize(); } TrakStar::~TrakStar() { shutdo...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/*========================================================================= * * Copyright 2011-2013 The University of North Carolina at Chapel Hill * All rights reserved. * * Licensed under the MADAI Software License. You may obtain a copy of * this license at * * https://madai-public...
<commit_before>#include <cmath> #include <ctime> #include <iostream> #include <iomanip> #include <random> #include <set> #include <vector> #include <unordered_map> namespace { inline size_t GenerateMaskWithRightOnes(size_t onesCount) { return (1ull << onesCount) - 1ull; } class TCacheSet { public: TCacheSet...
<commit_before>/* * * Copyright 2018 gRPC 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 applicab...
<commit_before>#include <iostream> #include <opencv2/opencv.hpp> #include <cmath> #include <set> #include <vector> using namespace cv; using namespace std; Mat frame, filtered, binary; void on_mouse(int evt, int c, int r, int flags, void* param) { if(evt==CV_EVENT_LBUTTONDOWN) { uchar*...
<commit_before>#include "fnv_param.hpp" #include "fnv_algo.hpp" #include "constraint.hpp" #include "fnv_solver.hpp" #include <vector> #include <iostream> #include <boost/foreach.hpp> int main(int argc, char** argv) { const std::vector<FNVParam> fnvParams = FNVParam::getAll(); const std::vector<FNVAlgo> fnvAlgos = ...
<commit_before>#include "Executioner.h" // Moose includes #include "Moose.h" #include "MooseSystem.h" #include "Kernel.h" #include "ComputeJacobian.h" #include "ComputeResidual.h" #include "ComputeInitialConditions.h" // C++ includes #include <vector> #include <limits> // libMesh includes #include "nonlinear_implici...
<commit_before>#include <string> #include <gtest/gtest.h> #include "prefix_function.hpp" namespace gt = testing; namespace pk { namespace testing { struct prefix_function_tester : public gt::Test { static const int MAX_TEXT_SIZE = 100; // tested class: prefix_function<MAX_TEXT_SIZE> pf; }; TEST_F...
<commit_before><commit_msg>fix NetDaemon example build<commit_after><|endoftext|>
<commit_before>/* mbed Microcontroller Library * Copyright (c) 2016-2020 ARM Limited * SPDX-License-Identifier: Apache-2.0 * * 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...
<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 "base/memory/scoped_ptr.h" #include "base/message_loop/message_loop_proxy.h" #include "base/values.h" #include "content/child/inde...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_SPACE_RAVIARTTHOMAS_FEM_LOCALFUNCTIONS_HH #define DUNE_GDT_SPACE_RAVIART...
<commit_before>/** * Copyright (c) 2013, Timothy Stack * * 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 ...
<commit_before>// ProtectMySelf.cpp : α׷ մϴ. // #include "stdafx.h" #include "ProtectMySelf.h" #define MAX_LOADSTRING 100 // : HINSTANCE hInst; // νϽԴϴ. TCHAR szTitle[MAX_LOADSTRING]; // ǥ ؽƮԴϴ. TCHAR szWindowClass[MAX_LOADSTRING]; // ⺻ â Ŭ ̸Դϴ. // ڵ ⿡ ִ Լ Դϴ. ATOM MyRegisterClass(HINSTANCE...
<commit_before>// Copyright © 2017-2018 Dmitriy Khaustov // // 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>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All right...
<commit_before>#include "mwm_url.hpp" #include "render/scales_processor.hpp" #include "indexer/mercator.hpp" #include "indexer/scales.hpp" #include "coding/uri.hpp" #include "base/logging.hpp" #include "base/string_utils.hpp" #include "std/algorithm.hpp" #include "std/bind.hpp" namespace url_scheme { namespace ...
<commit_before>/* * This is part of the FL library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2014 Jan Issac (jan.issac@gmail.com) * Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com) * * Max-Planck Institute for Intelligent Systems, AMD Lab * Univer...
<commit_before>//====================================================================== //----------------------------------------------------------------------- /** * @file env_var_tests.cpp * @brief 環境変数対応テスト * * @author t.shirayanagi * @par copyright * Copyright (C) 2012-2016...
<commit_before>// Copyright 2016, Dawid Kurek, dawikur@gmail.com #include <type_traits> #include "../src/executor.hpp" #include "gtest/gtest.h" class executor_test : public ::testing::Test { protected: void SetUp() override { memset(memory.Raw, 0, sizeof (memory.Raw)); for (int i = 0; i < 16; ++i) { ...
<commit_before>/* * Copyright 2019 Couchbase, 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...
<commit_before>/* * Copyright (c) 2012 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 (c) 2012 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>/*---------------------------------------------------------------------------*\ * OpenSG * * * * ...
<commit_before>// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2018 Intel Corporation. All Rights Reserved. #include "frame-validator.h" #define INVALID_PIXELS_THRESHOLD 0.1 namespace librealsense { bool stream_profiles_equal(stream_profile_interface* l, stream_profile_interface* r) ...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkGradientAnisotropicDiffusionImageFilterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2000 National Library of Med...
<commit_before>/* * Copyright 2016 neurodata (http://neurodata.io/) * Written by Disa Mhembere (disa@jhu.edu) * * This file is part of k-par-means * * 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...
<commit_before>#include "lua/state.h" #include "lua/term.h" #include "rwte/logging.h" #include "rwte/term.h" /// Term module; `term` is the global terminal object. // @module term #define LOGGER() (logging::get("luaterm")) /// Returns whether a terminal mode is set. // // @function mode // @int mode Mode flag. See v...
<commit_before>/// HEADER #include "confusion_matrix_display_adapter.h" /// PROJECT #include <csapex/msg/io.h> #include <csapex/utility/register_node_adapter.h> /// SYSTEM #include <QTableView> #include <QPainter> #include <QGridLayout> #include <QLabel> #include <QApplication> using namespace csapex; CSAPEX_REGIST...
<commit_before><commit_msg>document SwPaM::SetMark()<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2013 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 * notice, this l...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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.or...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013-2016, SimQuest Solutions 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.apac...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkQuadEdgeMeshCountingCellsTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights res...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkTransformFileReaderWriterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights res...
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "webkit/appcache/appcache_backend_impl.h" #include "base/logging.h" #include "webkit/appcache/web_application_cache_host...
<commit_before>#include "ros/ros.h" #include "sensor_msgs/LaserScan.h" #include "nav_msgs/MapMetaData.h" #include "nav_msgs/OccupancyGrid.h" #include <sstream> //Global var of map meta data nav_msgs::MapMetaData mmd; void chatterCallback(const sensor_msgs::LaserScan::ConstPtr& msg) { //Figure out if I need to u...
<commit_before>#include "ros/ros.h" #include "std_msgs/Time.h" #include "std_msgs/Float32.h" #include "std_msgs/UInt32.h" #include "geometry_msgs/Quaternion.h" #include "geometry_msgs/Point.h" #include "geometry_msgs/Pose.h" #include "sensor_msgs/LaserScan.h" #include "nav_msgs/MapMetaData.h" #include "nav_msgs/Occupan...
<commit_before><commit_msg>Make GetSelectionMaster virtual<commit_after><|endoftext|>
<commit_before>#ifndef BLUETOE_CHARACTERISTIC_VALUE_HPP #define BLUETOE_CHARACTERISTIC_VALUE_HPP #include <bluetoe/options.hpp> #include <bluetoe/attribute.hpp> namespace bluetoe { namespace details { struct characteristic_value_meta_type {}; struct characteristic_parameter_meta_type {}; ...
<commit_before>#include <nanyc/library.h> #include <nanyc/program.h> #include <yuni/yuni.h> #include <yuni/core/getopt.h> #include <yuni/core/string.h> #include <yuni/io/filename-manipulation.h> #include <yuni/datetime/timestamp.h> #include <iostream> #include <vector> #include <algorithm> #include <memory> #include <r...
<commit_before>// This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 #include "devicecrawler.hh" #if __has_include(<filesystem>) // clang++ 6.0.0 #include <filesystem> namespace Fs = std::filesystem; #else // g++ 7.4.0 #include <experimental/filesystem> name...
<commit_before>// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2015 Intel Corporation. All Rights Reserved. #include "librealsense2\rs.hpp" #include "librealsense2\hpp\rs_internal.hpp" #include <fstream> #include <thread> #include "tclap/CmdLine.h" using namespace std; using namespace TC...
<commit_before>// $Id: HINFile_test.C,v 1.7 2001/04/24 22:05:02 amoll Exp $ #include <BALL/CONCEPT/classTest.h> /////////////////////////// #include <BALL/FORMAT/HINFile.h> #include <BALL/KERNEL/system.h> #include <BALL/KERNEL/PTE.h> /////////////////////////// START_TEST(HINFile, "$Id: HINFile_test.C,v 1.7 2001/04...
<commit_before>//===-- Language.cpp -------------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------...
<commit_before>#include "codec.h" #include "surface.h" #include "../orz/logger.h" namespace Img { bool AbstractCodec::LoadHeader(IO::FileReader::Ptr reader) { try { if (reader == nullptr) { DO_THROW(Err::InvalidParam, "Reader was null."); } m_file = reader; { std::lock_guard<std::mutex> l(m_sta...
<commit_before>/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib 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 * * Unles...
<commit_before>/******************************************************************************* * c7a/core/stage_builder.hpp * * Part of Project c7a. * * * This file has no license. Only Chuck Norris can compile it. ******************************************************************************/ #pragma once #if...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestUncertaintyTubeFilter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for deta...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C $ ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/perv/p9_sbe_common.H $ ...
<commit_before>#pragma once #include <memory> #include <random> #include "agent.hpp" class position; class alphabeta_pv : public agent { const size_t mask_max; const size_t mask_min; std::unique_ptr<uint64_t[]> pv_max; std::unique_ptr<uint64_t[]> pv_min; std::ranlux24 r{std::random_device{}()}; int eva...
<commit_before><commit_msg>align fixes for color texts<commit_after><|endoftext|>
<commit_before><commit_msg>Refactor timers tests<commit_after><|endoftext|>
<commit_before>#include "bitfield.h" unsigned long getBitField(uint8_t* data, int startBit, int numBits) { unsigned long ret = 0; int startByte = startBit / 8; if (numBits <= 8 ) { // Bit fields are positioned according to big-endian bit layout, but // inside the bit field, values are represented a...
<commit_before>#include <stan/math/prim.hpp> #include <test/unit/util.hpp> #include <gtest/gtest.h> TEST(MathMatrixPrimMat, append_row) { using Eigen::Dynamic; using Eigen::Matrix; using Eigen::MatrixXd; using Eigen::RowVectorXd; using Eigen::VectorXd; using stan::math::append_row; using std::vector; ...
<commit_before>/* This file is part of the KDE project Copyright (C) 2006 Tim Beaulen <tbscope@gmail.com> Copyright (C) 2006-2007 Matthias Kretz <kretz@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as publ...
<commit_before>#include <type_traits> #include <utility> #include "../fakeconcepts.h" #include "../tests/testbench.h" #define Action typename //∨ namespace eop { template<typename T> struct domain_type { typedef T type; }; template<typename T> struct domain_type<void(T&)> { typedef T type; }; template...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2007 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>#ifndef BAULK_RCWRITER_HPP #define BAULK_RCWRITER_HPP #include <string> #include <string_view> #include <bela/strcat.hpp> /***** //Microsoft Visual C++ generated resource script. // #include "windows.h" ///////////////////////////////////////////////////////////////////////////// //@MANIFEST VS_VERSIO...
<commit_before>/*========================================================================= Library: TubeTK Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in complian...
<commit_before>//===--- Format.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 // //===------------...