text stringlengths 54 60.6k |
|---|
<commit_before>/*
* Author(s):
* - Chris Kilner <ckilner@aldebaran-robotics.com>
* - Cedric Gestes <gestes@aldebaran-robotics.com>
*
* Copyright (C) 2010 Aldebaran Robotics
*/
#include "src/messaging/network/ip_address.hpp"
#include <boost/algorithm/string.hpp>
#ifdef _WIN32
# include <windows.h>
# include <wi... |
<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.
#include <string>
#include "base/message_loop.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/renderer_host/render_pro... |
<commit_before>/* * This file is part of meego-keyboard *
*
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* Contact: Nokia Corporation (directui@nokia.com)
*
* If you have questions regarding the use of this file, please contact
* Nokia at directui@nokia.com.
*
* Th... |
<commit_before>/*
* benchmarks/benchmark-dense-solve.C
*
* Copyright (C) 2019 The LinBox group
* Author: J-G Dumas
* ========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 Lesser General Public
* Li... |
<commit_before>#include <windows.h>
#include <tlhelp32.h>
#include <vector>
#include <algorithm>
#include "NativeCore.hpp"
void RC_CallConv EnumerateRemoteSectionsAndModules(RC_Pointer process, EnumerateRemoteSectionsCallback callbackSection, EnumerateRemoteModulesCallback callbackModule)
{
if (callbackSection == nu... |
<commit_before><commit_msg>No need for these to be statics.<commit_after><|endoftext|> |
<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 "content/test/layout_browsertest.h"
class IndexedDBLayoutTest : public InProcessBrowserLayoutTest {
public:
IndexedDBLayou... |
<commit_before>#pragma once
//=====================================================================//
/*! @file
@brief ルネサス RX 選択
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2016, 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/RX/blob/master... |
<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 "base/file_path.h"
#include "content/test/layout_browsertest.h"
class IndexedDBLayoutTest : public InProcessBrowserLayoutTest... |
<commit_before>/***************************************************************************
// Modified by Kishora Nayak - 14/06/2016
// Modified by Enrico Fragiacomo - 15/01/2014
// Modified by Kunal Garg - 04/02/2017
// Based on AddAnalysisTaskRsnMini
// pPb sp... |
<commit_before>/******************************************************************************\
* File: vcs.cpp
* Purpose: Implementation of wxExVCS class
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
*
* Copyright (c) 1998-2009 Anton van Wezenbeek
* All rights are reserved. Reproduction in ... |
<commit_before>/******************************************************************************\
* File: vcs.cpp
* Purpose: Implementation of wxExVCS class
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
*
* Copyright (c) 1998-2009 Anton van Wezenbeek
* All rights are reserved. Reproduction in ... |
<commit_before>// Header for AllocasToEntry, an LLVM pass to move allocas to the function
// entry node.
//
// Copyright (c) 2013 Pekka Jääskeläinen / TUT
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to dea... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_pm_cme_firinit.C $ ... |
<commit_before>// This file is part of the AliceVision project.
// This Source Code Form is subject to the terms of the Mozilla Public License,
// v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
#include <aliceVision/delaunaycut/mv_delaunay_GC.hpp... |
<commit_before>/*
Copyright 2016 Mitchell Young
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>/*++
Copyright (c) 2016 Microsoft Corporation
Module Name:
ackermannize_tactic.cpp
Abstract:
Author:
Mikolas Janota
Revision History:
--*/
#include"tactical.h"
#include"lackr.h"
#include"ackr_params.hpp"
#include"ackr_model_converter.h"
#include"model_smt2_pp.h"
class ackermannize_tactic : public ... |
<commit_before>/// \file
/// \ingroup tutorial_graphics
/// \notebook
/// Example illustrating how to modify individual labels of a TGaxis. The method
/// `SetLabelAttributes` allows to do that.
///
/// The first parameter of this method is the label number to be modified. If
/// this number is negative then labels are... |
<commit_before>// An example how to display PS, EPS, PDF files in canvas
// To load a PS file in a TCanvas, the ghostscript program needs to be install.
// On most unix systems it is usually installed. On Windows it has to be
// installed from http://pages.cs.wisc.edu/~ghost/
//Author: Valeriy Onoutchin
#include "T... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkLaplacianImageFilterTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved... |
<commit_before>/*
* tests.cpp
*
* Created on: Apr 16, 2009
* Author: jdw
*/
#include <iostream>
#include <math.h>
// Tests won't run without 'DEBUG'
#define DEBUG 1
#include "lib/jdw_vector2d.h"
#include "lib/jdw_vector3d.h"
#include "lib/jdw_misc.h"
#include "lib/jdw_test.h"
#include "lib/jdw_vertex.h"
#... |
<commit_before>#include "ShaderProgram.h"
#include "LightShaderUniforms.h"
#include "RubikCubeControl.h"
#include <memory>
#include <thread>
#include <iostream>
#include <glm/gtc/type_ptr.hpp>
namespace {
const int WINDOW_WIDTH = 800;
const int WINDOW_HEIGHT = 600;
const int DELTA_TIME = 1000.f / 30;
const floa... |
<commit_before>// Copyright (c) 2016-2020 The ZCash developers
// Copyright (c) 2020 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "wallet/test/wallet_test_fixture.h"
#include "sapling/sapling_uti... |
<commit_before>/*************************************************************************
*
* $RCSfile: ucbserv.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: sb $ $Date: 2000-12-04 17:36:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*!
* \author David
* \date 29-Apr-16.
*/
#include <algorithm>
#include <cmath>
#include <easylogging++.h>
#include "texture_manager.h"
#include "../../vulkan/render_context.h"
#include "../../../mc_interface/mc_objects.h"
namespace nova {
texture_manager::texture_manager(std::share... |
<commit_before>#include "include/udata.h"
#include "include/amici_model.h"
#include <cstdio>
#include <cstring>
UserData::UserData()
{
init();
}
int UserData::unscaleParameters(const Model *model, double *bufferUnscaled) const
{
switch(pscale) {
case AMICI_SCALING_LOG10:
for(int ip = 0; ip... |
<commit_before>/*
* StochasticReleaseTestProbe.cpp
*
* Created on: Aug 28, 2013
* Author: pschultz
*/
#include "StochasticReleaseTestProbe.hpp"
namespace PV {
StochasticReleaseTestProbe::StochasticReleaseTestProbe(const char * name, HyPerCol * hc) {
initialize_base();
initStochasticReleaseTestProbe(... |
<commit_before>#include "platform_macro.h"
#if defined(TARGET_ARCH_X64)
#include "InstructionRelocation/x64/X64InstructionRelocation.h"
#include <string.h>
#include "dobby_internal.h"
#include "InstructionRelocation/x86/x86_insn_decode/x86_insn_decode.h"
#include "core/arch/x64/registers-x64.h"
#include "core/modu... |
<commit_before>/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2018-2020 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 Licen... |
<commit_before>// clang-format off
// REQUIRES: lld
// Test that we can display function signatures with class types.
// RUN: %build --compiler=clang-cl --nodefaultlib -o %t.exe -- %s
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -s \
// RUN: %p/Inputs/function-types-classes.lldbinit | FileCheck %s
//... |
<commit_before>/* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2016 INRIA.
*
* 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 L... |
<commit_before>#if defined(TI_WITH_CUDA)
#if defined(min)
#undef min
#endif
#if defined(max)
#undef max
#endif
#include <memory>
#include <cuda_runtime_api.h>
#include <cuda.h>
#include "llvm/ADT/StringRef.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/Support/DynamicLibrary.h"
#incl... |
<commit_before>/* Copyright 2020 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 or agreed to in writin... |
<commit_before>//===-- tsan_interface_ann.cc -----------------------------------*- 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) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#include "test.hh"
namespace pegtl
{
namespace
{
std::string u32s( const char32_t u )
{
return std::string( reinterpret_cast< const char * >... |
<commit_before>//===- unittests/Basic/LexerTest.cpp ------ Lexer tests -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// THIS FILE IS AUTO GENERATED, EDIT AT YOUR OWN RISK
#include <tuple>
#include "ComponentImplementationInclude.h"
#define myoffsetof(st, m) static_cast<int>((size_t)(&((st *)0)->m))
// Implementation of the base entity class
// Constructor of entity
Entity::Entity(const MessageHandler *messageHandle... |
<commit_before>/*****************************************************************************************
* *
* OpenSpace *
* ... |
<commit_before>/*
* Copyright (C) 2019 Nagisa Sekiguchi
*
* 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 "ssaorenderpass.hpp"
#include "../../engine.hpp"
#include <random>
#include <world/component/transformcomponent.hpp>
SSAORenderSystem::SSAORenderSystem(int width, int height)
{
shaderProgram
.attach("assets/shaders/ssao.vert", ShaderType::vertex)
.attach("assets/shaders/ssao.frag", ShaderT... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2014-2016 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<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><commit_msg>planning: fixed a bug in navi planner dispatcher<commit_after><|endoftext|> |
<commit_before>/*!
\copyright (c) RDO-Team, 2011
\file context.cpp
\author (rdo@rk9.bmstu.ru)
\date 06.06.2010
\brief
\indent 4T
*/
// ---------------------------------------------------------------------------- PCH
#include "simulator/compiler/parser/pch.h"
// ----------------------... |
<commit_before>// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#include "CppUnitTest.h"
#include "pipe_extensions.h"
#include <memory>
#include <sstream>
#include "UIStrings.h"
namespace Microsoft
{
n... |
<commit_before>#include "stdafx.h"
#include "CppUnitTest.h"
#include "../dummy_values.h"
#include "internal/internal_datastore.h"
using Assert = Microsoft::VisualStudio::CppUnitTestFramework::Assert;
namespace You {
namespace DataStore {
namespace UnitTests {
using DataStore = You::DataStore::Internal::DataStore;
... |
<commit_before>#include "SyntaxTree.h"
#include <list>
#include <vector>
#include <sstream>
#include <iostream>
#include <stdexcept>
#include <assert.h>
#include <boost/format.hpp>
#include "parser.tab.hh"
#include "template.common.h"
#include "template.cs.h"
using namespace std;
using namespace boost;
using names... |
<commit_before>#include <cassert>
#include <cstring>
#include <sstream>
#include <sys/time.h>
#include <unordered_set>
#include <derecho/conf/conf.hpp>
#include <derecho/core/detail/p2p_connection_manager.hpp>
#include <derecho/sst/detail/poll_utils.hpp>
#include <derecho/utils/logger.hpp>
namespace sst {
P2PConnectio... |
<commit_before>/******************************************************************************
* Copyright 2017 The Apollo 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 ... |
<commit_before>/* <x0/mod_accesslog.cpp>
*
* This file is part of the x0 web server, released under GPLv3.
* (c) 2009 Chrisitan Parpart <trapni@gentoo.org>
*/
#include <x0/server.hpp>
#include <x0/request.hpp>
#include <x0/response.hpp>
#include <x0/header.hpp>
#include <x0/strutils.hpp>
#include <x0/types.hpp>
#i... |
<commit_before>#include <limits>
#include <string>
#include <utility>
// Algorithm to be tested
template <class Type> constexpr Type to_base(char c, unsigned base)
{
return base <= 10
? c - '0'
: (c > '9' ? static_cast<Type>(c-'a'+10) : static_cast<Type>(c-'0'));
}
template <class OutType> constexpr Ou... |
<commit_before>#ifndef VOLE_VALUE
#define VOLE_VALUE
#include "slice.hpp"
namespace Vole {
struct Value;
using String = Slice<char>;
using Vector = Slice<Value>;
struct Value {
enum Type {
BOOLEAN,
NUMBER,
// SYMBOL,
STRING,
// REGEXP,
VECTOR,
// MAPPING
} t... |
<commit_before>/*
* adcalendar.cpp - configuration file access
* Program: KAlarm's alarm daemon (kalarmd)
* Copyright (c) 2001, 2004, 2005 by David Jarvie <software@astrojar.org.uk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice... |
<commit_before><commit_msg>Correction in Prefix Function<commit_after><|endoftext|> |
<commit_before>/***************************************************************************
filter_thunderbird.cxx - Thunderbird mail import
-------------------
begin : Januar 26 2005
copyright : (C) 2005 by Danny Kukawka
email ... |
<commit_before>/*
This file is part of KOrganizer.
Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
Copyright (C) 2005 Thomas Zander <zander@kde.org>
This program is free software; you can redistribute it and/or modify
... |
<commit_before>/*
* Copyright (C) 2001 Peter Kelly (pmk@post.com)
* Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de)
* Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
* Copyright (C) 2003, 2005, 2006, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistrib... |
<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>/*
* 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>/*************************************************************************/
/* audio_stream_ogg_vorbis.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>#include "catch.hpp"
/*
TEST_CASE("matrix_io/read_matrix | matrix_io/write_matrix")
{
REQUIRE(false);
}
TEST_CASE("matrix_io/read_dense_float64_bin | matrix_io/write_dense_float64_bin")
{
REQUIRE(false);
}
TEST_CASE("matrix_io/read_dense_float64_csv | matrix_io/write_dense_float64_csv")
{
REQ... |
<commit_before>//
// TZX.cpp
// Clock Signal
//
// Created by Thomas Harte on 16/07/2017.
// Copyright © 2017 Thomas Harte. All rights reserved.
//
#include "TZX.hpp"
using namespace Storage::Tape;
namespace {
const unsigned int StandardTZXClock = 3500000;
}
TZX::TZX(const char *file_name) :
Storage::FileHolde... |
<commit_before>/* Simple access class for I2C EEPROM chips like Microchip 24LC
* Copyright (c) 2015 Robin Hourahane
*
* 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.a... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2017 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... |
<commit_before>/*
* Copyright (c) 2018, ARM Limited, All Rights Reserved
* 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://www.apache.or... |
<commit_before>#include "ClientBackend.hpp"
#include "ClientConnection.hpp"
#include "CClientTcpTransport.hpp"
#include "ClientSettings.hpp"
#include "AccountStorage.hpp"
#include "ClientConnection.hpp"
#include "Client.hpp"
#include "ClientRpcLayer.hpp"
#include "DataStorage.hpp"
#include "Operations/ClientAuthOperat... |
<commit_before>#include <string.h>
#include <fstream>
#include <iostream>
#include <string>
#include <complex>
#include <math.h>
#include <set>
#include <vector>
#include <map>
#include <queue>
#include <stdio.h>
#include <stack>
#include <algorithm>
#include <list>
#include <ctime>
#include <memory.h>
#include <ctim... |
<commit_before>//--------------------------------------------------------------------------------------------------
/**
* @file moduleBuildScript.cpp
*
* Implementation of the build script generator for pre-built kernel modules.
*
* <hr>
*
* Copyright (C) Sierra Wireless Inc.
*/
//------------------------------... |
<commit_before>#pragma once
#include <algorithm>
#include <cmath>
#include <ctime>
#include <vector>
#include "quantities/quantities.hpp"
// Mixed assemblies are not supported by Unity/Mono.
#include "glog/logging.h"
namespace principia {
using quantities::Quotient;
namespace integrators {
template<typename Pos... |
<commit_before>/*Copyright 2014-2015 George Karagoulis
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... |
<commit_before>// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_SUITE json_writer
#include "caf/json_writer.hpp"
#include "co... |
<commit_before>//===- FuzzerTraceState.cpp - Trace-based fuzzer mutator ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// @brief task for http communication
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2010-2011 triagens GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use ... |
<commit_before>/* Sirikata
* Breakpad.cpp
*
* Copyright (c) 2011, Ewen Cheslack-Postava
* 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 r... |
<commit_before>#include "worker.h"
#include "utils.h"
#include <pynumbuf/serialize.h>
extern "C" {
static PyObject *RayError;
}
Status WorkerServiceImpl::ExecuteTask(ServerContext* context, const ExecuteTaskRequest* request, ExecuteTaskReply* reply) {
task_ = request->task(); // Copy task
RAY_LOG(RAY_INFO, "i... |
<commit_before>/*
* Copyright (c) 2021 Samsung Electronics Co., 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
*
* Unless require... |
<commit_before>/*
Copyright (c) 2012 Carsten Burstedde, Donna Calhoun
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 ... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distr... |
<commit_before>/*************************************************************************
*
* $RCSfile: i18nhelp.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2003-12-01 13:05:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: svpbmp.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: hr $ $Date: 2007-11-01 14:48:17 $
*
* The Contents of this file are made av... |
<commit_before>#include "chrono_parallel/ChSystemParallel.h"
#include <omp.h>
using namespace chrono;
ChSystemParallelDVI::ChSystemParallelDVI(unsigned int max_objects)
: ChSystemParallel(max_objects) {
LCP_descriptor = new ChLcpSystemDescriptorParallelDVI();
LCP_solver_speed = new ChLcpSolverParallelDVI(... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/io/p9_io_obus_linktrain.C $... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_block_wakeup_intr.C $... |
<commit_before>/*************************************************************************
*
* $RCSfile: helpagentwindow.cxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: fs $ $Date: 2001-05-07 15:18:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the followin... |
<commit_before>// Author: Enric Tejedor CERN 04/2019
// Original PyROOT code by Wim Lavrijsen, LBL
/*************************************************************************
* Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before>/****************************************************************************
* Copyright (c) 2012-2019 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>/***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha... |
<commit_before>#ifndef ALEPH_PERSISTENCE_DIAGRAMS_PERSISTENCE_INDICATOR_FUNCTION_HH__
#define ALEPH_PERSISTENCE_DIAGRAMS_PERSISTENCE_INDICATOR_FUNCTION_HH__
#include "math/StepFunction.hh"
#include "persistenceDiagrams/PersistenceDiagram.hh"
#include <algorithm>
#include <limits>
#include <utility>
#include <vector>... |
<commit_before>#include "eigenvalue/k_effective/updater_via_rayleigh_quotient.hpp"
#include "system/system.h"
#include "system/moments/tests/spherical_harmonic_mock.h"
#include "test_helpers/gmock_wrapper.h"
namespace {
using namespace bart;
using ::testing::DoDefault, ::testing::NiceMock, ::testing::ReturnRef;
c... |
<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 Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>#include <libdvid/DVIDNode.h>
#include <iostream>
#include <string>
#include <fstream>
#include <vector>
#include <tr1/unordered_map>
#include <tr1/unordered_set>
using std::cout; using std::endl;
using std::ifstream;
using std::string;
using std::tr1::unordered_map;
using std::tr1::unordered_set;
us... |
<commit_before>// REQUIRES: x86-registered-target
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -fstandalone-debug -S -mllvm -generate-dwarf-pub-sections=Enable %s -o - | FileCheck %s
// FIXME: This testcase shouldn't rely on assembly emission.
//CHECK: Lpubtypes_begin[[SECNUM:[0-9]:]]
//CHECK: .asciz ... |
<commit_before>// RUN: %clang_cc1 -std=c++17 -fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name default-method.cpp -w %s | FileCheck %s -implicit-check-not="->"
namespace PR39822 {
struct unique_ptr {
unique_ptr &operator=(unique_ptr &);
};
class foo {
f... |
<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 "base/logging.h"
#include "views/window/client_view.h"
#if defined(OS_LINUX)
#include "views/window/hit_test.h"
#endif
#includ... |
<commit_before>/**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the Apache 2.0 license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tre... |
<commit_before>#include "objectives/noisy/genetic-noise/NonNoisyGeneticSource.hpp"
NonNoisyGeneticSource::NonNoisyGeneticSource() : GeneticNoiseSource() {};
Genome NonNoisyGeneticSource::addNoise(Genome * target) {
return Genome(target);
}
<commit_msg>[NonNoisyGeneticSource]: Dropped unnecessary semicolon<commit_aft... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (ivan.frade@nokia.com)
**
** This file is part of the QtSparql module (not yet part of the Qt Toolkit... |
<commit_before>/****************************************************************************
* Copyright (c) 2012-2019 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>#include "setup/scheduler.hpp"
#include "setup/interop.hpp"
#include <SFML/OpenGL.hpp>
#if defined _WIN32 || defined _WIN64
#include <Wingdi.h>
#endif
static GLuint texture;
void interop::initialize(const cl::Device &device, sf::WindowHandle handle)
{
#if defined _WIN32 || defined _WIN64
cl_c... |
<commit_before><commit_msg>Delete test2.cpp<commit_after><|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.