text
stringlengths
54
60.6k
<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>/* 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>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009 - 2015 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it...
<commit_before> #include "samson/common/coding.h" // KVFILE_NUM_HASHGROUPS #include "samson/common/MessagesOperations.h" #include "samson/common/SamsonSetup.h" // samson::SamsonSetup #include "StreamManager.h" // samson::stream::StreamManager #include "BlockBreakQueueTask.h" // samson::str...
<commit_before> // STL includes #include <cassert> // QT includes #include <QDateTime> #include <QThread> #include <QRegExp> #include <QString> #include <QStringList> // JsonSchema include #include <utils/jsonschema/JsonFactory.h> // hyperion include #include <hyperion/Hyperion.h> #include <hyperion/ImageProcessorFa...
<commit_before>#include <ScriptObject.h> #include <Actor/Player.h> #include "Actor/EventObject.h" #include "Territory/HousingZone.h" #include "Manager/TerritoryMgr.h" #include "Framework.h" using namespace Sapphire; class HousingEstateEntrance : public Sapphire::ScriptAPI::EventObjectScript { public: HousingEsta...
<commit_before>/* Copyright 2012 Joe Hermaszewski. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list...
<commit_before>/* Copyright 2021 The TensorFlow 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 appl...
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved. #ifndef CONTAINERS_SCOPED_HPP_ #define CONTAINERS_SCOPED_HPP_ #include <string.h> #include <utility> #include "config/args.hpp" #include "errors.hpp" #include "utils.hpp" // Like boost::scoped_ptr only with release, init, no bool conversion, no b...
<commit_before>#include "corrector.h" #include "debug.h" #include "manager.h" #include "task.h" Corrector::Corrector(Manager &manager) : manager_(manager) { } void Corrector::correct(const TaskPtr &task) { SOFT_ASSERT(task, return ); SOFT_ASSERT(task->isValid(), return ); if (!userSubstitutions_.empty()) ...
<commit_before>// Copyright (c) 2013 The Chromium Embedded Framework 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 "libcef/browser/scheme_handler.h" #include <string> #include "libcef/browser/chrome_scheme_handler.h" #in...
<commit_before>/*------------------------------------------------------------------------- * * FILE * transaction_base.cxx * * DESCRIPTION * common code and definitions for the transaction classes * pqxx::transaction_base defines the interface for any abstract class that * represents a database tra...
<commit_before>/* Copyright (C) 1998 by Jorrit Tyberghein and Dan Ogles. 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 2 of the License, or (at your opt...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/* * Copyright 2013 Matthew Harvey * * 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 applicabl...
<commit_before>#include <efsw/WatcherWin32.hpp> #include <efsw/String.hpp> #if EFSW_PLATFORM == EFSW_PLATFORM_WIN32 namespace efsw { /// Unpacks events and passes them to a user defined callback. void CALLBACK WatchCallback(DWORD dwErrorCode, DWORD dwNumberOfBytesTransfered, LPOVERLAPPED lpOverlapped) { char szFile...
<commit_before>// Copyright (c) 2019 The Syscoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <uint256.h> #include <arith_uint256.h> #include <ethereum/ethereum.h> #include <ethereum/sha3.h> #include ...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2009 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>/* * SinglePlayer.cpp * OpenLieroX * * Created by Albert Zeyer on 15.01.10. * code under LGPL * */ #include "SinglePlayer.h" #include "Options.h" #include "ConfigHandler.h" #include "game/Mod.h" #include "game/Level.h" #include "GfxPrimitives.h" #include "DeprecatedGUI/Menu.h" #include "CClie...
<commit_before>/* This file is part of Ingen. * Copyright 2007-2011 David Robillard <http://drobilla.net> * * Ingen 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 2 of the License, or (at ...
<commit_before>/* * Copyright (c)2015 Oasis LMF Limited * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this...
<commit_before>#include "heuristic_minerror.hh" #include "alg_bdfs.hh" #include "model.hh" #include <stdio.h> #include <glib.h> #include <sstream> #include <vector> #include <string.h> #define debugprint(args ...) fprintf(stderr, args) Heuristic_minerror::Heuristic_minerror(Log& l,const std::string& params): Heu...
<commit_before>/************************************************************************** ** ** This file is part of the Qt Build Suite ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** Thi...
<commit_before>/* * Copyright 2009-2020 The VOTCA Development Team * (http://www.votca.org) * * Licensed under the Apache License, Version 2.0 (the "License") * * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * *...
<commit_before> const char COPYRIGHT[] = "Copyright (c) 1998-2000 Stephen Williams (steve@icarus.com)"; /* * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * ...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXDE-Qt - a lightweight, Qt based, desktop toolset * http://lxde.org/ * * Copyright: 2014 LXQt team * Authors: * Hong Jen Yee (PCMan) <pcman.tw@gmail.com> * * This program or library is free software; you can redistribute it * and/or modify it...
<commit_before>/*========================================================================= Library: TubeTK Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 ( the "License" ); you may not use this file except in compl...
<commit_before>// Copyright © 2010-2015 The CefSharp Project. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #pragma once #include "Stdafx.h" #include "CefBrowserWrapper.h" #include "CefAppUnmanagedWrapper.h" #include "JavascriptRootObject...
<commit_before>/*========================================================================= Program: Monteverdi2 Language: C++ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See Copyright.txt for details. Monteverdi2 is distributed under the CeCILL licence version 2. See Licenc...
<commit_before>/*************************************************************************** * * * Copyright (C) 2009-2015 by frePPLe bvba * * ...
<commit_before>/* * Copyright (C) 2015 NoBNC * Copyright (C) 2004-2015 ZNC, see the NOTICE file for details. * * 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....
<commit_before>#include "modules/meta/base.hpp" #include <utility> #include "components/builder.hpp" #include "drawtypes/label.hpp" POLYBAR_NS namespace modules { // module_format {{{ string module_format::decorate(builder* builder, string output) { if (output.empty()) { builder->flush(); retur...
<commit_before>//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // ...
<commit_before>// Copyright (c) 2011-2021 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <node/blockstorage.h> #include <chain.h> #include <chainparams.h> #include <flatfile.h> #include <fs...
<commit_before>/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkOpts.h" #define SK_OPTS_NS sk_sse41 #include "SkBlurImageFilter_opts.h" namespace SkOpts { void Init_sse41() { box_blur_xx = sk_sse41:...
<commit_before>#include <fstream> #include <iostream> #include <string> #include <stack> #include "create_dot.h" struct Date { uint32_t call_id = 0; std::string region; uint32_t invocations = 0; uint32_t num_children = 0; double min_incl_time = std::numeric_limits<uint64_t>::max(); double min_excl_time = std::n...
<commit_before>/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>// Copyright (c) 2011-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "lookuptxdialog.h" #include "ui_lookuptxdialog.h" #include "guiutil.h" #include "optionsmodel.h" #inc...
<commit_before>// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sendcoinsentry.h" #include "ui_sendcoinsentry.h" #include "addressbookpage.h" #include "addresstable...
<commit_before>/*===========================================================================*\ * * * OpenMesh * * Copyright (C) 2001-2012 by Computer Graphics Group, RWTH Aache...
<commit_before>//===------ OrcArchSupport.cpp - Architecture specific support code -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/********************************************************************** * Felix Winterstein, Imperial College London * * File: filter_it.cpp * * Revision 1.01 * Additional Comments: distributed under a BSD license, see LICENSE.txt * **********************************************************************/ ...
<commit_before><commit_msg>ATO-525 - using dynamic cast for the tree loading - fix problems with non tree keys<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2017 The Energi Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defin...
<commit_before>//===-- sanitizer_procmaps_mac.cc -----------------------------------------===// // // 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-2014 Jeremy Lainé * Contact: https://github.com/jlaine/qdjango * * This file is part of the QDjango 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 So...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 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>#define FASTLED_INTERNAL #include "FastLED.h" #if defined(__SAM3X8E__) volatile uint32_t fuckit; #endif #if defined(ARDUINO) || defined(SPARK) extern uint32_t millis(); #endif FASTLED_NAMESPACE_BEGIN void *pSmartMatrix = NULL; CFastLED FastLED; CLEDController *CLEDController::m_pHead = NULL; CLEDC...
<commit_before>#ifndef PHYSICSCONTACTLISTENER_H #define PHYSICSCONTACTLISTENER_H #include <functional> #include <Box2D/Box2D.h> #include <UtH/Engine/GameObject.hpp> namespace uth { class PhysicsContactListener : public b2ContactListener { public: void BeginContact(b2Contact* contact); void EndContact(b2Contac...
<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>/* * Copyright (C) 2010-2014 Jeremy Lainé * Contact: https://github.com/jlaine/qdjango * * This file is part of the QDjango 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 So...
<commit_before>#include "MacauPrior.h" #include <SmurffCpp/IO/MatrixIO.h> #include <SmurffCpp/IO/GenericIO.h> #include <SmurffCpp/Utils/Distribution.h> #include <SmurffCpp/Utils/Error.h> #include <SmurffCpp/Utils/counters.h> #include <SmurffCpp/Utils/linop.h> #include <ios> using namespace smurff; MacauPrior::Mac...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/runtime/browser/xwalk_browser_main_parts_android.h" #include <string> #include "base/android/path_utils.h" #include "bas...
<commit_before><commit_msg>Prediction: refactor lane_l<commit_after><|endoftext|>
<commit_before>#include <flexcore/scheduler/cyclecontrol.hpp> #include <stdexcept> #include <algorithm> namespace fc { namespace thread { using clock = master_clock<std::centi>; constexpr wall_clock::steady::duration cycle_control::min_tick_length; constexpr virtual_clock::steady::duration cycle_control::fast_tick; ...
<commit_before>/* * This file is part of m-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. * * This l...
<commit_before>/* * SessionSVN.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY...
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2010-2015 Belledonne Communications SARL, All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as publishe...
<commit_before>#include "common/RhoPort.h" extern "C" void Init_System(); extern "C" void Init_Network(); extern "C" void Init_SQLite3(); extern "C" void Init_Log(); extern "C" void Init_WebView(); extern "C" void Init_WebView_extension(); extern "C" void Init_Application(); extern "C" void Init_NativeToolbar(); extern...
<commit_before>// // (c) 2014 Raphael Bialon <Raphael.Bialon@hhu.de> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any late...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // // AliFemtoCutMonitorPairKT - the cut monitor for particles to study // // the difference between reconstructed and true momentum ...
<commit_before>// coding: utf-8 /* Copyright (c) 2014, Electronic Kiwi, daniel-k * All Rights Reserved. * * The file is part of the xpcc-playground and is released under the 3-clause BSD * license. See the file `LICENSE` for the full license governing this code. */ #include <xpcc/architecture.hpp> #include <xpcc/debug...
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFCDataBaseModule.h // @Author : LvSheng.Huang // @Date : 2012-12-15 // @Module : NFCDataBaseModule // Row,Col; ; ; ; ; ; ; // ----------------------...
<commit_before>/* * This source file is part of ARK * For the latest info, see https://github.com/ArkNX * * Copyright (c) 2013-2019 ArkNX 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...
<commit_before><commit_msg>Fixed loop issue<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: precompiled_forms.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: obo $ $Date: 2006-09-16 23:46:40 $ * * The Contents of this file...
<commit_before>/************************************************************************* * * $RCSfile: CheckBox.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2004-04-02 10:49:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "NeonPadWorkload.hpp" #include <neon/NeonTensorHandle.hpp> #include <aclCommon/ArmComputeTensorUtils.hpp> #include <arm_compute/core/Types.h> #include <arm_compute/runtime/NEON/functions/NEPadLayer.h> #inc...
<commit_before>/* * JPetWriter.cpp * * * Created by Karol Stola on 13-09-02. * Copyright 2013 __MyCompanyName__. All rights reserved. * */ #include "JPetWriter.h" //TFile* JPetWriter::fFile = NULL; JPetWriter::JPetWriter(const char* file_name) : fFileName(file_name, "UPDATE") // string z nazwą pliku ...
<commit_before>#include <sstream> #include <string> #include <libHierGA/HierGA.hpp> #include "1maxFitness.hpp" using namespace std; OneMaxFitness::OneMaxFitness() : ObjectiveFunction() {} float OneMaxFitness::checkFitness(Genome * genome) { unsigned total = 0; Genome flattened = genome->flattenGenome(); for (uns...
<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/basictypes.h" #include "base/file_path.h" #include "base/path_service.h" #include "base/utf_string_conversions.h" #inclu...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // File Points1D.cpp // // For more information, please see: http://www.nektar.info // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of Aeronautics, Impe...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * The Contents of this file are made available subject to the terms of * either of the following licenses * * - GNU Lesser General Pu...
<commit_before>//--------------------------------------------------------------------------------------- // This file is part of the Lomse library. // Lomse is copyrighted work (c) 2010-2016. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted pro...
<commit_before>#include "llvm/Pass.h" #include "llvm/Function.h" #include "llvm/Module.h" #include "llvm/Instructions.h" #include "llvm/Constants.h" #include "llvm/GlobalVariable.h" #include "llvm/Support/IRBuilder.h" #include "llvm/Analysis/LoopInfo.h" #include <string> using namespace llvm; using std::string; using ...
<commit_before>// Licensed under the Apache License, Version 2.0. // Author: Jin Qing (http://blog.csdn.net/jq0123) #include "client_async_reader_helper.h" #include <cassert> // for assert() #include <grpc_cb/impl/client/client_async_read_handler.h> // for ClientAsyncReadHandler #include <grpc_cb/impl/client/clien...
<commit_before>/** * This file is part of TelepathyQt4 * * @copyright Copyright (C) 2008-2009 Collabora Ltd. <http://www.collabora.co.uk/> * @copyright Copyright (C) 2008-2009 Nokia Corporation * @license LGPL 2.1 * * This library is free software; you can redistribute it and/or * modify it under the terms of t...
<commit_before>#include <stan/agrad/rev/functions/fmax.hpp> #include <test/unit/agrad/util.hpp> #include <gtest/gtest.h> TEST(AgradRev,fmax_vv) { AVAR a = 1.3; AVAR b = 2.0; AVAR f = fmax(a,b); EXPECT_FLOAT_EQ(2.0,f.val()); AVEC x = createAVEC(a,b); VEC grad_f; f.grad(x,grad_f); EXPECT_FLOAT_EQ(0.0,gr...
<commit_before> #pragma once #include <Geometry2d/Point.hpp> #include <Geometry2d/Segment.hpp> #include "Obstacle.hpp" namespace Planning { /** * Represents a path as a series of 2d points */ class Path { public: /** default path is empty */ Path() {} /** constructor with a single point */ Path...
<commit_before>/** mcu.cpp Main source file. Part of Magnetic stripe Card Utility. Copyright (c) 2010 Wincent Balin Based heavily upon dab.c and dmsb.c by Joseph Battaglia. Uses RtAudio by Gary P. Scavone for audio input. Input routines are based on RtAudio examples. As both of the...
<commit_before>#include "SDL.h" #include "core/log.h" #include "core/str.h" #include "core/interpolate.h" #include "core/os.h" #include "core/ecs-systems.h" #include "core/vfs_imagegenerator.h" #include "core/vfs_defaultshaders.h" #include "core/proto.h" #include "core/viewport.h" #include "render/debuggl.h" #include...
<commit_before>#include "id3.hpp" inline size_t sum_counts(size_t* counters, size_t n_counters) { size_t total = 0; for (uint i = 0; i < n_counters; i++) { total += counters[i]; } return total; } Node* newNode(size_t n_classes) { Node* node = static_cast<Node*>(malloc(sizeof(Node))); n...
<commit_before>#ifndef _SDD_HOM_SUM_HH_ #define _SDD_HOM_SUM_HH_ #include <algorithm> // all_of, copy #include <deque> #include <initializer_list> #include <iosfwd> #include <stdexcept> //invalid_argument #include <unordered_map> #include <boost/container/flat_set.hpp> #include "sdd/dd/definition.hh" #include "sdd...
<commit_before>#pragma once #include "../search/search.hpp" #include "../structs/kdtree.hpp" #include "../utils/pool.hpp" #include <set> template <class D> class RRT : public SearchAlgorithm<D> { public: typedef typename D::State State; typedef typename D::PackedState PackedState; typedef typename D::Cost Cost; ty...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2011, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
<commit_before> #include <ionCore.h> #include <catch.hpp> class A {}; class B : public A {}; class C { public: virtual ~C() {} }; TEST_CASE("InstanceOf", "[ionClass :: InstanceOf]") { A a; B b; C c; A const * const aPtr = &a; REQUIRE(InstanceOf<A>(a)); REQUIRE(InstanceOf<A>(aPt...
<commit_before>// Copyright 2012 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 copyright notice, this // l...
<commit_before>/* * Copyright 1999-2004 The Apache Software 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 ...
<commit_before>/**************************************************************************** * Copyright (c) 2012-2018 by the DataTransferKit authors * * All rights reserved. * * ...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkBilateralImageFilterTest2.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. ...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkRigid3DPerspectiveTransformTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reser...
<commit_before>/*************************************************************************** * * Project: libLAS -- C/C++ read/write library for LAS LIDAR data * Purpose: LAS translation with optional configuration * Author: Howard Butler, hobu.inc at gmail.com *****************************************************...
<commit_before>#include "loss.h" #include "task.h" #include "model.h" #include <fstream> #include "trainer.h" #include "enhancer.h" #include "text/table.h" #include "accumulator.h" #include "text/cmdline.h" #include "text/filesystem.h" #include "measure_and_log.h" using namespace nano; static bool save(const string_t...
<commit_before>/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/utils/bit_count.H $ ...
<commit_before>// Licence 2 #include <string.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <fcntl.h> #include <termios.h> #include "dart_api.h" //#include "dart_native_api.h" struct termios tio; struct termios stdio; struct termios old_stdio; int tty_fd; /* Called the first time a native fun...
<commit_before>/* * Copyright (C) 2015 Cloudius Systems, Ltd. */ #pragma once #include "core/reactor.hh" #include "core/iostream.hh" #include "core/distributed.hh" #include "core/print.hh" #include "core/sstring.hh" #include "net/api.hh" #include "util/serialization.hh" #include "gms/inet_address.hh" #include "rpc/...
<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 "base/command_line.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop.h" #include "chrome/browser/automation/u...
<commit_before>// Copyright (c) 2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <vector> #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/path_service.h...