text
stringlengths
54
60.6k
<commit_before>#ifndef __TENSOR_BLOB_HPP__ #define __TENSOR_BLOB_HPP__ #include <string> #include <vector> #include <memory> #include "../device_context/context.hpp" namespace mlfe{ template <class DeviceContext, class = typename std::enable_if<std::is_base_of<Context, DeviceContext>::value, DeviceContext>::type > cl...
<commit_before>/* Copyright 2011 Brain Research Institute, Melbourne, Australia Written by Robert E. Smith, 2013. This file is part of MRtrix. MRtrix 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 ...
<commit_before>/* * By Jesse Blagg and Ryan Morris * Huffman Compression program * for CSCI 480 * September 2014 */ #include "../headers/huffman.h" Huffman::Huffman() { file_to_compress = ""; header_table = ""; encoded_text = ""; } void Huffman::bit_write(unsigned char &src, unsigned char &dest, const short int bi...
<commit_before>#include "GlSystem.hpp" #include "GlDevice.hpp" #include "GlContext.hpp" #if defined(___INANITY_PLATFORM_WINDOWS) #include "Win32Adapter.hpp" #include "../platform/Win32Window.hpp" #include "../Strings.hpp" #elif defined(___INANITY_PLATFORM_LINUX) || defined(___INANITY_PLATFORM_FREEBSD) #include "SdlAdap...
<commit_before>#include "rowindow.h" #include "ui_rowindow.h" ROWindow::ROWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::ROWindow) { ui->setupUi(this); this->game = new Reversi(); ui->lineEdit_playAt->setMaxLength(2); ui->lineEdit_playAt->setInputMask(">AD"); connect(ui->restar...
<commit_before>/* Copyright (c) 2012-2013 LevelDOWN contributors * See list at <https://github.com/rvagg/node-leveldown#contributing> * MIT +no-false-attribs License <https://github.com/rvagg/node-leveldown/blob/master/LICENSE> */ #include <node.h> #include <node_buffer.h> #include "database.h" #include "iterator....
<commit_before>#include "SensorSubsystem.h" #include "../RobotMap.h" #include <iostream> #include <math.h> #define PI 3.141592 SensorSubsystem::SensorSubsystem() : Subsystem("SensorSubsystem") { gyro = new AnalogInput(GYRO_SENSOR); dist_left = new AnalogInput(DIST_LEFT); dist_right = new AnalogInput(DIST_RIGHT); ...
<commit_before>// $Id: numeric_vector.C,v 1.19 2007-10-21 20:48:52 benkirk Exp $ // The libMesh Finite Element Library. // Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson // 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>// Copyright 2017 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "unique_store.h" #include "datastore.hpp" #include <vespa/searchlib/btree/btree.hpp> #include <vespa/searchlib/btree/btreebuilder.hpp> #include <vespa/searchlib/btree/...
<commit_before>#include "struct_metal.h" #include <algorithm> #include <functional> #include <sstream> #include <string> #include <vector> #include "taichi/backends/metal/constants.h" #include "taichi/backends/metal/data_types.h" #include "taichi/backends/metal/features.h" #include "taichi/backends/metal/kernel_util....
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. cpp-ethereum is dis...
<commit_before>/************************************************************************************ ** * @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved. * *************************************************************************************/ /** * @file g_fileinputstream.cpp ...
<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>/* * 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>/****************************************************************************** This source file is part of the Avogadro project. Copyright 2012 Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, so...
<commit_before>// Copyright Daniel Wallin 2006. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <libtorrent/torrent_handle.hpp> #include <boost/python.hpp> #include <libtorre...
<commit_before>class CfgServerInfoMenu { addAction = 0; // Enable/disable action menu item | use 0 to disable | default: 1 (enabled) // antiHACK = "infiSTAR + BattlEye"; antiHACK = "BattlEye"; hostedBy = "HC Corp"; ipPort = "189.1.169.221:2342"; openKey = "User7"; // https://community.bistudio.com/wiki...
<commit_before>#include "../include/DateTime.hpp" #include <ctime> namespace Kelly { static const int DaysInMonths[] = { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; static constexpr int64_t DaysPerYear = 365; static constexpr int64_t TicksPerYear = TicksPerDay * DaysPerYear; static co...
<commit_before> #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "WebAdmin.h" #include "StringMap.h" #include "WebPlugin.h" #include "PluginManager.h" #include "Plugin.h" #include "World.h" #include "Entities/Player.h" #include "Server.h" #include "Root.h" #in...
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http...
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availa...
<commit_before>// bslstl_referencewrapper.t.cpp -*-C++-*- #include <bslstl_referencewrapper.h> #include <bsls_bsltestutil.h> #include <iostream> #include <stdio.h> #include <stdlib.h> // ============================================================================ // ...
<commit_before>/* * The main source of the Beng proxy server. * * author: Max Kellermann <mk@cm4all.com> */ #include "tpool.h" #include "direct.h" #include "lb_instance.hxx" #include "lb_setup.hxx" #include "lb_connection.hxx" #include "tcp_stock.hxx" #include "tcp_balancer.hxx" #include "hstock.hxx" #include "sto...
<commit_before>#include <mtp/metadata/Metadata.h> #ifdef HAVE_TAGLIB # include <fileref.h> # include <tag.h> #endif namespace mtp { #ifdef HAVE_TAGLIB MetadataPtr Metadata::Read(const std::string & path) { TagLib::FileRef f(path.c_str()); auto tag = f.tag(); if (f.isNull() || !tag) return nullptr; auto ...
<commit_before>// // Copyright (c) 2002-2013 The ANGLE 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. // // UnfoldShortCircuitToIf is an AST traverser to convert short-circuiting operators to if-else statements. // The result...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>// Copyright (c) 2006-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 "base/safe_strerror_posix.h" #include <errno.h> #include <stdio.h> #include <string.h> #if defined(__GLIBC__) && define...
<commit_before>// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2012 Esteban Tovagliari. // // Permission is hereby granted, free of charge, to any person obtaining a copy //...
<commit_before>// $Id$ // Author: Sergey Linev 28/12/2013 /************************************************************************* * Copyright (C) 1995-2013, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#include "FlowControllerFactory.hpp" #include "FlowControllerImpl.hpp" #include <fastdds/dds/log/Log.hpp> namespace eprosima { namespace fastdds { namespace rtps { const char* const pure_sync_flow_controller_name = "PureSyncFlowController"; const char* const sync_flow_controller_name = "SyncFlowContro...
<commit_before>/* Copyright 2017 R. Thomas * Copyright 2017 Quarkslab * * 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 re...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: CustomAnimationDialog.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: kz $ $Date: 2008-04-02 09:44:26 $ * * The Contents of this f...
<commit_before>#include "demoloop.h" #include "graphics/3d_primitives.h" #include "graphics/mesh.h" #include "helpers.h" #include <array> #include <glm/gtx/rotate_vector.hpp> using namespace std; using namespace demoloop; float t = 0; const float CYCLE_LENGTH = 10; const float size = 3; Vertex plane(const float u, c...
<commit_before>/* dtkComposerNodeMetaScalarArray.cpp --- * * Author: tkloczko * Copyright (C) 2011 - Thibaud Kloczko, Inria. * Created: Fri Jul 13 16:06:48 2012 (+0200) * Version: $Id$ * Last-Updated: Wed Oct 17 11:36:54 2012 (+0200) * By: Julien Wintz * Update #: 16 */ /* Commentary: * */...
<commit_before>//! Copyright (c) 2014 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, thi...
<commit_before>#ifdef STAN_OPENCL #include <stan/math/opencl/kernel_generator/type_str.hpp> #include <gtest/gtest.h> TEST(MathMatrixCL, type_str) { EXPECT_EQ(type_str<double>::name, "double"); EXPECT_EQ(type_str<int>::name, "int"); EXPECT_EQ(type_str<bool>::name, "bool"); } #endif <commit_msg>fixed type_str te...
<commit_before>#include <stan/math/prim.hpp> #include <gtest/gtest.h> TEST(MathFunctions, apply_scalar_binary_copy_scalars) { int n = 1; Eigen::VectorXd lambda(1); lambda << 0.4; const auto& y1 = stan::math::apply_scalar_binary(n + 1, lambda, [&](const auto& c, const auto& d) { return stan::math::gamma_q(c, d...
<commit_before>/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * Created on: Jan 2018 * Author: Norbert Podhorszki */ #include <chrono> #include <ios> //std::ios_base::failure #include <iostream> //std::cout #include <numeric> ...
<commit_before>// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "stdafx.h" #include "CppUnitTest.h" #include "worker\Worker.h" #include "worker\WorkerContext.h" #include "TestWorkerContext.h" using nam...
<commit_before>#include <ctime> #include <iostream> #include <cstdlib> #include <iterator> #include <time_ordered_set.h> #include <Bucket.h> #include <ctime> int main(int argc, char *argv[]) { const size_t K = 1; { const size_t max_size=K*100000; auto tos =memseries::storage::TimeOrderedSet{ ...
<commit_before>#include <iostream> #include <limits.h> #include <thread> #include <unistd.h> int main() { char name[_POSIX_HOST_NAME_MAX + 1]; gethostname(name, sizeof(name)); std::cout << "Host name: " << name << std::endl; unsigned int cores = std::thread::hardware_concurrency(); std::cout << "T...
<commit_before>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 b...
<commit_before>#include "player.hpp" namespace msrv { namespace player_foobar2000 { namespace { inline t_size clampIndex(int32_t index, t_size count, t_size fallback); class PlaylistQueryImpl : public PlaylistQuery { public: PlaylistQueryImpl( const PlaylistRef& plrefVal, const Range& rangeVal, ...
<commit_before>/* * * * * * Implements the people detection algorithm described here: * M. Munaro, F. Basso and E. Menegatti, * Tracking people within groups with RGB-D data, * In Proceedings of the International Conference on Intelligent Robots and Systems (IROS) 2012, Vilamoura (Portugal), 2012. */ #inc...
<commit_before>#include <matrix.hpp> #include <catch.hpp> #include <iostream> using namespace std; SCENARIO("matrix init", "[init]") { Matrix matrix; REQUIRE(matrix.rows() == 0); REQUIRE(matrix.columns() == 0); } SCENARIO("params init", "[init with params]") { int init = 5; Matrix matrix(init, init); REQUIRE(m...
<commit_before>#include <BinaryTree.hpp> #include <catch.hpp> SCENARIO ("init", "[init]") { BinaryTree<int> obj; REQUIRE(obj.root_() == nullptr); } SCENARIO ("output to cout") { BinaryTree<int> tree; tree.insert_node(3); tree.writing("1.txt"); Binarytree <int> tree_1; tree_1.read("2.txt"); REQUIRE(tre...
<commit_before>#include "BinaryTree.hpp" #include <catch.hpp> SCENARIO("default constructor") { Tree<int> node; REQUIRE(node.root_() == nullptr); } SCENARIO("insert") { Tree<int> tree; tree.insert(7); REQUIRE(tree.x_() == 7); REQUIRE(tree.left_() == nullptr); REQUIRE(tree.right_() == nullptr); ...
<commit_before>#include "catch.hpp" #include <iostream> //#include "Database_Creator.hpp" #include "Database_Sorter.hpp" person readPerson(std::string const & file_name, size_t const index) { person result; std::ifstream file(file_name); for (size_t i = 0; i < index + 1; i++) { file >> result; } file.close(); ...
<commit_before>#include <rbt.h> #include <catch.hpp> SCENARIO ("init", "[init]") { RBT<int> tree; REQUIRE(tree.root_() == tree.nil_()); } SCENARIO("insert with search", "[ins+srch]") { RBT<int> tree; tree.insert(2); REQUIRE(tree.search(2) != 0); } SCENARIO("insert with search 2", "[ins+srch_2]") { RBT<in...
<commit_before>#include "YouBotGripperService.hpp" #include <youbot/YouBotManipulator.hpp> #include <stdio.h> #include <cassert> #include <youbot/ProtocolDefinitions.hpp> #include "YouBotHelpers.hpp" namespace YouBot { using namespace RTT; using namespace RTT::types; using namespace std; YouBotGripperService::...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BE...
<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...
<commit_before>/******************************************************************************* * c7a/data/block_reader.hpp * * Part of Project c7a. * * Copyright (C) 2015 Timo Bingmann <tb@panthema.net> * * This file has no license. Only Chuck Norris can compile it. ********************************************...
<commit_before>// // Created by Bidbip on 10/8/2017. // #include "IntMap.h" using namespace std; static int FREE_KEY = 0; static int NO_VALUE = 0; static int INT_PHI = 0x9E3779B9; IntMap::IntMap() { i_size = 4; m_fillFactor = .75f; init(); } IntMap::IntMap(int size) { i_size = size; m_fillFact...
<commit_before>// Copyright 2018 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2011,2012 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public /...
<commit_before>/***************************************************************************************** * * * OpenSpace * * ...
<commit_before>#include <boost/algorithm/string/find.hpp> #include <boost/filesystem.hpp> #include <regex> #include "androidmanager.h" #include "utilities/utils.h" #include <boost/phoenix/stl/algorithm/transformation.hpp> #include <boost/spirit/include/phoenix_core.hpp> #include <boost/spirit/include/qi.hpp> namesp...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: VDataSeries.hxx,v $ * $Revision:...
<commit_before>/* Copyright 2012 Ulrik Mikaelsson <ulrik.mikaelsson@gmail.com> 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>#include "html_generator/tags.hpp" #include <boost/test/unit_test.hpp> BOOST_AUTO_TEST_CASE(checking_empty_html) { std::string html_generated; auto erased_html_sink = Si::Sink<char, Si::success>::erase( Si::make_container_sink(html_generated)); const auto &content = tags::menu(tags::p("Cont...
<commit_before>#pragma once namespace autocxxpy { struct additional_init_default { //static void init(pybind11::module &m) template <class T> inline static void init(T&m) { } }; template <class tag> struct additional_init : additional_init_default {}; } ...
<commit_before>#pragma once #include <functional> #include <string> #include <vector> #include <athena/DNAYaml.hpp> #include <athena/Global.hpp> #include <athena/Types.hpp> namespace hecl { namespace DNACVAR { enum class EType : atUint8 { Boolean, Signed, Unsigned, Real, Literal, Vec2f, Vec2d, Vec3f, Ve...
<commit_before>#pragma once #include "../lubee/random.hpp" #include "../lubee/check_serialization.hpp" #include <gtest/gtest.h> #include <cereal/archives/json.hpp> #include <cereal/archives/binary.hpp> namespace spi { namespace test { class Random : public ::testing::Test { private: lubee::RandomMT _mt; p...
<commit_before>#include "message.h" Message::Message(zmq::socket_t& socket) { while (true) { zmq::message_t message; socket.recv(&message); std::string as_string((char*) message.data(), message.size()); frames_.push_back(as_string); // See if there are more int mor...
<commit_before>#if !defined(SIP0X_LOGIC_UAS_HPP__) #define SIP0X_LOGIC_UAS_HPP__ //! //! Copyright 2014 Matteo Valdina //! //! 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 //! //! htt...
<commit_before>#include <iostream> #include <set> #include <vector> #include <unordered_set> #include <algorithm> #include <chrono> #include <random> // based on std::set_symmetric_difference template<typename InputIterator1, typename InputIterator2, typename OutputIterator> OutputIterator set_symmetric_difference_w...
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE** * * Condor Software Copyright Notice * Copyright (C) 1990-2006, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * This source code is covered by the Condor Public License, which can * be foun...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the Lic...
<commit_before>#ifndef CONTAINERS_ARCHIVE_ARCHIVE_HPP_ #define CONTAINERS_ARCHIVE_ARCHIVE_HPP_ #include <stdint.h> #include "errors.hpp" #include "containers/intrusive_list.hpp" class uuid_t; struct fake_archive_exc_t { const char *what() const throw() { return "Writing to a tcp stream failed."; } }...
<commit_before>// -*- mode: c++; coding: utf-8 -*- /*! @file simulation.cpp @brief Implementation of Simulation class */ #include "simulation.hpp" #include <wtl/debug.hpp> #include <wtl/iostr.hpp> #include <wtl/getopt.hpp> #include <wtl/zfstream.hpp> #include <sfmt.hpp> #include <boost/asio.hpp> #include "indivi...
<commit_before>//===- mlir-op-gen.cpp - MLIR op generator --------------------------------===// // // Copyright 2019 The MLIR 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 // /...
<commit_before>/* * This file is part of QZeitgeist. * * Copyright (C) 2013 David Rosca <nowrep@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 o...
<commit_before>/* Copyright (C) Gbor "Razzie" Grzsny 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, modify, merge, publi...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> #include <linux/joystick.h> #define JOY_DEV "/dev/input/js0" int main() { int joy_fd, *axis=NULL, num_of_axis=0, num_of_buttons=0, x; char *button=NULL, name_of_joystick[80]; struct js_event...
<commit_before>/* * DesktopWebView.cpp * * Copyright (C) 2009-18 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero Genera...
<commit_before>/* * uuid.hpp * * Created on: 2015. 10. 13. * Author: hwang */ #ifndef INCLUDE_UTIL_UUID_HPP_ #define INCLUDE_UTIL_UUID_HPP_ #include <uuid/uuid.h> #include <string> using namespace std; namespace cossb { namespace util { typedef struct _uuid { public: _uuid() { uuid_generate(code); ...
<commit_before>#include "network.h" #include <memory> #include <sstream> using namespace std::string_literals; // NOLINT (google-build-using-namespace) namespace franka { Network::Network(const std::string& franka_address, uint16_t franka_port, std::chrono::milliseconds timeout) ...
<commit_before>#include "defaults.h" #include "wsauthenticator.h" #include "wsremoteconnector_p.h" #include <QtCore/QDebug> #include <QtCore/QJsonDocument> #include <QtCore/QJsonObject> #include <QtCore/QTimer> #include <QtCore/QTimerEvent> using namespace QtDataSync; #define LOG defaults()->loggingCategory() const...
<commit_before>/* * MDE4CPP - Model Driven Engineering for C++ * * Copyright (c) TU Ilmenau, Systems and Software Engineering Group * All rights reserved. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL...
<commit_before>//===-- RuntimeDyld.h - Run-time dynamic linker for MC-JIT ------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<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/extensions/extension_apitest.h" #include "chrome/browser/browser.h" #include "chrome/browser/prefs/pref_servi...
<commit_before>// TRENTO: Reduced Thickness Event-by-event Nuclear Topology // Copyright 2015 Jonah E. Bernhard, J. Scott Moreland // MIT License #include "nucleon.h" #include <cmath> #include <limits> #include <random> #include <stdexcept> #include <cstdlib> #include <iostream> #include <fstream> #include <iomanip>...
<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/extensions/extension_apitest.h" #include "chrome/browser/browser.h" #include "chrome/browser/pref_service.h" ...
<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/extensions/extension_apitest.h" #include "chrome/browser/browser.h" #include "chrome/browser/prefs/pref_servi...
<commit_before>#include "opt_eval.h" #include <gflags/gflags.h> #include <iostream> #include <type_traits> #include "ncode_common/src/file.h" #include "ncode_common/src/logging.h" #include "ncode_common/src/lp/demand_matrix.h" #include "ncode_common/src/net/net_gen.h" #include "ncode_common/src/perfect_hash.h" #inclu...
<commit_before>//===- UnifyFunctionExitNodes.cpp - Make all functions have a single exit -===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<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/webui/ntp/new_tab_page_handler.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/mem...
<commit_before>#include <string> #include <regex> #include <optional> #include <map> #include <tuple> #include "acmacs-base/argv.hh" #include "acmacs-base/enumerate.hh" #include "acmacs-chart-2/chart.hh" #include "acmacs-chart-2/factory-import.hh" #include "hidb-5/hidb.hh" // -----------------------------------------...
<commit_before>//===- UnifyFunctionExitNodes.cpp - Make all functions have a single exit -===// // // This file provides several routines that are useful for simplifying CFGs in // various ways... // //===----------------------------------------------------------------------===// #include "llvm/Transforms/Scalar/Unify...
<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. // // This code glues the RLZ library DLL with Chrome. It allows Chrome to work // with or without the DLL being present. If the DLL is ...
<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/gpu/gpu_channel.h" #if defined(OS_WIN) #include <windows.h> #endif #include "base/command_line.h" #include "base/pro...
<commit_before>/************************************************************************** ** ** Copyright (c) 2013 BogDan Vatra <bog_dan_ro@yahoo.com> ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may ...
<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) 2011 - 2013 Research In Motion ** ** Contact: Research In Motion (blackberry-qt@qnx.com) ** Contact: KDAB (info@kdab.com) ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees hold...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** GNU Lesser General Public License Usage ** ** This file may ...
<commit_before>#include "p2ppipe.h" #include "utils.h" #include "crypto/sha2.h" #include <thread> #include <chrono> #include <string.h> #include <unistd.h> #include <sys/time.h> #include <stdio.h> #include <cstddef> #ifdef WIN32 #include <winsock2.h> #include <ws2tcpip.h> #else // WIN32 #include <sys/socket.h> #i...
<commit_before><commit_msg>Switch specular-color to CIE 1931 10 degree observer<commit_after><|endoftext|>
<commit_before>////////////////////////////////////////////////////////////////////////////// // AboutDialog.cpp // // Copyright 2011 Johannes Marbach. All rights reserved. // See the LICENSE file for details. #include <config.h> #include "AboutDialog.h" namespace jRadio { // Constructor & destructor...