text
stringlengths
7
961k
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 by EMC Corporation, 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...
/* * 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 ma...
/** * @file * @brief deal with reading and writing of highscore file **/ /* * ----------- MODIFYING THE PRINTED SCORE FORMAT --------------------- * Do this at your leisure. Change hiscores_format_single() as much * as you like. * */ #include "AppHdr.h" #include "hiscores.h" #include <algorithm> #include <...
/*! * @copyright * Copyright (c) 2015-2019 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
// // Created by Gabriele Gaetano Fronzé on 19/09/2017. // #include <TRandom.h> #include "TROOT.h" #include "TH1D.h" #include "TFile.h" #include "TSystFitParameter.h" #include "TSystFitSettings.h" #include "TSystFitter.h" #include "TFitResult.h" #include "TFitResultPtr.h" #include "TVirtualFitter.h" #include "TCanvas....
#include<iostream> using namespace std; int main() { int u_input,amount = 0,count = 0,r = 0,c = 0,b = 0 ; cout<<"Welcome to Shaaf Car Parking System\n"; cout<<"Choose your vehicle type from given list\n"; while(true) { cout<<"1) Rickshaw. "<<endl; cout<<"2) Car. "<<endl; cout<<"3) Bus. "<<endl; cout<<"4) sho...
#include "CpOpenhomeOrgSubscriptionLongPoll1.h" #include <OpenHome/Net/Core/CpProxy.h> #include <OpenHome/Net/Private/CpiService.h> #include <OpenHome/Private/Thread.h> #include <OpenHome/Net/Private/AsyncPrivate.h> #include <OpenHome/Net/Core/CpDevice.h> #include <OpenHome/Net/Private/Error.h> #include <OpenHome/Net/P...
#include <vector> #include "caffe/layer.hpp" #include "caffe/util/math_functions.hpp" #include "caffe/vision_layers.hpp" namespace caffe { template <typename Dtype> void LRNLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom, vector<Blob<Dtype>*>* top) { size_ = this->layer_param_.lrn_param().local_s...
/* * Copyright (C) 2017-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/compiler_interface/compiler_interface.h" #include "shared/source/device/device.h" #include "shared/source/helpers/file_io.h" #include "opencl/test/unit_test/helpers/kernel_binary_helper.h" #include "openc...
// ------------------------------------------------------------------------------------------------- // Copyright 2016 - NumScale SAS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE.txt or copy at // ...
#ifndef P2P_AbstractValue_hxx #define P2P_AbstractValue_hxx #include "Signable.hxx" namespace p2p { class AbstractValue :public Signable { public: int getKind() const; UInt64 getGeneration() const; void setKind(int kind) const; void getGeneration(UInt64 generation) const; }; } // p2p #endif // P2P_...
// This class implements a 8 bit unsigned DAC #ifndef DACSOUND8U_HH #define DACSOUND8U_HH #include "DACSound16S.hh" namespace openmsx { class DACSound8U final : public DACSound16S { public: DACSound8U(string_view name, string_view desc, const DeviceConfig& config); void writeDAC(uint8_t value, EmuTim...
#include<iostream> using namespace std; int sumdigits(int n) { int sum=0; while(n!=0) { sum=sum+n%10; n=n/10; } return sum; } void g(int n) { if(n/10!=0) { cout<<sumdigits(n)<<endl; g(sumdigits(n)); } else cout<<n<<endl; } int main() { int n; while(!0) { cin>>n; if(n==0) break; g(n); } return 0; }
// 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/path_service.h" #include "chrome/browser/extensions/extension_apitest.h" #include "content/public/common/content_paths.h" #include "net...
#include<bits/stdc++.h> #define boost ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0); #define ll long long #define deb(x) cout << #x << "=" << x << endl using namespace std; //Height of a Binary Tree struct Node { int data; struct Node* left; struct Node* right; Node(int x) { data...
// // Created by Electrux Redsworth on 9/8/17. // #ifndef HASHTABLEIMPLEMENTATION_HASHKEY_HPP #define HASHTABLEIMPLEMENTATION_HASHKEY_HPP #include <string> #include "Constants.hpp" #include "TemplateDefs.hpp" namespace Electrux { // Class definition for Hashkey. template < typename T > class HashKey { COUNTTYP...
#include "../../include/EnemyTypes/Mimic.h" Mimic::Mimic() { name = "Mimic"; ExperienceAmount = 10; CoinsDrop = 150 + rand() % 51; } EnemyType Mimic::GetType() { return etMimic; } int Mimic::ReturnDamage() { return 3 + rand() % 7; } int Mimic::ReturnRiskAttackDamage() { int selector = rand()...
/* * Copyright (C) 2014, 2018 Pavel Kirienko <pavel.kirienko@gmail.com> * Kinetis Port Author David Sidrane <david_s5@nscdg.com> */ #pragma once #include <uavcan_kinetis/build_config.hpp> #if UAVCAN_KINETIS_NUTTX # include <nuttx/arch.h> # include "up_arch.h" # include <arch/board/board.h> # include <hardware/kin...
// Copyright (c) 2014-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chain.h" #include "random.h" #include "util.h" #include "test/test_mia.h" #include <vector> #include <boost/test/...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/extensions/user_script.h" #include "base/pickle.h" #include "base/string_util.h" namespace { bool UrlMatchesPatterns(const ...
/* * This file is part of the Simutrans-Extended project under the Artistic License. * (see LICENSE.txt) */ #include <stdio.h> #include <windows.h> #include <mmsystem.h> #include "sound.h" /* * Hajo: flag if sound module should be used * with Win32 the number+1 of the device used */ static int use_sound = 0;...
/* * DragonMotorControllerFactory.cpp * */ #include <iostream> #include <map> #include <string> #include <subsys/IMechanism.h> #include <hw/factories/DragonMotorControllerFactory.h> #include <hw/usages/MotorControllerUsage.h> #include <xmlhw/MotorDefn.h> #include <hw/DragonTalon.h> #include <hw/DragonSparkM...
/** * @file rw_select_insert.cpp Checks changes of COM_SELECT and COM_INSERT after queris to check if RWSplit sends queries to master or to slave depending on if it is write or read only query * - connect to RWSplit, create table * - execute SELECT using RWSplit * - check COM_SELECT and COM_INSERT change on all nod...
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1994 - 1998. // // File: waitmult.hxx // // Contents: Encapsulates a Win32 WaitForMultipleObjects // // History: 04-Aug-94 DwightKr Created // //-------------...
#include "gtest/gtest.h" #include "sum.hpp" #define TEST_FOR(func_name) \ TEST(TestSum, func_name) \ { \ int xs[] { 0, 1, 2, 3, 4 }; \ int ys[5] { 1, 2, 3, 4, 5 }; \ \ func_name(ys, 5, xs, 2); \ ...
/*============================================================================= Copyright (c) 2009 Christopher Schmidt 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) 2013 Juniper Networks, Inc. All rights reserved. */ #include <cstdio> #include <iomanip> #include <assert.h> #include <errno.h> #include <sys/types.h> #include <dirent.h> #include "base/logging.h" #include <base/contrail_ports.h> #include <bind/bind_util.h> #include <cfg/dns_config.h> #include <mg...
// 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 "chromeos/network/onc/onc_merger.h" #include <set> #include <string> #include <utility> #include <vector> #include "base/logging.h" #includ...
// <Snippet1> #using <system.dll> #using <system.messaging.dll> using namespace System; using namespace System::Messaging; ref class MyNewQueue { public: //************************************************* // Retrieves the default properties for a Message. //************************************************* ...
/*========================================================================= Program: Visualization Toolkit Module: TestTriangle.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is ...
#include "atk/toolkit.h" #include "atkui/framework.h" #include "atkui/skeleton_drawer.h" #include <algorithm> #include <cmath> #include <string> using namespace glm; using namespace atk; using namespace atkui; class AReorient : public atkui::Framework { public: AReorient() : atkui::Framework(atkui::Perspective) {}...
#include "ntp1sendtxdata.h" #include "ntp1sendtxdata.h" #include "init.h" #include "util.h" #include "wallet.h" #include "json/json_spirit.h" #include <algorithm> #include <random> const std::string NTP1SendTxData::NEBL_TOKEN_ID = "NEBL"; // token id of new non-existent token (placeholder) const std::string NTP1Send...
//===- RegAllocGreedy.cpp - greedy register allocator ---------------------===// // // 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 // //===---------------------------...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "OpenMesh.h" #include "Runtime/Projects/Public/Interfaces/IPluginManager.h" #define LOCTEXT_NAMESPACE "FOpenMeshModule" void FOpenMeshModule::StartupModule() { // This code will execute after your module is loaded into memory; the exact timing is...
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
//===-- CommandObjectMultiword.cpp ------------------------------*- C++ -*-===// // // 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 // //===---------------------------...
/* Copyright 2020 The OneFlow 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 agre...
// This sample can go in TrackBarRenderer class overview. // - Snippet2 can go in GetTopPointingThumbSize, and possibly other Gets // - Snippet4 can go in IsSupported, DrawHorizontalTrack, and DrawTopPointingThumb // - Snippet6 can go in DrawVerticalTick; see below about bug in the meantime, though //<Snippet0> #using...
#include "GPUFilterRectMesh.h" #include "GPUFilterTool.h" GPUFilterRectMesh::GPUFilterRectMesh(QObject* parent) :GPUFilterMesh(parent) { } GPUFilterRectMesh::~GPUFilterRectMesh() { } void GPUFilterRectMesh::init(void) { // Add Vertex this->addVertexPostion(QVector3D(-1.0f, -1.0f, 0.0f)); this->add...
/* * This file is part of the Dronecode Camera Manager * * Copyright (C) 2017 Intel Corporation. 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://...
//===- RISCVVEmitter.cpp - Generate riscv_vector.h for use with clang -----===// // // 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 // //===---------------------------...
#ifndef _DEF_OMEGLOND3D_CFILE_HPP #define _DEF_OMEGLOND3D_CFILE_HPP #include <string> namespace OMGL3D { namespace UTILS { class CFile { public: CFile(const std::string & name); CFile(const char * name); CFile(const CFile & file); bo...
/* * * Copyright 2017 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...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include <config/bitcoin-config.h> #endif #include <r...
class Solution { public: int rangeBitwiseAnd(int left, int right) { const int MAX_BIT = 30; int rangeAND = 0; for(int bit = MAX_BIT; bit >= 0; --bit){ int leftBitVal = (left >> bit) & 1; int rightBitVal = (right >> bit) & 1; if(leftBitVal == rightBitVal){ ...
#ifndef SEGMATCH_PARAMETERS_HPP_ #define SEGMATCH_PARAMETERS_HPP_ #include <string> #include <vector> namespace segmatch { // TODO: Check that parameter values are reasonable when setting them. struct KeypointSelectionParams { std::string keypoint_selection; double uniform_sample_size; int minimum_point_numbe...
// Copyright (c) the JPEG XL 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. #include "lib/extras/codec_pgx.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <algorithm> #include <string> #include <u...
/* * intrusive_list.cxx * Copyright© 2017 rsw0x * * Distributed under terms of the MIT license. */ #include "../intrusive_list.hpp" #include "doctest.h" #include <algorithm> #include <array> #include <memory> #include <numeric> struct S { int i; pep::intrusive_node n; friend bool operator==(const S& lhs, ...
// Copyright (C) 2015 The Regents of the University of California (Regents). // 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...
#include <node/BoxPack.h> #include <node/BasicChar.h> #include <node/AxisCenter.h> #include <node/MakeVBox.h> #include "Delimiter.h" #include "Const.h" namespace formulae { namespace node { charCode_t getExCharCode(charCode_t ch) { if (ch.value() == '(') return charCode_t{0}; else if (ch.value() == ')') r...
// This file is derivative work from Ulrich Germann's Tightly Packed Tries // package (TPTs and related software). // // Original Copyright: // Copyright 2005-2009 Ulrich Germann; all rights reserved. // Under licence to NRC. // // Copyright for modifications: // Technologies langagieres interactives / Interactive Lang...
int my_function() { return 0xbaba; }
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
#pragma once #include "c/struct-stat.h" #include "Result.hxx" #define EBADF 9 #define EFAULT 14 #define EIO 5 #define EOVERFLOW 98 #define __NR_fstat 189 namespace freebsd { static inline auto fstat(int fd, struct stat* sb) noexcept { enum Error { _E(BADF), _E(FAULT), _E(IO), ...
/* * basetree.cpp * * Created on: 08-Jan-2019 * Author: P. Sashittal */ #include "basetree.h" #include <lemon/bfs.h> BaseTree::BaseTree() : _tree() , _nodeToId(_tree) , _idToNode() , _nodeToIndex(_tree) , _indexToNode() , _arcToIndex(_tree) , _timestamp(_tree) , _label(_tree) , _hostLabel() , _nhosts() , _...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
// 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 "gpu/command_buffer/service/async_pixel_transfer_manager_share_group.h" #include <list> #include "base/bind.h" #include "base/debug/trace_event...
// Copyright (c) 2018-2019 The Pexa Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <memory> #include <boost/test/unit_test.hpp> #include <fs.h> #include <test/util/setup_common.h> #include <wallet/db....
// Copyright (c) 2012-2016 The Bitcoin Core developers // Copyright (c) 2017-2019 The Sheet Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "coins.h" #include "consensus/consensus.h" #include "memusage....
 #pragma once #include <functional> #include <map> #include <set> #include <string> #include <vector> #include "google/protobuf/descriptor.h" namespace principia { namespace tools { namespace internal_journal_proto_processor { using ::google::protobuf::Descriptor; using ::google::protobuf::FieldDescriptor; using :...
