text
stringlengths
54
60.6k
<commit_before>/**************************************************************************************/ /* */ /* Visualization Library */ /* http://www.visualizationlibrary...
<commit_before><commit_msg>fix: GAMxVEN register class<commit_after><|endoftext|>
<commit_before>#ifndef MIMOSA_FORMAT_FORMAT_STREAM_HH # define MIMOSA_FORMAT_FORMAT_STREAM_HH # include "format.hh" # include "../stream/stream.hh" namespace mimosa { namespace format { template <typename ... Args> inline bool format(stream::Stream::Ptr stream, runtime::Time time...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svarray.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-10-12 15:23:09 $ * * The Contents of this file are made ...
<commit_before>/* * Copyright 2015 Google Inc. 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 r...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fmtwrapinfluenceonobjpos.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2008-03-12 12:11:56 $ * * The Contents of thi...
<commit_before>/** * \file ConvolutionFilter.cpp */ #include "ConvolutionFilter.h" #include <cassert> namespace ATK { template <typename DataType> ConvolutionFilter<DataType>::ConvolutionFilter() :Parent(1, 1), split_position(0), split_size(0) { } template<typename DataType_> void ConvolutionFilte...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: txatbase.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-09 05:14:31 $ * * The Contents of this file are made ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice 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 ...
<commit_before>/* database.cpp * * Copyright (C) 2012 Matthias Klumpp * * Licensed under the GNU General Public License Version 3 * * 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...
<commit_before>/*========================================================================= * * Copyright RTK Consortium * * 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>#include <common/endian.h> #include <event/event_callback.h> #include <io/pipe/pipe.h> #include <io/pipe/pipe_link.h> #include <io/pipe/pipe_null.h> #include <io/pipe/pipe_pair.h> #include <xcodec/xcodec.h> #include <xcodec/xcodec_decoder.h> #include <xcodec/xcodec_encoder.h> #include <xcodec/xcodec_p...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 * * (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before><commit_msg>-Werror,-Winconsistent-missing-override<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dump8.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: obo $ $Date: 2005-11-16 13:54:06 $ * * The Contents of this file are made av...
<commit_before>#pragma once #include <cstdint> #include <functional> #include <optional> #include <unordered_map> #include "utils/Concepts.hpp" namespace utils { template <NumericIntegral TValue> class DisjointSets { public: using ValueType = TValue; [[nodiscard]] int64_t size() const noexcept { return sta...
<commit_before>// Filename: main.cpp // Author: Christopher Goes // Course: CS 404 Machine Learning and Data Mining // Semester: Spring 2016 // Description: Assignment 3 main program logic // Github: https://github.com/GhostofGoes/cgoes-cs404 #include <iostream> #include <iomanip> #include <cstdlib> #include <v...
<commit_before>#include <common/endian.h> #include <event/event_callback.h> #include <event/event_main.h> #include <event/event_system.h> #include <http/http_protocol.h> #include <io/net/tcp_server.h> #include <io/pipe/pipe.h> #include <io/pipe/pipe_producer.h> #include <io/pipe/splice.h> #include <io/socket/simpl...
<commit_before>// terark-db-schema-compile.cpp : Defines the entry point for the console application. // #include "stdafx.h" #define TERARK_DB_SCHEMA_COMPILER #include <terark/db/db_conf.cpp> #if defined(_WIN32) || defined(_WIN64) #include <getopt.c> #endif using namespace std; using namespace terark; using namespa...
<commit_before>//============================================================================================================= /** * @file main.cpp * @author Ruben Dörfel <[email protected]>; * Matti Hamalainen <[email protected]> * @version 1.0 * @date 11, 2019 * * @section LICENS...
<commit_before>#ifndef STAN_MATH_REV_FUN_SQUARED_DISTANCE_HPP #define STAN_MATH_REV_FUN_SQUARED_DISTANCE_HPP #include <stan/math/rev/meta.hpp> #include <stan/math/rev/core.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/squared_distance.hpp> #include <stan/math/prim/fun/Eigen.hpp> #include <stan/ma...
<commit_before>/* dhcpclient.hpp - dhcp client request handling * * (c) 2011-2014 Nicholas J. Kain <njkain at gmail dot com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistrib...
<commit_before>#include <iostream> #include "vtrc-server/vtrc-application.h" #include "vtrc-server/vtrc-listener-tcp.h" #include "vtrc-common/vtrc-connection-iface.h" #include "vtrc-common/vtrc-closure-holder.h" #include "vtrc-common/vtrc-thread-pool.h" #include "protocol/hello.pb.h" /// hello protocol #inc...
<commit_before>/*! \copyright (c) RDO-Team, 2011 \file calc_relevant.inl \authors Барс Александр \authors Урусов Андрей ([email protected]) \date 16.04.2011 \brief RDOCalc для подбора релевантных ресурсов \indent 4T */ // ---------------------------------------------------------------...
<commit_before>AliAnalysisTaskCheckPerformanceCascadepp276 *AddTaskCheckPerformanceCascadepp276( Int_t minnTPCcls = 70, Float_t vtxlim = 10., ...
<commit_before>/* * File: ft_index_data.cpp * Copyright (C) 2004 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS) */ #include "common/sedna.h" #include "tr/ft/ft_index_data.h" #include "common/xptr.h" #include "tr/crmutils/node_utils.h" #include "tr/vmm/vmm.h" #includ...
<commit_before>#include "QmitkSimpleExampleFunctionality.h" #include "QmitkStdMultiWidget.h" #include "QmitkSelectableGLWidget.h" #include "QmitkSimpleExampleControls.h" #include <qaction.h> #include <qslider.h> #include "slicer.xpm" #include "mitkPlaneGeometry.h" #include <mitkSurfaceData.h> #include <mitkColorPro...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AccessibleSlideSorterObject.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: ihi $ $Date: 2006-11-14 14:23:53 $ * * The Contents of...
<commit_before>#include <osgUtil/DelaunayTriangulator> #include <osg/GL> #include <osg/Vec3> #include <osg/Array> #include <osg/Notify> #include <algorithm> #include <list> #include <set> namespace osgUtil { ////////////////////////////////////////////////////////////////////////////////////// // MISC MATH FUNCTION...
<commit_before> #include "TStopwatch.h" #include "TUnuran.h" #include "TH1.h" #include "TRandom.h" #include "TSystem.h" //#include "TApplication.h" #include "TVirtualFitter.h" #include "Math/ProbFunc.h" #include <iostream> using std::cout; using std::endl; void unuranSimple() { // simple test of unuran ...
<commit_before>#ifdef _WIN32 #include <pd_backend.h> #include <assert.h> #include <stdio.h> #include <Dbgeng.h> #include <string> struct DbgEngPlugin { PDDebugState state = PDDebugState_noTarget; bool hasValidTarget = false; std::string targetName; IDebugClient* debugClient = nullptr; IDebugControl* debugContr...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtSensors module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the V4VM module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage...
<commit_before>#include "rdb_protocol/terms/terms.hpp" #include <string> #include "rdb_protocol/op.hpp" #include "rdb_protocol/error.hpp" #include "rdb_protocol/pb_utils.hpp" namespace ql { // This term is used for functions that are polymorphic on objects and // sequences, like `pluck`. It will handle the polymor...
<commit_before>//======================================================================= // Copyright (c) 2014-2016 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Benoit Jacob <[email protected]> // Copyright (C) 2010 Hauke Heibel <[email protected]> // // Eigen is free software; you can redistribute it and/or // modify it under the terms o...
<commit_before>#pragma once //ASSERT_TRUE(); //ASSERT_STREQ(test.c_str(), ans.c_str()); //----------------------------------------------------------------------------------------------------------------------------------------------- TEST(strEdit, theOthers){ printf("■ strEdit\n"); printf(" □ readAll_bin\n"...
<commit_before>/* Copyright (c) 2008-2021 the MRtrix3 contributors. * * 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 http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this L...
<commit_before>// ======================================================================== // // Copyright 2009-2017 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>#include <cassert> #include <random> #include "synthetic.hpp" #include "network.hpp" #include "tclap/ValueArg.h" WARPED_REGISTER_POLYMORPHIC_SERIALIZABLE_CLASS(InternalEvent) WARPED_REGISTER_POLYMORPHIC_SERIALIZABLE_CLASS(ExternalEvent) inline std::string Node::lpName(const unsigned int lp_index) { ...
<commit_before>#include <cstdio> #include <iostream> #include <cstdlib> #include <cmath> #include <climits> #include <vector> #include <stdexcept> #include <cassert> #include <ctime> #include <omp.h> void readpgm( const std::string &fn, unsigned char* &data, int &width, int &height ) { FIL...
<commit_before>//------------------------------------------------------------------------------- /// /// \file scene.cpp /// \author Cem Yuksel (www.cemyuksel.com) /// \version 1.0 /// \date August 26, 2013 /// /// \brief Example source for CS 6620 - University of Utah. /// //------------------------...
<commit_before>#include "process.h" // POSIX #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/wait.h> // POSIX++ #include <cerrno> #include <cstdlib> #include <climits> #include <cstring> // PDTK #include <specialized/procstat.h> #include <specialized/eventbackend.h> #include <cxxutils/erro...
<commit_before>/* Copyright 2003-2009 John Plevyak, All Rights Reserved */ #define EXTERN #include <signal.h> #include <sys/resource.h> #include "defs.h" int do_unit_tests = 0; static char pyc_ifa_log[256]; static void help(ArgumentState *arg_state, char *arg_unused) { char ver[30]; get_version(ver); fprintf(...
<commit_before>// [WriteFile Name=LineOfSightGeoElement, Category=Analysis] // [Legal] // Copyright 2019 Esri. // 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/licen...
<commit_before>// ========================================================================== // // This file is part of DO++, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2014 David Ok <[email protected]> // // This Source Code Form is subject to the terms of the Mozilla Public // Lic...
<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 "base/command_line.h" #include "chrome/browser/extensions/extension_apitest.h" #include "chrome/common/chrome_switches.h" IN_...
<commit_before>/************************************************************************* * * $RCSfile: cacheoptions.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: ka $ $Date: 2001-04-19 12:15:57 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <[email protected]> * * 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>AliAnalysisTaskQASym * AddTaskQAsym(Int_t runNumber) { // Creates a QA task exploiting simple symmetries phi, eta +/-, charge ... // Get the pointer to the existing analysis manager via the static access method. //============================================================================== ...
<commit_before>/** @file @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you unde...
<commit_before>enum libModes {mLocal,mLocalSource}; //mLocal: Analyze data on your computer using aliroot //mLocalSource: Analyze data on your computer using root + source files void mergeOutput(const Int_t nRuns=-1, TString type="",Int_t mode=mLocal) { // load needed libraries: LoadSpreadLib...
<commit_before>// Copyright 2016-2020 Google LLC // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file or at // https://opensource.org/licenses/MIT. #include "field.h" #include <map> #include <cstdint> #include <google/protobuf/stubs/logging.h> #include <google/pr...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mmoutputtypepage.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: kz $ $Date: 2007-09-06 14:06:48 $ * * The Contents of this file a...
<commit_before>#include <QtGui/QCursor> #include <QtWidgets/QStyleOptionGraphicsItem> #include <qmath.h> #include "rotater.h" using namespace qReal::interpreters::robots; using namespace details::d2Model; using namespace graphicsUtils; Rotater::Rotater() : AbstractItem() { setFlags(ItemIsSelectable | ItemIsMovable)...
<commit_before><commit_msg>Fix Typo<commit_after><|endoftext|>
<commit_before>#include "physics/transforms.hpp" #include <limits> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "physics/degrees_of_freedom.hpp" #include "physics/frame.hpp" #include "physics/massive_body.hpp" #include "physics/massless_body.hpp" #include "quantities/named_quantities.hpp" #include "quan...
<commit_before>#pragma once #include "elog_entry.hpp" #include "xyz/openbmc_project/Collection/DeleteAll/server.hpp" #include "xyz/openbmc_project/Logging/Create/server.hpp" #include "xyz/openbmc_project/Logging/Entry/server.hpp" #include "xyz/openbmc_project/Logging/Internal/Manager/server.hpp" #include <list> #incl...
<commit_before>class dataRecord { public : void addField(std::string value); friend bool isMatch(dataRecord rec1, dataRecord rec2); private : int numFields; std::vector<std::string> fields; std::vector<int> id; } class dataRecordSet { public : void readFile(std::string fname); void writeFile(std::string fname)...
<commit_before>/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2013 Intel Corporation. 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...
<commit_before>#include "stats.h" Stats::Stats() { this->reset(); } void Stats::reset() { /* Allocation Stats */ this->allocCount = 0; this->mallocCount = 0; this->callocCount = 0; this->reallocCount = 0; /* Deallocation Stats */ this->freeCount = 0; /* Invalid Free Stats*/ this->invalidFreeCount = 0; this...
<commit_before>// // A* with strict expanded list // #pragma once #include <functional> #include <unordered_set> #include "priority_queue.hpp" #include "func.hpp" #include "node.hpp" #include "timing.hpp" using std::size_t; using std::string; using std::move; using std::max; using std::any_of; using std::unordered_s...
<commit_before>/* Copyright 2007-2015 QReal Research Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
<commit_before>#include "THMMesh.h" #include "libmesh/node.h" #include "libmesh/edge_edge2.h" #include "libmesh/edge_edge3.h" #include "libmesh/face_quad4.h" #include "libmesh/face_quad9.h" registerMooseObject("THMApp", THMMesh); const BoundaryName THMMesh::INVALID_BOUNDARY_ID = "invalid_boundary_id"; template <> In...
<commit_before>#include <THtml.h> #include <TROOT.h> #include <TSystem.h> void mkhtml (char *macro=0, Int_t force=0) { // to run this macro, you must have the correct .rootrc file // in your galice directory. // The gAlice classes summary documentation go to directory html // The gAlice classes source documentation g...
<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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
<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 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include "threadPoolAsync.h" #include "shared/defer.tcc" #include <thread> #include "../simpleServer/mt.h" #include "exceptions.h" namespace simpleServer { using ondra_shared::defer; ThreadPoolAsyncImpl::~ThreadPoolAsyncImpl() { stop(); } void ThreadPoolAsyncImpl::cancel(const AsyncResource& resou...
<commit_before>// Copyright (c) 2012, 2013 Pierre MOULON. // 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 http://mozilla.org/MPL/2.0/. #include "openMVG/exif_IO/exif_IO_EasyExif.hpp" #include "...
<commit_before>// Copyright (C) 2015 Elviss Strazdins // This file is part of the Ouzel engine. #include <algorithm> #include "Engine.h" #include "Layer.h" #include "Node.h" #include "Camera.h" #include "Renderer.h" #include "Scene.h" #include "Matrix4.h" namespace ouzel { Layer::Layer() { _camera = s...
<commit_before><commit_msg>coverity#708646 Uninitialized scalar field<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: scrwnd.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2006-06-19 19:39:49 $ * * The Contents of this file are made av...
<commit_before><commit_msg>vcl: tabify WindowImpl<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // Copyrig...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkTestingObjectFactory.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details....
<commit_before>// $Id$ // // Task to setup emcal related global objects. // // Author: C.Loizides #include "AliEmcalSetupTask.h" #include <TClonesArray.h> #include <TGeoGlobalMagField.h> #include <TGeoManager.h> #include "AliAODEvent.h" #include "AliAnalysisManager.h" #include "AliCDBManager.h" #include "AliEMCALGeome...
<commit_before>#if ! defined (__CINT__) || defined (__MAKECINT__) #include "AliLog.h" #include "AliAnalysisManager.h" #include "AliAnalysisDataContainer.h" #include "PWG1/TRD/AliTRDinfoGen.h" #include "PWG1/TRD/AliTRDpwg1Helper.h" #include "PWG1/TRD/info/AliTRDeventInfo.h" #endif void AddTRDinfoGen(AliAnalysisManager ...
<commit_before>#ifndef NKLIB_MAKE_UNIQUE_HPP__ #define NKLIB_MAKE_UNIQUE_HPP__ // STL's implementation from N3656. Part of C++14. #include <memory> #include <type_traits> #include <utility> namespace nk { template <typename T, typename... Args> std::unique_ptr<T> make_unique_helper(std::false_type, Arg...
<commit_before>/* * Copyright 2014 Milian Wolff <[email protected]> * * This program 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 2 of the * License, or (at your option) any later...
<commit_before>#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <d2d1.h> #pragma comment(lib, "d2d1") #include "../../../Nova/nova_geometry.h" #include "../../../Nova/nova_render.h" LRESULT CALLBACK WindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); // Direct 2D vars. ID2D1Factory *pFactory = N...
<commit_before>#include "include/vkalloc.h"<commit_msg>Define vka namespace<commit_after>#include "include/vkalloc.h" #include <vector> #include <unordered_map> namespace vka { struct Page { VkDeviceMemory deviceMemory; Node* head = nullptr; }; struct Node { Node* next = nullptr; ...
<commit_before> #include <string.h> int main() { printf("Hello World!"); printf("Patrick"); printf("Simon") return NULL; } <commit_msg>test provoke conflict<commit_after> #include <string.h> int main() { printf("Hello World!"); printf("Patrick"); printf("RIOT"); printf("Simon"); return NULL; } <|endofte...
<commit_before>/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the ...
<commit_before>#ifndef VIENNAGRID_META_TYPELIST_HPP #define VIENNAGRID_META_TYPELIST_HPP #include "utils.hpp" namespace viennagrid { namespace meta { template <class head_, class tail_> struct typelist_t { typedef head_ head; typedef tail_ tail; }; // C++11 version // ...
<commit_before> //-------------------------------------------------- // file: RPN+UnitTests.cpp //------------------------------------------------- #define CATCH_CONFIG_MAIN #include "catch.hpp" #include "RPNCalc.h" #include "RPNTestHelper.h" using namespace P4_RPNCALC; TEST_CASE("Operation Methods") { RPNTestHel...
<commit_before>//////////////////////////////////////////////////////////// // // General package // // --------------------------------------------------------- // // AUTHOR: Miguel Ramos Pernas // e-mail: [email protected] // // Last update: 19/10/2017 // // ---------------------------------------------...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2014 Paul Asmuth, Google Inc. * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public Licen...
<commit_before>/* * EMULAB-COPYRIGHT * Copyright (c) 2006 University of Utah and the Flux Group. * All rights reserved. */ #include "UdpMaxDelaySensor.h" #include "CommandOutput.h" using namespace std; UdpMaxDelaySensor::UdpMaxDelaySensor(UdpPacketSensor const *udpPacketSensorVal, UdpMinDelaySensor const *minDel...
<commit_before>/** Copyright (C) 2016, 2017 European Spallation Source ERIC */ #include <cassert> #include <common/Detector.h> #include <common/EFUArgs.h> #include <common/Trace.h> #include <efu/Launcher.h> #include <iostream> #include <thread> #include <map> void Launcher::launchThreads(std::shared_ptr<Detector> &de...
<commit_before><commit_msg>Localization: Unsigned value cannot be negative.<commit_after><|endoftext|>
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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>#include "kernel.h" #include "ilwis.h" #include "geometries.h" #include "ilwisdata.h" #include "coordinatesystem.h" #include "georeference.h" #include "georefimplementation.h" #include "factory.h" #include "abstractfactory.h" #include "coordinatesystem.h" #include "georeference.h" #include "simpelgeorefe...
<commit_before>#include "Halide.h" #include <stdio.h> #include "test/common/halide_test_dirs.h" using namespace Halide; int main(int argc, char **argv) { // Make sure it's possible to generate object files for lots of // targets. This provides early warning that you may have broken // Halide on some oth...
<commit_before><commit_msg>Remove the temporary instrumentation to getaddrinfo(). This is a revert of r31267.<commit_after><|endoftext|>
<commit_before>// Copyright 2019 DeepMind Technologies Ltd. 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 // //...
<commit_before>/* * SchemeSmobAV.c * * Scheme small objects (SMOBS) for attention values. * * Copyright (c) 2008,2009 Linas Vepstas <[email protected]> */ #include <cstddef> #include <libguile.h> #include <opencog/attentionbank/AttentionBank.h> #include <opencog/truthvalue/AttentionValue.h> #include <opencog/guil...
<commit_before>// @(#)root/net:$Id$ // Author: Fons Rademakers 19/1/2001 /************************************************************************* * Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>#include "rosplan_planning_system/PlannerInterface/PlannerInterface.h" namespace KCL_rosplan { /*----------------------*/ /* Problem subscription */ /*----------------------*/ void PlannerInterface::problemCallback(const std_msgs::String& problemInstance) { ROS_INFO("KCL: (%s) Problem received."...