text
stringlengths
5
1.04M
/* * Copyright © 2007,2008,2009 Red Hat, Inc. * Copyright © 2018,2019,2020 Ebrahim Byagowi * Copyright © 2018 Khaled Hosny * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distri...
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> * Copyright (c) 2020, Linus Groh <mail@linusgroh.de> * 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...
// Copyright (C) 2011-2019 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <unistd.h> #in...
#ifndef GODOT_CPP_WEBSOCKETPEER_HPP #define GODOT_CPP_WEBSOCKETPEER_HPP #include <gdnative_api_struct.gen.h> #include <stdint.h> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include "WebSocketPeer.hpp" #include "PacketPeer.hpp" namespace godot { class WebSocketPeer : public PacketPeer { struct ___metho...
#include "sys_func.h" unsigned int len(const char sys[]) { unsigned int i = 0; char c = sys[i]; while (c != '\0') { c = sys[i++]; } return i; } unsigned int HexToDec(const char c) { switch (c) { case '0': return 0; case '1': return 1; case '2': ...
#include "stdafx.h" #include "WorldMaterials.h" #include <OgreMaterialManager.h> #include <OgreTechnique.h> using namespace std; using namespace Ogre; WorldMaterials::WorldMaterials() { // set up categories _materials.insert(make_pair("road", std::vector<Material*>())); _materials.insert(make_pai...
#include <Dusk/DirectX/DirectXGraphicsDriver.hpp> #include <Dusk/Dusk.hpp> #include <Dusk/Log.hpp> #include <Dusk/DirectX/DirectXBuffer.hpp> // DirectX 12 Extension Library #include "d3dx12.h" namespace Dusk { LRESULT CALLBACK WndProc(HWND hwnd, unsigned msg, WPARAM wParam, LPARAM lParam) { auto gfx = DirectXG...
class CfgVehicles { class House_Small_F; class GVAR(base): House_Small_F { mapSize = 2.79; author = "$STR_A3_Bohemia_Interactive"; scope = 0; scopeCurator = 0; displayName = ""; model = "\A3\Weapons_F\empty.p3d"; vehicleClass = "Structures_Infrastructure";...
// Read the documentation to learn more about C++ code generator // versioning. // %X% %Q% %Z% %W% #include <XSContainer.h> #include <XSFit/Fit/Fit.h> #include <XSFit/Fit/StatManager.h> #include <XSFit/Fit/ParallelStats.h> #include <XSstreams.h> #include <XSModel/Model/Model.h> #include <XSModel/Parameter/Respons...
#include <gtest/gtest.h> #include <space_tcp/space_tcp.hpp> #include "space_tcp/endpoint.hpp" class TestNetwork : public space_tcp::NetworkInterface { public: auto receive(uint8_t *buffer, size_t len, ssize_t timeout) -> ssize_t override { len = (len > data) ? data : len; if (len == 0) { ...
// Copyright (c) 2009 - Decho Corporation #include "mordor/future.h" #include "mordor/test/test.h" #include "mordor/workerpool.h" using namespace Mordor; static void setTrue(bool &signalled) { signalled = true; } static void setResult(int &result, int value) { result = value; } template <class T> void sign...
/* * Author: Henry Bruce <henry.bruce@intel.com> * Copyright (c) 2015 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 limi...
// 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 Oliver Kowalke 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) #include <sstream> #include <string> #include <boost/test/unit_test.hpp> #include <boost/utility.hpp> #in...
// Copyright (c) Microsoft Corporation. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include <algorithm> #include <cassert> #include <concepts> #include <ranges> #include <utility> #include <range_algorithm_support.hpp> struct instantiator { template <class Out> static constexpr v...
/* Copyright (c) 2009-2016, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ namespace El { namespace trsm { // Left Lower (Conjug...
#pragma once #include <utility> #include <boost/operators.hpp> #include <elle/attribute.hh> #include <elle/operator.hh> #include <elle/serialization.hh> #include <elle/cryptography/fwd.hh> #include <elle/cryptography/types.hh> #include <elle/cryptography/Oneway.hh> #include <elle/cryptography/Cipher.hh> // // ----...
/* Copyright 2020 The Magma Authors. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHO...
// Copyright (c) 2017-2019 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...
//===--- CSGen.cpp - Constraint Generator ---------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2021 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #pragma once #include "vast/fwd.hpp" #include "vast/ch...
// 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 <QApplication> #include "paymentserver.h" #include "guiconstants.h" #include "ui_interface.h" #include "util.h" #i...
// -*- C++ -*- // // Package: EcalSkim // Class: EcalSkim // //class EcalSkim EcalSkim.cc // // Original Author: Serena OGGERO // Created: We May 14 10:10:52 CEST 2008 // Modified: Toyoko ORIMOTO #include <memory> #include <vector> #include <map> #include <set> // user include files #include "...
/* * Copyright 2019 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "tools/gpu/TestOps.h" #include "src/core/SkPointPriv.h" #include "src/gpu/GrCaps.h" #include "src/gpu/GrGeometryProcessor.h" #include "src/gpu/GrMemoryPool.h" #includ...
#include "kitchensound/config.h" #include <spdlog/spdlog.h> #include <spdlog/fmt/ostr.h> Configuration::Configuration(const std::filesystem::path& file) { conf.readFile(file.c_str()); } Configuration::~Configuration() { SPDLOG_DEBUG("Configuration dropped."); } std::string Configuration::get_input_device(IN...
#include <Tiny.h> #include <Tiny/Core/EntryPoint.h> #include "imgui.h" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include "SandBox2D.h" class ExampleLayer : public TinyEngine::Layer { public: ExampleLayer() : Layer("Example"), m_CameraController(4.0f / 3.0f, true), m_SquarePosition(0....
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
/* Copyright 2017 Istio 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 applicab...
#include <iostream> #include "2.fila.h" using namespace std; fila::fila() // construtor { primeiro = 0; ultimo = 0; estrutura = new TipoItem[max_itens]; } fila::~fila() //destrutor { delete [] estrutura; } bool fila::estavazio() { return(prime...
#include <yars/configuration/data/DataSliderActuator.h> #include <yars/configuration/data/DataDomainFactory.h> #include <yars/configuration/data/DataPoseFactory.h> #include <yars/configuration/data/DataPIDFactory.h> #include <yars/util/macros.h> #include <yars/types/TransformationMatrix.h> #include <yars/types/Quaterni...
class TAWVD { tag = "TAWVD"; class TAW_VD { file = "taw_vd"; class onSliderChange {}; class onTerrainChange {}; class updateViewDistance {}; class openTAWVD {}; class trackViewDistance {}; class tawvdInit {postInit = 1;}; }; };
#pragma once // getLinesCount - Функция предназначена для получения количества линий в графике (индикаторе) по выбранному идентификатору. QLUACPP_DETAIL_API_FUNCTION4(unsigned int, getLinesCount, const char*, tag) // getNumCandles - Функция предназначена для п...
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are perm...
//------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 // // ...
#include "utils/QueryApplication.h" #include <unordered_set> #include "buffers/QueryBuffer.h" #include "checkpoint/BlockManager.h" #include "checkpoint/FileBackedCheckpointCoordinator.h" #include "checkpoint/LineageGraphFactory.h" #include "dispatcher/ITaskDispatcher.h" #include "dispatcher/TaskDispatcher.h" #include...
/* * 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 ...
//--------------------------------------------------------------------------- // pgemeshconv.cpp // Perspective GX Game Engine Mesh Converter // Copyright (c) 2008 ePeriod Games, All Rights Reserved //--------------------------------------------------------------------------- #include "stdafx.h" #define Write...
// Copyright 2017 The Chromium Authors. All rights reserved. // Copyright (C) 2018 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 ret...
/* Copyright (c) 2019 by Tim Gubner, CWI * Licensed under GPLv3 */ #pragma once #include "build.hpp" #include <algorithm> #include <cassert> #include <stdint.h> #include <string> #include "constants.hpp" #include <immintrin.h> #include <x86intrin.h> #define bucket_t uint32_t struct Vectorized { template <typename...
/* Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5 Copyright (C) 2021 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> */ /* DO NOT EDIT THIS FILE - the content was created using a source code generator */ #include "QSignalMapperSlots.h" QSignalMapperSlots::QSignal...
// // Created by bobin on 17-12-13. // #include <MapPoint.h> #include <vector> #include <Eigen/Dense> #include <random> #include <chrono> using namespace ORB_SLAM2; using namespace std; using namespace Eigen; int main(int argc, char **argv){ int point_num = 100; vector<Vector3d> points; points.resize(poin...
// Copyright (c) 2011-2013 The Bitcoin developers // Copyright (c) 2017-2018 The PIVX developers // Copyright (c) 2019 The CryptoDev developers // Copyright (c) 2019 The FunCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-l...
half std3[84] {7.395,8.71,7.207,7.36,7.64,7.29,7.14,8.09,6.777,7.56,6.785,6.82,9.305,6.805,6.504,5.9,6.98,6.48,8.35,6.645,6.625,6.395,6.59,6.938,6.254,7.125,7.4,6.793,7.45,7.086,6.637,6.3,6.992,6.723,6.266,6.15,6.883,6.152,6.414,6.746,6.92,7.047,7.43,9.41,7.004,6.742,6.87,6.023,6.527,7.383,6.82,7.27,6.277,7.05,7.203,6...
/* * Created by chrji on 2021/2/1. */ #include "include/EventLoop.h" #include "util/EventChannel.h" EventLoop::EventLoop() : evbase_(event_base_new()), tid_(std::this_thread::get_id()), status_(Initial) { } EventLoop::~EventLoop() { Stop(); event_base_free(evbase_); evbase...
//----------------------------------*-C++-*----------------------------------// /*! * \file SPn/spn_driver/spn.cc * \author Thomas M. Evans * \date Wed Mar 12 22:24:55 2014 * \brief SPn Mini-App executable. * \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //-------------------...
/*************************************************************************** vidhrdw.c Functions to emulate the video hardware of the machine. ***************************************************************************/ #include "driver.h" #include "vidhrdw/generic.h" static int flipscreen; /*************...
#include "DQM/EcalMonitorClient/interface/TowerStatusTask.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "CondFormats/EcalObjects/interface...
/* -- MAGMA (version 2.5.4) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date October 2020 @author Mark Gates @author Azzam Haidar @precisions normal d -> s */ #include "thread_queue.hpp" #include "magma_timer.h" #inclu...
// Copyright 2014 Olivier Gillet. // // Author: Olivier Gillet (ol.gillet@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 limitation th...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-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 <script/script_error.h> const char* ScriptErrorString(const ScriptError...
#include "engine/game-loop/SingleThreadGameLoop.hpp" using namespace engine::gameloop; SingleThreadGameLoop::SingleThreadGameLoop( std::function<void(SingleThreadGameLoop&, double)> update, std::function<void(SingleThreadGameLoop&)> render ) : update(update), render(render) { setUpdateFrequency(defaultUpd...
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// @project Open Space Toolkit ▸ Physics /// @file bindings/python/src/OpenSpaceToolkitPhysicsPy/Coordinate/Velocity.cpp /// @author ...
// Copyright (c) 2014-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...
// 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 "assert.h" #include "chainparams.h" #include "main.h" #include "util.h" #inc...
#include <string> #include "source/common/quic/quic_stat_names.h" #include "test/mocks/stats/mocks.h" #include "gtest/gtest.h" namespace Envoy { namespace Quic { class QuicStatNamesTest : public testing::Test { public: QuicStatNamesTest() : scope_(*symbol_table_), quic_stat_names_(*symbol_table_) {} Stats::Te...
// This file was automatically generated on Fri Jul 1 18:47:25 2016 // 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....
#include "config.h" #include <iostream> #include <sstream> #include <stdexcept> #include <toml/toml.h> namespace { void throwInvalidKey(const std::string& key) { std::stringstream ss; ss << "Invalid configuration key: " << key; throw std::invalid_argument(ss.str()); } template <typename T> void setIfZero(T& ...
// 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 "content/common/input/gesture_event_stream_validator.h" #include "base/logging.h" #include "base/strings/stringprintf.h" #include "third_party/b...
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2021 Baldur Karlsson * * 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...
// 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/browser/chromeos/app_mode/kiosk_app_data.h" #include <vector> #include "base/bind.h" #include "base/files/file_util.h" #include "base/j...
// Autogenerated from CppHeaderCreator on 7/27/2020 3:10:27 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes // Including type: System.Enum #include "System/Enum.hpp" #include "utils/il2cpp-utils.hpp" // Completed in...
// 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 "db.h" #include "init.h" #include "bitcoinrpc.h" using name...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2017 The PIVX developers // Copyright (c) 2017-2018 The Green City developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "receivecoinsdialog.h"...
#include "core.h" #include "constraintLayer.h" #include "worlds.h" #include "../view/screen.h" #include "../shader/shaders.h" #include "../graphics/debug/guiDebug.h" #include "../graphics/renderer.h" #include "../graphics/meshRegistry.h" #include "../physics/constraints/softConstraint.h" #include "../physics/constr...
// 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 2015 Google Inc. 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 agreed to in ...
// $Header$ /* ---------------------------------------------------------------------------- parameters.C mbwall 28jul94 Copyright (c) 1995 Massachusetts Institute of Technology all rights reserved DESCRIPTION: Definition of the parameter object and a container list for it. I did this as ...
#include "KellerLD.h" #include <Wire.h> #define LD_ADDR 0x40 #define LD_REQUEST 0xAC #define LD_CUST_ID0 0x00 #define LD_CUST_ID1 0x01 #define LD_SCALING0 0x12 #define LD_SCALING1 0x13 #define LD_SCALING2 ...
// RUN: %clang_cc1 -verify -fopenmp %s // RUN: %clang_cc1 -verify -fopenmp-simd %s namespace X { int x; }; struct B { static int ib; // expected-note {{'B::ib' declared here}} static int bfoo() { return 8; } }; int bfoo() { return 4; } int z; const int C1 = 1; const int C2 = 2; void test_linear_colons() { ...
#include "Premi.h" using namespace std; Premi::Premi() { //ctor } // // ostream & operator<<( ostream & output, const Premi & premi ){ output << premi.a_nom; return output; } istream & operator>>( istream & input, Premi & premi ){ getline(input, premi.a_nom); return input; }
/* * 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...
// Generated from split_quant8_1.mod.py // DO NOT EDIT // clang-format off #include "TestHarness.h" using namespace test_helper; // NOLINT(google-build-using-namespace) namespace generated_tests::split_quant8_1 { const TestModel& get_test_model() { static TestModel model = { .main = { .op...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-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 <chainparams.h> #include <chainparamsseeds.h> #include <consensus/merkle.h> ...
/* * grid.hpp * * Created on: Oct 27, 2012 * Author: mike and alice */ #pragma once //class GridChar : public map<short unsigned, const char*> { class GridChar { public: enum LineType { none, minor, major, edge1, edge2, numLineType }; private: const char* utfChar[3][3][3][3]; const char* ...
/* * Copyright (c) 2014, Matias Fontanini * 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 ...
#ifndef __NX_REGEXP_RFC2396_H__ #define __NX_REGEXP_RFC2396_H__ #include <nx/regexp/push_re.hpp> namespace nx { namespace regexp { NX_RE(digit, "[0-9]") NX_RE(upalpha, "[A-Z]") NX_RE(lowalpha, "[a-z]") NX_RE(alpha, "[a-zA-Z]") NX_RE(alphanum, "[a-zA-Z0-9]") NX_RE(hex, "[a-fA-F0-9]") NX_RE(escaped, "(?:%" + hex + hex...
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =========================================...
/* ============================================================================== This file is part of the JUCE library. Copyright (c) 2020 - Raw Material Software Limited JUCE is an open source library subject to commercial or open-source licensing. By using JUCE, you agree to the terms of...
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2016-20, Lawrence Livermore National Security, LLC // and RAJA project contributors. See the RAJA/COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) | +---------...
/*********************************************************************** * created: Fri Aug 15 2014 * author: Timotei Dolean <timotei21@gmail.com> *************************************************************************/ /*************************************************************************** * ...
//===- CallGraph.cpp - Build a Module's call graph ------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. /*============================================================================= OpenGLWindowsLoader.cpp: Manual loading of OpenGL functions from DLL. =============================================================================*/ #include "OpenGLDrvPrivate...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. // This code is modified from that in the Mesa3D Graphics library available at // http://mesa3d.org/ // The license for the original code follows: /* * Copyright © 2010 Intel Corporation * * Permission is hereby granted, free of charge, to any person obt...
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // 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 Licen...
#include "manager.hpp" #include "session.hpp" #include "storage.hpp" #include <stdexcept> #include <random> using namespace malloy::http; using namespace malloy::http::sessions; manager::manager(std::shared_ptr<storage> storage) : m_storage(std::move(storage)) { if (!m_storage) throw std::invalid_arg...
// // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC 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 deal // in the Software without restriction, including without limitation the rights //...
#include<bits/stdc++.h> #include "../utils.h" #include "../utils.cpp" using namespace std ; void Rotate(vector<int>& A ,int d ) { reverse(A.begin() , A.begin()+d ) ; reverse(A.begin()+d , A.end()) ; reverse(A.begin() , A.end()) ; } int main(void) { MyArray<int> A(4 , false , "ran...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2018 LightPayCoin developers // Copyright (c) 2018 The InVertex developers // Distributed under the MIT/X11 softwar...
/*------------------------------------------------------------------------------------------------- | This file is distributed under the MIT License. | See accompanying file /LICENSE for details. *------------------------------------------------------------------------------------------------*/ #pragma once #include "...
// Copyright (c) 2020 André Perez Maselco // // 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 "Objects.hpp" #include <Object/Shape/sge_shape_rectangle.hpp> glm::vec2 Player::getPosition() const noexcept { auto bp = this->body->GetPosition(); return glm::vec2(bp.x * 64.f, bp.y * 64.f); } void Player::setPosition(float x, float y) { this->body->SetTransform(b2Vec2(x / 64.f, y / 64.f), this->body->...
// 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 <memory> #include <string> #include <utility> #include "base/bind.h" #include "base/command_line.h" #include "base/compiler_specific.h" #inc...
/**************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contrib...
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_DinoSettings_Carnivore_Huge_Leed_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //-------------------------------------------------...
/* * AbstractPointImpl.cpp * * Copyright (C) 2006 by Universitaet Stuttgart (VIS). Alle Rechte vorbehalten. */ #include "vislib/math/AbstractPointImpl.h" /* * This file is intentionally empty. */
/*============================================================================ KWSys - Kitware System Library Copyright 2000-2009 Kitware, Inc., Insight Software Consortium Distributed under the OSI-approved BSD License (the "License"); see accompanying file Copyright.txt for details. This software i...
/* 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...
#ifndef matching2D_hpp #define matching2D_hpp #include <stdio.h> #include <iostream> #include <sstream> #include <iomanip> #include <vector> #include <cmath> #include <limits> #include <opencv2/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/features2d.hpp> #i...