#include "ffmpegs.h" #include <QtDebug> #include <QFile> extern "C" { // 重采样相关API #include <libswresample/swresample.h> // 工具相关API(比如错误处理) #include <libavutil/avutil.h> } // 宏定义 #define ERROR_BUF(ret) \ char errbuf[1024]; \ av_strerror(ret, errbuf, sizeof (errbuf)); FFmpegs::FFmpegs() { } v...
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2000, 2001, 2002, 2003 RiskMap srl Copyright (C) 2003, 2004 Ferdinando Ametrano Copyright (C) 2007, 2008 StatPro Italia srl This file is part of QuantLib, a free-software/open-source library for financial quantitativ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "AdaptiveCardGetResourceStreamArgs.h" const double c_playIconSize = 30; const double c_playIconCornerRadius = 5; const double c_playIconOpacity = .5; const winrt::hstring supportedMimeTypes[] = {L"...
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Benchmark.h" #include "SkBlurMask.h" #include "SkCanvas.h" #include "SkPaint.h" #include "SkRandom.h" #include "SkShader.h" #include "SkString.h" class BitmapScaleB...
// Copyright (c) 2012-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2017-2018 The FXRate Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "netbase.h...
/**************************************************************************/ /* */ /* WWIV Version 5.x */ /* Copyright (C)2007-2021, WWIV Software Services */ /* ...
#ifndef RENDERBOI__CORE__INTERFACES__BASIS_PROVIDER_HPP #define RENDERBOI__CORE__INTERFACES__BASIS_PROVIDER_HPP #include <memory> #include <glm/vec3.hpp> namespace Renderboi { /// @brief Interface for a class able to provide basis vectors. class BasisProvider { public: /// @brief Get the X vector of the basis, ...
/* Copyright (c) 2012 Patrick Ruoff * Copyright (c) 2014-2015 Stanislaw Halik <sthalik@misaki.pl> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies....
#include <iostream> #include <fstream> #include <utility> #include <set> #include <CGAL/Random.h> #include <CGAL/Simple_cartesian.h> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Polyhedron_3.h> #include <CGAL/Polyhedron_items_with_id_3.h> #include <CGAL/IO/Polyhedron_iostream.h> #i...
/* The MIT License (MIT) Copyright (c) 2016 British Broadcasting Corporation. This software is provided by Lancaster University by arrangement with the BBC. 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...
//===-- Array ---------------------------------------------------*- C++ -*-===// /// /// \file /// \brief Array /// \details STL compliant container wrapper for arrays of constant size. /// \details 符合 STL 的容器包装,用于恒定大小的数组。 /// /// \sa <https://boost.org/doc/libs/master/libs/array/> /// /// \version 2019-11-09 /// \sinc...
/// See ../../License.txt for license info. #pragma once #include <cmath> #include <vector> #include "../Core/Vector2d.hpp" namespace HANDYMATH_NS { struct AABB2d { Vector2d Min; Vector2d Max; AABB2d(); AABB2d(Vector2d const & point); AABB2d(std::vector<Vector2d> const & points); AABB2d(Vector2d con...
#include "stdafx.h" #include "CppUnitTest.h" #include <vector> #include <algorithm> #include <list> #include "../../../varray.hpp" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace hmLib { TEST_CLASS(test_varray) { public: TEST_METHOD(construct) { varray<double, 4> Element(0.0); Assert::Ar...
// Copyright 2017,2018,2019,2020,2021 Sony Corporation. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
/*============================================================================= Copyright (c) 2011-2019 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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 file is part of Cloudy and is copyright (C)1978-2019 by Gary J. Ferland and * others. For conditions of distribution and use see copyright notice in license.txt */ /* HyperfineCreat establish space for hf arrays, reads atomic data from hyperfine.dat */ /* HyperfineCS - returns collision strengths for hyperfin...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017 The Bitcoinlegend developers // Distributed under the MIT software license, see the accompanying // file COPYI...
/* * Copyright 2014-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...
/*ckwg +29 * Copyright 2018 by Kitware, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this list of...
#include "InputChecker.h" namespace HuobiSwap { InputChecker* InputChecker::instance = nullptr; InputChecker* InputChecker::checker() { if (instance == nullptr) { instance = new InputChecker(); } return instance; } }
#pragma once #include "custom-types/shared/macros.hpp" #include "custom-types/shared/coroutine.hpp" #include "TestPathParser.hpp" DECLARE_CLASS(Tester, ParserCustomType, "UnityEngine", "MonoBehaviour", sizeof(Il2CppObject) + sizeof(void*), TestPathParser* parser; constexpr void Init(TestPathParser& p) { ...
//===- AMDGPURegisterBankInfo.cpp -------------------------------*- C++ -*-==// // // 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 // //===----------------------------...
#include "usb_pipe.h" #include <cstdlib> #include <cstring> #include <zconf.h> #include "usb_host.h" #include "usb_endpoint.h" #include <linux/usbdevice_fs.h> #include "android_debug.h" #include <chrono> using namespace librealsense::usb_host; usb_pipe::usb_pipe(usb_device_handle *usb_device, usb_endpoint endpoint, ...
#include "signverifymessagedialog.h" #include "ui_signverifymessagedialog.h" #include "addressbookpage.h" #include "base58.h" #include "guiutil.h" #include "init.h" #include "main.h" #include "optionsmodel.h" #include "walletmodel.h" #include "wallet.h" #include <QClipboard> #include <string> #include <vector> Sign...
#include "../Include/AccountUI.h" #include<iostream> #include<iomanip> #include<ctime> #include<cstdlib> #include <vector> using namespace std; #include<string.h> #include<unistd.h> /*long int AccountUI::getAccountNo(){ long int l_accountno; cout<<"\n Account No:"; cin>>l_accountno; return l_accountno; } string Acco...
//============================================================================ // MCKL/include/mckl/random/rng_set.hpp //---------------------------------------------------------------------------- // MCKL: Monte Carlo Kernel Library //---------------------------------------------------------------------------- // Copy...
/* ** $Id: ldblib.c,v 1.132.1.1 2013/04/12 18:48:47 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define ldblib_c #define LUA_LIB #include "lua.h" #include "lauxlib.h" #include "lualib.h" #define HOOKKE...
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Soeren Sonnenburg, Heiko Strathmann, Jacob Walker, Viktor Gal, * Evgeniy Andreev, Soumyajit De, Sergey Lisitsyn */ #include <shogun/base/ShogunEnv.h> #include <shogun/features/DenseFeatures.h> #include <shogun/...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Paracer_Character_BP_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //-------------------------------------------------...
#include <iostream> #include "tinysplinecxx.h" int main(int argc, char **argv) { std::vector<tinyspline::real> points; // P0 points.push_back(1600); // time points.push_back(10); points.push_back(100); points.push_back(1); // P1 points.push_back(1650); // time points.push_back(20); points.push_back(200); po...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lexv2-models/model/ImportSummary.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { na...
#include "PrettyPrinter.h" #include <iostream> #include <sstream> void PrettyPrinter::print(ASTProgram *p, std::ostream &os, char c, int n) { PrettyPrinter visitor(os, c, n); p->accept(&visitor); } /** * join last sz items from the visitedResults with delimiter delim. Then, remove these items from the stack * ...
// // Utility class to print CaloHitMC // #ifndef Print_inc_CaloHitMCPrinter_hh #define Print_inc_CaloHitMCPrinter_hh #include <cstring> #include <iostream> #include "Offline/Print/inc/ProductPrinter.hh" #include "Offline/MCDataProducts/inc/CaloHitMC.hh" #include "art/Framework/Principal/Handle.h" #include "canvas/...
#include "codec.h" #include <muduo/base/Logging.h> #include <muduo/base/Mutex.h> #include <muduo/net/EventLoop.h> #include <muduo/net/SocketsOps.h> #include <muduo/net/TcpServer.h> #include <boost/bind.hpp> #include <set> #include <stdio.h> using namespace muduo; using namespace muduo::net; class ChatServer : boos...
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
// // Layer List Widget // // // Copyright (C) 2016 Peter Niekamp // #include "layerlistwidget.h" #include <QDragMoveEvent> #include <QMimeData> #include <QFileInfo> #include <QMessageBox> #include <QDebug> using namespace std; //|---------------------- LayerListWidget ----------------------------------- //|-------...
//===--- driver.cpp - Swift Compiler Driver -------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/***************************************************************************** * Non-Rigid Face Tracking ****************************************************************************** * by Jason Saragih, 5th Dec 2012 * http://jsaragih.org/ **************************************************************************...
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2018, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
// Copyright (c) 2022 PaddlePaddle 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...