text
stringlengths
7
961k
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
// Copyright (c) 2015-2018 LG Electronics, 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...
#include "types.h" #include "parser_definitions.h" #include "parser.h" #include <assert.h> #include <iostream> int main(int argc, char** argv) { assert(argc == 2); Program program; Parser parser(argv[1]); parser.Parse(&program); std::cout << writeProgram(program); }
// 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 "src/storage/lib/paver/abr-client.h" #include <dirent.h> #include <endian.h> #include <fidl/fuchsia.boot/cpp/wire.h> #include <fidl/fuchsia.devic...
/*****************************************************************************/ /*! * \file bitvector_theorem_producer.cpp * * Author: Vijay Ganesh * * Created: Wed May 5 16:19:49 PST 2004 * * <hr> * * License to use, copy, modify, sell and/or distribute this software * and its documentation for any purpose ...
#include <ripple/basics/tagged_integer.h> #include <ripple/beast/clock/manual_clock.h> #include <ripple/beast/unit_test.h> #include <ripple/consensus/Validations.h> #include <test/csf/Validation.h> #include <memory> #include <tuple> #include <type_traits> #include <vector> namespace ripple { namespace test { namespac...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "prop_portal_shared.h" #include "portal_shareddefs.h" #ifdef CLIENT_DLL #include "c_basedoor.h...
/* * Copyright 2020-2022 Hewlett Packard Enterprise Development LP * Copyright 2015-2019 Cray Inc. * 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...
/** * * 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 ...
// Tlight.cpp: part of sequence tagger for Wordnet supersenses, and other tagsets // // Copyright 2006 Massimiliano Ciaramita (massi@alumni.brown.edu), Yasemin Altun (altun@tti-c.org) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the L...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2019 The YODA developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php...
// Copyright (c) 2018 The LABX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "governancepage.h" #include "ui_governancepage.h" #include "activemasternode.h" #include "clientmodel.h" #include "masternode-bu...
//#include <pthread.h> //#include <iostream> //#include <vector> //#include <queue> //#include <memory> //#include <thread> //#include <mutex> //#include <condition_variable> //#include <future> //#include <functional> //#include <stdexcept> //#include <Windows.h> //#include <string> // //using namespace std; // // //b...
/* * Copyright (C) 2017 The Android Open Source Project * * 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 app...
// Copyright 2020 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 "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h" #include "third_party/blink...
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
#include <boost/test/unit_test.hpp> #include <ayla/geometry/line_segment.hpp> #include <ayla/geometry/vector.hpp> #include <iostream> #include <stdio.h> BOOST_AUTO_TEST_SUITE(ayla) BOOST_AUTO_TEST_SUITE(line_segment) BOOST_AUTO_TEST_CASE( lengthTest ) { const LineSegment line(glm::vec3(-10), glm::vec3(10)); const...
#include "widget.h" #include <QApplication> #include <QIcon> int main(int argc, char *argv[]) { QApplication a(argc, argv); if (QIcon::themeName().isEmpty()) { QIcon::setThemeName("oxygen"); } Widget w; w.show(); return a.exec(); }
#include "system/CollisionDamage.hpp" #include "components/Damage.hpp" #include "components/HealthComponent.hpp" #include "components/SolidBlock.hpp" #include "components/systemActivator/HaveCollisionDamage.hpp" namespace systems { void CollisionDamage::update(long elapsedTime) { auto array = this->_componentMana...
/* MIT License Copyright (c) 2020: Michele Maione 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, publish,...
#include <kazen/accel.h> NAMESPACE_BEGIN(kazen) void Accel::addMesh(Mesh *mesh) { } void Accel::build() { /* Nothing to do here for now */ } bool Accel::rayIntersect(const Ray3f &ray_, Intersection &its, bool shadowRay) const { bool foundIntersection = false; // Was an intersection found so far? /* ...
#pragma once #include "projectile.hpp" class Player; class ConglomerateShot : public Projectile { public: ConglomerateShot(const Vec2<Float>& position, const Vec2<Float>& target, Float speed, Microseconds duration = seconds(1)); void update(P...
// This file implements a ppm to (dc-ppm, ac-ppm) mapping that allows // us to experiment in different ways to compose the image into // (4x4) pseudo-dc and respective ac components. #include "upscaler.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <cmath> #include <vector> #include "butteraugl...
#include <string.h> #include <arpa/inet.h> #include <stdio.h> #include <daqFormats.h> #include <rtsSystems.h> #include <rtsLog.h> #include <rts.h> #include "daq_ftp.h" static int unpackRaw(int sec, int what, struct TPCPADK *padk, struct TPCCPPR_l *cppr, char *mem, ftp_t *ftp) ; int ftp_reader(char *m, struct ftp_t ...
#include <QtGlobal> #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) #include <QtWidgets> #else #include <QtGui> #endif #include <QHeaderView> #include <QContextMenuEvent> #include "QtAwesome.h" #include "utils/utils.h" #include "seafile-applet.h" #include "rpc/rpc-client.h" #include "rpc/clone-task.h" #include "clone-t...
#include "../../JArray.hpp" #include "../../JArray.hpp" #include "../../JBooleanArray.hpp" #include "./VoiceInteractor_Request.hpp" #include "../../JString.hpp" #include "./VoiceInteractor.hpp" namespace android::app { // Fields // QJniObject forward VoiceInteractor::VoiceInteractor(QJniObject obj) : JObject(obj)...
#include "cat_feature_options.h" #include "json_helper.h" #include "restrictions.h" #include <util/charset/utf8.h> #include <util/generic/maybe.h> #include <util/string/cast.h> #include <util/string/iterator.h> namespace { struct TCtrParam { TString Name; TString Value; }; } template <> inlin...
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: Lorenzo Gracia // #if !defin...
// 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 ...
#include<bits/stdc++.h> using namespace std; int main(){ int m , n; cin>>m>>n; int a[m][n]; int val = 1; for(int i= 0 ; i <=m-1; i++){ for(int j = 0 ; j <= n -1;j++){ a[i][j] = val; val = val+1; cout<<a[i][j]<<" "; } cout<<"\n"; } for( int j = 0;j<n;j++){ if ( j%2==0){ for( int i =0; i< m;i++...
/* This is the core graphics library for all our displays, providing a common set of graphics primitives (points, lines, circles, etc.). It needs to be paired with a hardware-specific library for each display device we carry (to handle the lower-level functions). Adafruit invests time and resources providing this ope...
// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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 re...
// Copyright (c) 2009-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 "irc.h" #include "db.h" #include "net.h" #include "init.h" #include "strl...
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1991 - 1992. // // File: PRTIFLST.HXX // // Contents: Partition Information List // // Classes: CPartInfoList // CPartInfo // // History: 16-Feb...
/* Copyright (c) 2005-2015, University of Oxford. All rights reserved. University of Oxford means the Chancellor, Masters and Scholars of the University of Oxford, having an administrative office at Wellington Square, Oxford OX1 2JD, UK. This file is part of Chaste. Redistribution and use in source and binary forms...
#include "highlighter_group.hh" #include "ranges.hh" #include "string_utils.hh" namespace Kakoune { void HighlighterGroup::do_highlight(HighlightContext context, DisplayBuffer& display_buffer, BufferRange range) { for (auto& hl : m_highlighters) hl.value->highlight(context, display_buffer, range); } voi...
/*========================================================================= * * Copyright NumFOCUS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
#include <iostream> #include <cstdio> using namespace std; int main () { int maxx,minn,abs,sum,t; scanf("%d",&t); while (t--) { scanf("%d %d",&sum,&abs); if (sum>=abs&&(sum+abs)%2==0) { maxx = (sum+abs)/2; minn = sum-maxx; printf("%d %d\n",maxx,minn); ...
#pragma once #include <stdexcept> #include <type_traits> #include "type_utils.hpp" namespace CAS { namespace _util { // A utility function to check if a char is in a list of // other characters template <size_t loc> constexpr ALWAYS_INLINE size_t _impl_char_is_in(char cmp) { (void) cmp; return 0; } ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/api/endpoint.proto #include "google/api/endpoint.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/stubs/once.h> #include <google/protobuf/io/coded_stream...
// This file was automatically generated on Fri Jun 20 11:01:41 2008 // by libs/config/tools/generate.cpp // Copyright John Maddock 2002-4. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/L...
// Copyright (c) 2013 The Chromium OS 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 "power_manager/powerd/policy/ambient_light_handler.h" #include <cmath> #include <limits> #include <base/strings/string_number_conversion...
// File implement/eglplus/enums/gl_colorspace_def.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/eglplus/gl_colorspace.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2019 Matus Chochlik. // Distributed under the Boost Software Lice...
/* * FreeRTOS-Cpp * Copyright (C) 2021 Jon Enz. All Rights Reserved. * * SPDX-License-Identifier: MIT * * 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 ...
#include <iostream> using namespace std; int main() { cout << "hello haotian" << endl; return 0; }
// Copyright 2015 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 "ios/chrome/browser/component_updater/ios_component_updater_configurator.h" #include <stdint.h> #include <memory> #include <string> #include <v...
#include <boost/process.hpp> #include <iostream> #include "column.h" #include "util.h" using namespace std; using namespace boost::filesystem; namespace tree { enum Icon { folderClosed, folderOpened, folderSymlink, file, fileSymlink, fileHidden, excel, word, ppt, stylus, sas...
// Problem Link : https://codeforces.com/contest/1003/problem/A #include <bits/stdc++.h> using namespace std; typedef unsigned long long int ull; typedef long long int ll; typedef long double ld; #define Mod 1000000007 #define Infinity (ll)1e18 #define Append(a) push_back(a) #define Pair(a,b) make_pair(a,b) #define Cle...
#include <iostream> #include "Graph.h" int main(){ Graph G; G.input(); G.assign_IPs(); //G.printIPs(); G.findInterfaces(); return 0; }
// Solution for problem Pishty and Tree (PSHTTR) using Persistent Segment Tree // Author: @nikolatechie #include <bits/stdc++.h> using namespace std; struct Node { int val; Node *c[2]; Node(int v = 0, Node *l = nullptr, Node *r = nullptr) { val = v; c[0] = l; c[1] = r; } }...
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
// RUN: %clang_cc1 -triple x86_64-linux-pc -DREDECL -emit-llvm %s -o - | FileCheck %s -check-prefix LINUX // RUN: %clang_cc1 -triple spir-unknown-unknown -DREDECL -DSPIR -emit-llvm %s -o - | FileCheck %s -check-prefix SPIR // RUN: %clang_cc1 -triple x86_64-linux-pc -emit-llvm %s -o - | FileCheck %s -check-prefix LINUX ...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2018 The NPAYNETWORK developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-lice...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2019 The Bitwin24 developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "transactiondesc.h"...
/*************************************************************************/ /* connections_dialog.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
//===- unittest/Tooling/RecursiveASTVisitorTests/ConstructExpr.cpp --------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* Copyright 2015 Esri Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed un...
#include <cstdio> #include <iostream> #include "myDecode.h" #include "myModules.h" #include "myFIFO-IOp.h" using namespace std; #define ADDR_FADC (0x20000000) #define ADDR_ADC5 (0x10000) #define ADDR_ADC4 (0x20000) #define ADDR_ADC3 (0x30000) #define ADDR_ADC2 (0x40000) #define ADDR_ADC1 (0x50000) #define ADDR_ADC0...
//////////-//////////-//////////-//////////-////////// // Color-As // // // // Ascll Project - Color Library // // // // Ma...
/* Test mp*_class operators and functions. Copyright 2011, 2012 Free Software Foundation, Inc. This file is part of the GNU MP Library test suite. The GNU MP Library test suite is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Softwa...
/****************************************************************************** * Code generated with sympy 1.9 * * * * See http://www.sympy.org/ for more information. * ...
/* * * WalletPoolBuilder * ledger-core * * Created by Pierre Pollastri on 15/11/2016. * * The MIT License (MIT) * * Copyright (c) 2016 Ledger * * 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...
#include<stdio.h> int main() { int T; scanf("%d", &T); for (int i = 0; i < T; i++) { int a, b; scanf("%d %d", &a, &b); printf("#%d %d %d\n", i + 1, a / b, a%b); } }
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
#include <arpa/inet.h> #include <iostream> #include <netdb.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/time.h> #include <unistd.h> #include "crc32.h" #include "PacketHeader.h" #define MAX_CHUNK_LEN 1456 #define MAX_PACKET_LEN 1472 // assemble datagram with type,...
#include <jni.h> #include <string> #include <memory> #include <android/log.h> #include "na-engine.h" // some details: http://stylishtoupee.blogspot.com/2011/07/jni-example-with-class-instantiation-c.html extern "C" JNIEXPORT jint JNI_OnLoad(JavaVM* vm, void* reserved) { JNIEnv* env; if (vm->GetEnv(reinter...
//===- PDBSymbolCompilandDetails.cpp - compiland details --------*- 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 // //===---------------------------...
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from libunity.djinni #pragma once #include "input_record.hpp" #include "output_record.hpp" #include "transaction_status.hpp" #include <cstdint> #include <string> #include <utility> #include <vector> struct TransactionRecord final { std::stri...
#include "evaluator.h" #include "helpers.h" #include "scan.h" #include <thrust/reduce.h> #include <thrust/iterator/counting_iterator.h> #include <thrust/iterator/transform_iterator.h> #include <thrust/iterator/zip_iterator.h> #include <thrust/iterator/discard_iterator.h> #include <thrust/iterator/reverse_iterator.h> #i...
/* * Copyright 2015-2019 Autoware Foundation. 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 requi...
#include "stummel/wm/Communication.h" #include "stummel/StummelWorldModel.h" #include <essentials/Identifier.h> #include <essentials/WildcardID.h> using std::string; namespace stummel { namespace wm { Communication::Communication(stummel::StummelWorldModel *wm) : wm(wm) { this->timeLastSimMsgReceived = alica::A...
///*--------------------------------------------------*/ /// eic_pim.cc: /// Originally did not exist /// Date: 2015-2018 /// ///*--------------------------------------------------*/ /// Modifier: Wenliang (Bill) Li /// Date: Feb 24 2020 /// Email: wenliang.billlee@gmail.com /// /// Comment: Feb 24, 2020: all declearat...
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <unordered_map> #include "ngraph/op/util/variable.hpp" #include "ngraph/op/util/variable_value.hpp" #include "ngraph/output_vector.hpp" #include "ngraph/variant.hpp" #include "openvino/op/ut...
//================================================================================================== /** EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT **/ //================================================================================================== #...
//----------------------------------*-C++-*----------------------------------// // Copyright 2020 UT-"Battelle", "LLC", and other Celeritas developers. // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: (Apache-2.0 OR MIT) //---------------------------------------------------------------------...
// 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 "chrome_elf/blacklist/blacklist.h" #include <assert.h> #include <string.h> #include <vector> #include "base/basictypes.h" #include "chrome_elf...
/* Copyright (c) 2017-2019, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include "../common/GuardedTypes.hpp" #include "../core/...
/* #include <iostream> #include "vector2.h" int main() { Vector2i a(1); Vector2i b(2, 2); Vector2i sum = a + b; sum.Print(); std::cout << std::endl; Vector2i minus = b - a; minus.Print(); std::cout << std::endl; sum = sum * 2; sum.Print(); std::cout << std::endl; sum /= 2; sum.Print(); std::cout...
#include<bits/stdc++.h> using namespace std; // #define deb(...) logger(#__VA_ARGS__, __VA_ARGS__) // template<typename ...Args> // void logger(string vars, Args&&... values) { // cout << vars << " = "; // string delim = ""; // (..., (cout << delim << values, delim = ", ")); // cout<<"\n"; // } int vis...
// // Copyright (C) 2015 Google, 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 ag...
/** @file xapian-check-brass.cc * @brief Check consistency of a brass table. */ /* Copyright 1999,2000,2001 BrightStation PLC * Copyright 2002,2003,2004,2005,2006,2007,2008,2009,2010 Olly Betts * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public ...
#include <exception> #if (__GLIBCXX__ / 10000) >= 2014 namespace std { inline bool uncaught_exception() noexcept(true) { return current_exception() != nullptr; } } // namespace std #endif #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp>
/*============================================================================= Copyright (c) 2011-2017 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) ==...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/game/IGameSystem.hpp> namespace RED4ext { namespace world { struct IDestructibleSpotsSystem : game::IGameSystem { static constexpr const char* NAM...
///////////////////////////////////////////////////////////////////////////////// // // Thor C++ Library // Copyright (c) 2011-2014 Jan Haller // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this...
/* * Copyright 2009-2017 Alibaba Cloud 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 2015 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...
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <CRaceBuffManagerInfo.hpp> START_ATF_NAMESPACE namespace Detail { extern ::std::array<hook_record, 10> CRaceBuffManager_functions; }; // en...
#version 450 #extension GL_ARB_separate_shader_objects : enable #extension GL_GOOGLE_include_directive : enable #extension GL_ARB_gpu_shader_int64 : enable #extension GL_EXT_shader_atomic_int64 : enable #extension GL_KHR_shader_subgroup_vote : enable #extension GL_KHR_shader_subgroup_arithmetic : enable #extension GL_...
/// @file /// @brief Contains Switch::System::Drawing::Graphics class. #pragma once #include <Switch/System/Object.hpp> #include "StringAlignment.hpp" namespace Switch { /// @brief The System namespace contains fundamental classes and base classes that define commonly-used value and reference data types, events and...
/* Copyright 2008 Larry Gritz and the other authors and contributors. 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 noti...
/* * * Copyright 2015 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...
#include "../includes/Token.h" #include "catch.hpp" #include <iostream> #include <memory> /* Watching the Token Class Preety Printing as we want */ TEST_CASE("Watching the Token Class", "[Token]") { TokenType type = TokenType::COLON; std::unique_ptr<Token> t(new Token(type)); std::un...
// FB Alpha Mario Bros driver module // Based on MAME driver by Mirko Buffoni // todo: // emulate sound cpu - quite a few sounds are missing! // #include "tiles_generic.h" #include "z80_intf.h" #include "samples.h" #include "driver.h" extern "C" { #include "ay8910.h" } static UINT8 *AllMem; static UINT8 *MemEnd; sta...
// 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8SVGTransformList.h" #include "bindings/core...
#include <Arduino.h> void uint_to_bytes(unsigned int i, uint8_t *h, uint8_t *l) { *h = (i & 0xff00) / 256; *l = i & 0xff; } void bytes_to_uint(uint8_t h, uint8_t l,unsigned int *i) { *i = (h & 0xff) * 256 + (l & 0xff); }
#define _GNU_SOURCE #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <errno.h> #include <time.h> #include <string.h> #include <unistd.h> #include <stdlib.h> #include <chrono> #include <math.h> #include <thread> #include <fstream> #include <sys/syscall.h> #include <string.h> #...
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "DocumentationModulePrivatePCH.h" #include "Documentation.h" #include "SDocumentationAnchor.h" #include "UDNParser.h" #include "DocumentationPage.h" #include "DocumentationLink.h" #include "SDocumentationToolTip.h" #include "IAnalyticsProvider.h" #i...