text
stringlengths
5
1.04M
/* * (C) Copyright 1996-2012 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an in...
#include <mtpio/chain/whitelisted_intrinsics.hpp> #include <mtpio/chain/exceptions.hpp> namespace mtpio { namespace chain { template<typename Iterator> bool find_intrinsic_helper( uint64_t h, const std::string& name, Iterator& itr, const Iterator& end ) { for( ; itr != end && itr->first == h; ++itr ) { ...
// Tencent is pleased to support the open source community by making ncnn available. // // Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this file except // in compliance with the License. You may obtain a copy ...
#include "stdafx.h" /* // init.cpp // Add these headers before the header with the using namespace System // directive, or add them in a .cpp file that does not have a // using namespace System directive. #include <windows.h> #include <_vcclrit.h> // Call this function before you call anything in this DLL....
#include <memory> #include <string> #include <vector> #include "Options.h" Option::Option(std::unique_ptr<const std::string>&& key_, std::unique_ptr<const std::string>&& value_) noexcept : _key(std::move(key_)), _value(std::...
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
#include "CesiumJsonReader/ExtensionsJsonHandler.h" #include "CesiumJsonReader/ExtensionReaderContext.h" using namespace CesiumJsonReader; using namespace CesiumUtility; void ExtensionsJsonHandler::reset( IJsonHandler* pParent, ExtensibleObject* pObject, const std::string& objectType) { ObjectJsonHandle...
#include <chrono> #include <cascara/cascara.hpp> using namespace cascara; #include "../system_cmd.hpp" #ifdef __APPLE_CC__ #define EXEC_TRUE "/usr/bin/true" #define EXEC_FALSE "/usr/bin/false" #define EXEC_ECHO "/bin/echo" #define EXEC_SLEEP "/bin/sleep" #define EXEC_GREP "/usr/bin/grep" #else #define EXEC_TRUE "/bi...
/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this file to You under ...
// Copyright 2011 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 "cc/scheduler/scheduler_state_machine.h" #include "base/debug/trace_event.h" #include "cc/scheduler/scheduler.h" #include "cc/test/begin_frame_a...
#ifndef DIKE_PROCESSOR_HPP #define DIKE_PROCESSOR_HPP #include <map> #include <thread> #include "DikeIO.hpp" typedef std::map<std::string, std::string> DikeProcessorConfig; class DikeProcessor { public: DikeProcessor(){}; virtual ~DikeProcessor() { if(workerThread.joinable()) { ...
/* Energy Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (lipnikov@lanl.gov) Thermal conductivity ...
/* * main.cpp * * Created on: 21. 5. 2019 * Author: ondra */ #include <iostream> #include <fstream> #include <sstream> #include <unordered_map> #include <imtjson/operations.h> #include <shared/toString.h> #include "proxy.h" #include <cmath> #include <ctime> #include "../api.h" #include <imtjson/stringValue...
#include "linux_parser.h" #include <dirent.h> #include <unistd.h> #include <algorithm> #include <filesystem> #include <iostream> #include <string> #include <vector> using std::stof; using std::string; using std::to_string; using std::vector; namespace fs = std::filesystem; // DONE: An example of how to read data fro...
/* MIT License Copyright (c) 2009 Gaetan Guidet This file is part of gcore. 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 to use, c...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2019 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bitcoingui.h" #includ...
// // FILE NAME: CIDKernel_StackDump_Linux.Cpp // // AUTHOR: Will Mason // // CREATED: 01/18/1999 // // COPYRIGHT: Charmed Quark Systems, Ltd - 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https:...
// Copyright 2022 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...
/* * 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 ...
/* * DIF Template Manager * * Eduard Grasa <eduard.grasa@i2cat.net> * * 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.1 of the License, or (at your optio...
/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 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 "main.h" #include "bitcoinrpc.h" using namespace json_spirit; using namespace...
#include <list> #include <tst/set.hpp> #include <tst/check.hpp> #include <utki/linq.hpp> #include <utki/config.hpp> #if M_COMPILER != M_COMPILER_MSVC || M_COMPILER_MSVC_TOOLS_V >= 142 namespace{ tst::set set("linq", [](tst::suite& suite){ suite.add( "linq_from_rvalue_select", [](){ std::vector<std::pair<in...
// Don't modify, automatically generated file by QuickFIX2OpenDDS.py #ifndef __Logout_h__ #define __Logout_h__ #include "LogoutTypeSupportImpl.h" #include <quickfix/Message.h> using namespace DistributedATS; #include "HeaderAdapter.hpp" class LogoutAdapter { public: static void FIX2DDS(const FIX::Message&, Dis...
// Copyright 2019 The Fuchsia 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 <fuchsia/hardware/platform/device/c/banjo.h> #include <fuchsia/hardware/spiimpl/cpp/banjo.h> #include <lib/ddk/debug.h> #include <lib/ddk/driver.h...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <gtest/gtest.h> #include "ApiLevelsUtils.h" #include "DexClass.h" #include "DexUtil.h" #include "IRAssembler.h" #include ...
#include <bits/stdc++.h> #define ll long int using namespace std; int main() { string s; cin>>s; vector<int> v; for(int i=0;i<s.length();i++) { if(s[i]!='+') { v.push_back(s[i]-'0'); } } sort(v.begin(),v.end()); int i=0; for(;i<v.size()-1;i++){ cout<<v[i]<<"+"; } cout<<v[i]<...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/protobuf/source_context.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include <google/protobuf/source_context.pb.h> #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port....
#include "node.h" #include "AVLTree.h" #include <string> #include <sstream> #include <iostream> #include "typeinfo" using std::cout; using std::cin; using std::endl; using std::string; using std::stringstream; AVLTree::AVLTree(){ } AVLTree::AVLTree(int Valor){ this -> Raiz = new Node(Valor); } AVLTree::~AVLTree(){...
// // Type.cpp // dgmpp // // Created by Artem Shimanski on 30.10.2017. // #include <utility> #include "Type.hpp" #include "SDE.hpp" #include <numeric> namespace dgmpp { struct EffectComparator { bool operator() (const std::unique_ptr<Effect>& lhs, MetaInfo::Effect::Category rhs) { return lhs->metaInfo(...
/*********************************************************************************************************************** * * * libscopeprotocols ...
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012-2014 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby g...
// 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 "third_party/blink/renderer/core/paint/background_image_geometry.h" #include "third_party/blink/renderer/core/frame/local_frame_view.h" #include...
/****************************************************************************** * $Id$ * * Project: OpenGIS Simple Features Reference Implementation * Purpose: Implements OGRPGTableLayer class, access to an existing table. * Author: Frank Warmerdam, warmerdam@pobox.com * ************************************...
/***************************************************************************** Copyright (c) [2017] [Blandizzi Pietro] 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, includin...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2015-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2016 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 "noui.h" #include "ui_interface.h" #include "util.h" #include <cstdio> #inc...
#ifndef XR_RETURNSELF_HPP #define XR_RETURNSELF_HPP //============================================================================== // // XRhodes // // copyright (c) Gyorgy Straub. All rights reserved. // // License: https://github.com/zyndor/xrhodes#License-bsd-2-clause // //==========================================...
/* * Copyright (c) 2018-2020 The Forge Interactive Inc. * * This file is part of The-Forge * (see https://github.com/ConfettiFX/The-Forge). * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional in...
#include "common.h" #include "song_factory.h" SongFactory::SongFactory() { } spISong SongFactory::CreateSongObj(umMusicAttribute& song_map) { spISong ret = nullptr; ret = std::make_shared<CSong>(song_map); return ret; }
/*************************************************************************/ /* collision_shape_2d.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
// ************************************************************************ // // WARNING // ------- // The types declared in this file were generated from data read from a ...
#include <iostream> #include <cstdio> #include <vector> using namespace std; int merge(vector <int> &v){ if(v.size() == 1) return 0; int inversoes = 0; vector <int> metade1, metade2; for(int i=0; i<v.size()/2; i++){ metade1.push_back(v[i]); } for(int i=v.size()/2; i<v.size(); i++){ metade2.push_back(v[i]); ...
// Copyright (c) 2019 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...
// Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2018 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "chain.h" #include "rpc/server.h" #include "...
/* * @Author: seenli * @Date: 2021-01-18 17:15:22 * @LastEditors: seenli * @LastEditTime: 2021-01-18 17:50:18 * @FilePath: \Ch11\ch11_drill.cpp * @Description: Programming Principles and Practice Using C++ Second Edition */ // Chapter 11, drill #include "../includes/std_lib_facilities.h" void int_output() { ...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2017 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 <chainparamsbase.h> #include <tinyformat.h> #include <util.h> #include <ass...
#include <QGuiApplication> #include <QQmlApplicationEngine> #include <QQmlContext> #include "controller.h" #include "listmodel.h" #include "hellolistener.h" #include "logging.h" int main(int argc, char *argv[]) { INIT_LOG QGuiApplication app(argc, argv); QCoreApplication::setOrganizationName("TRAPTA"); ...
#ifndef _APPLICATIONS_IO_BOARD_TARGET_CONFIG_HXX_ #define _APPLICATIONS_IO_BOARD_TARGET_CONFIG_HXX_ #include "openlcb/ConfiguredConsumer.hxx" #include "openlcb/ConfiguredProducer.hxx" #include "openlcb/ConfigRepresentation.hxx" #include "openlcb/MemoryConfig.hxx" namespace openlcb { /// Defines the identification in...
/**************************************************** Date: Oct 9th link: https://leetcode.com/explore/challenge/card/october-leetcoding-challenge/560/week-2-october-8th-october-14th/3488/ ****************************************************/ #include <iostream> #include <vector> #include <list> #include <algorithm> ...
//================================================================================================= /*! // \file src/mathtest/smatdmatadd/SCbSDb.cpp // \brief Source file for the SCbSDb sparse matrix/dense matrix addition math test // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This file ...
// Copyright (c) 2014-2017 The Botcoin Core developers #include "governance.h" #include "test/test_botcoin.h" #include <boost/test/unit_test.hpp> BOOST_FIXTURE_TEST_SUITE(ratecheck_tests, BasicTestingSetup) BOOST_AUTO_TEST_CASE(ratecheck_test) { CRateCheckBuffer buffer; BOOST_CHECK(buffer.GetCount() == 0)...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2017 Realm 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/li...
#include <cstdio> #include <stack> using namespace std; int main() { stack<int> s; int n; while (scanf("%d", &n) && n != 0) { int m, cont = 0, pos; bool ok; while (scanf("%d", &m) && m != 0) { if (cont == 0) { ok = true; pos = 1; while (!s.empty()) s.pop(); } if (ok){ if (s.empty()) s...
/** * ODVpi - Benchmark code extending OpenDaVinci * (https://github.com/se-research/OpenDaVINCI) * Copyright (C) 2016 Philip Masek, Magnus Thulin * * This code 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 Softwa...
/** * 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...
/* * @file StUCMException.cpp * @author Stephen Tramer * * @(#)cpp/api:$Id: StUCMException.cxx,v 1.2 2010/03/30 20:05:36 fine Exp $ * * See StUCMException.h for detals. */ #include <string> #include "StUCMException.h" //using namespace TxLogging; StUCMException::StUCMException(const std::string& description, ...
/* * Copyright 2021-2022 Hewlett Packard Enterprise Development LP * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * * You may obtai...
// Copyright 2017 The Fuchsia 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 <assert.h> #include <fuchsia/hardware/ethernet/c/banjo.h> #include <fuchsia/hardware/usb/function/c/banjo.h> #include <inttypes.h> #include <lib/s...
#pragma once #include "Headers.hpp" LPVOID WINAPIV memset(LPVOID dst,INT val,size_t count); LPVOID WINAPIV memcpy(LPVOID dst,LPCVOID src,size_t count); INT WINAPIV _purecall();
/** \file * \brief Implementation of class NodeRespecterLayout. * * Force-directed layout algorithm respecting the height and width of nodes, * aiming to minimize node overlaps as well as edges crossing through * non-incident nodes. * * \author Max Ilsen * * \par License: * This file is part of the Open Graph...
/* file: training_init_distributed_step2_input.cpp */ /******************************************************************************* * Copyright 2014-2021 Intel 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 ...
/** * b_plus_tree_test.cpp */ #include <chrono> // NOLINT #include <cstdio> #include <functional> #include <thread> // NOLINT #include "b_plus_tree_test_util.h" // NOLINT #include "buffer/buffer_pool_manager.h" #include "gtest/gtest.h" #include "storage/index/b_plus_tree.h" namespace bustub { /...
/* <base/thrower.cc> Implements <base/thrower.h>. Copyright 2010-2014 OrlyAtomics, 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-...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
/** * @file thread_mapped.hxx * @author Muhammad Osama (mosama@ucdavis.edu) * @brief Advance operator where a vertex/edge is mapped to a thread. * @version 0.1 * @date 2020-10-20 * * @copyright Copyright (c) 2020 * */ #pragma once #include <gunrock/util/math.hxx> #include <gunrock/cuda/cuda.hxx> #include <g...
#include "ChipTuner.hpp" struct BlankBaseWidget : ModuleWidget { static constexpr int LISTSIZE = 3; int selected = 0; std::string fileName[LISTSIZE]; BitMap *bmp; std::string FileName(std::string tpl, int templateSize) { char workingSpace[100]; snprintf(workingSpace, 100, tpl.c_str(), templateSize); return ...
/* * author:tlming16 * email:tlming16@fudan.edu.cn * all wrong reserved */ class Solution { public: double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) { vector<int> res; merge(nums1.begin(),nums1.end(),nums2.begin(),nums2.end(),back_inserter(res)); int n= res.size(); ...
#include "DehumRelay.h" #include "Arduino.h" DehumRelay::DehumRelay(int RelayPin) { relayPin = RelayPin; pinMode(relayPin, OUTPUT); } void DehumRelay::EngageRelay() { digitalWrite(relayPin, HIGH); // motor runs for one sec } void DehumRelay::DisengageRelay() { digitalWrite(relayPin, LOW); // motor r...
#include "sounds.h" #include "../security/string_obfuscation.h" #include "../BASS/API.h" #include "../utils/c_config.h" #include "../c_rifk.h" #include <thread> #include "../menu/c_menu.h" using namespace std::chrono_literals; void playback_loop() { while (!memory::get_module_handle(fnv1a("serverbrowser.dll"))) st...
/* ** Copyright 2011-2015 Centreon ** ** 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 t...
// Copyright 1996-2021 Cyberbotics Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
/* * Copyright 2019 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "modules/skottie/src/SkottiePriv.h" #include "include/core/SkImage.h" #include "modules/skottie/src/SkottieJson.h" #include "modules/sksg/include/SkSGImage.h" #inclu...
/** * @file robot.cpp * @author Vasista (clueless-bachu) * @author Vishnuu (vishnuu95) * @brief Test file that tests functionalities of robot class * @copyright MIT License (c) 2020 Vasista and Vishnuu. */ #include <gtest/gtest.h> #include <Eigen/Dense> #include <bits/stdc++.h> #include "opencv2/opencv...
#include "actor_builder.h" #include "articulation_builder.h" #include "controller/controller_manger.h" #include "device/movo.hpp" #include "optifuser_renderer.h" #include "simulation.h" #include <optifuser.h> #include <thread> using namespace sapien; void run() { Renderer::OptifuserRenderer renderer; renderer.ca...
#include "pch.h" #include "../Clerk/Data/Repositories/TagsRepository.h" #include "Fixture.cpp" class TagsRepositoryTest : public Fixture { public: void SetUp() override { SetUpConnection(); repository = new TagsRepository(*connection); } void TearDown() override { Fixture::TearDow...
#include <float.h> #include <iostream> #include <math.h> #include<fstream> using namespace std; void streaming(int n, int m, float f[9][1001][51]) { int i, j; for ( j = 0; j <= m; j++) { for ( i = n; i > 0; i--) { f[1][i][j] = f[1][i - 1][j]; } for ( i = 0; i <= n-1; i++) { f[3][i][...
<?hh // strict namespace SebastianBergmann\CodeCoverage\Report\Html\Renderer\Template; class DirectoryItem { public static function render( string $icon, string $name, int $numClasses, string $classesLevel, string $testedClassesPercentAsString, string $classesBar, int $numMethods, s...
#include "Logging.h" #include "LogFile.h" #include <stdio.h> long g_total; FILE* g_file; boost::scoped_ptr<muduo::LogFile> g_logFile; void dummyOutput(const char* msg, int len) { g_total += len; if (g_file) { fwrite(msg, 1, len, g_file); } else if (g_logFile) { g_logFile->append(msg, len); } } ...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
/* This program is free software. It comes without any warranty, to * the extent permitted by applicable law. You can redistribute it * and/or modify it under the terms of the WTFPLv2. See the LICENSE * file for more details. */ #include "zstream.h" #include <stdexcept> #include <zlib.h> namespace { const int c...
// 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 "chrome/browser/chromeos/ui/idle_logout_dialog_view.h" #include "base/memory/scoped_ptr.h" #include "chrome/browser/chromeos/kiosk_mode/mock...
/* * Copyright 2004-2020 Hewlett Packard Enterprise Development LP * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * * You may obt...
#include "lf_gi_filter_pass.h" #include <Engine/Common/IRenderingContext.h> #include <Engine/Common/types/constant_buffer_info.h> #include <Engine/Common/types/image_bind_type.h> #include <Engine/Common/types/image_buffer_format.h> #include <Engine/Common/types/image_buffer_info.h> #include <Engine/Common/types/image_b...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2012 Couchbase, 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 * * ...
// // odbc_libodbc.hh - SQLite Backend libodbc // // Copyright (C) informave.org // 2010, Daniel Vogelbacher <daniel@vogelbacher.name> // // BSD License // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions ...
#include <filesystem> namespace adiar { template <> struct FILE_CONSTANTS<int> { static constexpr size_t files = 2u; }; } go_bandit([]() { describe("adiar/file.h, adiar/file_stream.h, adiar/file_writer.h", [&]() { describe("adiar/file.h", [&]() { it("can construct fresh file<T> and make it rea...
/* * Copyright 2019 Xilinx, 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 agreed to...
#ifndef OFFSETS_HEADER #define OFFSETS_HEADER #include <stdint.h> const uintptr_t offsets_player_base = 0x00000; const uintptr_t offsets_oneshot = 0x464E3; #endif // OFFSETS_HEADER
// Copyright (c) 2019 The PIVX developers // Copyright (c) 2021 The DECENOMY Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "addressbook.h" #include <string> namespace AddressBook { namespace Addr...
//------------------------------------------------------------------------------ // This file was generated using the Faust compiler (https://faust.grame.fr), // and the Faust post-processor (https://github.com/jpcima/faustpp). // // Source: stone_phaser.dsp // Name: Stone Phaser // Author: Jean Pierre Cimalando // Co...
#ifndef KX_REND_RENDERER_FWD_HPP #define KX_REND_RENDERER_FWD_HPP namespace kx::rend { class Renderer; } #endif // KX_REND_RENDERER_FWD_HPP
// // PPD file import utility for the CUPS PPD Compiler. // // Copyright 2007-2011 by Apple Inc. // Copyright 2002-2005 by Easy Software Products. // // Licensed under Apache License v2.0. See the file "LICENSE" for more information. // // // Include necessary headers... // #include "ppdc-private.h" #include <unistd...
/** * @file test.cpp * @The test file of md5. * @author Jiewei Wei * @mail weijieweijerry@163.com * @github https://github.com/JieweiWei * @data Oct 19 2014 * */ #include <iostream> #include "../src/md5.h" using std::cout; using std::endl; void printMD5(const string& message) { cout << "md5(\"" << message ...
/************************************************************** * * 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 y...
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //USB HS/FS/LS OTG Controller namespace UsbhsId{ ///<Identification Register using Addr = Register::Address<0x40034000,0x00000000,0x00000000,unsigned>; ///Configuration number constexpr Register::FieldLocation<Addr,Register:...
#include "testdata/no_30ms_audio_data.h" alignas(16) const short g_no_30ms_audio_data[] = {5713,5735,5735,5737,5701,5691,5656,5633,5611,5552,5475,5394,5293,5177,5064,4924,4737,4599,4420,4237,4048,3828,3623,3413,3183,2915,2622,2308,1980,1657,1261,901,549,205,-85,-383,-688,-969,-1246,-1530,-1850,-2206,-2561,-2915,-3224,...
#define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <winnt.h> #include <minwindef.h> #include <TlHelp32.h> #include "../../include/asm/asm.h" namespace asmkraken::assembly { std::unique_ptr<uint8_t[]> PatchAsm(void* pDest, const void* pSrc, size_t size) { auto* pOriginalBytes = new uint8_t[size]; ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "config.hpp" #include "gates.hpp" #include "simulatorinterface.hpp" #include "util/openmp.hpp" #include "wavefunction.hpp" #include <map> #include <numeric> namespace Microsoft { namespace Quantum {...