text
stringlengths
7
961k
#pragma once /* ========================================================================= Copyright (c) 2015-2017, COE of Peking University, Shaoqiang Tang. ----------------- cuarma - COE of Peking University, Shaoqiang Tang. ----------------- ...
// Copyright 2014 Stellar Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "util/asio.h" #include "crypto/Hex.h" #include "herder/LedgerCloseData.h" #include "le...
// 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...
#include <ctime> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <iomanip> #include <sstream> #include <iostream> #include <algorithm> #include <string> #include <vector> #include <queue> #include <list> #include <map> using namespace std; #define OUTPUT_DEBUG1(TARGET0) \ cerr << #...
// Copyright 2021 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 "ash/public/cpp/tab_cluster/correlation_clusterer.h" #include <map> #include <set> #include "ash/public/cpp/tab_cluster/undirected_graph.h" #in...
#include "StringOperations.h" #include "cute.h" #include "pssst.h" #include <sstream> #include <string> using namespace Pssst; struct Word:strong<std::string,Word>, Out<Word>, Add<Word>, Order<Word>{ }; Word operator"" _w(char const * const s, size_t l){ return Word{std::string{s,l}}; } Word operator"" _w(char c)...
// // Created by FLXR on 7/15/2018. // #include <xe/common.hpp> #include <xe/utils/sleep.hpp> #ifdef XE_PLATFORM_WINDOWS #include "window/platform/win32/win32window.hpp" typedef xe::internal::PlatformWindowWin32 PlatformWindowType; #endif #include "platformwindow.hpp" namespace xe::internal { PlatformWindow *Pla...
// // Module to produce the calorimeter clusters from proto-clusters. See MakeCaloProtocluster for the proto-cluster formation. // // The strategy is to attach the split-off to the main cluster first, take the closest cluster if the split-off time is compatible // with several clusters. Then associate energetic cluster...
#include <utils/ColorRgb.h> #include <utils/ColorRgbw.h> void Rgb_to_Rgbw(ColorRgb input, ColorRgbw * output, std::string _whiteAlgorithm) { if (_whiteAlgorithm == "subtract_minimum") { output->white = std::min(input.red, input.green); output->white = std::min(output->white, input.blue); output->red = input.red...
// Copyright (c) 2011-2014 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 <QApplication> #include "guiutil.h" #include "bitcoinaddressvalidator.h" #include "walletmodel.h" #include "bitcoin...
/* Starstructor, the Starbound Toolset Copyright (C) 2013-2014 Chris Stamford Licensed under terms of The MIT License (MIT) Source file contributers: Chris Stamford contact: cstamford@gmail.com */ #include "utility/stlogger.hpp" #include <QTextStream> #include <QTime> #include <QDebug> #include <QDir> usi...
#include "contact_info.h" #include "primitive_container.h" #include "ray_axis_aligned_box_intersection.h" #include "nui_node.h" namespace cgv { namespace nui { void contact_info::contact::update_orientation(const quat& q) { if (container && primitive_index != -1) { if (container->rotatable()) container->set_or...
#include <iostream> #include <type_traits> #include <vector> #include <cassert> #include <numeric> #include <agency/execution/executor/experimental/unrolling_executor.hpp> #include <agency/execution/executor/executor_traits.hpp> int main() { using namespace agency; static const size_t unroll_factor = 10; using...
///////////////////////////////////////////// // Spectral processing examples // // (c) V Lazzarini, 2005 // // see License.txt for copyright information ////////////////////////////////////////////// #include <stdio.h> #include "spec.h" #include "fourier.h" /** pv main program \b usage: pv infile outfile dur(s...
#include "menu.hpp" #include "../gfx.hpp" #include "../sfx.hpp" #include "../reader.hpp" #include "../text.hpp" #include <cmath> #include <cctype> #include <algorithm> #include "../common.hpp" void Menu::onKeys(SDL_keysym* begin, SDL_keysym* end, bool contains) { for (; begin != end; ++begin) { bool isTab = beg...
#include <networkit/io/BinaryEdgeListPartitionWriter.hpp> #include <fstream> NetworKit::BinaryEdgeListPartitionWriter::BinaryEdgeListPartitionWriter(NetworKit::node firstNode, uint8_t width) : firstNode(firstNode), width(width) { if (width != 4 && width != 8) { throw std::runtime_error("Width must be 4 or 8"); } ...
#include "External.h" #include "Library.h" static void Init_Descriptor_Heaps(GRAPHICS_CONTEXT &gfx); void Init_Graphics_Context(HWND window, GRAPHICS_CONTEXT &gfx) { IDXGIFactory4 *factory; #ifdef _DEBUG VHR(CreateDXGIFactory2(DXGI_CREATE_FACTORY_DEBUG, IID_PPV_ARGS(&factory))); #else VHR(CreateDXGIFactor...
// 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 { #ifdef HAVE_PNG TEST(Imgcodecs_Png, write_big) { const s...
/* AUTHOR: julianferres */ #include <bits/stdc++.h> using namespace std; // neal Debugger template<typename A, typename B> ostream& operator<<(ostream &os, const pair<A, B> &p) { return os << '(' << p.first << ", " << p.second << ')'; } template<typename T_container, typename T = typename enable_if<!is_same<T_cont...
// //Copyright (C) 2002-2005 3Dlabs Inc. 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: // // Redistributions of source code must retain the above copyright // notice, this list of...
// // Created by lalo on 15-04-18. // #include "Shader.h" static void checkShaderError(GLuint shader, GLuint flag, bool isProgram, const std::string &errorMessage); static std::string loadShader(const std::string &fileName); static GLuint createShader(const std::string &text, GLenum shaderType); Shader::Shader(con...
// Copyright (c) 2020 INRA 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) #ifndef ORG_VLEPROJECT_IRRITATOR_2020 #define ORG_VLEPROJECT_IRRITATOR_2020 #include <algorithm> #include <limits> #ifdef __has_include #...
/* * (C) Copyright 1996- 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 interg...
/* * 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 ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2020 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 <i...
// Copyright (c) 2018, The TurtleCoin Developers // // Please see the included LICENSE file for more information. #include "CryptoNote.h" #include "CryptoTypes.h" #include "common/StringTools.h" #include "crypto/crypto.h" #include "crypto/multisig.h" #include <assert.h> #include <chrono> #include <config/CliHeader.h>...
#include <math.h> #include <uWS/uWS.h> #include <iostream> #include <string> #include "json.hpp" #include "PID.h" // for convenience using nlohmann::json; using std::string; // For converting back and forth between radians and degrees. constexpr double pi() { return M_PI; } double deg2rad(double x) { return x * pi() ...
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Reset and clock control namespace RccCr{ ///<clock control register using Addr = Register::Address<0x40023800,0xf0f00004,0x00000000,unsigned>; ///PLLI2S clock ready flag constexpr Register::FieldLocation<Addr,Register::mas...
// -------------------------------------------------------------------------- // SmartPeak -- Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing // -------------------------------------------------------------------------- // Copyright The SmartPeak Team -- Novo Nordisk Foundation // Center for Biosustainabil...
// Copyright (c) 2011-2018 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 <test/test_bitcoin.h> #include <chainparams.h> #include <consensus/consensus.h> #include <consensus/validation.h> #...
/**************************************************************************** * ==> PSS_NumbersEqualizer -------------------------------------------------* **************************************************************************** * Description : Provides a numbers equalizer * * Deve...
/** * Copyright 2020 Huawei Technologies Co., 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...
// // ContextRestorer.cpp // Chilli Source // Created by Scott Downie on 14/04/2014. // // The MIT License (MIT) // // Copyright (c) 2014 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), t...
/******************************************************** * * This test file will test RGB planar tiled tiff reading * *******************************************************/ //#define BOOST_TEST_MODULE tiff_tiled_rgb_planar_test_11_20_module #include <boost/test/unit_test.hpp> #include "tiff_tiled_read_macros.hp...
#include <arrayfire.h> #ifdef WANT_CUDA #include <../cuda.h> #endif #ifdef WANT_OPENCL #include <../opencl.h> #endif // ^^^ TODO: probably not right! #include "../funcs.h" static const struct luaL_Reg interface_funcs[] = { #if AF_API_VERSION >= 32 #if WANT_OPENCL { // af_err afcl_get_context (cl_context * ctx...
// Copyright (c) 2021-present Sparky Studios. 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 requir...
/* * Copyright 2021 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "experimental/graphite/src/TextureProxy.h" #include "experimental/graphite/src/ResourceProvider.h" #include "experimental/graphite/src/Texture.h" namespace skgpu { ...
#include <string> #include <cstring> #include <stdint.h> #include <unistd.h> #include "playfile.h" //file_play::file_play(const char* f,int r,int s,int re, int cp) file_play::file_play() { std::shared_ptr<playfile_param_t> data_current = std::make_shared<playfile_param_t> (); // data_current->audiofile = new Au...
 #ifndef RUIN_UTILITY_VALUE_HOLDER_HPP_INCLUDED #define RUIN_UTILITY_VALUE_HOLDER_HPP_INCLUDED #include "ruin/utility/address_of.hpp" #include "ruin/utility/swap.hpp" namespace ruin { namespace detail { namespace value_holder { template < class T > struct helper { typedef T value_type; typedef T& refer...
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "il2cpp-class-internals.h" #include "codegen/il2cpp-codegen.h" #include "i...
#include "Includes.hpp" #include "EnvironmentMapConfig.h" namespace Prehistoric { namespace EnvironmentMapConfig { std::string environmentMapLocation; uint32_t environmentMapResolution; uint32_t irradianceMapResolution; uint32_t prefilterMapResolution; uint32_t prefilterLevels; Texture* environmentMap; ...
#include <cmath> #include "haven_types.h" #include <cpp11/protect.hpp> FileVendor extVendor(FileExt ext) { switch (ext) { case HAVEN_DTA: return HAVEN_STATA; case HAVEN_SAV: case HAVEN_POR: return HAVEN_SPSS; case HAVEN_SAS7BDAT: case HAVEN_SAS7BCAT: case HAVEN_XPT: return HAVEN_SAS; def...
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ * * * SHARED PTR * * ...
//===-- llvm/MC/MCLinkerOptimizationHint.cpp ----- LOH handling -*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * Copyright 2016-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...
/* ==================================================================== * The Vovida Software License, Version 1.0 * * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
// // BinaryReaderWriter.cpp // // $Id: //poco/1.4/Foundation/samples/BinaryReaderWriter/src/BinaryReaderWriter.cpp#1 $ // // This sample demonstrates the BinaryWriter and BinaryReader classes. // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifi...
/** * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <functional> #include <thread> #include <vector> #include "gloo/barrier_all_to_all.h" #include "...
/*++ Copyright (c) 2016 Microsoft Corporation Module Name: bv_bound_chk_tactic.cpp Abstract: Author: Mikolas Janota Revision History: --*/ #include "tactic/bv/bv_bound_chk_tactic.h" #include "ast/ast.h" #include "ast/rewriter/rewriter.h" #include "ast/rewriter/rewriter_def.h" #include "ast/rewriter/bv_bo...
/* This file should be refactored, it is a total mess !!!!! Hanoh */ #include <iostream> #include <unordered_set> #include <string> #include <fstream> #include <streambuf> #include <assert.h> #include <json/json.h> #include "common/base64.h" #include <string.h> #include "44bsd/tcp_socket.h" #include "tuple_gen.h"...
// // ALCUserClient.hpp // AppleALC // // Created by Nick on 10/14/20. // Copyright © 2020 vit9696. All rights reserved. // #ifndef ALCUserClient_hpp #define ALCUserClient_hpp #include <IOKit/IOService.h> #include <IOKit/IOUserClient.h> #include "UserKernelShared.h" #include "ALCUserClientProvider.hpp" class EX...
#pragma once #include <cstdint> #include <string> constexpr uint8_t ELF_EI_MAG0 = 0; constexpr uint8_t ELF_EI_MAG1 = 1; constexpr uint8_t ELF_EI_MAG2 = 2; constexpr uint8_t ELF_EI_MAG3 = 3; constexpr uint8_t ELF_EI_CLASS = 4; constexpr uint8_t ELF_EI_DATA = 5; constexpr uint8_t ELF_EI_VERSION = 6; constexpr uint8_t E...
/* * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple 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 * ...
/* * Copyright (c) 2012-2013, 2015-2017 ARM Limited * All rights reserved. * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementa...
// SMsg_SetAvatarDescription.cpp -*- C++ -*- // $Id: SMsg_SetAvatarDescription.cpp,v 1.1 1998-04-17 16:32:00-07 jason Exp $ // Copyright 1996-1997 Lyra LLC, All rights reserved. // // message implementation #ifdef __GNUC__ #pragma implementation "SMsg_SetAvatarDescription.h" #endif #ifdef WIN32 #define STRICT #inclu...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: main.cpp * Author: Alex * * Created on 3 de abril de 2018, 09:11 AM */ #include <cstdlib> using namespace std; /...
#pragma once //=====================================================================// /*! @file @brief RX66T プログラミング・プロトコル・クラス @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2019 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ //=...
// Copyright (c) 2007-2021 Hartmut Kaiser // Copyright (c) 2014 Thomas Heller // // SPDX-License-Identifier: BSL-1.0 // 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) #pragma once #include <pika/config.hpp> #in...
#ifndef POSIX_SUBSYSTEM_VFS_HPP #define POSIX_SUBSYSTEM_VFS_HPP #include <string.h> #include <iostream> #include <set> #include <deque> #include <async/result.hpp> #include <boost/intrusive/rbtree.hpp> #include <hel.h> #include "file.hpp" #include "fs.hpp" using ResolveFlags = uint32_t; inline constexpr ResolveFlag...
#include "pch.h" #include <vcpkg/base/checks.h> #include <vcpkg/base/system.h> #include <vcpkg/globalstate.h> #include <vcpkg/metrics.h> #include <time.h> #pragma comment(lib, "Advapi32") namespace vcpkg::System { tm get_current_date_time() { using std::chrono::system_clock; std::time_t now_...
#include "glwidget.hpp" const std::string mesh_file("../mesh.1.1.1.0.8.8.sdm"); ///////////////////////////////////////////////////////////////////////////////////////////////////// //GLWidget::GLWidget ///////////////////////////////////////////////////////////////////////////////////////////////////// GLWidget::GL...
// Copyright (c) 2018 The Eozi Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <crypto/siphash.h> #include <random.h> #include <util/bytevectorhash.h> ByteVectorHash::ByteVectorHash() { GetRandBytes...
// ====================================================================== // \title AssertFatalAdapterImpl.hpp // \author tcanham // \brief hpp file for AssertFatalAdapter component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. Unite...
/** * Copyright (C) 2016-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. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
//+-------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1998. // // File: tstparam.hxx // // Synopsys: Test paramers container class definitions // // Classes: CTestParams, CParamNode // // Notes: The test parame...
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* swapPairs(ListNode* head) { ListNode* parent = new ListNode(0); parent->next = head; head = parent...
#include "common/runtime/Types.hpp" #include <map> #include <tuple> using map21_t = std::map<std::tuple<types::Integer, types::Char<9>>, types::Numeric<18, 2>>; map21_t& q21_expected(); map21_t& q22_expected(); map21_t& q23_expected(); using map31_t = std::map<std::tuple<types::Char<15>, types::Char<15>, type...
#include "plan.h" plan::plan() { } plan::~plan() { } void plan::path() { /// PART 1 /// ros::Rate loop(100); turtlesim::Pose pose; cout << "Enter initial x: " << endl; cin >> pose.x; cout << "Enter initial y: " << endl; cin >> pose.y; goToDestination(pose, 0.01); loop.sleep(); ...
//===- Ops.cpp - Standard MLIR Operations ---------------------------------===// // // Copyright 2019 The MLIR 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....
// generated from rosidl_generator_cpp/resource/msg.hpp.em // generated code does not contain a copyright notice #ifndef GEOMETRY_MSGS__MSG__POINT32_HPP_ #define GEOMETRY_MSGS__MSG__POINT32_HPP_ #include "geometry_msgs/msg/point32__struct.hpp" #include "geometry_msgs/msg/point32__traits.hpp" #endif // GEOMETRY_MSGS...
#include "document.h" #include "algorithm.h" #include "construct.h" #include "cursor.h" #include "globals.h" #include "line.h" #include "parser.h" #include "text.h" #include <QCursor> #include <QFile> #include <QFileDialog> #include <QGraphicsRectItem> #include <QGraphicsSceneMouseEvent> #include <QKeyEvent> #include ...
#include "catch.hpp" #include "tl/optional.hpp" // Old versions of GCC don't have the correct trait names. Could fix them up if needs be. #if (defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ <= 9 && \ !defined(__clang__)) // nothing for now #else TEST_CASE("Triviality", "[bases.triviality]") { ...
#include "../../CK2ToEU4/Source/Mappers/CultureMapper/CultureMapper.h" #include "../../CK2ToEU4/Source/Mappers/RegionMapper/RegionMapper.h" #include "gtest/gtest.h" #include <sstream> TEST(Mappers_CultureMapperTests, nonMatchGivesEmptyOptional) { std::stringstream input; input << "link = { eu4 = culture ck2 = cultur...
#include <wayfire/plugin.hpp> #include "wayfire/view.hpp" #include "wayfire/view-transform.hpp" #include "wayfire/output.hpp" #include "wayfire/core.hpp" #include <linux/input.h> static double cross (double x1, double y1, double x2, double y2) // cross product { return x1 * y2 - x2 * y1; } static double vlen(doub...
#include "stereoTools.h" #include <iostream> using D3D::Grid; Grid<double> D3D::computeAD(Mat img1, Mat img2, int minDisp, int maxDisp) { int numDisps = maxDisp-minDisp+1; int numChannels = img1.channels(); double accFact = 1/img1.channels(); Grid<double> ADs(img1.cols, img1.rows, numDisps); int...
/* * 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...
#include "testlib.h" #include <string> #include <vector> #include <sstream> using namespace std; bool compareWords(string a, string b) { vector<string> va, vb; stringstream sa; sa << a; string cur; while (sa >> cur) va.push_back(cur); stringstream sb; sb << b; while (sb >...
#include "TransectStyleComplexItem.h" #include "MissionItem.h" #include "SettingsFact.h" #include "QGCLoggingCategory.h" #include "SurveyComplexItem.h" #ifndef PARCELLECOMPLEXITEM_H #define PARCELLECOMPLEXITEM_H #include <QObject> Q_DECLARE_LOGGING_CATEGORY(ParcelleComplexItemLog) class ParcelleComplexItem : publi...
/* This file is part of the VRender library. Copyright (C) 2005 Cyril Soler (Cyril.Soler@imag.fr) Version 1.0.0, released on June 27, 2005. http://artis.imag.fr/Members/Cyril.Soler/VRender VRender is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
#pragma once #include <alc/ast/manager.hpp> #include <alc/ast/expressions.hpp> namespace ast { bool has_var(ast::expression* expr, ast::var* target); }
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "TimeAttack.h" #include "Modules/ModuleManager.h" IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, TimeAttack, "TimeAttack" );
/* * Copyright (C) 2013 Google 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 conditio...
// 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 <string.h> #include <cstdio> #include <deque> #include <iomanip> #include <iostream> #include <fuchsia/media/cpp/fidl.h> #include <lib/async-loop...
#include "Capability.h" #include "LibCapWrapper.h" #include "PamLogging.h" #include <exception> #include <system_error> #include <memory> #include <string.h> Capability::Capability() : m_cap( libcap::cap_init() ) {} Capability::Capability(cap_t cap) : m_cap(cap) {} Capability::Capability(const Capability &rhs) : m...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Copyright (c) 2014-2020 The Dash Core developers // Copyright (c) 2020-2022 The Cosanta Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licens...
void add_lane_beta_1( beacls::FloatVec& lane, beacls::FloatVec xs, FLOAT_TYPE lane_offset, FLOAT_TYPE lane_width, FLOAT_TYPE theta_offset, FLOAT_TYPE vehicle_width, size_t dim, beacls::FloatVec thetarange, beacls::FloatVec vrange, beacls::FloatVec y2range){ FLOAT_TYPE enhance; enhance = 2.;...
/**************************************************************************** * In memory position search - find position in games without database index * Author: Bill Forster * License: MIT license. Full text of license is in associated file LICENSE * Copyright 2010-2014, Bill Forster <billforsternz at gmail...
// Copyright (c) 2012-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 "wallet/wallet.h" #include "wallet/walletdb.h" #include "test/test_linc.h" #include <stdint.h> #include <boost/fo...
#include <cassert> #include <climits> #include "memor.h" using namespace std; namespace MD { //class MEMOR memor::~memor() { for(int i = 0; i < memos.size(); ++i) myVectMemdel(memos.at(i)); } const memor& memor::operator =(const memor& sMemo) { if(memos.size() != sMemo.obNmemor()) { if(me...
#include "settings.h" namespace { const QString SETTINGS_FILE_NAME = "Settings.json"; } Settings& Settings::instance() { static Settings settings; return settings; } void Settings::setLastLogin(QString login) { lastFirstName = ""; lastSurname = ""; lastLogin = login; write(); } void Settings...
/* * Copyright (c) 2012-2013, 2015 ARM Limited * All rights reserved. * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation ...
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "platformX86UNIX/platformX86UNIX.h" #include "console/consoleTypes.h" #include "platform/event.h" #include "platform/gameInterface.h" #include "platformX86UNIX/x86UNIXState.h" #include "platf...
/******************************************************************************* * Copyright 2017-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 obtain a copy of the License at * * http://www.apa...
/*************************************************************************/ /* visual_shader_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
// Copyright 2015-2021 Carnegie Mellon University. See LICENSE file for terms. #include <boost/graph/graph_traits.hpp> #include <boost/graph/adjacency_list.hpp> #include <boost/property_map/property_map.hpp> #include <boost/graph/depth_first_search.hpp> #include <boost/graph/visitors.hpp> #include <boost/graph/named_...
/* Copyright (c) 2015-2016 The Khronos Group Inc. * Copyright (c) 2015-2016 Valve Corporation * Copyright (c) 2015-2016 LunarG, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and/or associated documentation files (the "Materials"), to * deal in the Materia...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "Terminal.hpp" #include "../../terminal/parser/OutputStateMachineEngine.hpp" #include "TerminalDispatch.hpp" #include "../../inc/unicode.hpp" #include "../../inc/DefaultSettings.h" #include "../../inc/argb.h" #include ...
// Copyright (c) 2013, Facebook, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // // Copyright (c) 2011 The...