text
stringlengths
54
60.6k
<commit_before>/* * Copyright 2010-2011 DIMA Research Group, TU Berlin * * 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 * * Unles...
<commit_before>#define BOOST_TEST_NO_MAIN #include <boost/test/unit_test.hpp> #include "TestHelper.h" #include <fstream> #include <cstdlib> int BOOST_TEST_CALL_DECL main(int argc, char* argv[]) { const char* const gEnvName = "BOOST_TEST_LOG_FILE"; const char* const gEnvValue = std::getenv(gEnvName); std...
<commit_before>// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
<commit_before>/*! * \cond FILEINFO ****************************************************************************** * \file main.cpp ****************************************************************************** * * Copyright (C) ATS Advanced Telematic Systems GmbH GmbH, 2016 * * \author Moritz Klinger * *****...
<commit_before>/* * SessionRPubs.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * 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 terms of version 3 of the * GNU Affero General ...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libetonyek 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 a...
<commit_before>// // Created by valdemar on 14.10.17. // #include "UIController.h" #include <imgui_impl/imgui_widgets.h> #include <imgui_impl/imgui_impl_glfw_gl3.h> #include <imgui_impl/style.h> #include <fontawesome.h> #include <glm/gtc/type_ptr.hpp> struct UIController::wnd_t { bool show_style_editor = false;...
<commit_before>#include "image_properties.h" #include "opencv_utils.h" #include <ros/ros.h> /** \brief Parameter constructor. Sets the parameter struct to default values. */ template_pose::ImageProperties::Params::Params() : desc_type("SIFT"), bucket_width(DEFAULT_BUCKET_WIDTH), bucket_height(DEFAULT_BUCKET_HE...
<commit_before>#include "kernel.h" #include "storage.h" #include "arch/dev/Display.h" #include "sampling.h" #include <cassert> #include <algorithm> #include <cstdarg> #include <iostream> #include <iomanip> #include <sstream> #include <set> #include <map> #include <cstdio> using namespace std; namespace Simulator { ...
<commit_before>// 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 obtain a copy of the License at // // http://www.apache.or...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Designer of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage...
<commit_before>namespace mant { namespace bbob2009 { class SchwefelFunction : public BlackBoxOptimisationBenchmark2009 { public: inline explicit SchwefelFunction( const unsigned int& numberOfDimensions) noexcept; inline std::string toString() const noexcept override; prot...
<commit_before>/* * PBKDF/EMSA/EME/KDF/MGF Retrieval * (C) 1999-2007 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/lookup.h> #include <botan/libstate.h> #include <botan/scan_name.h> #if defined(BOTAN_HAS_MGF1) #include <botan/mgf1.h> #endif #if defined(BOTAN_HAS_EMSA1) #inclu...
<commit_before>#include "Frontend.h" #include "CudaRt.h" /* Routines not found in the cuda's header files. KEEP THEM WITH CARE */ extern void** __cudaRegisterFatBinary(void *fatCubin) { /* Fake host pointer */ void ** handler = (void **) & fatCubin; Buffer * input_buffer = new Buffer(); input_buffe...
<commit_before>#ifndef INCLUDE_AL_SINGLE_READER_WRITER_RING_BUFFER_HPP #define INCLUDE_AL_SINGLE_READER_WRITER_RING_BUFFER_HPP /* Allocore -- Multimedia / virtual environment application class library Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB. Copyright (C) 2006-2008. The Regent...
<commit_before>/* Copyright (c) 2013, Randolph Voorhies, Shane Grant 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 ...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright 2016-2017 Davide Faconti * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follow...
<commit_before>// Development utility to confirm the width of various Win32 objects. // Compile with cl constants.cpp #include <stdlib.h> #include <windows.h> #include <stdio.h> void main() { printf("On this platform:\n"); printf("sizeof(int) is %zu\n", sizeof(int)); printf("sizeof(LPCSTR) is %zu\n", si...
<commit_before>/* * PointLIFProbe.hpp * * Created on: Mar 10, 2009 * Author: rasmussn */ #ifndef POINTPROBE_HPP_ #define POINTPROBE_HPP_ #include "LayerProbe.hpp" namespace PV { class PointLIFProbe: public PV::LayerProbe { public: PointLIFProbe(const char * filename, int xLoc, int yLoc, int fLoc, cons...
<commit_before>/* * Copyright (C) 2008-2013 The Communi Project * * 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 Software Foundation; either version 2 of the License, or (at your * option) any later version....
<commit_before>/**************************************************************************** * Copyright (C) 2014 by Savoir-Faire Linux * * Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> * * ...
<commit_before>/** * 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 writing, software * d...
<commit_before>/* * Copyright (c) 2017 Trail of Bits, 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 2016 Facebook, 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 l...
<commit_before>#pragma once #include <functional> #include <map> #include <memory> #include "base/not_null.hpp" #include "integrators/ordinary_differential_equations.hpp" #include "physics/continuous_trajectory.hpp" #include "physics/massive_body.hpp" #include "physics/trajectory.hpp" namespace principia { using in...
<commit_before>#include "connection.h" #include "sim.h" #include <arpa/inet.h> #include <chrono> #include <csignal> #include <pthread.h> #include <simlib/config_file.h> #include <simlib/debug.h> #include <simlib/filesystem.h> #include <simlib/process.h> using std::string; static int socket_fd; namespace server { s...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, Willow Garage, 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...
<commit_before>/*! @file @copyright Edouard Alligand and Joel Falcou 2015-2017 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_BRIGAND_TYPES_ARGS_HPP #define BOOST_BRIGAND_TYPES_ARGS_HPP #include <brigand/sequences/at.hpp> #include <brigand/sequences/list.hpp> namespac...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2014-2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
<commit_before>// =-=-=-=-=-=-=- #include "apiHeaderAll.hpp" #include "msParam.hpp" #include "reGlobalsExtern.hpp" #include "irods_ms_plugin.hpp" // =-=-=-=-=-=-=- // STL Includes #include <string> #include <iostream> // =-=-=-=-=-=-=- // cURL Includes #include <curl/curl.h> #include <curl/easy.h> typedef struct...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 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. Redistr...
<commit_before>// This file is part of the "x0" project, http://github.com/christianparpart/x0> // (c) 2009-2017 Christian Parpart <christian@parpart.family> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the Licens...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 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. Redistri...
<commit_before>#ifndef _DESHA1_HPP #define _DESHA1_HPP /*------------------------------------------------------------------------- * drawElements C++ Base Library * ----------------------------- * * Copyright 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>#include "stdafx.h" #include "../NModule.h" #include "../../base/NString.h" #include "../../Util/NFileUtil.h" namespace nui { namespace Data { NModule NModule::instance_; NModule::NModule() { nuiModule_ = ::GetModuleHandle(NULL); bigIcon_ = NULL...
<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: iras.cxx,v $ * $Revision: 1.9 $ ...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 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. Redi...
<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 "webkit/tools/test_shell/test_shell_webkit_init.h" #include "base/path_service.h" #include "base/stats_counters.h" #include "...
<commit_before>// vim:cindent:cino=\:0:et:fenc=utf-8:ff=unix:sw=4:ts=4: #include <sstream> #include <string> #include <stdexcept> #include <QtGlobal> #include <conveyor/address.h> #include <conveyor/pipeaddress.h> #include <conveyor/tcpaddress.h> #include <conveyor/exceptions.h> namespace { conveyor::TcpAddress ...
<commit_before>/** interpreter.cc --- * * Copyright (C) 2012 OpenCog Foundation * * Author: Nil Geisweiller * * 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 * published by the Free Software Foundation and including the ...
<commit_before>/* * Copyright (c) 2017 SUSE LLC * * All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as published * by the Free Software Foundation. * * This program is distributed in the hope that ...
<commit_before>#include <sstream> #include <algorithm> #include "board.h" #include "entity.h" #include "entity_factory.h" #include "game.h" #include "../parser_yaml/ruleset_parser.h" #include "../parser_yaml/scenario_parser.h" using namespace std; //------------------------------------------------------------------...
<commit_before>/************************************************************************* * * $RCSfile: AccessibleContextBase.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: af $ $Date: 2002-02-08 16:59:32 $ * * The Contents of this file are made available subject to the terms of * either of the fo...
<commit_before>/* * Copyright 2011, 2012 Esrille 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 applic...
<commit_before>/* * main.cpp * Program: kalarm * Copyright © 2001-2007 by David Jarvie <software@astrojar.org.uk> * * 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 2...
<commit_before>/* * opencog/atomspace/NodeIndex.cc * * Copyright (C) 2008 Linas Vepstas <linasvepstas@gmail.com> * * 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 * published by the Free Software Foundation and including t...
<commit_before>#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxN=12; const int inf=2147483647; int n,m; char Mp[maxN+5][maxN+5]; ll F[2][1594323+100],Pow3[maxN]; int main()...
<commit_before>//===-- WebAssemblyPeephole.cpp - WebAssembly Peephole Optimiztions -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before><commit_msg>Related: i#113308 null pointer check for the unit test<commit_after><|endoftext|>
<commit_before>/**************************************************************************** This file is part of the QtMediaHub project on http://www.gitorious.org. Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).* All rights reserved. Contact: Nokia Corporation (qt-info@nokia.com)** You may use ...
<commit_before>#include "NewGameMenu.h" #include "Player.h" #ifdef _WIN32 #include <string> #endif /** @namespace Symp */ namespace Symp { extern int g_WindowHeight; extern int g_WindowWidth; /** * @brief NewGameMenu constructor * Responsible for the initialization of the private attributes of the #NewGameMenuMenu c...
<commit_before>/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>#include "Logger.h" #ifdef _WIN32 #include <stdio.h> #include "Console.h" #elif defined(ANDROID) #include <android/log.h> #endif #ifdef DESKTOP #include <glew.h> #else #include <GLES2/gl2.h> #endif namespace star { Logger * Logger::m_LoggerPtr = nullptr; Logger::Logger() #ifdef _WI...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: FilteredContainer.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: rt $ $Date: 2008-01-30 08:28:22 $ * * The Contents of this file...
<commit_before>/************************************************************************* * * $RCSfile: documentcontroller.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2005-09-23 12:39:23 $ * * The Contents of this file are made available subject to the terms of * either of the follo...
<commit_before>/* * Bayes++ the Bayesian Filtering Library * Copyright (c) 2002 Michael Stevens, Australian Centre for Field Robotics * See Bayes++.htm for copyright license details * * $Header$ */ /* * Test the FastSLAM alogorithm * A linear filter with one state and constant noises */ // Types Required fo...
<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>//===--- TypeCheckConstraintsDiag.cpp - Constraint Diagnostics ------------===// // // 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>/* * Copyright (C) 2008-2013 The Communi Project * * 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 Software Foundation; either version 2 of the License, or (at your * option) any later version....
<commit_before>// ---------------------------------------------------------------------------- // JsonStream.cpp // // // Authors: // Peter Polidoro polidorop@janelia.hhmi.org // ---------------------------------------------------------------------------- #include "JsonStream.h" CONSTANT_STRING(error_constant_string,...
<commit_before>/* * This file is part of TelepathyQt4 * * Copyright (C) 2008-2009 Collabora Ltd. <http://www.collabora.co.uk/> * Copyright (C) 2008-2009 Nokia Corporation * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
<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>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2010 Belledonne Communications SARL. This program 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 Founda...
<commit_before>/* * ngtcp2 * * Copyright (c) 2017 ngtcp2 contributors * * 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 ...
<commit_before>#include <cstdlib> #include <cmath> #include <fstream> #include <sstream> #include <iostream> #include <iomanip> #include <string> #include <vector> #include <algorithm> #include <exception> #include <sys/time.h> #include "modules/htmTree.h" #include "modules/kdTree.h" #include "misc.h" #include ...
<commit_before>/* Copyright (c) 2015-2017 Advanced Micro Devices, Inc. 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 the Software without restriction, including without limitation the ri...
<commit_before>/********************************************************************** * $Id$ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2009 Sandro Santilli <strk@keybit.net> * * This is free software; you can redistribute and/or modify it under * the terms of the ...
<commit_before>/****************************************************************************** Copyright (c) Dmitri Dolzhenko 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, ...
<commit_before>#include "neo.h" #include "protocol.h" #include "serial.h" #include <chrono> #include <thread> int32_t neo_get_version(void) { return NEO_VERSION; } bool neo_is_abi_compatible(void) { return neo_get_version() >> 16u == NEO_VERSION_MAJOR; } typedef struct neo_error { const char* what; // always liter...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentat...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008-2009, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // ...
<commit_before>#include "OnlinePlanExpansionExecution.h" #include "CaseBasedReasonerEx.h" #include "WinGameGoal.h" #include "CaseEx.h" #include "RtsGame.h" #include "Action.h" #include "MessagePump.h" #include "Message.h" #include <crtdbg.h> #include "AbstractReviser.h" #include "AbstractRetriever.h" #include "GamePlay...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dp_resource.cxx,v $ * * $Revision: 1.17 $ * * last change: $Author: ihi $ $Date: 2007-11-22 15:04:37 $ * * The Contents of this file are ...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/* CalendarAkonadiProxy.cc KPilot ** ** Copyright (C) 2008 by Bertjan Broeksema <b.broeksema@kdemail.net> */ /* ** 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...
<commit_before>#include "UTIL.h" #include "Cutter.h" //OXSX libaries // #include <BinnedPdf.h> // #include <Rand.h> // #include <ROOTNtuple.h> // #include <BinnedNLLH.h> // #include <GridSearch.h> // #include <MetropolisHastings.h> // #include <Minuit.h> // #include <Histogram.h> // #include...
<commit_before>// ================================================================================ // == This file is a part of TinkerBell UI Toolkit. (C) 2011-2012, Emil Segers == // == See tinkerbell.h for more information. == // ===================================================...
<commit_before>#ifndef MP_LINKEDLIST_HPP #define MP_LINKEDLIST_HPP #include <boost/smart_ptr/intrusive_ref_counter.hpp> #include <boost/atomic.hpp> #include <assert.h> #include "IntrusivePtr.hpp" // lockfree template<typename T> class LinkedList { public: struct Item; typedef IntrusivePtr<Item> ItemPtr; enum Ite...
<commit_before>// // 257.cpp // LeetCode // // Created by Narikbi on 18.03.17. // Copyright © 2017 app.leetcode.kz. All rights reserved. // #include <stdio.h> <commit_msg>257 task bugfix.<commit_after>// // 257.cpp // LeetCode // // Created by Narikbi on 18.03.17. // Copyright © 2017 app.leetcode.kz. All right...
<commit_before>#include "stdafx.h" #ifndef _MSC_VER static int GetKeyState(char) { return 0x01; } #define VK_RETURN 0x0D #endif static float CalcRadius(const Mesh* m) { const Block& b = m->GetRawDatas(); float maxSq = 0; for (auto& it : b.vertices) { float sq = lengthSq(it.xyz); maxSq = std::max(maxSq, sq); ...
<commit_before>#include <SmurffCpp/Utils/StringUtils.h> #include <algorithm> #include <functional> #include <cctype> #include <locale> #include <sstream> template<> std::string smurff::_util::convert<std::string>(const std::string& value) { return value; } template<> int smurff::_util::convert<int>(const std::s...
<commit_before>// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and University of // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Hei...
<commit_before>#pragma once #include <vector> template<class T, typename S = double> struct TopKHolder { size_t k; std::vector<std::pair<T, S>> data; TopKHolder(const size_t k); size_t size() const; bool updatable(const S s) const; bool update(T& m, const S s); S lastScore() const; }; template<class T, typena...
<commit_before>/* * Tyrion * Copyright 2010, Silas Sewell * * 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 of conditi...
<commit_before>#include <stdexcept> #include <string> #include <ros/ros.h> #include <actionlib/client/simple_action_client.h> #include <geometry_msgs/Point.h> #include <geometry_msgs/Quaternion.h> #include <geometry_msgs/TransformStamped.h> #include <goal_sender_msgs/ApplyGoals.h> #include <goal_sender_msgs/GoalSequen...
<commit_before>#include <iostream> #include "menuinterface.h" #ifdef _WIN32 #include <windows.h> #endif using namespace std; /* bool systemCheck { #ifdef _APPLE_ return 0; #elif _WIN32 return 1; #else return 2; #endif } */ MenuInterface::MenuInterface() { _firstTimeBo...
<commit_before>//============================================================================ // MCKL/include/mckl/random/uniform_int_distribution.hpp //---------------------------------------------------------------------------- // MCKL: Monte Carlo Kernel Library //----------------------------------------------------...
<commit_before>#pragma once #include <sse/schemes/tethys/details/tethys_utils.hpp> #include <sse/schemes/tethys/types.hpp> #include <sse/schemes/utils/rocksdb_wrapper.hpp> #include <sse/crypto/key.hpp> #include <sse/crypto/prf.hpp> #include <array> namespace sse { namespace tethys { template<class ValueDecoder> ...
<commit_before>#include "builtin/array.hpp" #include "builtin/class.hpp" #include "builtin/exception.hpp" #include "builtin/integer.hpp" #include "builtin/string.hpp" #include "builtin/time.hpp" #include "objectmemory.hpp" #include "object_utils.hpp" #include "ontology.hpp" #include "util/time64.h" #include "util/strft...
<commit_before>#include "VoiceDB.h" using namespace std; VoiceDB::VoiceDB():path_singer(L"") {} VoiceDB::VoiceDB(const wstring& path_singer) { setSingerPath(path_singer); } VoiceDB::~VoiceDB() {} bool VoiceDB::initVoiceMap() { namespace fs = boost::filesystem; const fs::path path(path_singer); if (fs::is_...
<commit_before>/** $Id$ Important macro to get certain Aliroot parameters. They are stored in a file "Init.cxx". Compare the contents of the class AliL3Transform with the result of this macro to check that there are no differences. */ void Make_Init(char *file, char *tofile="Init.cxx"){ TFile * rootf = new TFile(...
<commit_before>// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2019 Intel Corporation. All Rights Reserved. #include "l500-color.h" #include "l500-private.h" #include "l500-motion.h" #include "../backend.h" namespace librealsense { #ifdef _WIN32 std::vector<std::pair<std::string, ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: PaneShells.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2007-04-03 15:41:01 $ * * The Contents of this file are mad...
<commit_before>#include "PhotonGame.h" #include "HelloWorldScene.h" #include "LevelSelectlayer.h" #include "InfoLayer.h" #include "SettingLayer.h" USING_NS_CC; USING_NS_CC_DEN; Scene* HelloWorld::createScene() { auto scene = Scene::create(); auto layer = HelloWorld::create(); scene->addChild...
<commit_before>#include "HelperFunctions.hpp" cl::size_t<3> oul::createRegion( unsigned int x, unsigned int y, unsigned int z) { cl::size_t<3> region; region[0] = x; region[1] = y; region[2] = z; return region; } cl::size_t<3> oul::createOrigoRegion() { cl::size_t<3> re...
<commit_before>/* The MIT License (MIT) Copyright (c) 2015 Benjamin "Nefarius" Hglinger 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 righ...
<commit_before>/* * Silly subclass of CTreeCtrl just to implement Drag&Drop. * * Based on MFC sample code from CMNCTRL1 */ #include "stdafx.h" #include "MyTreeCtrl.h" #include "DboxMain.h" #include "corelib/ItemData.h" #include "corelib/MyString.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char...
<commit_before>/* Sirikata Kernel -- Task scheduling system * Scheduler.hpp * * Copyright (c) 2008, Patrick Reiter Horn * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redis...
<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...
<commit_before>/*------------------------------------------------------------------------------ Copyright (c) 2004 Media Development Loan Fund This file is part of the LiveSupport project. http://livesupport.campware.org/ To report bugs, send an e-mail to bugs@campware.org LiveSupport is free s...