text
stringlengths
54
60.6k
<commit_before>#include "omnicore_pending.h" #include "mastercore.h" #include "mastercore_log.h" #include "uint256.h" #include "json/json_spirit_value.h" #include "json/json_spirit_writer_template.h" #include <string> using json_spirit::Object; using json_spirit::Pair; using json_spirit::Value; using json_spirit::...
<commit_before>/// /// ssd - small {starter, system, supervision} daemon /// /// small, personal and (distributed future) systemd/upstart/launchd /// daemon /// /// usage: /// ssd -- start local daemon /// ssd status -- show services status /// ssd enable NAME ...
<commit_before> #include "config.h" // boost #include <boost/filesystem.hpp> // dune-common #include <dune/common/exceptions.hh> #include <dune/common/mpihelper.hh> #include <dune/common/timer.hh> // dune-grid-multiscale #include <dune/grid/multiscale/provider/cube.hh> // dune-stuff #include <dune/stuff/common/para...
<commit_before>#ifndef ITER_STARMAP_H_ #define ITER_STARMAP_H_ #include "iterbase.hpp" #include <utility> #include <iterator> #include <type_traits> #include <array> #include <cassert> #include <memory> namespace iter { // starmap with a container<T> where T is one of tuple, pair, array template <typename F...
<commit_before>#include "benchmark_framework.hpp" #include "benchmark_provider.hpp" #include "../coding/file_container.hpp" #include "../std/fstream.hpp" #include "../platform/settings.hpp" #include "../version/version.hpp" template <class T> class DoGetBenchmarks { set<string> m_processed; vector<T> & m_bench...
<commit_before>#include "drakeJointUtil.h" #include "makeUnique.h" #include "DrakeJoint.h" #include "HelicalJoint.h" #include "PrismaticJoint.h" #include "RevoluteJoint.h" #include "QuaternionFloatingJoint.h" #include "RollPitchYawFloatingJoint.h" #include <cmath> #include <stdexcept> using namespace Eigen; std::uniq...
<commit_before>#include "condor_common.h" #include "MyString.h" #include "condor_arglist.h" #include "my_popen.h" #include "condor_partition.h" #include "condor_debug.h" #include "condor_classad.h" #include "condor_uid.h" #include "XXX_bgd_attrs.h" MyString pkind_xlate(PKind pkind); PKind pkind_xlate(MyString pkind); ...
<commit_before>/* * Copyright (C) 2013 midnightBITS * * 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>/************************************************************************** * * Copyright 2011 Jose Fonseca * 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 t...
<commit_before>// Copyright 2016 ESRI // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // You may freely redistribute and use this sample code, with or // without modification, provided you include the original copyright // notic...
<commit_before>// Copyright 2013 The Flutter 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 "flutter/shell/platform/windows/keyboard_key_channel_handler.h" #include <windows.h> #include <iostream> #include "flutter/shell...
<commit_before>/** * For conditions of distribution and use, see copyright notice in license.txt * * @file SceneStructureWindow.cpp * @brief */ #include "StableHeaders.h" #include "SceneStructureWindow.h" #include "SceneTreeWidget.h" #include "Framework.h" #include "SceneManager.h" #include "ECEditorWindo...
<commit_before>//---------------------------------------------------------------------------- // 프로그램명 : MS5540S // // 만든이 : // // 날 짜 : // // 최종 수정 : // // MPU_Type : // // 파일명 : MS5540S.cpp //---------------------------------------------------------------------------- ////...
<commit_before>// Copyright (c) Microsoft Corporation // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "pch.h" #include "../httpcall.h" #include "xmlhttp_http_task.h" #include "http_request_callback.h" http_request_callback::http_request_callback(_In_ const...
<commit_before>// PluginHelpers.cpp : Defines the exported functions for the DLL application. // #include "stdafx.h" #include "pluginhelpers.h" //////////////////////////////////////////////////////////////////////////////////////////////// using namespace Abstractspoon::Tdl::PluginHelpers; ////////////////////////...
<commit_before>// // Face.hpp // // Sketchup C++ Wrapper for C API // MIT License // // Copyright (c) 2017 Tom Kaneko // // 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 restrictio...
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2016-2017 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
<commit_before>/* Copyright (C) 1998-2001 by Jorrit Tyberghein 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 option) any lat...
<commit_before>#include "sha3_stream.h" #include "sha3_factory.h" #include "sha3_interface.h" #include "eacirc/streams.h" #include <algorithm> template <typename I> static void hash_data(sha3_interface& hasher, const I& data, std::uint8_t* hash, const std::size_t hash_size) { using std::to_string; int status ...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2016 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>/** \copyright * Copyright (c) 2013, Balazs Racz * 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...
<commit_before>#include <derecho/derecho.h> #include <derecho/view.h> #include <map> #include <vector> using namespace derecho; using std::map; using std::pair; using std::vector; class CookedMessages : public mutils::ByteRepresentable { vector<pair<uint, uint>> msgs; // vector of (nodeid, msg #) public: C...
<commit_before>#include "source/solver.h" #include <iostream> #include <cassert> #include <cstring> #include "include/gflags/gflags.h" /*! \mainpage Main Page * * * \section intro_sec Introduction * * \b sym-ildl is a C++ package for producing fast incomplete factorizations of symmetric indefinite matrices. Given...
<commit_before>/* Copyright (C) 2003 MySQL AB 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; version 2 of the License. This program is distributed in the hope that it will be useful, ...
<commit_before>//===--- CFG.cpp - Defines the CFG data structure ----------------*- C++ -*-==// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/** * @file pi_calc.c * @brief * @author Travis Lane * @version * @date 2014-11-11 */ #ifdef PARALLEL_PI_USE_CILK #include <parallel_pi_cilk.h> #include <cilk/cilk.h> #include <cilk/reducer_opadd.h> double cilk_estimate_pi(int32_t radius, uint64_t total_iterations) { const uint64_t squared_r...
<commit_before>#include "parameters_parser.hh" namespace Kakoune { String generate_switches_doc(const SwitchMap& switches) { String res; for (auto& sw : switches) res += " -" + sw.first + (sw.second.takes_arg ? " <arg>: " : ": ") + sw.second.description + "\n"; return res; } ParametersParser::Par...
<commit_before>// Copyright (c) 2015-2016 Andrew Sutton // All rights reserved #include "initialization.hpp" #include "ast-type.hpp" #include "ast-expr.hpp" #include "conversion.hpp" #include "inheritance.hpp" #include "builder.hpp" #include "printer.hpp" #include <iostream> namespace banjo { // FIXME: Initializat...
<commit_before>// RUN: %clang_analyze_cc1 -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -fblocks -verify %s // RUN: %clang_analyze_cc1 -analyzer-checker=core,cplusplus.NewDeleteLeaks -DLEAKS -std=c++11 -fblocks -verify %s // RUN: %clang_analyze_cc1 -analyzer-checker=core,cplusplus.NewDelete -std=c++11 -fblocks ...
<commit_before>// RUN: %clang_cc1 -verify -std=c++11 %s // RUN: %clang_cc1 -xobjective-c++ -verify -std=c++11 %s #if !__has_extension(pragma_clang_attribute_external_declaration) #error #endif #define BEGIN_PRAGMA _Pragma("clang attribute push (__attribute__((availability(macos, introduced=1000))), apply_to=function)...
<commit_before>/* * amp_raw_condition_variable_test.cpp * amp * * Created by Björn Knafla on 28.09.09. * Copyright 2009 Bjoern Knafla Parallelization + AI + Gamedev Consulting. All rights reserved. * */ /** * @file * * Tests the shallow wrapper around condition variables. * * TODO: @todo Add stress tes...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: barcfg.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2007-09-27 11:53:35 $ * * The Contents of this file are made av...
<commit_before>/************************************************************************* * * $RCSfile: tmpdlg.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-05-10 16:32:00 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>//***************************************************************************** // // Copyright 2016 Microsoft 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>#include "graphics/sprite/particles.h" #include "halley/maths/random.h" #include "halley/support/logger.h" using namespace Halley; Particles::Particles() : rng(&Random::getGlobal()) { } Particles::Particles(const ConfigNode& node, Resources& resources) : rng(&Random::getGlobal()) { load(node, reso...
<commit_before>#include "Configuration.h" #include "../hardware\board\Board.h" #include "..\interface\settings\MIDIsettings.h" #include "..\interface\settings\LEDsettings.h" void Configuration::createMemoryLayout() { /* *BLOCK CONTENT DEFINITON* section number of sections inside blo...
<commit_before>#include "stdafx.h" #define PLEXALLOC_DESTRUCTORS #include "PlexAlloc/Allocator.hpp" template <typename T> using PlexAllocator = PlexAlloc::Allocator<T>; __interface iTestCase { void prepare( size_t length ); int run( int inserts ); }; // A test case for STL containers. Because they expose very sim...
<commit_before>#include "PCH.h" #include "Transform.h" #include <algorithm> #include "Math/Vector3.h" #include "misc/cpp/imgui_stdlib.h" #include "Engine/Engine.h" #include "Mathf.h" #include <SimpleMath.h> #include "optick.h" Transform::Transform() : Component("Transform") , WorldTransform(DirectX::XMMatrixIdentity...
<commit_before>/*ckwg +5 * Copyright 2012-2013 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include <python/helpers/python_exceptions.h> #include <vistk/pipeline/c...
<commit_before>// // OricMFMDSK.cpp // Clock Signal // // Created by Thomas Harte on 21/11/2016. // Copyright 2016 Thomas Harte. All rights reserved. // #include "OricMFMDSK.hpp" #include "../../Encodings/MFM/Constants.hpp" #include "../../Encodings/MFM/Shifter.hpp" #include "../../Encodings/MFM/Encoder.hpp" #inc...
<commit_before><commit_msg>Additional Tests for Free Motion<commit_after>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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 obta...
<commit_before>#include "stdafx.h" #include "CppUnitTest.h" #include "ThreadIds.h" #include "ReadyEvent.h" #include "AppFactory.h" #include "App.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace threadily { namespace test { TEST_CLASS(AppExampleUnitTest) { public: /** * Basi...
<commit_before>/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
<commit_before>#include <iostream> #include <conio.h> using namespace std; const int SIZE_A = 7; const int SIZE_B = 7; bool binarySearch(int * arr, int size, int num) { static int start = 0; int end = size - 1; int mid; bool found = false; while (!found && start <= end) { mid = (start + end) / 2; if...
<commit_before>/************************************************************************* * * $RCSfile: backingcomp.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kz $ $Date: 2005-01-18 15:41:08 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>#include <string> #include <vector> #include <time.h> #include "../glsl_optimizer.h" #ifdef _MSC_VER #include <windows.h> #include <gl/GL.h> extern "C" { typedef char GLcharARB; /* native character */ typedef unsigned int GLhandleARB; /* shader object handle */ #define GL_VERTEX_SHADER_ARB ...
<commit_before>#pragma once #include "boost_defs.hpp" #include "event_queue.hpp" #include "modifier_flag_manager.hpp" #include "stream_utility.hpp" #include <boost/optional.hpp> #include <json/json.hpp> #include <unordered_set> namespace krbn { namespace manipulator { namespace details { class event_definition { pu...
<commit_before>#ifndef TEXTURECUBEMAP_HPP #define TEXTURECUBEMAP_HPP #include <memory> #include "Texture.hpp" class TextureCubemap : public Texture { public: enum cubeFaces { CUBEMAP_POSITIVE_X = GL_TEXTURE_CUBE_MAP_POSITIVE_X, CUBEMAP_NEGATIVE_X = GL_TEXTURE_CUBE_MAP_NEGATIVE_X, CUBEMAP_POSITIVE_Y = GL_T...
<commit_before>#include "embeddedLinker.h" #include <math.h> #include <QtWidgets/QStyle> #include <QtWidgets/QGraphicsItem> #include <QtWidgets/QStyleOptionGraphicsItem> #include "umllib/edgeElement.h" #include "umllib/nodeElement.h" #include "view/editorViewScene.h" #include "mainwindow/mainWindow.h" #include "umll...
<commit_before>#include "positiontracker.h" #include <cmath> PositionTracker::PositionTracker() : LOnGPSData(this), LOnMotionCommand(this), LOnIMUData(this) { } Position PositionTracker::GetPosition() { return _current_estimate; } Position PositionTracker::UpdateWithMeasurement(Position S, Positi...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2009-02-10 18:08:54 +0100 (Di, 10 Feb 2009) $ Version: $Revision: 16228 $ Copyright (c) German Cancer Research Center, Division of Medical and ...
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFCLoginLogicModule.cpp // @Author : LvSheng.Huang // @Date : 2013-01-02 // @Module : NFCLoginLogicModule // @Desc : // --------------...
<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>/* * The MIT License (MIT) * * Copyright (c) 2015 Microsoft Corporation * * -=- Robust Distributed System Nucleus (rDSN) -=- * * 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...
<commit_before>#ifndef _GRL_VREP_ROBOT_ARM_DRIVER_HPP_ #define _GRL_VREP_ROBOT_ARM_DRIVER_HPP_ #include <iostream> #include <memory> #include <array> #include <boost/log/trivial.hpp> #include <boost/exception/all.hpp> #include <boost/algorithm/string.hpp> #include "grl/vrep/Vrep.hpp" #include "v_repLib.h" namespa...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2016 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>/* 1. Treat each edge id as a cluster, unordered map from edgeId to a set 2. also store size of each cluster which will 0 in the begining // $ g++ -std=c++0x -O3 -o calcDensityForDiffThresh calcDensityForDiffThresh.cpp // $ ./calcDensityForDiffThresh networkEdgeIdMap.csv network.jaccs sortedjaccs.csv ...
<commit_before>#pragma once #include <memory> #include "VectorIndexer.hpp" namespace Rendering { namespace Manager { template <typename BufferType> class BufferPool final { public: BufferPool() = default; DISALLOW_ASSIGN_COPY(BufferPool<BufferType>); void Add(const std::string& file, const std::st...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: Language: C++ Date: Version: Copyright (c) 2000 National Library of Medicine All rights reserved. See COPYRIGHT.txt for copyright details. =====...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkKdTreeTest1.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See ITKCo...
<commit_before><commit_msg>coverity#1247641 Uncaught exception<commit_after><|endoftext|>
<commit_before>#define BOOST_TEST_STATIC_LINK #define BOOST_TEST_MODULE FIXED_POINT_LIB_COMMON_USE_CASES #include <boost/test/unit_test.hpp> #include <boost/random.hpp> #include <limits> #include <string> #include <sstream> #include <iomanip> #include <stdexcept> #include "./../../fixed_point_lib/src...
<commit_before>/* Copyright 2019 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>/// /// @file calculator.hpp /// @brief calculator::eval(const std::string&) evaluates an integer /// arithmetic expression and returns the result. If an error /// occurs a calculator::error exception is thrown. /// <https://github.com/kimwalisch/calculator> /// ...
<commit_before>/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
<commit_before>/* ** Author(s): ** - Laurent LEC <llec@aldebaran-robotics.com> ** ** Copyright (C) 2012 Aldebaran Robotics */ #include <iostream> #include <string> #include <map> #include <event2/util.h> #include <event2/event.h> #include <event2/buffer.h> #include <event2/bufferevent.h> #include <event2/listener.h>...
<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 "Lice...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999-2001 The Apache Software Foundation. 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. Red...
<commit_before>/******************************************************************************* FILE : computed_field_binaryThresholdFilter.c LAST MODIFIED : 9 September 2006 DESCRIPTION : Wraps itk::MeanImageFilter ==============================================================================*/ /* ***** BEGIN LICENS...
<commit_before>// // detail/initializer.hpp // ~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2014 Rick Yang (rick68 at gmail dot com) // // 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...
<commit_before>/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkDocument.h" #include "SkPDFDocument.h" #include "SkPDFDevice.h" class SkDocument_PDF : public SkDocument { public: SkDocument_PDF(SkWStream* st...
<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 distributed WIT...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. ...
<commit_before>//============================================================================== // Single cell simulation view information solvers widget //============================================================================== #include "cellmlfileruntime.h" #include "cellmlfilevariable.h" #include "singl...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #include "../../StroikaPreComp.h" #if qPlatform_Windows #include <Windows.h> #include <winioctl.h> #endif #include "../../Characters/Format.h" #include "../../Characters/String.h" #include "../../Characters/StringBuilder.h" ...
<commit_before>#include <cstring> #if defined _OPENMP #include <omp.h> #else #define omp_get_thread_num() 0 #endif #ifdef _MSC_VER #pragma warning(disable:4127) #endif #include "common.h" #include "metrix.h" #include "OskarBinReader.h" #define as256p(p) (reinterpret_cast<__m256d*>(p)) #define as256pc(p) (reinterpre...
<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>/*========================================================================= * * Copyright David Doria 2012 daviddoria@gmail.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the L...
<commit_before>AliPHOSCorrelations* AddTaskPi0Correlations ( const char* name = "Pi0Corr", const char* options = "11h", UInt_t offlineTriggerMask = AliVEvent::kCentral, AliPHOSCorrelations::TriggerSelection internalTriggerSelection = AliPHOSCorrelations::kNoSelection, Double_t sigmaWidth ...
<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>#include "musicremotewidget.h" #include "musicremotewidgetforcircle.h" #include "musicremotewidgetfordiamond.h" #include "musicremotewidgetforrectangle.h" #include "musicremotewidgetforsquare.h" #include "musicremotewidgetforsimplestyle.h" #include "musicremotewidgetforcomplexstyle.h" #include "musicremo...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: Language: C++ Date: Version: Copyright (c) 2000 National Library of Medicine All rights reserved. See COPYRIGHT.txt for copyright details. =====...
<commit_before>#include "imu_tortuga.h" //written by Jeremy Weed ImuTortugaNode::ImuTortugaNode(std::shared_ptr<ros::NodeHandle> n, int rate, std::string name, std::string device) : RamNode(n){ // JW: There are a lot of debug/error messages here, I'm not sure // if we want to leave them in or not ROS_DEBUG("beginni...
<commit_before>#define __OPENCL__ #include "vglClImage.h" #include "vglContext.h" #include "cl2cpp_shaders.h" #include <opencv2/imgproc/types_c.h> #include <opencv2/imgproc/imgproc_c.h> #include <opencv2/highgui/highgui_c.h> #include <fstream> #include <string> /* argv[1] = input_image_path argv[2] = number of ope...
<commit_before>/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs * * Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr> * * This program is f...
<commit_before>#include "engine/api/json_factory.hpp" #include "engine/guidance/route_step.hpp" #include "engine/guidance/step_maneuver.hpp" #include "engine/guidance/route_leg.hpp" #include "engine/guidance/route.hpp" #include "engine/guidance/leg_geometry.hpp" #include "engine/polyline_compressor.hpp" #include "engi...
<commit_before>/* =========================================================================== Daemon BSD Source Code Copyright (c) 2015, Daemon Developers 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>/************************************************************************* * * $RCSfile: sane.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2001-11-02 10:50:21 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses ...
<commit_before>#ifndef ORG_EEROS_CONTROL_PATHPLANNERCONSTACC_HPP_ #define ORG_EEROS_CONTROL_PATHPLANNERCONSTACC_HPP_ #include <eeros/control/Output.hpp> #include <eeros/control/TrajectoryGenerator.hpp> #include <eeros/core/System.hpp> #include <cmath> #include <mutex> namespace eeros { namespace control { /** * Thi...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestVtkLineChartView.cxx 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>/** * Copyright (c) 2016 zScale Technology GmbH <legal@zscale.io> * Authors: * - Paul Asmuth <paul@zscale.io> * - Laura Schlimmer <laura@zscale.io> * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License ("the licen...
<commit_before>#include "k/scheduler.h" #include "etl/armv7m/exception_table.h" #include "etl/armv7m/instructions.h" #include "k/context.h" #include "k/list.h" namespace k { Context * current; List<Context> runnable; static bool switch_pending; void pend_switch() { switch_pending = true; } void do_deferred_swi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: io.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: obo $ $Date: 2006-09-17 10:02:36 $ * * The Contents of this file are made avail...
<commit_before>/* ************************************************************************** Copyright (c): 2008 - 2013 Hericus Software, LLC License: The MIT License (MIT) Authors: Steven M. Cherry ************************************************************************** */ #include <algorithm> #includ...
<commit_before>// Copyright (c) 2018 Iqiyi, 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 License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
<commit_before>/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "ifmap/ifmap_graph_walker.h" #include <boost/bind.hpp> #include "base/logging.h" #include "db/db_graph.h" #include "db/db_table.h" #include "ifmap/ifmap_client.h" #include "ifmap/ifmap_exporter.h" #include "ifmap/ifmap_li...
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved. #include "clustering/administration/servers/config_client.hpp" server_config_client_t::server_config_client_t( mailbox_manager_t *_mailbox_manager, watchable_map_t<peer_id_t, cluster_directory_metadata_t> *_directory_view, wa...
<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>/* * This istream filter adds HTTP chunking. * * author: Max Kellermann <mk@cm4all.com> */ #include "istream_chunked.hxx" #include "istream_internal.hxx" #include "pool.hxx" #include "format.h" #include "util/Cast.hxx" #include <assert.h> #include <string.h> struct ChunkedIstream { struct istr...
<commit_before>/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...