text
stringlengths
7
961k
// Copyright (c) 2014 The Bitcoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "random.h" #include "util.h" #include <vector> #include <boost/test/unit_test.hpp> #define SKIPL...
#include <string> #include <err/connection_exception.hpp> namespace mm_server::err { const char* connection_exception::what() const throw() { return "Connection closed"; } }
// Copyright 2014 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 "components/component_updater/component_updater_service.h" #include <algorithm> #include <map> #include <string> #include <utility> #include <ve...
#include "revSmartPointer.h" #include "revMemory.h" template<typename T> revSmartPtr<T>::revSmartPtr(T* _ptr) : ptr(_ptr) , counter(nullptr) { if(_ptr){ counter = new int(1); } } template<typename T> revSmartPtr<T>::revSmartPtr(const revSmartPtr<T>& _smartptr) { ptr = _smartptr.ptr; counter = _smartptr.counter...
#include "Animation.hpp" #include "../Util.hpp" #include <fstream> #include <stdexcept> std::unordered_map<std::string, Animation> Animation::animation_collection; void AnimationController::PlayAnimation(Animation* animation, bool loop, bool force_replay) { if (!force_replay && animation_ == animation) { return; ...
// Copyright (c) 2019-2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_CHANGE_ACTION_AND_STATE_HPP #define TAO_PEGTL_CHANGE_ACTION_AND_STATE_HPP #include <type_traits> #include "apply_mode.hpp" #include "config.hpp" #include "nothing....
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the MIT Open Source License, for details please see license.txt or the website * http://www.opensource.org/licenses/mit-license.php * */ #include <dae.h> #include <dae/daeDom.h> #include <1.4/dom/domRigid_constraint.h> #include <dae/daeMetaCMPoli...
/**....................................................................... * MATLAB Mex file for accessing the mars model * */ #include <iostream.h> #include <math.h> #include "gcp/util/Debug.h" #include "gcp/matlab/MarsModelNew.h" #include "gcp/matlab/MexHandler.h" #include "mex.h" #include "matrix.h" using name...
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
#pragma once #include <blurt/protocol/base.hpp> #include <blurt/protocol/types.hpp> #include <fc/reflect/reflect.hpp> #include <cstdint> #include <string> #include <vector> namespace blurt { namespace private_message { struct private_message_operation : public blurt::protocol::base_operation { protocol::accoun...
if((cicleCalculator > 8)) //--------------- GRPH OF R G B CHANNEL ----------------------/ { if(!bgr_image.empty() ) { /// Separate the image in 3 places ( B, G and R ) vector<Mat> bgr_planes; split( bgr_ima...
// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #include "test_precomp.hpp" namespace opencv_test { namespace { static const int fixedShiftU8 = 8; template <typen...
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ngraph/op/atan.hpp" #include <string> #include <vector> #include "itt.hpp" #include "ngraph/axis_set.hpp" #include "ngraph/op/add.hpp" #include "ngraph/op/broadcast.hpp" #include "ngraph/op/divide.hpp" #include "ngraph/o...
//(c) 2016 by Authors //This file is a part of ABruijn program. //Released under the BSD license (see LICENSE file) #include <iostream> #include <signal.h> #include <stdlib.h> #include <unistd.h> #include <cmath> #include <execinfo.h> #include "../sequence/vertex_index.h" #include "../sequence/sequence_container.h" #...
/*Auto Generated File, Don' Modified.*/ #include "VulkanShaderMap.hpp" #include "AllShader.h" namespace MNN { void VulkanShaderMap::init() { mMaps.insert(std::make_pair("glsl_nhwcToimage_comp", std::make_pair(glsl_nhwcToimage_comp,glsl_nhwcToimage_comp_len))); mMaps.insert(std::make_pair("glsl_elementwiseAddBuffer_comp...
/** * @file distance.cpp * @brief Calcula la longitud total de un trayecto determinado por una secuencia de dos o más puntos * @author Miguel Lentisco & Antonio Coín */ #include <iostream> #include <fstream> #include "point.h" using namespace std; /** * @brief Elimina comentarios de un archivo de cara a una...
#include <iostream> // #include <math.h> // #include <stdio.h> #include "Solution.cpp" using namespace std; int main(){ Solution* s = new Solution; cout << s->findComplement(5) << endl; cout << s->findComplement(1) << endl; return 0; }
#include <iostream> #include <climits> using namespace std; int shortestSubsequence(string s, string t, int m, int n, int **ans){ if(m <= 0){ return 1005; } if(n <= 0){ return 1; } if(ans[m][n] != -1){ return ans[m][n]; } int i; for(i = 0; i < n; i++){ ...
/// @file CardFailMode.cc /// /// @copyright (c) 2016 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping NSW 1710, Australia /// atnf-enquiries@csiro.au /// /// This file is part of the ASKAP software distribution. /// //...
/* * Copyright 2019-present 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 law or a...
/****************************************************************************** * 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 the License at ...
#pragma once #include <vector> #include "../../include/procedure.hh" #include "../../include/result.hh" #include "../../include/rwlock.hh" #include "../../include/string.hh" #include "../../include/util.hh" #include "ss2pl_op_element.hh" #include "tuple.hh" enum class TransactionStatus : uint8_t { inFlight, comm...
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // // File: rtGetInf.cpp // // Code generated for Simulink model 'obstacleStopper'. // // Model version ...
/* * 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) * * Copyright (c) 2011 Helge Bahmann * Copyright (c) 2013 Tim Blechmann * Copyright (c) 2014-2020 Andrey Semashev */ /*! * \file atomic/detail/atomic_imp...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_alloca_ncat_84_bad.cpp Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml Template File: sources-sink-84_bad.tmpl.cpp */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Initia...
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2020, Cinesite VFX Ltd. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistrib...
#ifndef SNABL_FUSES_BRANCH_HPP #define SNABL_FUSES_BRANCH_HPP #include "snabl/types.hpp" namespace snabl { struct M; } namespace snabl::fuses { int branch(Fun *fun, M &m); } #endif
// bslstl_stringref.t.cpp -*-C++-*- #include <bslstl_stringref.h> #include <bslstl_string.h> #include <bslstl_stringrefdata.h> #include <bslstl_stringview.h> #include <bslh_hash.h> #include <bslma_testallocator.h> #include <bslma_defaultallocatorguard.h> #include <bslma_...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2009-2018, The GROMACS development team. * Copyright (c) 2019,2021, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many others, as listed in the AUTHORS ...
/*===========================================================================*\ * * * OpenMesh * * Copyright (C) 2001-2003 by Computer Graphics Group, RWTH Aachen * * ...
/** * @file src/types/rule.cpp * @brief Implementation of class Rule. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <algorithm> #include "yaramod/types/plain_string.h" #include "yaramod/types/rule.h" #include "yaramod/types/symbols.h" namespace yaramod { /** * Default constru...
// 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 // "License"); you may...
//================================================================================================= /*! // \file src/mathtest/smatdmatadd/UCaUHa.cpp // \brief Source file for the UCaUHa sparse matrix/dense matrix addition math test // // Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved // // This file ...
#include "encode_decode.h" #include <queue> #include <string> #include <unordered_map> #include <vector> #include <boost/dynamic_bitset.hpp> #include "char_node.h" #include "encoding.pb.h" #include "freq_node.h" #include "inner_node.h" namespace encode_decode { class Comparator { public: bool operator()(const ...
// // Copyright (c) 2020 Erwin Rol <erwin@erwinrol.com> // // SPDX-License-Identifier: MIT // #include "pronoun_parser_node.hpp" #include "parser_node.hpp" #include <memory> #include <istream> #include <string> Pronoun_Parser_Node::Pronoun_Parser_Node(std::wstring&& keyword) : m_keyword(std::move(keyword)) { } P...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
/* Copyright John Reid 2007 */ #include "bio-pch.h" #include "bio/defs.h" #include "bio/remo_analysis.h" #include "bio/binding_hit.h" #include "bio/binding_model.h" #include <boost/regex.hpp> #include <boost/progress.hpp> #include <boost/scoped_ptr.hpp> #include <boost/program_options.hpp> #include <boost/serializ...
/**********************************************************************************/ /* Problem: b005 "熱門點播" from 陣列應用-計數 */ /* Language: C++ */ /* Result: AC (4ms, 184KB) on ZeroJudge ...
// // SQLExecutor.cpp // // $Id: //poco/1.4/Data/MySQL/testsuite/src/SQLExecutor.cpp#1 $ // // Copyright (c) 2008, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include <iostream> #include <limits> #include "Poco/CppUnit/TestCase.h" #include "SQLExecut...
/* ofxTableGestures (formerly OF-TangibleFramework) Developed for Taller de Sistemes Interactius I Universitat Pompeu Fabra Copyright (c) 2010 Daniel Gallardo Grassot <daniel.gallardo@upf.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as...
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
//===- unittests/mcrepo/test_debug_line_section.cpp -----------------------===// //* _ _ _ _ * //* __| | ___| |__ _ _ __ _ | (_)_ __ ___ * //* / _` |/ _ \ '_ \| | | |/ _` | | | | '_ \ / _ \ * //* | (_| | __/ |_) | |_| | (_| | | | | | | | __/ * //* \__,_|\___|_.__/ \...
// // Copyright 2017 Animal Logic // // 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 ...
#include <math.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "JMT.cpp" #include "spline.h" vector<tk::spline> create_splines_st_dt(vector<double> car_data, vector<double> goal, vector<double> map_waypoints_x, vector<...
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
/***************************************************************************//** ** ** @file test_timer_system.cpp ** @ingroup madivaru-lib ** @brief Unit tests for mdv_timer_system module. ** @copyright Copyright (c) Tuomas Terho. All rights reserved. ** *********************************************...
#ifndef CAFFE_DATA_TRANSFORMER_HPP #define CAFFE_DATA_TRANSFORMER_HPP #ifdef USE_OPENCV #include <opencv2/core/core.hpp> #endif // USE_OPENCV #include <string> #include <vector> #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/util/blocking_queue.hpp" namesp...
/** * GeoDa TM, Copyright (C) 2011-2015 by Luc Anselin - all rights reserved * * This file is part of GeoDa. * * GeoDa 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, o...
/* Copyright © 2017-2020 ABBYY Production 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
/*! * Copyright (c) 2019 by Contributors */ #include <gtest/gtest.h> #include <rabit/internal/io.h> #include <vector> namespace rabit { TEST(MemoryFixSizeBuffer, Seek) { size_t constexpr kSize { 64 }; std::vector<int32_t> memory( kSize ); utils::MemoryFixSizeBuffer buf(memory.data(), memory.size()); buf.Se...
#include <TFmini_plus.h> /////////////////////////////////////////////////////////////////////////////// /** * Send a packet to the lidar. * Data is sent by either UART or I2C; whichever is actively in use. * * @param input: Array containing headers, payload, and checksum. * @param size: Number of bytes to send....
/*========================================================================= * * Copyright NumFOCUS * * 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...
/////////////////////////////////////////////////////////////////////////////// // Name: pdfobjects.cpp // Purpose: // Author: Ulrich Telle // Modified by: // Created: 2006-07-13 // RCS-ID: $$ // Copyright: (c) Ulrich Telle // Licence: wxWindows licence ///////////////////////////////////////...
//*************************************************************************** // // Copyright (c) 1998-2000 Microsoft Corporation // // MAINDLL.CPP // // alanbos 13-Feb-98 Created. // // Contains DLL entry points. // //*************************************************************************** #include "preco...
// 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/format_macros.h" #include "base/metrics/field_trial.h" #include "base/strings/string16.h" #include "base/strings/str...
/* * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * 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 ap...
/* ************************************************************************ * Copyright 2016-2019 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "Tensile.h" #include "TensileTypes.h" #include "handle.h" #include "logging.h" #include "rocblas.h" #inc...
#include "Object.h" #include "Functions.h" #include <string> #include <stdlib.h> #include <time.h> #include <iostream> using namespace std; void steerWithinBounds(Object *array, int length, int maxX, int maxY){ float edgeLX = 15; float edgeLY = 5; float turnSpeed = 1; //check if the coordinates of each object ...
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman 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) This is an auto-generated file. Do n...
// // Copyright (c) 2019 CNRS // Authors: Joseph Mirabel // // // This file is part of gepetto-viewer // gepetto-viewer 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 // 3 of the Licen...
#ifndef BOOST_METAPARSE_FOLDL_HPP #define BOOST_METAPARSE_FOLDL_HPP // Copyright Abel Sinkovics (abel@sinkovics.hu) 2013. // 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) #include <boost/metaparse/v...
#include "LevelSettings.hpp" const LevelSettings LevelSettings::initial = LevelSettings(); LevelSettings::LevelSettings(): difficulty{LevelDifficulty::Easy}, numAsteroids{4} {} LevelSettings::LevelSettings(const LevelDifficulty difficulty, const int numAsteroids): difficulty{difficulty}, numAsteroids{numAsteroids}...
/* Copyright 2016 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 applicable law or a...
/* * Copyright 2019 SiFive, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You should have received a copy of LICENSE.Apache2 along with * this software. If not, you may obtain a copy at * * https://www.apache.org/...
// Boost.Units - A C++ library for zero-overhead dimensional analysis and // unit/quantity manipulation and conversion // // Copyright (C) 2014 Erik Erlandson // // 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) ...
// Copyright 2019 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 "third_party/blink/renderer/core/frame/csp/trusted_types_directive.h" #include "services/network/public/mojom/content_security_policy.mojom-blin...
/* ******************************************************************************************** * Copyright (c) 2019 MINTROBOT Co., Ltd. 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 ...
// Copyright (c) 2009-2016 The Ybtc Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "core_io.h" #include "base58.h" #include "consensus/consensus.h" #include "consensus/validation.h" #include "script/sc...
/*! @file */ #include "StdAfx.h" #include "io/CIoBridge.h" #include "charset/CCodeFactory.h" #include "charset/CCodeBase.h" #include "CEol.h" //! 内部実装のエンコードへ変換 EConvertResult CIoBridge::FileToImpl( const CMemory& cSrc, //!< [in] 変換元メモリ CNativeW* pDst, //!< [out] 変換先メモリ(UNICODE) CCodeBase* pCode, //!< [in]...
#include "slt/render/resource_manager.h" #include "slt/core/core.h" #include "slt/file/read.h" #include "slt/log/log.h" #include "slt/runtime/runtime.h" namespace slt { namespace render { namespace { const char* models_directory = "/models/"; const char* models_extension = ".mdl"; const char* programs_directory = "/...
#include "scrpch.h" #include "Scription/Renderer/VBO.h" #include <glad/glad.h> namespace SCR { VBOLayout::VBOLayout(const std::initializer_list<VBOElement> elements) : _Elements(elements) { calculate_offset_and_stride(); } void VBOLayout::calculate_offset_and_stride() { unsigned offset = 0; ...
#include "math/random.hh" #include "shell/date.hh" Random::Random() : Random(Date::now()) {} Random::Random(unsigned long s) : mt_() , mti_(1) , mag01_ {0x0UL, MATRIX_A} { mt_[0] = s & 0xffffffffUL; for (; mti_ < N; ++mti_) { mt_[mti_] = (1812433253UL * (mt_[mti_ - 1] ...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrVkGpu.h" #include "GrBackendSurface.h" #include "GrContextOptions.h" #include "GrGeometryProcessor.h" #include "GrGpuResourceCacheAccess.h" #include "GrMesh.h" #i...
#include <bits/stdc++.h> using namespace std; int main() { int t, n; scanf("%d", &t); while (t --) { scanf("%d", &n); for (int i = 1; i <= n; ++ i) { printf("%d%c", i, i == n ? '\n' : ' '); } } }
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2012, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
#include <Core/Defines.h> #include "Common/hex.h" #include <Common/Macros.h> #include <Common/StringUtils/StringUtils.h> #include <Common/ThreadPool.h> #include <Common/ZooKeeper/KeeperException.h> #include <Common/ZooKeeper/Types.h> #include <Common/escapeForFileName.h> #include <Common/formatReadable.h> #include <Co...
//================================================================================================= /*! // \file src/mathtest/dvecdvecouter/V2aVDa.cpp // \brief Source file for the V2aVDa dense vector/dense vector outer product math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This...
/* ************************************************************************ * Copyright (c) 2020-2021 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "roclapack_gels.hpp" template <typename T, typename U, bool COMPLEX = is_complex<T>> rocblas_statu...
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass DestroyedHouse_RoofWall....
// 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 // "License"); you may...
// // // Copyright 2022 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 applicable law or agree...
/* vi: sw=2: * Copyright (c) 2006, Gennady Bystritsky <bystr@mac.com> * * Distributed under the MIT Licence. * This is free software. See 'LICENSE' for details. * You must read and accept the license prior to use. */ #include <sk/util/Class.h> #include <sk/util/Strings.h> #include <sk/util/PropertyRegistry.h...
/** * 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 * "License"); you...
#ifndef SAM_ABSTRACT_DATA_SOURCE #define SAM_ABSTRACT_DATA_SOURCE namespace sam { /** * Abstract class for things that get the data from a feed like a socket * or a file. */ class AbstractDataSource { public: AbstractDataSource() {} virtual ~AbstractDataSource() {} virtual void receive() = 0; virtual boo...
// // Boolean Algebra Library (BAL) // https://cgen.sophisticatedways.net // Copyright © 2018-2020 Volodymyr Skladanivskyy. All rights reserved. // Published under terms of MIT license. // #ifndef linkedlistindex_hpp #define linkedlistindex_hpp #include "assertlevels.hpp" #include "containerindex.hpp" namespace ...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2019 The Ohmcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-l...
/* Copyright 2017 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 applicable law or a...
#ifndef __RecoLocalCalo_HGCRecProducers_HGCalLayerClusterProducer_H__ #define __RecoLocalCalo_HGCRecProducers_HGCalLayerClusterProducer_H__ // user include files #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/MessageLogger/interface/Messa...
/* Unit testing for outcomes (C) 2013-2021 Niall Douglas <http://www.nedproductions.biz/> (4 commits) Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this li...
#pragma once #include "../sptlib-wrapper.hpp" #include <SPTLib/IHookableNameFilterOrdered.hpp> #include "../cvars.hpp" #include "taslogger/writer.hpp" #include "../input_editor.hpp" enum class TASEditorMode { DISABLED, EDIT }; struct client_t; class HwDLL : public IHookableNameFilterOrdered { HOOK_DECL(void, __c...
#include "holonomicPathPlanning_old.h" #include "pathPlanningInterface.h" #include "simInternal.h" #include <algorithm> CHolonomicPathPlanning_old::CHolonomicPathPlanning_old(int theStartDummyID,int theGoalDummyID, int theRobotCollectionID,int theObstacleCollectionID,int ikGroupID, ...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_PrimalItemConsumable_Egg_Trike_Bionic_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-----------------------------------...
/** * @file XMLParser.cpp * @brief XMLParser interface and factory * @author Ben Bornstein * @author Michael Hucka * * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org for more * information about SBML, and the l...
#include <iostream> #include <string> #include <random> #include "socket.h" #include "misc.h" #include "logger.h" //Stun message types unsigned char BIND_REQUEST_MSG[] = {0x0, 0x1}; unsigned char BIND_RESPONSE_MSG[] = {0x1, 0x1}; unsigned char MAGIC_COOKIE[] = {0x21, 0x12, 0xa4, 0x42}; //Stun attributes unsigned cha...
//===----------------------------------------------------------------------===// // DuckDB // // planner/operator/logical_subquery.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "planner/logical_operator.hpp" #include "planner/t...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pad.h" #include "pad_impl.h" #include "core/providers/cpu/tensor/utils.h" namespace onnxruntime { namespace cuda { #define REGISTER_KERNEL_TYPED(T) \ ONNX_OPERATOR_VERSIONED_TY...
#pragma once #include <boost/assert.hpp> #include <boost/preprocessor.hpp> #include <iostream> #include <string> #define STRINGY_ENUM_ITEM(R, DATA, ELEM) ELEM, #define STRINGY_ENUM_OUT_CASE(R, DATA, ELEM) \ case DATA::ELEM: ...
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "sendcoinsentry.h" #include "ui_sendcoinsentry.h" #include "guiutil.h" #include "bitcoinunits.h" #include "addressbo...