text
stringlengths
54
60.6k
<commit_before>#include "HelloWorldScene.h" #include "SimpleAudioEngine.h" #include "AnalyticX.h" #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #include <jni.h> #include "platform/android/jni/JniHelper.h" #include <android/log.h> #endif using namespace cocos2d; using namespace CocosDenshion; CCScene* HelloWorld::s...
<commit_before>void plotField(Int_t iField = 0) { // // iField = 0 2 kG solenoid // 1 4 kG solenoid // 2 5 kG solenoid // // load necessary libraries gSystem->Load("$(ALICE_ROOT)/lib/tgt_$(ALICE_TARGET)/libminicern"); gSystem->Load("$(ROOTSYS)/lib/libPhysics"); gSystem->...
<commit_before>/* * * Copyright (C) 2000 Frans Kaashoek (kaashoek@lcs.mit.edu) * Copyright (C) 2001 Frans Kaashoek (kaashoek@lcs.mit.edu) and * Frank Dabek (fdabek@lcs.mit.edu). * Copyright (C) 2001 Frans Kaashoek (kaashoek@lcs.mit.edu), * Frank Dabek (fdabek@lcs.mit.edu) a...
<commit_before>#include "selfdrive/ui/replay/framereader.h" #include <assert.h> #include <unistd.h> #include <QDebug> static int ffmpeg_lockmgr_cb(void **arg, enum AVLockOp op) { std::mutex *mutex = (std::mutex *)*arg; switch (op) { case AV_LOCK_CREATE: mutex = new std::mutex(); break; case AV_LOCK_...
<commit_before>#include "circle2d.hpp" #include "frea/constant.hpp" #include "frea/ulps.hpp" #include "segment2d.hpp" #include "aabb2d.hpp" #include "constant.hpp" namespace beat { namespace g2 { using frea::Square; Circle::Circle(const Vec2& c, const float r): center(c), radius(r) { D_Assert0(r >= 0); ...
<commit_before>#include <iostream> #include <cerrno> #include <getopt.h> #include <unistd.h> #include <csignal> #include <openssl/ssl.h> #include "../utils/errno_exception.h" #include "../utils/file.h" #include "../utils/dir.h" #include "server_socket.h" #include "http_server.h" using namespace std; int https_server...
<commit_before>//===- lib/Driver/Targets.cpp - Linker Targets ----------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkFixedArrayTest2.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved. See I...
<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 <stdlib.h> #if defined(OS_WIN) #include <windows.h> #endif #include "base/debug/trace_event.h" #include "base/message_loop.h...
<commit_before>#ifndef STAN_MATH_PRIM_ERR_ELEMENTWISE_ERROR_CHECKER_HPP #define STAN_MATH_PRIM_ERR_ELEMENTWISE_ERROR_CHECKER_HPP #include <stan/math/prim/err/throw_domain_error.hpp> #include <stan/math/prim/fun/get.hpp> #include <stan/math/prim/fun/size.hpp> #include <stan/math/prim/fun/value_of_rec.hpp> #include <sta...
<commit_before>#include "BAVersusScreen.h" #include "BAGlobal.h" #include "ABGeometry.h" #include "BACharAssets.h" #include "BAGameAssets.h" #define VSSCREEN_MILLIS_SINCE(MILLIS) (float)(millis() - MILLIS) #define VSSCREEN_ANIMATIONTIME 500.0f BAGamesCommand showVersusScreenWithPlayerAndEnemy(BACharacterData player, ...
<commit_before>// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
<commit_before>#include "CVolumeSceneObject.h" #include <ionWindow.h> #include "CProgramContext.h" CVolumeSceneObject::SControl::SControl() : Mode(0), SliceAxis(1.f, 0.f, 0.f), LocalRange(0.2f), MinimumAlpha(0.1f), EmphasisLocation(0.5f), AlphaIntensity(1.f), StepSize(100.f), DebugLevel(0), UseShadin...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fuzoom.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: ihi $ $Date: 2007-11-26 14:35:33 $ * * The Contents of this file are made ...
<commit_before>/** @file main.cc * * Driver file for testing LCC * * @author Nishant Mehta (niche) */ // example for running program via fx-run on no.cc.gatech.edu: // fx-run mnist_lcc /scratch/niche/fastlib-stl/build/bin/mnist_lcc --lambda=0.05, --data_dir=/scratch/niche/fastlib-stl/contrib/niche/discriminati...
<commit_before>#ifndef STAN_MATH_PRIM_MAT_FUN_MDIVIDE_RIGHT_TRI_HPP #define STAN_MATH_PRIM_MAT_FUN_MDIVIDE_RIGHT_TRI_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/prim/mat/fun/mdivide_left_tri.hpp> #include <stan/math/prim/mat/fun/transpose.hpp> #include <stan/math/prim/mat/err/check_multiplicabl...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: present.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: kz $ $Date: 2006-10-06 09:52:59 $ * * The Contents of this file are made a...
<commit_before>/* * Copyright (C) 2008 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list ...
<commit_before>#ifndef STAN_MATH_PRIM_SCAL_PROB_STD_NORMAL_LPDF_HPP #define STAN_MATH_PRIM_SCAL_PROB_STD_NORMAL_LPDF_HPP #include <stan/math/prim/scal/meta/is_constant_struct.hpp> #include <stan/math/prim/scal/meta/partials_return_type.hpp> #include <stan/math/prim/scal/meta/operands_and_partials.hpp> #include <stan/m...
<commit_before>#include "stdafx.h" #include "CppUnitTest.h" #include "datastore.h" #include "transaction.h" #include "internal/operations/post_operation.h" #include "internal/operations/put_operation.h" #include "internal/operations/erase_operation.h" #include "dummy_values.h" using Assert = Microsoft::VisualStudio::...
<commit_before>/* * Copyright 2011 DataStax * * 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 (c) 2007, Arvid Norberg 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 of cond...
<commit_before> /* Copyright (c) 2007, Arvid Norberg 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 of cond...
<commit_before>/* * openni_face_detection.cpp * * Created on: 22 Sep 2012 * Author: Aitor Aldoma */ #include "pcl/recognition/face_detection/rf_face_detector_trainer.h" #include "pcl/apps/face_detection/openni_frame_source.h" #include "pcl/apps/face_detection/face_detection_apps_utils.h" #include <pcl/conso...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use t...
<commit_before>/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkImageInfoPriv.h" #include "SkSafeMath.h" #include "SkReadBuffer.h" #include "SkWriteBuffer.h" int SkColorTypeBytesPerPixel(SkColorType ct) { sw...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2014 Max-Planck-Institute for Intelligent Systems, * University of Southern California * Jan Issac (jan.issac@gmail.com) * Manuel Wuthrich (manuel.wuthrich@gmail.com) * * * * Redistribution and use in so...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pe_iface.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2007-07-31 16:10:01 $ * * The Contents of this file are made ...
<commit_before>#include <btBulletDynamicsCommon.h> #include "../Physics/GlmConversion.hpp" #include "RigidBody.hpp" namespace Component { RigidBody::~RigidBody() { Destroy(); } Json::Value RigidBody::Save() const { Json::Value component; component["mass"] = mass; component[...
<commit_before>/*------------------------------------------------------------------------ * (The MIT License) * * Copyright (c) 2008-2011 Rhomobile, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * i...
<commit_before>/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" #ident "Copyright (c) 2011 Tokutek Inc. All rights reserved." #ident "The technology is licensed by the Massachusetts Institute of Technology, Rutgers State University of New...
<commit_before>/* * Copyright (c) 2003 Jeremy Stribling (strib@mit.edu) * Thomer M. Gil (thomer@csail.mit.edu) * Massachusetts Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documenta...
<commit_before>//---------------------------------------------------------------------------// /* Copyright (c) 2014, Stuart R. Slattery All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: *: Re...
<commit_before>#include "suzanne.h" //@todo COMMENT! //@todo refactor "suzanne" test model loader into a real model loader // // CONSTRUCTORS //////////////////////////////////////////////////////////////// // Suzanne::Suzanne() { model = loadObj( QString("table.obj") ); } Suzanne::Suzanne( QString path ) { ...
<commit_before>/* * @file opencog/embodiment/Control/OperationalAvatarController/PsiFeelingUpdaterAgent.cc * * @author Zhenhua Cai <czhedu@gmail.com> * @date 2011-04-19 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * ...
<commit_before>//===- lli.cpp - LLVM Interpreter / Dynamic compiler ----------------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>/* dlvhex -- Answer-Set Programming with external interfaces. * Copyright (C) 2005, 2006, 2007 Roman Schindlauer * Copyright (C) 2006, 2007, 2008, 2009, 2010 Thomas Krennwallner * Copyright (C) 2009, 2010 Peter Schüller * * This file is part of dlvhex. * * dlvhex is free software; you can redistr...
<commit_before>/* * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
<commit_before>/* * This file is part of PlantLight application. * * 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 <algorithm> #include <iostream> #include <unordered_map> #include <vector> typedef std::unordered_map<std::string, int> WordCount; int main() { WordCount counts; std::string word; while (std::cin >> word) { counts[word]++; } std::vector<std::pair<int, WordCount::iterator>> fre...
<commit_before>/************************************************************************* * Copyright (C) 2011-2013 by Paul-Louis Ageneau * * paul-louis (at) ageneau (dot) org * * * * ...
<commit_before>/* * Copyright (c) 2014-present, 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 directo...
<commit_before>// Copyright 2004-present Facebook. All Rights Reserved. //#include <algorithm> //#include <map> #include <string> //#include <unordered_set> #include <stdio.h> #include <stdlib.h> //#include <boost/filesystem/operations.hpp> //#include <boost/filesystem/path.hpp> #include <boost/lexical_cast.hpp> #i...
<commit_before>/** * Copyright (C) 2015 Dato, Inc. * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD license. See the LICENSE file for details. */ #include <process/process.hpp> #include <logger/logger.hpp> #include <limits> namespace graphlab { // Programmer ...
<commit_before>/* * Copyright (c) 2015 - 2021, Intel Corporation * * 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 li...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: appdata.cxx,v $ * * $Revision: 1.20 $ * * last change: $Author: rt $ $Date: 2005-09-07 17:32:46 $ * * 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>/************************************************************************* * * $RCSfile: templdgi.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: gt $ $Date: 2002-05-14 13:19:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: viewfac.cxx,v $ * $Revision: 1.8...
<commit_before>// RUN: %clang_cc1 -g -emit-llvm -o - %s | FileCheck %s // Make sure that clang outputs distinct debug info for a function // that is inlined twice on the same line. Otherwise it would appear // as if the function was only inlined once. #define INLINE inline __attribute__((always_inline)) INLINE int p...
<commit_before>// ========================================================================== // // This file is part of DO++, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2014 David Ok <david.ok8@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public // Lic...
<commit_before>#include "pubsub_man.h" #include "event_loop.h" #include "log_macros.h" #include "WampTypes.h" #include "SessionMan.h" #include "kernel.h" #include "wamp_utils.h" #include <list> #include <iostream> namespace XXX { /* Thread safety for pubsub. Currently the public methods: - inbound_publish - ...
<commit_before>#include "inputControl.hpp" // Implementation headers #include "pause.hpp" #include "Ghost.hpp" typedef GameData::io_bools _bools; static void handleEvent_keyDown(GameData &d, SDL_Event &event, _bools&); static void handleEvent_keyUp(GameData &d, SDL_Event &event, _bools&); static void inputControl(Gam...
<commit_before>#include "js_helpers.h" #include "common/RhodesApp.h" #include "net/URI.h" #include "logging/RhoLog.h" #undef DEFAULT_LOGCATEGORY #define DEFAULT_LOGCATEGORY "js_helper" namespace rho { namespace apiGenerator { using namespace rho::json; static rho::Hashtable<rho::String,Func_JS> g_hashJSStaticMeth...
<commit_before>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 app...
<commit_before>#include "datastream_ROS.h" #include <QTextStream> #include <QFile> #include <QMessageBox> #include <QDebug> #include <thread> #include <mutex> #include <chrono> #include <thread> #include <QProgressDialog> #include <QtGlobal> #include <QApplication> #include <QProcess> #include <QCheckBox> #include <QSe...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2011 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>/**************************************************************************** ** ** 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>#include <cmath> #include "Math/SVector.h" #include "Math/SMatrix.h" #include <iostream> #include <vector> using namespace ROOT::Math; using std::cout; using std::endl; //#define TEST_STATIC_CHECK // for testing compiler failures (static check) #define XXX int test1() { SVector<float,3> x(4,5...
<commit_before>#include <stdio.h> #include <opencv2/video/background_segm.hpp> #include "opencv2/opencv.hpp" #include "physics.h" using namespace cv; using namespace std; const char *win = "Flying Pancake"; static bool reverseMirror = true; int main(int argc, char **argv) { if (argc > 2) { fprintf(stder...
<commit_before><commit_msg>spaces<commit_after><|endoftext|>
<commit_before>#include "X.h" #include "Units.h" #include "Planar.h" using namespace GeFiCa; void X::GetBoundaryConditionFrom(Detector &detector) { Grid::GetBoundaryConditionFrom(detector); // check number of calls TString type(detector.ClassName()); if (type.Contains("Planar")==false) { Error("GetBoun...
<commit_before>// Copyright (c) 2019 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, this list o...
<commit_before>#include "../stdafx.h" #include "wrapper/cms/signed_data.h" Handle<CertificateCollection> SignedData::certificates(){ LOGGER_FN(); STACK_OF(X509) *certs; LOGGER_OPENSSL(CMS_get1_certs); certs = CMS_get1_certs(this->internal()); return new CertificateCollection(certs); } Handle<Certificate> Sig...
<commit_before>#ifndef CAFFE_MOLGRID_DATA_LAYER_HPP_ #define CAFFE_MOLGRID_DATA_LAYER_HPP_ #include <string> #include <utility> #include <vector> #include <boost/array.hpp> #include <boost/thread/locks.hpp> #include <boost/thread/mutex.hpp> #include <boost/thread/condition_variable.hpp> #include <boost/unordered_map....
<commit_before>// (C) Copyright Gennadiy Rozental 2011-2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/test for the library home page. // // File : $RCSfile$ /...
<commit_before>/* * CrissCross * A multi-purpose cross-platform library. * * A product of Uplink Laboratories. * * (c) 2006-2008 Steven Noonan. * Licensed under the New BSD License. * */ #ifndef __included_cc_darray_h #error "This file shouldn't be compiled directly." #endif #include <crisscross/de...
<commit_before>/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * **********************...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: modeltoviewhelper.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2007-06-27 13:21:07 $ * * The Contents of this file ...
<commit_before>#include "parameter_acceptor.h" #include "utilities.h" #include <deal.II/base/point.h> #include <string> // Static empty class list std::vector<SmartPointer<ParameterAcceptor> > ParameterAcceptor::class_list; // Static parameter handler ParameterHandler ParameterAcceptor::prm; ParameterAcceptor::Parame...
<commit_before><commit_msg>warning C4510: default constructor could not be generated<commit_after><|endoftext|>
<commit_before>// @(#)root/base:$Id$ // Author: Rene Brun 02/09/2000 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/* * nextpnr -- Next Generation Place and Route * * Copyright (C) 2018 Claire Xenia Wolf <claire@yosyshq.com> * Copyright (C) 2020 Pepijn de Vos <pepijn@symbioticeda.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby gra...
<commit_before>/* Copyright 2020 The TensorFlow Quantum 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...
<commit_before>/*Copyright 2011 George Karagoulis Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
<commit_before>#include "mitkOpenGLRenderer.h" #include "Mapper.h" #include "mitkImageMapper2D.h" #include "BaseVtkMapper2D.h" #include "BaseVtkMapper3D.h" #include "LevelWindow.h" #include "mitkVtkInteractorCameraController.h" #include "mitkVtkRenderWindow.h" #include "mitkRenderWindow.h" #include <vtkRenderer.h> #in...
<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>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/network_state_notifier.h" #include "base/message_loop.h" #include "base/time.h" #include "chrome/bro...
<commit_before><commit_msg>fdo#78921 save embedded fonts in Flat ODF<commit_after><|endoftext|>
<commit_before>///Created: Daniel Turcanu @ IPDevel #include "util/singleton.h" #include "zorba_api.h" #include "store/api/item_factory.h" #include "store/api/store.h" #include "xquerybinary.h" #include "util/zorba.h" #include "errors/Error_impl.h" ///temporary stuff #include "store/naive/basic_item_factory.h" #incl...
<commit_before>/* * PrimeSieveGUI.cpp -- This file is part of primesieve * * Copyright (C) 2012 Kim Walisch, <kim.walisch@gmail.com> * * 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, eith...
<commit_before>// __BEGIN_LICENSE__ // Copyright (C) 2006-2010 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <vw/Core/Stopwatch.h> #include <vw/Core/Log.h> #include <vw/Plate/Rpc.h> #include <vw/...
<commit_before>#include <iostream> #include <cppunit/TestRunner.h> #include <cppunit/TestResult.h> #include <cppunit/TestResultCollector.h> //#include <cppunit/BriefTestProgressListener.h> #include <cppunit/TextOutputter.h> //#include <cppunit/extensions/HelperMacros.h> #include <cppunit/extensions/TestFactory...
<commit_before>#include <QtSerialPort/QSerialPort> #include <QUdpSocket> #include "InfrastructureLayer/InfrastructureContainer.h" #include "DataLayer/DataContainer.h" #include "CommDeviceControl/RadioCommDevice.h" #include "CommDeviceControl/UdpMessageForwarder.h" #include "CommunicationContainer.h" #include "DataPopu...
<commit_before>/* * File: tlos.hpp * Author: Barath Kannan * Implementation of thread-local variables with object-scoped access. * Created on 13 February 2017 7:46 PM */ #ifndef BK_CONQ_TLOS_HPP #define BK_CONQ_TLOS_HPP #include <mutex> #include <vector> #include <set> #include <thread> namespace bk_conq{ namespac...
<commit_before>#include "pattern_posture_generator_node.hpp" #include <sstream> void dumpMap(std::map<std::string, double>& map) { std::stringstream map_info; for (std::map<std::string, double>::iterator it = map.begin(), end_it = map.end(); it != end_it; it++) map_info << it->second << ':'; R...
<commit_before>#include "ros/ros.h" #include "pattern_posture_generator_node.hpp" int main(int argc, char* argv[]) { ros::init(argc, argv, "pattern_posture_generator"); ros::NodeHandle nh; PatternPostureGenerator ppg(nh); ROS_INFO("Ready. getPostureKey"); ros::spin(); return 0; } PatternPostureGenerato...
<commit_before>//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
<commit_before>// FIXME: run this (and other) UBSan tests in both 32- and 64-bit modes (?). // RUN: %clangxx -fsanitize=float-cast-overflow %s -o %t // RUN: %run %t _ // RUN: %run %t 0 2>&1 | FileCheck %s --check-prefix=CHECK-0 // RUN: %run %t 1 2>&1 | FileCheck %s --check-prefix=CHECK-1 // RUN: %run %t 2 2>&1 | FileCh...
<commit_before>// Copyright (c) 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, thi...
<commit_before>/* * * Copyright 2008-2010 NVIDIA 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
<commit_before>/* * */ #include <stdio.h> #include "sync.h" #include "topo.h" #include "mp.h" #include "measurement_framework.h" #include <pthread.h> #include <unistd.h> #include <vector> #include "model_defs.h" #include "barrier.h" #ifdef PARLIB #include "mcs.h" #endif //#define SEND7 #ifdef BARRELFISH #include...
<commit_before>#include <string> #include <cstring> #include <cassert> #include <cmath> #include <unordered_map> #include <unordered_set> #include <algorithm> #include <iostream> #include <fstream> #include <sstream> #include <getopt.h> #include "rolling.h" #include "city.h" /* as per instructions at top of stb_image_...
<commit_before>/* nowlisteningplugin.cpp Kopete Now Listening To plugin Copyright (c) 2002,2003 by Will Stephenson <will@stevello.free-online.co.uk> Kopete (c) 2002,2003 by the Kopete developers <kopete-devel@kde.org> ************************************************************************* ...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/service/service_process_control.h" #include "app/app_switches.h" #include "base/command_line.h" #include "bas...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- $Id$ This file is part of Crystal Space Virtual Object System Abstract 3D Layer plugin (csvosa3dl). Copyright (C) 2004 Peter Amstutz This program is free software; you can redistribute it and/or modify ...
<commit_before>#include <primitives/command.h> #include <boost/algorithm/string.hpp> #include <boost/asio.hpp> #include <boost/nowide/convert.hpp> #include <boost/process.hpp> #include <iostream> namespace primitives { namespace bp = boost::process; struct CommandData { std::unique_ptr<boost::asio::io_service>...
<commit_before><commit_msg>`scene_must_bind_to_worlds_appropriately`: more assertions.<commit_after><|endoftext|>
<commit_before><commit_msg>Fixed a typo in a weather description.<commit_after><|endoftext|>
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #ifndef QUEUEDITEM_HH #define QUEUEDITEM_HH 1 #include "common.hh" #include "item.hh" #include "stats.hh" enum queue_operation { queue_op_set, queue_op_del, queue_op_flush, queue_op_empty, queue_op_commi...