text
stringlengths
54
60.6k
<commit_before>#include <ros/ros.h> #include <geometry_msgs/Twist.h> #include <sensor_msgs/PointCloud2.h> #include <sensor_msgs/PointCloud.h> #include <sensor_msgs/point_cloud_conversion.h> #include <tf/transform_listener.h> #include <octomap/octomap.h> #include <octomap/OcTree.h> #include <octomap_msgs/Octomap.h> #i...
<commit_before>// // recursion.cpp // DS // // Created by Rahul Goel on 7/26/17. // Copyright © 2017 Rahul Goel. All rights reserved. // #include "recursion.hpp" //As Its not suggestable to return local variable outside the function So use this array in case you need to return Array or list of elements static int...
<commit_before>/* Copyright 2020 Google 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 applicable law or agreed to in wri...
<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 <string> #include "base/bind.h" #include "base/bind_helpers.h" #include "base/file_path.h" #include "base/memory/scoped_ptr.h...
<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>#include "types.h" #include "amd64.h" #include "kernel.hh" #include "pci.hh" #include "pcireg.hh" #include "traps.h" #include "kstream.hh" static console_stream verbose(true); extern int e1000attach(struct pci_func *pcif); extern int e1000eattach(struct pci_func *pcif); // Flag to do "lspci" at bootup...
<commit_before>#include "GLTexture3D.h" #include "GLTextureRectangle.h" #include <iostream> #include "GLUtility.h" using namespace std; // ---------------------------------------------------------------------------- GLTexture3D *GLTexture3D::New(int width, int height, int depth, int internalforma...
<commit_before>#include "TimerWrapper.hpp" namespace org_pqrs_KeyRemap4MacBook { void TimerWrapper::initialize(IOWorkLoop *_workLoop, OSObject *owner, IOTimerEventSource::Action func) { if (timer) terminate(); if (! _workLoop) return; workLoop = _workLoop; if (owner == NULL) { owner = rei...
<commit_before>// Copyright 2016 ct_common authors. See LICENSE file for details. #include "ct_common/common/constraint_a_binary_instances.h" #include "ct_common/base/arithmetic_utils.h" namespace ct_common { #define CONSTRAINT_A_BINARY_SKELETON(CLASS_NAME, OP_TOKEN, EVAL_FUNC) \ REGISTER_CLASS_NAME(CLASS_NAME)...
<commit_before>/***************************************************************************** (c) 2013 Hobu, Inc. hobu.inc@gmail.com Author: Andrew Bell andrew.bell.ia at gmail.com This is free software; you can redistribute and/or modify it under the terms of the GNU Lesser General Licence as publis...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regarding t...
<commit_before>/* * User.cpp * * Copyright (C) 2019-20 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant to the terms of a commercial license agreement * with RStudio, then this program is licensed to you under the following terms: * * Permission is hereby granted, free o...
<commit_before>#include "cpp_interface.h" namespace BEEV { // Does some simple caching of prior results. void Cpp_interface::checkSat(const ASTVec & assertionsSMT2) { bm.GetRunTimes()->stop(RunTimes::Parsing); checkInvariant(); assert(assertionsSMT2.size() == cache.size()); Entry& last_run = ...
<commit_before>//! Copyright (c) 2013 ASMlover. All rights reserved. //! //! Redistribution and use in source and binary forms, with or without //! modification, are permitted provided that the following conditions //! are met: //! //! * Redistributions of source code must retain the above copyright //! notice, thi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlTable.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: ihi $ $Date: 2007-11-20 19:04:17 $ * * The Contents of this file are made...
<commit_before>// KMail Account Manager #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "kmacctmgr.h" #include "kmacctmaildir.h" #include "kmacctlocal.h" #include "kmacctexppop.h" #include "kmacctimap.h" #include "networkaccount.h" using KMail::NetworkAccount; #include "kmacctcachedimap.h" #include "broadca...
<commit_before>#include <libmemcached/memcached.h> #include <string> #include <vector> class Memcached { public: Memcached() : memc(), result() { memcached_create(&memc); } Memcached(memcached_st *clone) : memc(), result() { memcached_clone(&memc, clone); } ...
<commit_before>#include "ExecutionEngine.h" #include <chrono> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #include <llvm/IR/LLVMContext.h> #include <llvm/IR/Module.h> #include <llvm/ADT/Triple.h> #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/ExecutionEngine/Sect...
<commit_before>#include <iostream> #include <fstream> #include <string> #include <vector> #include <sstream> #include <algorithm> #include <functional> #include <unordered_map> // Compare two lists to see if they're the same group; in most // circumstances we should check for the equality of their sizes // and early o...
<commit_before>//===--- JSONRPCDispatcher.cpp - Main JSON parser entry point -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* Copyright 2013-present Barefoot Networks, 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 applicable law o...
<commit_before>/* utilities.cpp KNode, the KDE newsreader Copyright (c) 1999-2001 the KNode authors. See file AUTHORS for details 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 Foun...
<commit_before>#include <bits/stdc++.h> using namespace std; #define x first #define y second #define SZ(x) ((int)((x).size())) #define PB(x) push_back(x); #define INF (0x3f3f3f3f) #define MEMSET(x,v) memset(x,v,sizeof(x)); typedef long long LL; typedef pair<int, int> PII; typedef pair<PII, int> PII2; typedef vector...
<commit_before>#include "tileManager.h" #include "scene/scene.h" #include "tile/mapTile.h" #include "view/view.h" #include <chrono> #include <algorithm> TileManager::TileManager() { // Instantiate workers for (size_t i = 0; i < MAX_WORKERS; i++) { m_workers.push_back(std::unique_ptr<TileWorker>(new Ti...
<commit_before>/* * ContextToGL.cpp * * Copyright (C) 2021 by VISUS (Universitaet Stuttgart). * Alle Rechte vorbehalten. */ #include "mmcore/view/ContextToGL.h" #include "mmcore/utility/log/Log.h" namespace megamol::core::view { using utility::log::Log; ContextToGL::ContextToGL(void) : Renderer3DModuleGL()...
<commit_before>// // C++ Interface: BuiltinFuncs // // Description: // // // Author: Carmelo Piccione <carmelo.piccione@gmail.com>, (C) 2007 // // Copyright: See COPYING file that comes with this distribution // // #ifndef _BUILTIN_FUNCS_HPP #define _BUILTIN_FUNCS_HPP #include "Common.hpp" #include "Func.hpp" #inclu...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (c) 2010 Arjen Hiemstra <ahiemstra@heimr.nl> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Less...
<commit_before>/* broadcaststatus.cpp This file is part of KDEPIM. Author: Don Sanders <sanders@kde.org> Copyright (C) 2000 Don Sanders <sanders@kde.org> License GPL */ #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <qdatetime.h> #include <klocale.h> #include <kglobal.h> #include "broadcasts...
<commit_before>// Copyright (c) 2020 The Orbit 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 "DataManager.h" #include "OrbitBase/Logging.h" #include "OrbitClientData/ModuleData.h" #include "OrbitClientData/ProcessData.h" ...
<commit_before> #pragma once #include "ksp_plugin/part.hpp" #include <list> #include <string> #include "base/array.hpp" #include "base/hexadecimal.hpp" #include "base/not_null.hpp" namespace principia { namespace ksp_plugin { namespace internal_part { using base::Array; using base::HexadecimalEncode; using base::...
<commit_before>/** * Copyright (C) 2011 * University of Rochester Department of Computer Science * and * Lehigh University Department of Computer Science and Engineering * * License: Modified BSD * Please see the file LICENSE.RSTM for licensing information */ #include "common/platform.hpp" // ...
<commit_before>#include "Arduino.h" #include "DFR_Key.h" static int DEFAULT_KEY_PIN = 0; static int DEFAULT_THRESHOLD = 5; /* To use any alternate set of values you will need to enable it by a define. The define should NOT be done in code or it will impact all users. Visual Studio users can set 'DF_ROBOT_V1' in ...
<commit_before>#include <maya/MFnMesh.h> #include <maya/MFnMeshData.h> #include <maya/MEulerRotation.h> #include <maya/MQuaternion.h> #include <maya/MFnArrayAttrsData.h> #include "Asset.h" #include "AssetNode.h" #include "AssetNodeOptions.h" #include "OutputInstancerObject.h" #include "hapiutil.h" #include "util.h" O...
<commit_before>/* * Copyright (c) 2015, Cryptonomex, Inc. * All rights reserved. * * This source code is provided for evaluation in private test networks only, until September 8, 2015. After this date, this license expires and * the code may not be used, modified or distributed for any purpose. Redistribution and ...
<commit_before>#include "AliPHOSTracker.h" #include "AliPHOSClusterizerv1.h" #include "AliPHOSTrackSegmentMakerv1.h" #include "AliPHOSTrackSegmentMakerv2.h" #include "AliPHOSPIDv1.h" #include "AliRunLoader.h" #include "AliESD.h" //------------------------------------------------------------------------- // ...
<commit_before>#include "version.hpp" #include <cutehmi/CuteHMI.hpp> #include <cutehmi/ProjectModel.hpp> #include <cutehmi/ErrorInfo.hpp> #include <cutehmi/xml/ProjectBackend.hpp> #include <cutehmi/app/CuteApp.hpp> //<workaround id="cutehmi_view-4" target="Qt" cause="bug"> #include <QApplication> // Instead of: // ...
<commit_before>/************************************************************************* This software allows for filtering in high-dimensional observation and state spaces, as described in M. Wuthrich, P. Pastor, M. Kalakrishnan, J. Bohg, and S. Schaal. Probabilistic Object Tracking using a Range Camera IEEE/RSJ Int...
<commit_before>/* * Copyright 2015 Nicolas Pope */ #ifndef DHARC_NODE_HPP_ #define DHARC_NODE_HPP_ #include <ostream> #include <istream> #include <string> #include <cstdint> #include "dharc/rpc_packer.hpp" namespace dharc { static_assert(sizeof(double) <= 64, "Double is too big"); /* Constants for special node ...
<commit_before>#include "..\I<%= $cur_module.name %>.h" #include "logging/RhoLog.h" #undef DEFAULT_LOGCATEGORY #define DEFAULT_LOGCATEGORY "<%= $cur_module.name %>" #include "ruby/ext/rho/rhoruby.h" #include "common/StringConverter.h" #include "common/AutoPointer.h" using namespace rho; using namespace rho::common; ...
<commit_before>#ifndef GENERIC_CIFY_HPP # define GENERIC_CIFY_HPP # pragma once #include <utility> namespace generic { namespace { ////////////////////////////////////////////////////////////////////////////// template <typename F, int I, typename L, typename R, typename ...A> inline F cify(L&& l, R (*)(A...) noexc...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // Z-functions /////////////////////////////////////////////////////////////////////////////// #include <iostream> #include <string> #include <vector> using namespace std; // z-functions: return z, z[i] is the length of ...
<commit_before>// C++ Actor Framework Exercices // Christian Schirin, 2017-05-17 // Exercise 1: Polynomial Evaluator #include <string> #include <iostream> #include "caf/all.hpp" using std::endl; using std::string; using namespace caf; // Type Aliases using calc_atom = atom_constant<atom("calc")>; behavior polynom...
<commit_before>/* * * Copyright (C) 2009, Joacim Jacobsson ( j dot jacobsson at gmail dot com ) * All rights reserved. * * See LICENSE file for details * */ #include <callback/callback.h> #include <callback/instructions.h> namespace callback { int run_program( CallbackProgram* info ) {...
<commit_before>/* ReflectaArduinoCore.cpp - Library for exposing the core Arduino library functions over Reflecta */ #include "Reflecta.h" using namespace reflecta; using namespace reflectaFunctions; namespace reflectaArduinoCore { void pinMode() { ::pinMode(pop(), pop()); } void digitalRead() { ...
<commit_before>/* LICENSE AND COPYRIGHT INFORMATION - Please read carefully. Copyright (c) 2010-2013, davyjones <dj@pgxplorer.com> 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 permiss...
<commit_before>#include "core/stringutils.h" #include <string> #include <algorithm> #include <cstring> #include <vector> #include <sstream> #include <iterator> #include <type_traits> #include "core/assert.h" namespace euphoria::core { std::pair<std::string, std::string> last_strings(const std::string& str, char se...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkMapper.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistribution...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>// $Id: HINFile_test.C,v 1.8 2001/05/06 21:11:13 oliver Exp $ #include <BALL/CONCEPT/classTest.h> /////////////////////////// #include <BALL/FORMAT/HINFile.h> #include <BALL/KERNEL/system.h> #include <BALL/KERNEL/PTE.h> /////////////////////////// START_TEST(HINFile, "$Id: HINFile_test.C,v 1.8 2001/0...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: process_impl.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: rt $ $Date: 2005-09-08 14:59:24 $ * * The Contents of this file are m...
<commit_before>#include "folder.h" #include "exception.h" #include "fileops.h" #include "types.h" #include <iterator> namespace IO { bool Folder::Path(const std::string& path) { std::lock_guard<std::mutex> l(m_mxCall); if (!IO::DoPathExist(path)) { return false; } m_path = path; return true; } std::...
<commit_before>//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm 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://ww...
<commit_before>#include <iostream> #include <cmath> #include <cstdlib> #include <iomanip> #include <string> #include <vector> using namespace std; // void rowSum(int a[][4],int nRow){ // for(int i=0;i<nRow;i++){ // for(int j=0;j<4;j++){ // a[i][0] = a[i][j]; // } // } // } // void splitFloat(float x,int *int...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: docfunc.hxx,v $ * * $Revision: 1.12 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:21:03 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pivotsh.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:44:03 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: target.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 22:38:07 $ * * The Contents of this file are made av...
<commit_before>// // Aspia Project // Copyright (C) 2016-2022 Dmitry Chapyshev <dmitry@aspia.ru> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at ...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "bucket.h" #include <assert.h> #include <map> #include <vespa/vespalib/util/overload.h> #include <vespa/vespalib/util/visit_ranges.h> namespace vespalib { namespace metrics { ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestCellDistanceSelector.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for detai...
<commit_before>/** * Schulich Delta Hermes * Copyright (C) 2015 University of Calgary Solar Car Team * * This file is part of Schulich Delta Hermes * * Schulich Delta Hermes is free software: * you can redistribute it and/or modify it under the terms * of the GNU Affero General Public License as publish...
<commit_before> /////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2002, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted pro...
<commit_before>// RhoLaunch.cpp : Defines the entry point for the application. // #include "windows.h" #include "RhoLaunch.h" #define MAX_LOADSTRING 100 #define PB_WINDOW_RESTORE WM_USER + 10 // Global Functions: int LaunchProcess( LPTSTR pFilePath, LPTSTR pCmdLine); int WINAPI WinMain(HINSTANCE hInstance, ...
<commit_before>/* Steering macro for the Detector/<action> trending // // code to check consitency // gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/ -I$ALICE_ROOT/include -I$ALICE_ROOT/install/include -I$ALICE_ROOT/STEER\ -I$ALICE_ROOT/TPC -I$ALICE_ROOT/ITS -I$ALICE_ROOT/TRD -I$ALICE_ROOT/TOF ...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2011, Alexandru-Eugen Ichim * Willow Garage, Inc * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
<commit_before>#include "systemGenerator.h" #include <generatorBase/generatorCustomizer.h> using namespace trik::simple; using namespace generatorBase::simple; SystemGenerator::SystemGenerator(qrRepo::RepoApi const &repo , generatorBase::GeneratorCustomizer &customizer , qReal::Id const &id , QObject *parent) ...
<commit_before>//--------------------------------------------------------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 2005 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to th...
<commit_before>/* Copyright 2020 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><commit_msg>CR mode update for mode 3<commit_after><|endoftext|>
<commit_before>/* This file is part of VoltDB. * Copyright (C) 2008-2012 VoltDB Inc. * * VoltDB 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 ...
<commit_before>/* * Copyright (c) 2001 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at you...
<commit_before>/** ** Copyright (C) 2010 Aldebaran Robotics */ #include <gtest/gtest.h> #include <vector> #include <iostream> #include <cmath> #include <qi/transport/zeromq/zmqpublisher.hpp> #include <qi/transport/zeromq/zmqsubscriber.hpp> #include <qi/perf/sleep.hpp> #include <boost/timer.hpp> struct SubscribePerfHa...
<commit_before>// Copyright 2013 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 require...
<commit_before>#include <cstdlib> #include <iostream> #include <ioa.hpp> #include <queue> #include <uuid/uuid.h> #include <boost/type_traits.hpp> struct uuid { uuid_t u; uuid () { uuid_generate (u); } uuid (const uuid& x) { uuid_copy (u, x.u); } uuid& operator= (const uuid& x) { if (this !...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkImagePCAShapeModelEstimatorTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights r...
<commit_before>#pragma once #include <Utility/MemoryManager/Include/Allocator/MemoryAllocator.hpp> #include <exception> namespace Utility { namespace MemoryManager { class ApplicationAllocator; template <typename T> class PoolAllocator : public MemoryAllocator { PoolAlloca...
<commit_before>#include "StdTuvokDefines.h" #include <algorithm> #include <cstdarg> #include <fstream> #include <functional> #include <stdexcept> #include <string> #include <utility> #include <vector> #include "ShaderDescriptor.h" #include "Basics/SysTools.h" #include "Basics/SystemInfo.h" #include "Controller/Controll...
<commit_before><commit_msg>Stopped messing with response<commit_after><|endoftext|>
<commit_before>#include "xchainer/memory.h" #include <cassert> #ifdef XCHAINER_ENABLE_CUDA #include <cuda.h> #include <cuda_runtime.h> #endif // XCHAINER_ENABLE_CUDA #ifdef XCHAINER_ENABLE_CUDA #include "xchainer/cuda/cuda_runtime.h" #endif // XCHAINER_ENABLE_CUDA #include "xchainer/device.h" #include "xchainer/er...
<commit_before>#include "Optimiser.h" using namespace Moses; using namespace std; namespace Mira { void MiraOptimiser::updateWeights(Moses::ScoreComponentCollection& weights, const std::vector< std::vector<Moses::ScoreComponentCollection> >& scores, const std::vect...
<commit_before>/** \brief Implementation of writer classes for MARC files. * \author Oliver Obenland (oliver.obenland@uni-tuebingen.de) * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2017 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free...
<commit_before>// Parse test application // Based upon: parsetest.cpp from xmlpp // needed includes #include <fstream> #include <iostream> #include <ctime> #include <cppdom/cppdom.h> // namespace includes using namespace cppdom; using namespace std; // dumps the node void dump_node( XMLNode &node, int level = 0 ) {...
<commit_before>/* * * Author: Philipp Zschoche * GitHub: https://github.com/zschoche * */ #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) #ifndef __SYSLOG_LOGGERS_HPP__ #define __SYSLOG_LOGGERS_HPP__ #include <syslog.h> #include "logger.hpp" namespace ml...
<commit_before>#include "backend.h" #include <grpc/grpc.h> #include <grpc++/server.h> #include <grpc++/server_builder.h> #include <grpc++/server_context.h> #include <grpc++/security/server_credentials.h> #include <memory> #include <mutex> #include "action/action.h" #include "action/action_service_impl.h" #include "co...
<commit_before>#include "itkImageFileWriter.h" #include "AnisotropicAnomalousDiffusionImageFilter.h" #include "itkCastImageFilter.h" #include "itkPluginUtilities.h" #include "AADDiffusionWeightedDataCLP.h" // Use an anonymous namespace to keep class types and function names // from colliding when module is used as ...
<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 <vector> #include "base/file_path.h" #include "base/file_util.h" #include "base/stringprintf.h" #include "chrome/browser/exte...
<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 "chrome/browser/notifications/notification_options_menu_model.h" #include "base/compiler_specific.h" #include "base/logging.h...
<commit_before>/* Reproducing xfstest generic/321 directory_test() 1. Create directory A and fsync it After a crash, the directory should still be present. https://github.com/kdave/xfstests/blob/master/tests/generic/321 */ #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include...
<commit_before>#include "eprosimartps/CDRMessage.h" TEST(CDRMessage, constructor) { CDRMessage_t msg; ASSERT_EQ(0,msg.pos); ASSERT_EQ(0,msg.length); ASSERT_EQ(RTPSMESSAGE_MAX_SIZE,msg.max_size); ASSERT_TRUE(NULL != msg.buffer); ASSERT_EQ(EPROSIMA_ENDIAN,msg.msg_endian); } TEST(CDRMessage, constructor_size) { C...
<commit_before>/* * Copyright (C) 2004-2018 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.org/licenses/LICENSE-...
<commit_before>/************************************************************************* * * $RCSfile: MTypeConverter.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: fs $ $Date: 2002-05-17 12:08:41 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>#ifndef MORDOR_BIN_READER #define MORDOR_BIN_READER #include <fstream> #include <iostream> using namespace std; typedef unsigned char BYTE; // 1 byte typedef unsigned short WORD; // 2 bytes wide typedef signed short SWORD; typedef unsigned long DWORD; // 4 bytes, or long word typedef float CURRENCY; ...
<commit_before><commit_msg>[RArrowDS] Fix compilation error<commit_after><|endoftext|>
<commit_before>// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as ...
<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 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 2011, Jernej Kovacic 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 in wri...
<commit_before>// Copyright 2008, 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 list ...
<commit_before>// key.cc #include "stdsneezy.h" #include "obj_open_container.h" #include "obj_keyring.h" #include "obj_key.h" TKey::TKey() : TObj() { } TKey::TKey(const TKey &a) : TObj(a) { } TKey & TKey::operator=(const TKey &a) { if (this == &a) return *this; TObj::operator=(a); return *this; } TKey::~...
<commit_before>/** @file distributed_table_test.cc * * @author Dongryeol Lee (dongryel@cc.gatech.edu) */ #include "core/metric_kernels/lmetric.h" #include "core/table/distributed_table.h" #include "core/table/mailbox.h" #include "core/tree/gen_kdtree.h" #include <boost/archive/text_oarchive.hpp> #include <boost/arc...