text
stringlengths
54
60.6k
<commit_before>/* Copyright (c) 2012 Carsten Burstedde, Donna Calhoun 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>//////////////////////////////////////////////////////////////////////////////// /// @brief https communication /// /// @file /// /// DISCLAIMER /// /// Copyright 2014-2015 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, V...
<commit_before>#include <plasp/pddl/TranslatorASP.h> #include <plasp/utils/IO.h> #include <plasp/utils/TranslatorException.h> namespace plasp { namespace pddl { //////////////////////////////////////////////////////////////////////////////////////////////////// // // TranslatorASP // ////////////////////////////////...
<commit_before>// Copyright 2015 Las Venturas Playground. All rights reserved. // Use of this source code is governed by the MIT license, a copy of which can // be found in the LICENSE file. #include "bindings/event.h" #include <algorithm> #include <unordered_map> #include "base/encoding.h" #include "base/logging.h"...
<commit_before>/* * Discrete Logarithm Parameters * (C) 1999-2008 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/dl_group.h> #include <botan/libstate.h> #include <botan/parsing.h> #include <botan/numthry.h> #include <botan/der_enc.h> #include <botan/ber_dec.h> #include <botan/pipe.h...
<commit_before>#pragma once #include <memory> #include "modifier_flag.hpp" class modifier_flag_manager { public: modifier_flag_manager(void) { // left control modifier_flags_.push(std::make_unique<modifier_flag>(0x1 << 0, "control", "⌃")); // left shift modifier_flags_.push(std::make_unique<modifie...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: i_typedef.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-07 16:47:50 $ * * The Contents of this file are made...
<commit_before>// // refract/RenderJSONVisitor.cc // librefract // // Created by Pavan Kumar Sunkara on 17/06/15. // Copyright (c) 2015 Apiary Inc. All rights reserved. // #include "Element.h" #include "Visitors.h" #include "sosJSON.h" #include <sstream> #include <iostream> namespace refract { RenderJSONVis...
<commit_before>/** * @file sparse_coding_main.cpp * @author Nishant Mehta * * Executable for Sparse Coding. */ #include <mlpack/core.hpp> #include "sparse_coding.hpp" PROGRAM_INFO("Sparse Coding", "An implementation of Sparse Coding with " "Dictionary Learning, which achieves sparsity via an l1-norm regulariz...
<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 "base/metrics/stats_counters.h" #include "base/metrics/stats_table.h" #include "base/shared_memory.h" #include "base/stringpri...
<commit_before>#ifndef RUNNER_INTERPRETER_VISIT_HXX # define RUNNER_INTERPRETER_VISIT_HXX # include <boost/bind.hpp> # include <libport/compiler.hh> # include <libport/finally.hh> # include <libport/foreach.hh> # include <ast/all.hh> # include <ast/print.hh> # include <kernel/exception.hh> # include <kernel/uconnec...
<commit_before>#include "regiondataremote.h" #include "regionmatrixproxy.h" #include "workerthread.h" using namespace petabricks; using namespace petabricks::RegionDataRemoteMessage; RegionDataRemote::RegionDataRemote(const int dimensions, const IndexT* size, const RegionDataRemoteObjectPtr remoteObject) { init(di...
<commit_before>/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in **...
<commit_before>/* * Copyright (c) The Shogun Machine Learning Toolbox * Written (w) 2014 Wu Lin * 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 r...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved. #include "rdb_protocol/artificial_table/artificial_table.hpp" #include "rdb_protocol/artificial_table/backend.hpp" #include "rdb_protocol/env.hpp" #include "rdb_protocol/func.hpp" #include "rdb_protocol/table_common.hpp" /* Determines how many coro...
<commit_before>/* * Author: Kurt Leucht * Maintainer: Kurt Leucht * Email: kurt.leucht@nasa.gov * NASA Center: Kennedy Space Center * Mail Stop: NE-C1 * * Project Name: Swarmie Robotics NASA Center Innovation Fund * Principal Investigator: Cheryle Mako * Email: cheryle.l.mako@nasa.gov * * Date Created: Oc...
<commit_before>#ifndef STAN__AGRAD__REV__OPERATORS__OPERATOR_SUBTRACTION_HPP #define STAN__AGRAD__REV__OPERATORS__OPERATOR_SUBTRACTION_HPP #include <stan/agrad/rev/var.hpp> #include <stan/agrad/rev/internal/vv_vari.hpp> #include <stan/agrad/rev/internal/vd_vari.hpp> #include <stan/agrad/rev/internal/dv_vari.hpp> name...
<commit_before>#include "translate_gizmo.h" #include <components/sprite_component.h> #include "halley/entity/components/transform_2d_component.h" #include "halley/core/game/scene_editor_interface.h" #include "halley/core/graphics/painter.h" using namespace Halley; TranslateGizmo::TranslateGizmo(SnapRules snapRules, ...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2003 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. Redistributi...
<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>/* 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>#include "ofApp.h" #include "ofxXmlSettings.h" #include "ofxJSONElement.h" void ofApp::setup(){ ofBackground(54, 54, 54, 255); #ifdef TARGET_OSX ofSetDataPathRoot("../Resources/data/"); #endif // start logging ofLogToFile("app.log"); // start recoding events if (!e...
<commit_before>#pragma once #include "filter.h" #include <xmmintrin.h> #define COEFY 1.0037736040867458f, 1.0031713814217937f, 1.0038646965904563f #define COEFU 0.0009812686948862392f, -0.34182057237626395f, 1.7738420513779833f #define COEFV 1.4028706125758748f, -0.7126004638855613f, 0.0018494308641594699f #define COE...
<commit_before>// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_ENUMS_GRAPHICS_HPP #define NAZARA_ENUMS_GRAPHICS_HPP namespace Nz { enum BackgroundType { Ba...
<commit_before>// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Mathematics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Core/Error.hpp> #include <Nazara/Core/String.hpp> #include <Nazara/Math/Config.hpp> #include <algorithm> #...
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2014 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade 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 Foundat...
<commit_before>#pragma once #include <baka/io/io_error.hpp> #include <cstddef> #include <stdexcept> #include <vector> namespace baka { namespace io { class memory_stream { public: memory_stream() : offset(0) { } char const* write(char const* begin, char const* end) { ...
<commit_before>#pragma once // ------------------------------------------------------------------------------ // CONSTANTS GLOBALS STATICS // ------------------------------------------------------------------------------ // NOTE: You must provide this in derived class. const string semanticVersion(); typedef enum ...
<commit_before>// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2017 Intel Corporation. All Rights Reserved. #include "../include/librealsense2/hpp/rs_sensor.hpp" #include "../include/librealsense2/hpp/rs_processing.hpp" #include "proc/synthetic-stream.h" #include "context.h" #include "envi...
<commit_before>/** * @file hud_girl.cpp * @brief Purpose: Contains methods to game class' management. * * MIT License * Copyright (c) 2017 MindScape * * https://github.com/TecProg2017-2/mindscape/blob/master/LICENSE.md */ #include "../include/hud_girl.hpp" #include "../engine/include/log.hpp" using namespace ...
<commit_before>#include "prog_translator.h" #include "CoinPackedVector.hpp" #include "OsiSolverInterface.hpp" #include "cyc_limits.h" #include "exchange_graph.h" namespace cyclus { //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ProgTranslator::ProgTranslator(ExchangeGraph* g, OsiSo...
<commit_before>//============================================================================== // CellML file element //============================================================================== #include "cellmlfileelement.h" #include "cellmlfilemanager.h" //======================================================...
<commit_before>#ifndef ENGINE_API_MATRIX_HPP #define ENGINE_API_MATRIX_HPP #include "engine/api/base_api.hpp" #include "engine/api/json_factory.hpp" #include "engine/api/matrix_parameters.hpp" #include "engine/datafacade/datafacade_base.hpp" #include "engine/guidance/assemble_geometry.hpp" #include "engine/guidance/...
<commit_before>/// @example primesieve_iterator.cpp /// Iterate over primes using primesieve::iterator. #include <primesieve.hpp> #include <iostream> int main() { primesieve::iterator it; uint64_t prime = it.next_prime(); uint64_t sum = 0; // iterate over the primes below 10^9 for (; prime < 1000000000ull;...
<commit_before>/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>#ifndef KGR_KANGARU_INCLUDE_KANGARU_DETAIL_INVOKE_HPP #define KGR_KANGARU_INCLUDE_KANGARU_DETAIL_INVOKE_HPP #include <type_traits> #include "meta_list.hpp" #include "utils.hpp" #include "traits.hpp" #include "injected.hpp" namespace kgr { struct Container; template<typename T, T t> using Method = std...
<commit_before>#include "videosourcefactory.h" #include "videotargetfactory.h" #include "except.h" #include "iobservable.h" #include "gil.h" #ifdef USE_OPENCV #include "opencv_video_source.h" #include "opencv_video_target.h" #endif // USE_OPENCV #ifdef USE_EPIPHANSDK #include "epiphansdk_video_source.h" #endif #ifdef U...
<commit_before>#ifndef KGR_KANGARU_INCLUDE_KANGARU_DETAIL_SINGLE_HPP #define KGR_KANGARU_INCLUDE_KANGARU_DETAIL_SINGLE_HPP #include "traits.hpp" #include "meta_list.hpp" namespace kgr { struct single { single() = default; ~single() = default; single(const single&) = delete; single& operator=(const single&) = del...
<commit_before>// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/common/api/object_life_monitor.h" #include "atom/common/node_includes.h" #include "native_mate/dictionary.h" #include "v8/include/v8-profiler.h" namespac...
<commit_before>#include <gst/gst.h> #include "MediaPipeline.hpp" #include <WebRtcEndpointImplFactory.hpp> #include "WebRtcEndpointImpl.hpp" #include <jsonrpc/JsonSerializer.hpp> #include <KurentoException.hpp> #include <gst/gst.h> #include <boost/filesystem.hpp> #include <IceCandidate.hpp> #include <webrtcendpoint/kmsi...
<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>#include "Slog.h" __declspec(dllexport) void testLibs() { printf("test lib cmake %d\n", 1); }<commit_msg>PREF c++ vscode test slibs/slog 修正 Slog.cpp<commit_after>#include "Slog.h" void testLibs() { printf("test lib cmake %d\n", 1); }<|endoftext|>
<commit_before>/*********************************************************************** created: Sun Jun 19 2005 author: Paul D Turner <paul@cegui.org.uk> *************************************************************************/ /**************************************************************************...
<commit_before> #include "core/deep_flow.h" #include "core/session.h" #include <random> #include <gflags/gflags.h> DEFINE_string(mnist, "D:/Projects/deepflow/data/mnist", "Path to mnist folder dataset"); DEFINE_string(i, "", "Trained network model to load"); DEFINE_string(o, "", "Trained network model to save"); DEFI...
<commit_before>#include "factory.h" #include "except.h" #ifdef USE_OPENCV #include "opencv_video_source.h" #include "opencv_video_target.h" #endif // USE_OPENCV #ifdef USE_EPIPHANSDK #include "epiphansdk_video_source.h" #endif #ifdef USE_LIBVLC #include "vlc_video_source.h" #endif #ifdef USE_FFMPEG #include "ffmpeg_vid...
<commit_before>/************************************************************************* * libjson-rpc-cpp ************************************************************************* * @file test_connector_http.cpp * @date 28.09.2013 * @author Peter Spiess-Knafl <peter.knafl@gmail.com> * @license See attach...
<commit_before>#include "node-llvm.h" class jsIRBuilder{ // http://llvm.org/doxygen/classllvm_1_1IRBuilder.html public: static void init(Handle<Object> target){ pIRBuilder.init(&IRBConstructor); pIRBuilder.addMethod("setInsertPoint", &setInsertPoint); pIRBuilder.addMethod("createRet", &createRet); pIRBuild...
<commit_before>#ifndef KGR_INCLUDE_KANGARU_DETAIL_TRAITS_HPP #define KGR_INCLUDE_KANGARU_DETAIL_TRAITS_HPP #include "function_traits.hpp" #include "utils.hpp" #include <type_traits> #include <tuple> namespace kgr { namespace detail { // void_t implementation template<typename...> struct voider { using type = void; ...
<commit_before>#ifndef KGR_KANGARU_INCLUDE_KANGARU_DETAIL_TRAITS_HPP #define KGR_KANGARU_INCLUDE_KANGARU_DETAIL_TRAITS_HPP #include "function_traits.hpp" #include "utils.hpp" #include "meta_list.hpp" #include "void_t.hpp" #include <type_traits> #include <tuple> namespace kgr { namespace detail { template<typename.....
<commit_before>#if defined(__clang__) || defined(__GNUC__) #include "../test.h" #include "nlohmann/src/json.hpp" #include "taocppjson/include/tao/json.hp" #include "taocppjson/contrib/nlohmann/to_value.hpp" #include "taocppjson/contrib/nlohmann/from_value.hpp" using namespace nlohmann; static void GenStat(Stat& s...
<commit_before>#ifndef KGR_INCLUDE_KANGARU_DETAIL_TRAITS_HPP #define KGR_INCLUDE_KANGARU_DETAIL_TRAITS_HPP #include "function_traits.hpp" #include "utils.hpp" #include <type_traits> #include <tuple> namespace kgr { namespace detail { // void_t implementation template<typename...> struct voider { using type = void; ...
<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 condi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: OEnumeration.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-09-08 01:32:02 $ * * The Contents of this file are m...
<commit_before>// Copyright 2013 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/ui_proxy_config_service.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #include "base/...
<commit_before><commit_msg>Implement chrome.tabs.captureVisibleTab for linux<commit_after><|endoftext|>
<commit_before>#include "caffe2/operators/order_switch_ops.h" namespace caffe2 { template <> bool NHWC2NCHWOp<float, CPUContext>::RunOnDevice() { auto& X = Input(0); auto* Y = Output(0); CAFFE_ENFORCE(X.ndim() == 4); const int N = X.dim32(0), H = X.dim32(1), W = X.dim32(2), C = X.dim32(3); Y->Resize(N, C, H...
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <gtk/gtk.h> #include "app/l10n_util.h" #include "base/gfx/gtk_util.h" #include "base/rand_util.h" #include "base/string_util....
<commit_before> #include "thekla_atlas.h" #include "thekla_mesh_load.h" #include <stdio.h> #include <assert.h> using namespace Thekla; int main(int argc, char * argv[]) { if (argc != 2) { printf("Usage: %s input_file.obj\n", argv[0]); return EXIT_FAILURE; } // Load Obj_Mesh. Obj_Lo...
<commit_before>#include "zmq.hpp" #include "avro/Encoder.hh" #include "avro/Decoder.hh" #include "avro/Specific.hh" #include <string> #include <sstream> #include <iostream> #include "boost/unordered_map.hpp" #include "boost/program_options.hpp" #include "boost/algorithm/string.hpp" #include "boost/lexical_cast.hpp" ...
<commit_before>// includes, Qwt #include <qwt_plot.h> #include <qwt_plot_curve.h> #include <qwt_scale_engine.h> // System Includes #include <iostream> // include local #include "plotgapwidget.h" // QT #include <QVBoxLayout> #include <QHBoxLayout> #include <QLabel> #include <QSpacerItem> namespace iu { //----------...
<commit_before>/* This file is part of the clazy static checker. Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com Author: Sérgio Martins <sergio.martins@kdab.com> Copyright (C) 2015 Sergio Martins <smartins@kde.org> This library is free software; you can redistribute it...
<commit_before>/* mockturtle: C++ logic network library * Copyright (C) 2018-2019 EPFL * * 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 limita...
<commit_before>/* * This file is part of otf2xx (https://github.com/tud-zih-energy/otf2xx) * otf2xx - A wrapper for the Open Trace Format 2 library * * Copyright (c) 2013-2016, Technische Universität Dresden, Germany * All rights reserved. * * Redistribution and use in source and binary forms, with or without *...
<commit_before>/// /// @file pod_vector.hpp /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef POD_VECTOR_HPP #define POD_VECTOR_HPP #include <vector> namespace primesieve { templat...
<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 Qt Creator. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commer...
<commit_before>// Copyright 2013 Yangqing Jia #ifndef CAFFE_TEST_GRADIENT_CHECK_UTIL_H_ #define CAFFE_TEST_GRADIENT_CHECK_UTIL_H_ #include <glog/logging.h> #include <gtest/gtest.h> #include <algorithm> #include <cmath> #include <vector> #include "caffe/layer.hpp" #include "caffe/net.hpp" using std::max; namespace...
<commit_before>// // Copyright (c) 2012, Andre Gaschler // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this...
<commit_before>/*========================================================================= * * 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>#ifndef KGR_KANGARU_INCLUDE_KANGARU_DETAIL_SERVICE_STORAGE_HPP #define KGR_KANGARU_INCLUDE_KANGARU_DETAIL_SERVICE_STORAGE_HPP #include "traits.hpp" #include "utils.hpp" namespace kgr { namespace detail { /* * This defines the pointer to a forward function. * This is simply a shortcut for not writing...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 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>#include <stan/math/fwd/scal.hpp> #include <gtest/gtest.h> template <typename... Ts> void expect_not_const() { using stan::is_constant_all; bool temp = is_constant_all<Ts>::value; EXPECT_FALSE(temp); } TEST(MetaTraits, isConstant) { using stan::math::fvar; expect_not_const<fvar<double> >(); ...
<commit_before>/* * * Copyright 2016 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>// // Copyright (c) 2013-2014 Christoph Malek // See LICENSE for more information. // #ifndef RJ_CORE_MAIN_MENU_TITLE_HPP #define RJ_CORE_MAIN_MENU_TITLE_HPP #include "menu_component.hpp" #include <rectojump/core/render.hpp> #include <mlk/containers/container_utl.h> namespace rj { class game; en...
<commit_before>#ifndef LIBBITCOIN_TYPES_H #define LIBBITCOIN_TYPES_H #include <boost/asio.hpp> #include <array> #include <memory> #include <sstream> #include <iomanip> #include <vector> namespace libbitcoin { using std::shared_ptr; using boost::asio::io_service; using boost::asio::ip::tcp; using boost::asio::deadlin...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to ...
<commit_before>// Copyright (c) 2009-2017 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin Developers // Copyright (c) 2015-2017 Silk Network Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "clientmode...
<commit_before>// // Created by Dawid Drozd aka Gelldur on 10.10.17. // #include "Label.h" ////////////////////////////////// #include <bee/acme/RGBA.h> using namespace cocos2d; namespace Bee { Label::Label(const std::string& id) : _node{id, new CCLabelTTF{}} { get()->init(); } void Label::setColor(const int co...
<commit_before>// Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #include <boost/algorithm/string.hpp> #include <boost/interprocess/ipc/message_queue.hpp> #include <boost/t...
<commit_before>#pragma once /** @file @brief config file class Copyright (C) 2008 Cybozu Labs, Inc., all rights reserved. */ #include <assert.h> #include <string> #include <map> #include <fstream> #include <cybozu/exception.hpp> #include <cybozu/atoi.hpp> namespace cybozu { namespace config_local { inline bool ...
<commit_before>/************************************************ * with_lcp.hpp * DICT * * Copyright (c) 2015-2017, Chi-En Wu * Distributed under The BSD 3-Clause License ************************************************/ #ifndef DICT_WITH_LCP_HPP_ #define DICT_WITH_LCP_HPP_ #include "internal/lcp_trait.hpp"...
<commit_before>/** * This file defines facilities to perform concept-based overloading. */ #ifndef DUCK_REQUIRES_HPP #define DUCK_REQUIRES_HPP #include <duck/detail/mpl_extensions.hpp> #include <duck/models.hpp> #include <boost/config.hpp> #include <boost/mpl/and.hpp> #include <boost/mpl/apply.hpp> #include <boost...
<commit_before>// $Id$ /* Copyright (c) 2007-2009, Trustees of The Leland Stanford Junior University 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...
<commit_before>#pragma once /* MIT License Copyright (c) 2017 Arlen Keshabyan (arlen.albert@gmail.com) 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...
<commit_before>// // Created by Axel Naumann on 09/12/15. // //#include "cling/Interpreter/Jupyter/Kernel.h" #include "cling/Interpreter/Interpreter.h" #include "cling/Interpreter/Value.h" #include <map> #include <string> // FIXME: should be moved into a Jupyter interp struct that then gets returned // from create....
<commit_before>/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <guido.tack@monash.edu> */ /* 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>/* Copyright 2013, 2015 Rogier van Dalen. This file is part of Rogier van Dalen's Range library for C++. This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the Licens...
<commit_before>#ifndef V_SMC_PARTICLE_HPP #define V_SMC_PARTICLE_HPP #include <algorithm> #include <limits> #include <cstddef> #include <mkl_vml.h> #include <gsl/gsl_cblas.h> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <vDist/utilities/buffer.hpp> namespace vSMC { enum ResampleScheme {MULTINOMIAL,...
<commit_before>#include <iostream> #include <vector> #include <sstream> #include <algorithm> #include <chrono> #include <thread> #include <cfloat> #include <SDL.h> #include "compiler.h" #include "TCPServer.hpp" #ifdef _WINDOWS #include <tchar.h> int wmain(int argc, _TCHAR* argv[]) { #else int main(int argc, char** ...
<commit_before>/****************************************************************************** * entity_bind.cpp - bindings for Ogre::Entity ****************************************************************************** * This file is part of * __ __ _ * / // /_____ ____ (_) * / // // ___...
<commit_before><commit_msg>Fix 'close' menu action not quitting gracefully (fix #1401)<commit_after><|endoftext|>
<commit_before>// lua.hpp // Lua header files for C++ // <<extern "C">> not supplied automatically because Lua also compiles as C++ extern "C" { #include "lua.h" #include "lualib.h" #include "lauxlib.h" } <commit_msg>Remove c++ header for Lua.<commit_after><|endoftext|>
<commit_before>/* * Copyright (c) 2001 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the L...
<commit_before>/** * @copyright Copyright 2018 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required b...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ...
<commit_before>#include<stdio.h> #include<iostream> #include<ros/ros.h> #include<steer_drive_controller/steer_drive_controller.h> // ros_control #include <controller_manager/controller_manager.h> #include <hardware_interface/joint_command_interface.h> // gazebo #include <control_toolbox/pid.h> #include <gazebo_ros_con...
<commit_before>#include "typecheck.h" #pragma warning(push, 0) #include <llvm/Support/FileSystem.h> #include <llvm/Support/Path.h> #include <llvm/Support/SaveAndRestore.h> #pragma warning(pop) #include "../ast/module.h" #include "../driver/driver.h" #include "../package-manager/manifest.h" #include "../parser/parse.h" ...
<commit_before> #include "serialport.h" #include <list> #include "win/disphelper.h" #ifdef WIN32 std::list<int> g_closingHandles; int bufferSize; void ErrorCodeToString(const char* prefix, int errorCode, char *errorStr) { switch(errorCode) { case ERROR_FILE_NOT_FOUND: sprintf(errorStr, "%s: File n...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: moduldlg.hxx,v $ * * $Revision: 1.21 $ * * last change: $Author: ihi $ $Date: 2006-12-20 14:15:39 $ * * The Contents of this file are mad...