text
stringlengths
54
60.6k
<commit_before>/* * Copyright © 2014 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, mod...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2006 Ulrich von Zadow // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2 of the Li...
<commit_before>/* * Copyright © 2008, 2009 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, cop...
<commit_before>// Check that we transparently fallback to llvm-gcc for i386 kexts, we don't // support the ABI they use (yet). // RUN: %clang -target i386-apple-darwin10 \ // RUN: -fapple-kext -### -fsyntax-only %s 2> %t // RUN: FileCheck --check-prefix=CHECK < %t %s // CHECK: cc1plus" // CHECK: "-fapple-kext" // ...
<commit_before>#include "ieventdispatcher.h" #include "iconnection.h" #include <cstdio> #define IEVENTDISPATCHER_DEBUG using namespace std; IEventDispatcher::~IEventDispatcher() { map<FileDescriptor, IConnection*>::iterator it = m_connections.begin(); for ( ; it != m_connections.end(); it = m_connections.b...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2010 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-plat...
<commit_before> #include "histoBook.h" #include "TKey.h" #include "TObject.h" // constructor sets the name of the file for saving histoBook::histoBook( string name, string input, string inDir ){ if (name.find( ".root") != std::string::npos){ filename = name; } else filename = name + ".root"; currentDir = "...
<commit_before>#include <cmath> #include <cstdarg> #include <iostream> #include "opencv2/core.hpp" using namespace cv; #include "math.hpp" float median(std::vector<float>& v) { const int n = v.size(); assert(n > 0); if (n == 1) return v[0]; std::sort(v.begin(), v.end()); return v[n / 2]; } float mean(std::vec...
<commit_before>{% extends '0key_output.cpp' %} {% block templateargs %} {{state_type}}, counter, &{{update_func}}, &get_count {% endblock %} {% block output %} {{output_tuple_type}} {{output_tuple_name}}; {{output_tuple_set_func}}({{output_tuple_name}}_tmp); {% endblock %} <commit_msg>remove newlines in template<com...
<commit_before>#include "vast/index.h" #include <cppa/cppa.hpp> #include "vast/bitmap_index.h" #include "vast/segment.h" #include "vast/expression.h" #include "vast/partition.h" #include "vast/uuid.h" #include "vast/io/serialization.h" using namespace cppa; namespace vast { index_actor::index_actor(path directory, ...
<commit_before>#ifndef LUACPP_REGISTER_ANY_FUNCTION_HPP #define LUACPP_REGISTER_ANY_FUNCTION_HPP #include "luacpp/stack.hpp" #include "luacpp/register_closure.hpp" #include "luacpp/from_lua_cast.hpp" #include "luacpp/coroutine.hpp" #include <silicium/detail/integer_sequence.hpp> namespace lua { namespace detail { ...
<commit_before>/* * Copyright 2017 Andrei Pangin * * 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>/*! \copyright (c) RDO-Team, 2011 \file rdortp.cpp \authors Барс Александр \authors Урусов Андрей (rdo@rk9.bmstu.ru) \date 11.06.2006 \brief Типы ресурсов \indent 4T */ // ---------------------------------------------------------------------------- PCH #include "simula...
<commit_before>/* Copyright (c) 2018 PaddlePaddle 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 applic...
<commit_before>#include <microscopes/common/group_manager.hpp> using namespace std; using namespace microscopes::common; typedef fixed_group_manager<size_t> fixed_group; typedef group_manager<size_t> group; static inline bool almost_eq(float a, float b) { return fabs(a - b) <= 1e-5; } template <typename T> static...
<commit_before>#include "generated_fused_sparse_resnet_block.o.h" #include "Halide.h" #include <tiramisu/utils.h> #include <cstdlib> #include <iostream> #include <fstream> #include <algorithm> #include "configure.h" // Original version by: Kyle Spafford Adapted for CSR format void initRandomWeights(float* fin_values, ...
<commit_before>#include "OutputProbes.h" #include <gtest/gtest.h> using namespace ibpm; namespace { double tol = 1e-14; class OutputProbesTest : public testing::Test { protected: OutputProbesTest( ) : _nx(8), _ny(12), _ngrid(3), _xLength(2), _yLength(_xLength * _ny/_...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // The Loki Library // Copyright (c) 2006 Peter Kmmel // Permission to use, copy, modify, distribute and sell this software for any // purpose is hereby granted without fee, provided that the above copyright // not...
<commit_before>// Copyright 2010 Gregory Szorc // // 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>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "imported_search_context.h" #include "attributeiterators.hpp" #include "imported_attribute_vector.h" #include "reference_attribute.h" #include <vespa/searchcommon/attribute/sea...
<commit_before>#ifndef STAN_MATH_MIX_HPP #define STAN_MATH_MIX_HPP #include <stan/math/mix/meta.hpp> #include <stan/math/mix/fun.hpp> #include <stan/math/mix/functor.hpp> #ifdef STAN_OPENCL #include <stan/math/opencl/rev.hpp> #endif #include <stan/math/fwd/core.hpp> #include <stan/math/fwd/meta.hpp> #include <stan/m...
<commit_before>/* * Copyright (c) 2013 The WebM 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>#include <mettle.hpp> using namespace mettle; #include <iostream> #include <fcntl.h> #include <unistd.h> #include <mettle/driver/posix/scoped_pipe.hpp> using namespace mettle::posix; suite<scoped_pipe> test_scoped_pipe("scoped_pipe", [](auto &_) { _.setup([](scoped_pipe &pipe) { expect("open pip...
<commit_before>// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 2004-present Facebook. All Rights Reserved. #include <folly/Memory.h> #include <folly/io/async/AsyncServerSocket.h> #include <gmock/gmock.h> #include "src/FrameTransport.h" #include "src/NullRequestHandler.h" #include "src/SmartPointers.h" #include "src/StandardReactiveSocket.h" #include "s...
<commit_before><commit_msg>Update: system_io prototype<commit_after><|endoftext|>
<commit_before>/** * @file nearest_neighbor_rules_impl.hpp * @author Ryan Curtin * * Implementation of NearestNeighborRules. */ #ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_NEAREST_NEIGHBOR_RULES_IMPL_HPP #define __MLPACK_METHODS_NEIGHBOR_SEARCH_NEAREST_NEIGHBOR_RULES_IMPL_HPP // In case it hasn't been included yet. ...
<commit_before>#ifndef itkGMMKCPointSetToPointSetMetric_hxx #define itkGMMKCPointSetToPointSetMetric_hxx #include "itkGMMKCPointSetToPointSetMetric.h" namespace itk { /** * Constructor */ template <typename TFixedPointSet, typename TMovingPointSet> GMMKCPointSetToPointSetMetric<TFixedPointSet, TMovingPointSet>::GMM...
<commit_before>/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file...
<commit_before>// ======================================================================== // // Copyright 2015-2019 Ingo Wald // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // optimizer_sql_test.cpp // // Identification: test/sql/optimizer_sql_test.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===------------------------...
<commit_before> #include <togo/config.hpp> #include <togo/types.hpp> #include <togo/error/assert.hpp> #include <togo/utility/utility.hpp> #include <togo/utility/tags.hpp> #include <togo/utility/traits.hpp> #include <togo/utility/constraints.hpp> #include <togo/utility/args.hpp> #include <togo/math/types.hpp> #include <...
<commit_before>/********************************************************************** * $Id$ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesse...
<commit_before>// Copyright (C) 2012 Rhys Ulerich // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This prog...
<commit_before> #include <sstream> #include "flame/base.h" #include "pyflame.h" #define TRY PyMachine *machine = reinterpret_cast<PyMachine*>(raw); try namespace { struct PyMachine { PyObject_HEAD PyObject *weak; Machine *machine; }; static int PyMachine_init(PyObject *raw, PyObject *args, PyObject *...
<commit_before>// Copyright (c) 2012, Steinwurf ApS // 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>#include <accumulate.hpp> #include "helpers.hpp" #include <vector> #include <iterator> #include <string> #include "catch.hpp" using iter::accumulate; using itertest::BasicIterable; using Vec = const std::vector<int>; TEST_CASE("Simple sum", "[accumulate]") { Vec ns{1, 2, 3, 4, 5}; std::vector<in...
<commit_before>// Copyright 2021 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>#include "UI_Image.h" #include "j1App.h" #include "j1Render.h" void Image::BlitElement() { SDL_SetTextureAlphaMod(texture, App->gui->alpha_value); iPoint globalPos = calculateAbsolutePosition(); App->render->Blit(texture, globalPos.x, globalPos.y, &section, false, App->gui->UI_scale); } <commit_msg>s...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * * 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 no...
<commit_before>#include <signal.h> #ifdef PROFILER #include <gperftools/profiler.h> #endif #include "matrix_config.h" #include "io_interface.h" #include "safs_file.h" #include "sparse_matrix.h" #include "NUMA_dense_matrix.h" #include "matrix/FG_sparse_matrix.h" using namespace fm; void int_handler(int sig_num) { #ifd...
<commit_before>#ifndef PROFILER_HH_INCLUDED #define PROFILER_HH_INCLUDED #include <string> #include <iostream> #include <map> #include <vector> #include <ctime> #include <boost/foreach.hpp> #include <boost/format.hpp> #include "misc.hh" //! wraps name, start- and end time for one timing section struct ...
<commit_before><commit_msg>Update bench_norm utility<commit_after><|endoftext|>
<commit_before>// // Create a PaymentRequest object, given: // REQUIRED: // paytoaddress= : one of your bitcoin addresses (ideally, a unique-per-customer address) // certificates= : one or more .pem files containing certificate chain signed by trusted root CA // privatekey= : .pem file containing private key for fir...
<commit_before>#include <shell.hpp> #include <kdb> #include <iostream> #include <sstream> using namespace std; using namespace kdb; ShellCommand::ShellCommand() {} int ShellCommand::execute(int, char**) { KeySet current; Key currentKey; string commandline; string prompt = "> "; cout << prompt; while (getli...
<commit_before>/** * \file * \brief Unit Test for TCP Server * * All Tests are based on client_connection.feature */ #include <gtest/gtest.h> #include <Poco/Net/StreamSocket.h> #include <Poco/Net/SocketStream.h> #include <Poco/Net/NetException.h> #include <Poco/File.h> /** * \brief Execute tests on TCP server *...
<commit_before>#include "keytar.h" #define UNICODE #include <windows.h> #include <wincred.h> #include "credentials.h" namespace keytar { LPWSTR utf8ToWideChar(std::string utf8) { int wide_char_length = MultiByteToWideChar(CP_UTF8, 0, ...
<commit_before>/** * * License: Apache License 2.0 * Author: Dario Ostuni <another.code.996@gmail.com> * **/ #pragma once #include <vector> #include <queue> #include <cmath> #include <cassert> #include <algorithm> #include <iostream> namespace ostuni { template<typename T> class scapegoat; template<typename T> cla...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Gael Guennebaud <g.gael@free.fr> // // Eigen 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...
<commit_before>/************************************************************************* * This file is part of the Gluon Development Platform * * Copyright (c) 2011 Arjen Hiemstra <ahiemstra@heimr.nl> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Librar...
<commit_before>/* Copyright (c) 2019 - 2021 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 r...
<commit_before> #include "../MultiTokenizer.h" #include "../Stemmer.h" #include <phpcpp.h> using namespace std; enum { DISKERROR_STEM_RETURN_ARRAY = 1, DISKERROR_STEM_RETURN_BIGRAM }; Php::Value stem(Php::Parameters &params) { static MultiTokenizer tokenizer; string p = params[0]; tokenizer.SetText...
<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>// Copyright (c) 2014 The Caroline authors. All rights reserved. // Use of this source file is governed by a MIT license that can be found in the // LICENSE file. // Author: Aleksandr Derbenev <13alexac@gmail.com> #include "core/optical_flow_processor.h" #include <string> #include "base/values.h" #inc...
<commit_before>/*! \file Mesh.cpp * \author Jared Hoberock * \brief Implementation of Mesh class. */ #include "Mesh.h" #include "../geometry/Normal.h" #include <2dmapping/UnitSquareToTriangle.h> Mesh ::Mesh(const std::vector<Point> &vertices, const std::vector<Triangle> &triangles) :Parent0(verti...
<commit_before><commit_msg>make SwClientIter::GoStart/GoEnd private<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mdiexp.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-09 02:00:43 $ * * The Contents of this file are made av...
<commit_before>#include "../TCPSocket.h" #include <cstring> #include <iostream> using namespace NET; int main() { static char send_msg[] = "The quick brown fox jumps over the lazy dog"; static char recv_msg[sizeof(send_msg)]; static size_t len = sizeof(send_msg); try { // Test peer status on a TCP socket TCP...
<commit_before>/* This file is part of QJson * * Copyright (C) 2009 Flavio Castelli <flavio.castelli@gmail.com> * * 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 ...
<commit_before>#include <QtCore/QDebug> #include <QtCore/QTimer> #include <QtDBus/QtDBus> #include <QtTest/QtTest> #include <TelepathyQt4/ConnectionCapabilities> #include <TelepathyQt4/ConnectionManager> #include <TelepathyQt4/Debug> #include <TelepathyQt4/PendingReady> #include <TelepathyQt4/PendingStringList> #inc...
<commit_before>/** \brief Utility for updating SQL schemata etc. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2019 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms o...
<commit_before>/* $Id$ */ # ifndef CPPAD_CHECK_SIMPLE_VECTOR_INCLUDED # define CPPAD_CHECK_SIMPLE_VECTOR_INCLUDED /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-12 Bradley M. Bell CppAD is distributed under multiple licenses. Th...
<commit_before>#include <ecto/plasm.hpp> #include <ecto/tendril.hpp> #include <ecto/module.hpp> #include <string> #include <map> #include <set> #include <utility> #include <deque> //this quiets a deprecated warning #define BOOST_NO_HASH #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp>...
<commit_before>#ifndef __FUTURE_HPP__ #define __FUTURE_HPP__ #include "SoftXMT.hpp" #include "Delegate.hpp" #include "Cache.hpp" //TODO: special ArgsCache acquire, which //uses args pointer field as a global address //to the future and either //1. flip the started bit //2. or simply acquire RW instead of RO (and Cach...
<commit_before>/* * Copyright (c) 2013, Hernan Saez * 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, t...
<commit_before>// Copyright 2011 Branan Purvine-Riley and Adam Johnson // // 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 requir...
<commit_before>#include <core/game_state_eval.hpp> #include <util/constants.hpp> // Declarations of all feature functions int PileHeight(GameState const& state); int Holes(GameState const& state); int ConnectedHoles(GameState const& state); int RemovedRows(GameState const& state); // TODO int AltitudeDifference(GameSt...
<commit_before>/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License....
<commit_before>#include <exodus/exodus.h> //for the sake of multivalue gurus new to exodus/C++ this is written //with multivalue-mimicking "everything is a global function" syntax //instead of exodus's native OO-style "objects and methods" syntax var filename="myclients"; subroutine sortselect(in file, in sortselect...
<commit_before>/*************************************************************************/ /* image_loader_bmp.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>#include "sample.hpp" #include <cstdio> #include <cstdlib> #include <cassert> #include <vector> #include <signal.h> #include <GL/glew.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "shader.hpp" class FBOSample : public Sample { public: v...
<commit_before>#include "Method_GNEB.h" #include "Manifoldmath.h" #include "Cubic_Hermite_Spline.h" #include "IO.h" #include "Timing.h" #include "Optimizer_Heun.h" #include "Optimizer_SIB.h" #include "Vectormath.h" #include"Logging.h" #include <iostream> #include <math.h> using namespace Utility; namespace Engine...
<commit_before>/* * Copyright (C) 2012 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 * * Unless required by appl...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2020 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted p...
<commit_before>#ifndef LISP_PTR_I_HH #define LISP_PTR_I_HH #ifndef LISP_PTR_HH #error "Please include via parent file" #endif #include <cassert> #include <type_traits> // Lisp_ptr constructors inline constexpr Lisp_ptr::Lisp_ptr() : tag_(Ptr_tag::undefined), u_(0){} inline constexpr Lisp_ptr::Lisp_ptr(bool b) : ...
<commit_before>#include <libmesh/parallel_implementation.h> // max() #include <libmesh/elem.h> #include <libmesh/mesh.h> #include <libmesh/mesh_triangle_holes.h> #include <libmesh/mesh_triangle_interface.h> #include <libmesh/point.h> #include <libmesh/poly2tri_triangulator.h> #include "test_comm.h" #include "libmesh_c...
<commit_before>// Important copyright notice: // Some parts of this file were copied from Mikael Patel's Cosa library, which copyright appears below. // Some parts of this file directly derive from https://tty1.net/blog/2008/avr-gcc-optimisations_en.html // Other parts are under Copyright (c) 2016, Jean-Francois Poilp...
<commit_before>//! Copyright (c) 2013 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>#include <iostream> #include <vector> #include <string> #include <cstdlib> int main(int argc, char* argv[]) { using namespace std; vector<string> cmdlineargs(argv+1, argv+argc); auto rbiterv = cmdlineargs.rbegin(); while( rbiterv != cmdlineargs.rend() ) { auto& arg = ...
<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/run_loop.h" #include "chrome/browser/extensions/api/gcm/gcm_api.h" #include "chrome/browser/extensions/extension_apitest.h" ...
<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/prerender/prerender_tab_helper.h" #include "base/metrics/histogram.h" #include "base/strings/string_number_co...
<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/render_messages.h" #include "chrome/test/render_view_test.h" #include "testing/gtest/include/gtest/gtest.h" #in...
<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. // Constant defines used in the cloud print proxy code #include "chrome/service/cloud_print/cloud_print_consts.h" const char kProxyId...
<commit_before>#include <thread> #include "BFER.hpp" using namespace aff3ct; using namespace aff3ct::factory; const std::string aff3ct::factory::BFER::name = "Simulation BFER"; const std::string aff3ct::factory::BFER::prefix = "sim"; BFER::parameters ::parameters(const std::string name, const std::string prefix) ...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012, John Haddon. 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) 2018 Alexander Akulich <akulichalexander@gmail.com> This file is a part of TelegramQt library. 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; e...
<commit_before> /* tests/test-param-fuzzy.C * Copyright (C) 2002 David Saunders * shamelessly mutated from one of the other field tests. * * * ========LICENCE======== * This file is part of the library LinBox. * * LinBox is free software: you can redistribute it and/or modify * it under the terms of the GNU L...
<commit_before>#include "mainpatch.h" #include "console/windows_wrap.h" #include <time.h> #include "patchmanager.h" #include "memory.h" #include "offsets.h" #include "commands.h" #include "unit.h" #include "text.h" #include "selection.h" #include "order.h" #include "limits.h" #include "targeting.h" #include "draw.h" ...
<commit_before>#include <iostream> #include <vector> #include <cmath> #include <assert.h> #include <atomic> #include <algorithm> #include <gtest/gtest.h> #include "../algorithm.h" #include "../parallel.h" #include "../sequence.h" #include "../async.h" #include "../task.h" class Parallel2Test : testing::Test { }; TEST...
<commit_before>#include <cstdio> int main(){ char o; int i, j, c; float s = 0.0, n; scanf("%d", &c); scanf("%s", &o); for (i = 0; i <= 11; i++){ for (j = 0; j <= 11; j++){ scanf("%f", &n); if (j == c){ s += n; } } } if ...
<commit_before> #include "LightApp_ShowHideOp.h" #include "LightApp_Application.h" #include "LightApp_DataOwner.h" #include "LightApp_Module.h" #include "LightApp_Study.h" #include "LightApp_Displayer.h" #include "CAM_Study.h" #include "LightApp_SelectionMgr.h" #include "LightApp_Selection.h" #include <SALOME_ListIO....
<commit_before>/****************************************************************** * * Round for C++ * * Copyright (C) Satoshi Konno 2015 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #include <boost/test/unit_test.hpp> #include <r...
<commit_before>#include "llvm/ADT/APInt.h" #include "llvm/IR/ConstantRange.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/IR/NoFolder.h" #include "llvm/IR/Type.h" #include "llvm/IR/Verifier.h" #include "llvm/Support/raw_ostream.h" #include <cassert> #includ...
<commit_before>/* Copyright (c) 2006, 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>// Author: Daisuke Kanaizumi // Affiliation: Department of Applied Mathematics, Waseda University // Email: daisuke15@asagi.waseda.jp // Verification program for modified q-Bessel functions // by using double exponential formula with verified error bounds. // References // Zhang, R. (2008). Plancherel...
<commit_before>#include <gtest/gtest.h> #include "Stuff.h" #include "ESpectrumBase.h" #include <sstream> /** @class StuffTest * @brief Tests EMPA processor stuff functionality * */ extern bool UNIT_TESTING; // Switched off by default // A new test class of these is created for each test class EvalTest : public ...
<commit_before>/* Copyright (c) 2020 ANON authors, see AUTHORS file. 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...
<commit_before>#ifndef _vector_hpp_1337420 #define _vector_hpp_1337420 #include <cstdlib> #include <new> #include <utility> #include <memory> #include <type_traits> #include <iterator> #include "../core/algorithm.hpp" #include "../ztl_base.hpp" __ztl_namespace_start template <class T> class vector {...
<commit_before>// // Defines main() function and command-line arguments used by ccons. // // Part of ccons, the interactive console for the C programming language. // // Copyright (c) 2009 Alexei Svitkine. This file is distributed under the // terms of MIT Open Source License. See file LICENSE for details. // #include...
<commit_before>/** \file find_tue_dups.cc * \author Dr. Johannes Ruscheinski * * Local data blocks are embedded marc records inside of a record using LOK-Fields. * Each local data block belongs to an institution and is marked by the institution's sigil. * This tool filters for local data blocks of some ins...