text
stringlengths
7
961k
/* Copyright 2017 - 2021 R. Thomas * Copyright 2017 - 2021 Quarkslab * * 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 req...
// // Copyright (c) 2008-2014 the Urho3D project. // // 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, copy, modify, m...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include <cstdlib> #include <cstddef> #include <cstdbool> #include "testrunnerswitcher.h" #include "micromock.h" #include "micromockcharstararenullterminatedstrings.h" ...
/************************************************************************** * * Copyright 2013-2014 RAD Game Tools and Valve Software * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to d...
/* * Copyright (c) 2007 The Hewlett-Packard Development Company * Copyright (c) 2011 Advanced Micro Devices, Inc. * 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 limite...
// 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 "content/public/common/sandbox_init.h" #include <memory> #include <utility> #include "base/files/scoped_file.h" #include "build/build_config.h"...
/* Copyright (c) 2021 - 2021 Advanced Micro Devices, Inc. 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, copy, modify, mer...
// ----------------- BEGIN LICENSE BLOCK --------------------------------- // // Copyright (C) 2018-2019 Intel Corporation // // SPDX-License-Identifier: MIT // // ----------------- END LICENSE BLOCK ----------------------------------- #pragma once #include <string> namespace ad { namespace map { namespace maker { n...
/* * Copyright (c) 2014, Stanislav Vorobiov * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of ...
/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
// Copyright (c) 2011-2016 The Bitcoin Core developers // Copyright (c) 2017-2019 The Raven Core developers // copyright (c) 2021 The Bagi 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...
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2004-2009. 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) // // See http://www.boost.org/libs/interpr...
// The MIT License (MIT) // // Copyright (c) 2015-2017 Simon Ninon <simon.ninon@gmail.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitat...
/*************************************************************************** Copyright 2015 Ufora 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/licen...
class Solution { public: int char2int(char c){ switch(c) { case 'I': return 1; case 'V': return 5; case 'X': return 10; case 'L': return 50; case 'C': return 100; case 'D': return 500; case 'M': return 1000; ...
#include <cstdio> #include <cmath> bool isPrime(int n){ if(n <= 1) return false; for(int i = 2; i <= sqrt(1.0 * n); i++){ if(n % i == 0){ return false; } } return true; } int reverse(int n, int d){ int ans = 0; while(n != 0){ ans = ans * d + n % d; n...
// Copyright 2012 the V8 project authors. 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 ...
// Name: Kartikey Tewari // Roll No.: 17MI551 // Computer Science and Engineering (Dual Degree) // National Institute of Technology, Hamirpur #include <bits/stdc++.h> using namespace std; vector<int> page; void spawn_pages(int n) { srand(time(NULL)); for (int i=0;i<=n-1;i++) { int a=(rand()%100)+1;...
// OpenCVWebcamTest.cpp #include<opencv2/core/core.hpp> #include<opencv2/highgui/highgui.hpp> #include<opencv2/imgproc/imgproc.hpp> #include<iostream> /////////////////////////////////////////////////////////////////////////////////////////////////// int main() { cv::VideoCapture capWebcam(0); // declare...
// Copyright (c) 2008, Jacob Burnim (jburnim@cs.berkeley.edu) // Copyright (c) 2018, Hongbo Li (hli035@cs.ucr.edu) // // This file is part of CREST, which is distributed under the revised // BSD license. A copy of this license can be found in the file LICENSE. // // This program is distributed in the hope that it will...
/* * Copyright © 2013 Intel Corporation * * 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, copy, modify, merge, pub...
// 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 "versionbits.h" #include "test/test_gasbit.h" #include "chainparams.h" #inclu...
bool aaaa(const char */* comment */ some_var) { return true; }
#include "topology_input.h" #include <gflags/gflags.h> #include <stddef.h> #include <chrono> #include "ncode/common.h" #include "ncode/file.h" #include "ncode/logging.h" #include "ncode/net/net_gen.h" #include "ncode/perfect_hash.h" #include "ncode/strutil.h" DEFINE_string(topology_root, "", "Root for topologies. Re...
#include <ros/ros.h> #include <ros/callback_queue.h> #include <geometry_msgs/PoseStamped.h> #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl_conversions/pcl_conversions.h> #include <pcl_ros/point_cloud.h> #include <shape_msgs/SolidPrimitive.h> #include <geometry_msgs/Pose.h> #include <boost/threa...
// Copyright (c) 2014-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. #if defined(HAVE_CONFIG_H) #include <config/bitcoinbam-config.h> #endif #include <timedata.h> #include <netaddress.h> #incl...
/****************************************************************************** ** (C) Chris Oldwood ** ** MODULE: APPTOOLBAR.CPP ** COMPONENT: The Application. ** DESCRIPTION: CAppToolBar class definition. ** ******************************************************************************* */ #include "Common.hpp" #in...
/* See LICENSE file in root folder */ #ifndef ___C3D_GlslMaterials_H___ #define ___C3D_GlslMaterials_H___ #include "SdwModule.hpp" #include <ShaderWriter/MatTypes/Mat4.hpp> #include <ShaderWriter/CompositeTypes/StructInstance.hpp> namespace castor3d::shader { castor::String const PassBufferName = cuT( "Materials" )...
// --------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop #include "FormMainU.h" #include "Messaging_EventBus.h" #include "FormOneU.h" #include "FormTwoU.h" #include "EventBus_Consts.h" // ---------------------------------------------------------------------------...
// Copyright (c) 2011-2013 The Bitcoin developers // Copyright (c) 2017-2020 The PIVX developers // Copyright (c) 2021-2022 The DECENOMY Core Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG...
// Copyright (c) 2009-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. #if defined(HAVE_CONFIG_H) #include <config/bitcoin-config.h> #endif #include <c...
/*! * @brief Compute GetMemoryDomainInfo request * * @copyright Copyright (c) 2019 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.apache.org/licenses/LIC...
/** * @file virtualfunc.c * @brief write virtual function in C++, then use same to achieve dynamic or runtime polymorphism * @ref http://web.archive.org/web/20100209040010/http://www.codersource.net/published/view/325/virtual_functions_in.aspx * @details In this example, the pointer is of type base but it p...
// 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/sessions/session_types_test_helper.h" #include "base/basictypes.h" #include "base/utf_string_conversions.h" #include "chrome/...
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
/* MIT License Copyright (c) 2017 Chevy Ray Johnston 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 righ...
//including necessary library #include <iostream> using namespace std; //recursive function to calculate fibonnaci series int fib(int x) { if ((x == 1) || (x == 2)) { return x - 1; } else { //calling the fib function recursivly return fib(x - 1) + fib(x - 2); } } //main fuction to...
// Copyright (c) 2011-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 "key.h" #include "keystore.h" #include "policy/policy.h" #include "script/script.h" #include "script/script_error.h"...
#ifndef __ISolution__H #define __ISolution__H template <template <typename... > class Container, typename ContainerDataType> struct ISolution { virtual void Algorithm(const Container<ContainerDataType>& rInputData) = 0; virtual ~ISolution(){} }; #endif
#include "portaudio.h" #include <iostream> #include <iomanip> #include <cstring> #include <fstream> #include <vector> //#include <SDL/SDL.h> #include <plaid/audio.h> #include <plaid/audio/implementation.h> #if PLAIDGADGET #include <plaid/graphics.h> #include <plaid/console.h> #endif #include <plaid/thread/lockfree...
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * Modifications Copyright (c) 2018 LG Electronics, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
#ifdef WIN32 #include <Windows.h> #include <mmsystem.h> #endif #ifdef __APPLE__ #include <mach/mach_time.h> #endif #ifdef __linux__ #include <time.h> #endif #ifdef EMSCRIPTEN #include <emscripten.h> #endif #include "Core/StopWatch.h" namespace Core { int64_t StopWatch::GetTicks() { #if defined(WIN32) LARGE_...
// copy_test_v1.cc -- test copy relocs for gold // Copyright (C) 2008-2021 Free Software Foundation, Inc. // Written by Ian Lance Taylor <iant@google.com>. // This file is part of gold. // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as ...
// Created by Tanuj Jain #include<bits/stdc++.h> #include<ext/pb_ds/assoc_container.hpp> #include<ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; #define pb push_back #define mp make_pair typedef long long ll; typedef pair<int,int> pii; template<class T> using oset=tree<T, null_type, less<T>...
/* * This source file is part of RmlUi, the HTML/CSS Interface Middleware * * For the latest information, see http://github.com/mikke89/RmlUi * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * Copyright (c) 2019 The RmlUi Team, and contributors * * Permission is hereby granted, free of charge, to...
//////////////////////////////////////////////////////////////////////////////////// /// BREAKING POINT MOD WEAPONS released by Tobias Solem June 2017 /// List Created by Chainsaw Squirrel November 2017 /// Some items still need work in this mod, some scopes may have issues as 11/17 ////////////////////////////////...
// 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 <TalonSR.h> /** \brief Controlls the TalonSR using a MiniMaestroService. * \param miniMaestro MiniMaestroService that used to controll the TalonSR. * \param pwm_channel MiniMaestro channel that's connected to TalonSR pwm pin. * \warning Check if Servo Voltage on the MiniMaestro is 5v. If it isn't, only con...
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #pragma once #include <iostream> #include <map> #include <type_traits> #include <vector> #include "absl/container/flat_hash_map.h" #include "iassert.hpp" #include "lgedge.hpp" #include "lgraph_base_core.hpp" #include "mmap_vector.h...
/* 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...
lass Solution { public: int maxRotateFunction(vector<int>& nums) { int n = nums.size(); int wsum = 0; int sum = 0; for(int i = 0; i < n; ++i) { wsum += i*nums[i]; sum += nums[i]; } int ans = wsum; for(int i = 0; i < n-1; ++i) { ...
#include "stdafx.h" #include<iostream>//包括iostream这个头文件 #include<string> using namespace std;//使用std这个命名空间 class Date//创建Date类 { public: //构造函数 explicit Date::Date(int y, int m, int d) :year(y), month(m), day(d)//初始化 { setmonth(m); } void setyear(int y) { year = y; } int getyear()const { retu...
//===----------------------------------------------------------------------===// // DuckDB // // duckdb/main/relation/table_function_relation.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/main/relation.hpp" namespace d...
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
#include "renderer/graphics_api/vertex_descriptor.hpp" #include "renderer/graphics_api/pg_to_vulkan_types.hpp" namespace PG { namespace Gfx { VertexBindingDescriptor::VertexBindingDescriptor( uint32_t _binding, uint32_t _stride, VertexInputRate _inputRate ) : binding( _binding ), stride( _stride ...
//===--- SILPrinter.cpp - Pretty-printing of SIL Code ---------------------===// // // 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...
// NetworkClient.cpp: implementation of the CNetworkClient class ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "NetworkClient.h" IMPLEMENT_DYNAMIC(CNetworkClient, CNetwork) ////////////////////////////////////////////////////////////////////// // Construction/Des...
#include <iostream> #include <string> #include <sstream> #include <fstream> #include <cmath> #include <glad/glad.h> #include <GLFW/glfw3.h> #include <csci441/shader.h> #include <csci441/matrix4.h> #include <csci441/matrix3.h> #include <csci441/vector4.h> #include <csci441/uniform.h> #include "shape.h" #include "mode...
// This file contains code from the node-lmdb project // Copyright (c) 2013-2017 Timur Kristóf // Copyright (c) 2021 Kristopher Tate // Licensed to you under the terms of the MIT license // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation f...
#include "MqttManager.h" #include <unistd.h> //-------------------------------------------------------------- void MqttManager::setup(MQTT_Configuration _mqttConfig) { cout << "Setting Up MQTT Manager" << endl; char hostname[HOST_NAME_MAX]; gethostname(hostname, HOST_NAME_MAX); _id = _mqttConfig.id; _username = ...
#include "editaddressdialog.h" #include "ui_editaddressdialog.h" #include "addresstablemodel.h" #include "guiutil.h" #include <QDataWidgetMapper> #include <QMessageBox> EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) : QDialog(parent), ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mod...
// 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 "chrome/browser/ui/webui/chromeos/login/l10n_util.h" #include <stddef.h> #include "base/at_exit.h" #include "base/compiler_specific.h" #include...
#include "color.h" #include "osdtext.h" #include <stdlib.h> #include "GL/glew.h" #include "GLFW/glfw3.h" using namespace CGL; int main(int argc, char *argv[]) { GLFWwindow* window; OSDText* osd_text; // init glfw if( !glfwInit() ) { fprintf(stderr, "Error: could not initialize GLFW!"); exit( EXIT_...
/* * Copyright (c) 2013 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
// Copyright 2009-2020 NTESS. Under the terms // of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Copyright (c) 2009-2020, NTESS // All rights reserved. // // Portions are copyright of other developers: // See the file CONTRIBUTORS.TXT in the top level directory...
#include "AlsCharacterMovementComponent.h" #include "AlsCharacter.h" #include "Curves/CurveVector.h" void FAlsSavedMove::Clear() { Super::Clear(); Stance = EAlsStance::Standing; RotationMode = EAlsRotationMode::LookingDirection; MaxAllowedGait = EAlsGait::Walking; } void FAlsSavedMove::SetMoveFor(ACharacter* Ch...
// 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...
/* _______________________________________________________________________ DAKOTA: Design Analysis Kit for Optimization and Terascale Applications Copyright 2014 Sandia Corporation. This software is distributed under the GNU Lesser General Public License. For more information, see the README file in t...
//===--- StringOptimization.cpp - Optimize string operations --------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include <vector> #include <utility> #include <unordered_set> #include <cstdint> #include "treescan.hpp" #include "compare.hpp" #include "statistics.hpp" #ifndef IMAGE_PROCESS_H #define IMAGE_PROCESS_H #define IMAGE_DEF const uint8_t* image, const uint32_t rows, const uint32_t cols namespace image_process { bool...
/* This program 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 License, or (at your option) any later version. This program is distributed in the hope that it will...
// RUN: %clang_cc1 -fsyntax-only -verify -fblocks %s -Wno-error=non-pod-varargs extern char version[]; class C { public: C(int); void g(int a, ...); static void h(int a, ...); }; void g(int a, ...); void t1() { C c(10); g(10, c); // expected-warning{{cannot pass object of non-POD type 'C' through varia...
/* * * 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"); y...
// Copyright David Abrahams 2002. // 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 FIND_INSTANCE_DWA2002312_HPP # define FIND_INSTANCE_DWA2002312_HPP # include <boost/python/type_id.hpp> namespace boost ...
#define LL 0 #define LV 1 #define VL 2 #define VV 3 #define MAX_N 22 #include<stdio.h> #include<memory.h> int n,k; int num[4],target;//L:0,V:1 long long int dp[4][MAX_N*2][MAX_N*2][MAX_N][MAX_N],ans; void initialize() { dp[0][2][1][1][1]=1; dp[1][1][2][1][1]=1; dp[2][1][1][2][1]=1; dp[3][1][1][1][2]=...
#include <catboost/libs/data_new/quantization.h> #include <catboost/libs/data_new/data_provider.h> #include <catboost/libs/data_new/ut/lib/for_data_provider.h> #include <catboost/libs/data_new/ut/lib/for_objects.h> #include <util/generic/xrange.h> #include <library/unittest/registar.h> using namespace NCB; using ...
#include "pic.hpp" core::x64::interrupts::pic::pic(logging::logger& in_log) : _log(in_log) { _log.debug(u8"Initialized PIC."); } void core::x64::interrupts::pic::send_eoi(const std::uint8_t in_irq_number) { // TODO: assert 0 <= in_irq_number < 15 if(in_irq_number >= 8) { PIC2_COMMAND_PORT.outb(EO...
#include <Poco/SingletonHolder.h> #include "work/WorkRepository.h" using namespace Poco; using namespace BeeeOn; WorkRepository::~WorkRepository() { } void EmptyWorkRepository::store(Work::Ptr, bool) { } void EmptyWorkRepository::loadScheduled(std::vector<Work::Ptr> &) { } WorkRepository &EmptyWorkRepository::ins...
// Copyright (c) 2011-2014 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 "data/script_invalid.json.h" #include "data/script_valid.json.h" #include "core_io.h" #include "key.h" #include "ke...
// Copyright 2017-2018 Csaba Molnar, Daniel Butum #include "DialogueK2Node_SwitchDialogueCallbackVariants.h" UDialogueK2Node_SwitchDialogueCallbackEvent::UDialogueK2Node_SwitchDialogueCallbackEvent(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { CallbackType = EDlgDialogueCallback::DlgEvent...
#include "unittest.hh" #include <activation.hh> using namespace HashDL; int main(int, char**){ auto test = Test{}; test.Add([](){ auto L = Linear<float>{}; AssertEqual(L.call(0),0); AssertEqual(L.call(10), 10); AssertEqual(L.call(0.5), 0.5); AssertEqual(L.call(-10), -10); AssertEqual(L....
#include "TestGraphSchema.h" #include "TestNode_HelloWorld.h" #include "ScopedTransaction.h" #include "EdGraph/EdGraph.h" #include "Framework/MultiBox/MultiBoxBuilder.h" #include "Widgets/Images/SImage.h" #include "MyConnectionDrawingPolicy.h" #define LOCTEXT_NAMESPACE "TestGraphSchema" UEdGraphNode* FTestGraphSchema...
/** * @file dynstruct_handler.cpp * @author Marijke Hengstmengel * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "dynstruct_handler.h" #include "dynany_handler.h" #include "dancex11/logger/log.h" #include "Basic_Deployment_Data.hpp" #include "tao/x11/ifr_client/IFR_BaseC.h" #include "common.h"...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Basic.hpp" #include "ARKSurvivalEvolved_Achatina_Character_BP_classes.hpp" namespace sdk { } #ifdef _MSC_VER #pragma pack(pop) #endif
//===-- UnreachableBlockElim.cpp - Remove unreachable blocks for codegen --===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/*************************************************************************/ /* progress_dialog.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include <iostream> using namespace std; int top = -1; //Globally defining the value of top as the stack is empty void push (int stack[ ] , int x , int n) { if ( top == n-1 ) //If the top position is the last of position of the stack, this means that the stack is full. { cout ...
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
#include "pch.h" using namespace winrt; using namespace Windows::Foundation; namespace { // // Checks that cancellation propagation works. // IAsyncAction Action() { // Do an extra co_await before the resume_on_signal // so that there is a race window where we can try to cancel ...
// 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. #import "generator.h" #import <algorithm> #import <iterator> using std::ofstream; using std::string; using std::vector; static const string in = " ";...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2017 - ROLI Ltd. JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic...
// Copyright 2012 the V8 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. #if V8_TARGET_ARCH_X87 #include "src/interface-descriptors.h" namespace v8 { namespace internal { const Register CallInterfaceDescriptor::ContextRegi...
#include "../common.h" namespace Lua { UpvalueDesc::UpvalueDesc() {} UpvalueDesc::UpvalueDesc(byte instack, byte idx): instack(instack), idx(idx) {} void UpvalueDesc::print() const { printf("In stack: %i, idx: %i\n", instack, idx); } UpvalueRef::UpvalueRef(Val...
#include <iostream> #include <string> #include <sstream> #include <exception> using namespace std; /* Define the exception here */ class BadLengthException: public exception { private: std::string exceptionString; public: BadLengthException(int n) { exceptionString = std::to_string(...
#include <boost/algorithm/string/join.hpp> #include <mbgl/style/expression/collator.hpp> #include <mbgl/style/expression/compound_expression.hpp> #include <mbgl/style/expression/check_subtype.hpp> #include <mbgl/style/expression/util.hpp> #include <mbgl/style/conversion_impl.hpp> #include <mbgl/tile/geometry_tile_data....
// 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 "chrome/browser/extensions/api/messaging/native_messaging_launch_from_native.h" #include <memory> #include <utility> #include "base/bind.h" #in...
#include "Processor/Instruction.h" #include "Processor/Machine.h" #include "Processor/Processor.h" #include "Processor/IntInput.h" #include "Processor/FixInput.h" #include "Processor/FloatInput.h" #include "Exceptions/Exceptions.h" #include "Tools/time-func.h" #include "Tools/parse.h" #include "GC/Instruction.h" #inclu...
#include "regulator.h" #include <debug.h> #include <list> #include <sync.h> namespace regulator { /* * voltage::voltage */ voltage::voltage(std::string_view name) : name_{name} { } /* * voltage::~voltage */ voltage::~voltage() { } /* * voltage::get - get current voltage setting of regulator. */ float voltage...
/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundl...