text
stringlengths
7
961k
// MIT License // // Copyright (c) 2017-2022 Advanced Micro Devices, Inc. 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 lim...
// (C) Copyright 2006-7 Anthony Williams // 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) #define BOOST_THREAD_VERSION 2 #define BOOST_TEST_MODULE Boost.Threads: shared_mutex_locks_chrono test suite #include <bo...
#include <vector> #include <fstream> #include <iostream> #include <string> const int BOARD_WIDTH = 20; const int BOARD_HEIGHT = 30; struct Cell { bool isAlive = false; }; struct Generation { Cell cells[BOARD_WIDTH * BOARD_HEIGHT]; // Print's the board to std out void printToCout() { for (int y = 0; y < BOARD...
#include "../slim/scene/grid.h" #include "../slim/draw/grid.h" #include "../slim/draw/hud.h" #include "../slim/app.h" // Or using the single-header file: //#include "../slim.h" struct ViewportApp : SlimApp { // Viewport: Camera camera{ {0, 7, -11}, {-25*DEG_TO_RAD,0, 0} }; Viewport view...
// license:BSD-3-Clause // copyright-holders:Couriersud /***************************************************************************** resnet.c Compute weights for resistors networks. ****************************************************************************** Function can evaluate from one to three n...
#include <stdlib.h> // abs() #include "m2_led.h" //------------------------------------------------------------------------------ --------------------------------------- const m2led_t led_list_all[LED_CNT + 1] = { LED_RED, LED_YEL1, LED_YEL2, LED_YEL3, LED_GRN, LED_RGB_RED, LED_RGB_GRN, LED_RGB_BLU, ...
// 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 "net/base/directory_lister.h" #include <algorithm> #include "base/bind.h" #include "base/files/file_enumerator.h" #include "base/files/file...
#include "Physics2DShapeQueryParameters.hpp" #include <core/GodotGlobal.hpp> #include <core/CoreTypes.hpp> #include <core/Ref.hpp> #include <core/Godot.hpp> #include "__icalls.hpp" #include "Resource.hpp" namespace godot { Physics2DShapeQueryParameters::___method_bindings Physics2DShapeQueryParameters::___mb =...
#include "StdInc.h" #include "Hooking.h" #include <CoreConsole.h> #include <atHashMap.h> #include <Streaming.h> #include <MinHook.h> #include <VFSManager.h> int GetCollectionIndexByTag(const std::string& tag); StreamingPackfileEntry* GetStreamingPackfileByTag(const std::string& tag); void InvalidateCacheByTag(con...
/** * Copyright (C) 2016-2017 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...
#include<bits/stdc++.h> using namespace std; #define fori(i,a,b) for (long int i = a; i <= b ; ++i) #define ford(i,a,b) for(long int i = a;i >= b ; --i) #define mk make_pair #define mod 1000000007 #define pb push_back #define ll long long #define rnd mt19937_64 rng(chrono::high_resolution_clock::now().time_since_epoch...
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2018, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
/** \file * * \author G. Bruno - CERN, EP Division */ #include "DataFormats/FEDRawData/interface/FEDNumbering.h" #include <cassert> using namespace std; namespace { constexpr std::array<bool, FEDNumbering::FEDNumbering::MAXFEDID + 1> initIn() { std::array<bool, FEDNumbering::MAXFEDID + 1> in = {{false}}; ...
#include <algorithm> #include <array> #include <atomic> #include <cassert> #include <cstdint> #include <cstring> #include <memory> #include <unordered_map> #include "fnv.h" #include "GameData.h" #include "Interfaces.h" #include "Memory.h" #include "Resources/avatar_ct.h" #include "Resources/avatar_tt.h" #include "st...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Copyright 2012 The MITRE Corporation * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * y...
//////////////////////////////////////////////////////////////////////////////////////////////////////// // Part of Injectable Generic Camera System // Copyright(c) 2017, Frans Bouma // All rights reserved. // https://github.com/FransBouma/InjectableGenericCameraSystem // // Redistribution and use in source and binary ...
// Copyright (c) 2007-2015 Hartmut Kaiser // Copyright (c) 2018 Thomas Heller // Copyright (c) 2011 Bryce Lelbach // Copyright (c) 2008-2009 Chirag Dekate, Anshul Tandon // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENS...
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: org.apache.http.impl.client.AbstractHttpClient ================================================================================*/ #ifndef J2CPP_...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/iotanalytics/model/DescribeDatasetRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::IoTAnalytics::Model; using namespace Aws::Utils::Js...
/** * \file test/projection.cc * \brief Tests for sesstype::utils::Projection. */ #include "gtest/gtest.h" #include <string> #include "sesstype/role.h" #include "sesstype/util.h" #include "sesstype/node.h" #include "sesstype/node/interaction.h" #include "sesstype/node/recur.h" #include "sesstype/node/continue.h"...
/* * Copyright (c) 2018-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ namespace recursive_call { struct A { A() { f = 0; } int f; A* getptr(); A* mk(); }; struct F { A* mk(); }; int rec(A* a = n...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "test_utils/cpu_test_utils.hpp" #include "shared_test_classes/base/layer_test_utils.hpp" #include "ngraph_functions/utils/ngraph_helpers.hpp" #include "ngraph_functions/builders.hpp" using namespace InferenceEngine; using ...
// Copyright 2018 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/ledger/bin/app/fidl/serialization_size.h" #include <lib/fidl/cpp/binding.h> #include <lib/fidl/cpp/clone.h> #include <lib/fidl/cpp/optional....
// protoUtils.cc --- // Copyright (C) 2019 Jolibrain http://www.jolibrain.com // Author: Guillaume Infantes <guillaume.infantes@jolibrain.com> // This program 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 Software Foundatio...
#include "videoslider.h" #include <QMouseEvent> #include <QStyle> VideoSlider::VideoSlider(QWidget *parent) : QSlider(parent) { } void VideoSlider::mousePressEvent(QMouseEvent *ev) { // 根据点击位置的x值,计算出对应的value // valueRange = max - min // value = min + (x / width) * valueRange // int value = minimum() ...
/* mopub_exchange_connector.cc Jeremy Barnes, 15 March 2013 Implementation of the MoPub exchange connector. */ #include <algorithm> #include <boost/tokenizer.hpp> #include "mopub_exchange_connector.h" #include "rtbkit/plugins/bid_request/openrtb_bid_request.h" #include "rtbkit/plugins/exchange/http_auction_hand...
/* * Copyright (C) 2011-2018 Daniel Scharrer * * This software is provided 'as-is', without any express or implied * warranty. In no event will the author(s) be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * inclu...
// // Created by ASUS on 25/01/2021. // #include "Compiler/Util/Private/MemoryReader.cpp" #include "Compiler/Util/Private/StringUtf8.cpp" #include "Compiler/Util/Private/ExcessiveAssert.cpp" // Platform #include "Compiler/Util/Private/Platform/Memory.cpp" #include "Compiler/Util/Private/Platform/Misc.cpp"
/* * GDevelop Core * Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights * reserved. This project is released under the MIT License. */ #include "AllBuiltinExtensions.h" #include "GDCore/Extensions/Metadata/MultipleInstructionMetadata.h" #include "GDCore/Tools/Localization.h" using namespace st...
/****************************************************************************** * QUANTA - A toolkit for High Performance Data Sharing * Copyright (C) 2003 Electronic Visualization Laboratory, * University of Illinois at Chicago * * This library is free software; you can redistribute it and/or modify it * unde...
#include "GPU.hpp" #include <list> constexpr word_t GPU::Colors[4]; GPU::GPU(MMU& mmu) : _mmu(&mmu), _screen(new color_t[ScreenWidth * ScreenHeight]) { } GPU::GPU(const GPU& gpu) : _screen(new color_t[ScreenWidth * ScreenHeight]) { *this = gpu; } void GPU::reset() { std::memset(_screen.get(), 0xFF, ScreenWid...
/* * Copyright (c) 2016-2020 Arm Limited. * * 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 without limitation the * ri...
// DP, Brute Force // 3.3 // 21-04-2021 #include <bits/stdc++.h> #define all(A) begin(A), end(A) #define rall(A) rbegin(A), rend(A) #define sz(A) int(A.size()) #define pb push_back #define mp make_pair using namespace std; typedef long long ll; typedef pair <int, int> pii; typedef pair <ll, ll> pll; ...
// Copyright (c) 2010-2015 niXman (i dot nixman dog gmail dot com). All // rights reserved. // // This file is part of YAS(https://github.com/niXman/yas) project. // // 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) /...
// // Created by Akifumi Ohata on 2019/10/20. // #include "matching.hpp" using pcl_ptr = pcl::PointCloud<pcl::PointXYZ>::Ptr; namespace realsense { Matching::Matching() { // Setting scale dependent NDT parameters // Setting minimum transformation difference for termination condition. nd...
// // WebEventRequestHandler.cpp // // Library: OSP/WebEvent // Package: WebEvent // Module: WebEventRequestHandler // // Copyright (c) 2013, Applied Informatics Software Engineering GmbH. // All rights reserved. // // SPDX-License-Identifier: Apache-2.0 // #include "Poco/OSP/WebEvent/WebEventRequestHandler.h" #incl...
#include "UdpSocket.hpp" namespace Network { namespace TSocket { UdpSocket::UdpSocket(fd_set *pRead, fd_set *pWrite, const Type &pType) : ASocket(pRead, pWrite, pType) { } UdpSocket::UdpSocket(fd_set *pRead, fd_set *pWrite, unsigned int pSocket) : ASocket(pRead, pWrite, pSocket) { } void UdpSocke...
// ------------------------------------------------------------------ // // AliLatexTable // // This class is used to produce tables using latex sintax. It can // than print the table as Latex source code (to be pasted on a paper) // or ASCII. // // The basic idea is that you have a stack of r...
// Copyright 2018 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 <getopt.h> #include <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #include <lib/trace-engine/context.h> #include <lib/trace-engi...
/* * FcAuth.cpp * * Created on: 26.07.2012 * Author: jlode */ #include "FcAuth.h" #include "../Messages/Rauth.h" namespace Npfs { FcAuth::FcAuth(MemoryManager* mm, const Tmessage* tc) : Fcall(mm, tc->tag()), tMsg(static_cast<const Tauth*>(tc)) {} FcAuth::~FcAuth() { delete tMsg; } Rmessage* FcAuth::e...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/benchmarking_extension.h" #include "base/command_line.h" #include "base/metrics/stats_table.h" #include "base/time.h" #incl...
//===-- RegisterInfoPOSIX_arm64.cpp ----------------------------*- 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 // //===----------------------------...
/* ************************************************************************ * Copyright 2018-2020 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "bytes.hpp" #include "cblas_interface.hpp" #include "flops.hpp" #include "norm.hpp" #include "rocblas.h...
/* Sample.cpp */ //---------------------------------------------------------------------------------------- // // Project: Sample 1.00 // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the local copy // // Copyright (c) 2017 Sergey St...
/* * 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...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * Copyright (c) 2019-2020 Konduit K.K. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://ww...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The LUX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php....
/* * * 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...
/* The MIT License (MIT) Copyright (c) [2016] [BTC.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 the rights to use, copy, modify, me...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
// // Copyright 2013 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // ...
//------------------------------------------------------------------------------ /* This file is part of MUSO: https://github.com/MUSO/MUSO Copyright (c) 2012-2016 MUSO Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, pr...
// Copyright (c) 2012-2020 The Ocvcoin 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 <any> #include <future> #include <memory> #include <stdint.h> #include <vector> #includ...
#define WIN32_LEAN_AND_MEAN #ifdef WIN32 #pragma warning(disable:4996) // for vista strncpy_s #include <assert.h> #include <shlobj.h> #endif #include <nvram.h> #include <computrainer.h> #include "dll_common.h" #include "dll_globals.h" #include "internal.h" #define FLUSH_STR_LEN 256 /************************...
// Copyright 2020, Roberto De Ioris. #include "glTFRuntimeAssetActor.h" #include "Components/SkeletalMeshComponent.h" #include "Engine/StaticMeshSocket.h" #include "Animation/AnimSequence.h" // Sets default values AglTFRuntimeAssetActor::AglTFRuntimeAssetActor() { // Set this actor to call Tick() every frame. You ...
/* * 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 ...
/**********************************************************************************/ /* This file is part of spla project */ /* https://github.com/JetBrains-Research/spla */ /****************************************************************...
#ifdef MSVC #define _SCL_SECURE_NO_WARNINGS // stx::btree #endif #include <libdariadb/flags.h> #include <libdariadb/storage/memstorage/timetrack.h> using namespace dariadb; using namespace dariadb::storage; TimeTrack::TimeTrack(MemoryChunkContainer *mcc, const Time step, Id meas_id, MemChunkAlloc...
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <memory> #include <vector> #include <string> #include <map> #include <legacy/ie_ishape_infer_extension.hpp> #include <ie_parameter.hpp> #include <ie_precision.hpp> #include <ngraph/op/op.hpp> #include <ngrap...
/****************************************************************/ /* Parallel Combinatorial BLAS Library (for Graph Computations) */ /* version 1.6 -------------------------------------------------*/ /* date: 6/15/2017 ---------------------------------------------*/ /* authors: Ariful Azad, Aydin Buluc --------------...
#include "SequenceAligner.h" #include <algorithm> #include <iostream> SequenceAligner::SequenceAligner(std::string sensSample_, std::string contentSample_) { _rows = sensSample_.length(); int columns = contentSample_.length(); _matrix = new int *[_rows + 1]; for(int i =...
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkDefaultPassWrap.h" #include "vtkTranslucentPassWrap.h" #include "vtkObjectWrap.h" #include "../../plus/plus.h" using namespace v8; extern ...
#include "header/model/wtg_models/wt_turbine_model/wt_turbine_model.h" #include "header/basic/utility.h" #include "header/STEPS.h" #include <cstdio> WT_PITCH_MODEL::WT_PITCH_MODEL(STEPS& toolkit) : WTG_MODEL(toolkit) { common_constructor(); } WT_PITCH_MODEL::~WT_PITCH_MODEL() { ; } void WT_PITCH_MODEL::comm...
#pragma once #include "moana/core/vec3.hpp" namespace moana { namespace Coordinates { __forceinline__ __device__ float clamp(float value, float lowest, float highest) { return fminf(highest, fmaxf(value, lowest)); } __device__ inline void cartesianToSpherical(const Vec3 &cartesian, float *phi, float *theta) { ...
/* Copyright (c) 2010-2019, Mathieu Labbe - IntRoLab - Universite de Sherbrooke 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 Pieter Wuille // Copyright (c) 2012-2021 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 <addrman.h> #include <addrman_impl.h> #include <hash.h> #include <logging.h> #i...
/****************************************************************************** * $Id$ * * Project: OpenGIS Simple Features Reference Implementation * Purpose: OGRSpatialReference translation to/from "Panorama" GIS * georeferencing information (also know as GIS "Integration"). * Author: Andrey Kisel...
#include <ripple/beast/net/IPAddressV6.h> #include <ripple/beast/net/IPAddressV4.h> namespace beast { namespace IP { bool is_private (AddressV6 const& addr) { return ((addr.to_bytes()[0] & 0xfd) || (addr.is_v4_mapped() && is_private(addr.to_v4())) ); } bool is_public (AddressV6 const& addr) { re...
//! //! Copyright (c) 2015, The casual project //! //! This software is licensed under the MIT license, https://opensource.org/licenses/MIT //! #include "common/unittest.h" #include "common/serialize/json.h" #include "common/code/casual.h" #include "../../include/test_vo.h" namespace casual { namespace common ...
//! The MIT License (MIT) //! //! Copyright (c) 2014 Thomas Kovacs //! //! 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 t...
/* void custom_abort() { */ /* __builtin_trap(); */ /* } */ #define FNWRAP_INTERNAL_ERROR_REPORTER #define FNWRAP_ABORT __builtin_trap #pragma clang diagnostic ignored "-Wunused-value" #include "fnwrap.hpp" typedef unsigned long uint64; static_assert(sizeof(uint64) == 8, "sizeof(uint64) != 8"); uint64 syscal...
#include <fstream> #include "sonLib.h" #include "hal.h" using namespace std; using namespace hal; namespace hal { map<string, string> ingestRenameFile(string tsvPath) { map<string, string> ret; set<string> values; ifstream tsv(tsvPath.c_str()); string line; while (getline(tsv, line)) { stList *tokens =...
/*! * Copyright (c) 2015 by Contributors * \file im2rec.cc * \brief convert images into image recordio format * Image Record Format: zeropad[64bit] imid[64bit] img-binary-content * The 64bit zero pad was reserved for future purposes * * Image List Format: unique-image-index label[s] path-to-image * \sa dmlc...
/* * Author: Jon Trulson <jtrulson@ics.com> * Copyright (c) 2016-2017 Intel Corporation. * * The MIT License * * This program and the accompanying materials are made available under the * terms of the The MIT License which is available at * https://opensource.org/licenses/MIT. * * SPDX-License-Identifier: MIT...
#include "bn_core.h" #include "title.cpp" int main() { bn::core::init(); while(true) { TitleStart(); bn::core::update(); } }
#define PY_SSIZE_T_CLEAN /* Make "s#" use Py_ssize_t rather than int. */ #include <Python.h> // https://msdn.microsoft.com/en-us/library/windows/desktop/dd377566(v=vs.85).aspx #include <windows.h> #include <dshow.h> #include <comutil.h> #pragma comment(lib, "strmiids") static PyObject *DeviceError; // #define GETST...
// 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 "ui/views/test/scoped_views_test_helper.h" #include <utility> #include "ui/base/clipboard/clipboard.h" #include "ui/base/clipboard/test/test_cl...
// 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/shell/browser/shell_platform_data_aura.h" #include "build/build_config.h" #include "content/shell/browser/shell.h" #include "ui/aura/cl...
#include "EXEPCH.h" #include "SFMLInputConversions.h" /// <summary> /// Engine namespace. Everything owned by the engine will be inside this namespace. /// </summary> namespace Exelius { KeyCode ConvertKeyCode(sf::Keyboard::Key key) { switch (key) { case sf::Keyboard::Key::Unknown: return KeyCode::Unknown; ...
#include <iostream> using namespace std; #include "tporo.h" #include "dlist.h" int main(void) { dlist<TPoro> a; cout << a << endl; }
// // FILE NAME: CQCIntfEng_NumericText.cpp // // AUTHOR: Dean Roddey // // CREATED: 01/24/2004 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2020 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://op...
/* Copyright (c) 2018-2021 Piotr Doan. All rights reserved. Software distributed under the permissive MIT License. */ #pragma once #include "Core/SystemInterface.hpp" /* Engine System Base class for engine systems to be used with system storage. */ namespace Core { class EngineSystem : public S...
// ============================================================================= // === qrdemo_gpu.cpp ========================================================== // ============================================================================= // A simple C++ demo of SuiteSparseQR. The comments give the MATLAB equival...
// Copyright 2014 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. // This test uses a custom Env to keep track of the state of a filesystem as of // the last "sync". It then...
/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2003 - 2007 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation with the addit...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> namespace RED4ext { enum class ETextureAddressing : uint8_t { TA_Wrap = 0, TA_Mirror = 1, TA_Clamp = 2, TA_MirrorOnce = 3, TA_Border = 4, }; } // namespace RED4ext
#include "TaskTransformationRotateX.h" #include "Interface/TransformationInterface.h" #include "AffectorTransformationRotate.h" #include "Kernel/FactorableUnique.h" #include "Kernel/DocumentHelper.h" #include "Kernel/Delegate.h" #include "math/angle.h" namespace Mengine { //////////////////////////////////////...
// Copyright (c) 2014-2016 The Dash developers // Copyright (c) 2016-2018 The NextON developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "spork.h" #include "base58.h" #include "key.h" #include "main.h" #inclu...
#include "pch.h" #include "SpatialInput.h" #include "ScriptErrorHandling.h" PCWSTR g_supportedSpatialInputEvents[] = { L"sourcepress", L"sourcerelease", L"sourcelost", L"sourcedetected", L"sourceupdate"}; using namespace HologramJS::Input; using namespace Windows::UI::Input::Spatial; using namespace Windows::Foun...
/*========================================================================= Program: ParaView Module: vtkProcessModule.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRAN...
#include <imgui.h> #include <spatial/ui/components/DockSpace.h> #include <spatial/ui/components/styles/BorderlessWindowStyle.h> namespace spatial::ui { DockSpace::DockSpace(const std::string_view name) { ImGuiViewport* viewport = ImGui::GetMainViewport(); ImGui::SetNextWindowPos(viewport->Pos); ImGui::SetNextWind...
/********************************************************************** * Copyright (c) 2008-2016, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the...
// ============================================================================ // SeqAn - The Library for Sequence Analysis // ============================================================================ // // Copyright (c) 2006-2018, Knut Reinert & Freie Universitaet Berlin // Copyright (c) 2016-2018,...
/** @file ***************************************************************************** Implementation of the low level objects needed for field arithmetization. ***************************************************************************** * @author This file is part of libsnark, developed by SCIPR Lab * ...
#include <fstream> #include <sstream> #include <iostream> #include <vector> #include <opencv2/opencv.hpp> #include <opencv2/dnn.hpp> #include <opencv2/dnn/all_layers.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <torch/torch.h> #include <opencv2/core.hpp> //Some libraries not used using...
/* Daniel Perry * Spring 05 - for cs6620 * ray tracer - started 24 Jan 05 * */ // std #include <cstdlib> using namespace std; #include <fstream> #include <string> #include <iostream> #include <vector> #include "rt.h" //#include "req.h" #include "volume_scene.h" void printTree( BVH * bvh ){ cerr<<"bbox:"<<bv...
//================================================================================================= /*! // \file src/mathtest/smatdmatadd/MCaM7x13a.cpp // \brief Source file for the MCaM7x13a sparse matrix/dense matrix addition math test // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This...
#include "RenaissancePCH.h" #include "Renaissance/Core/InputCodes.h" // from glfw3.h namespace Renaissance { namespace KeyCode { const unsigned int Space = 32; const unsigned int Apostrophe = 39; const unsigned int Comma = 44; const unsigned int Minus = 45; const unsigned int Period = 46; const unsigned ...
/*********************************************************************************************************************** * * * ANTIKERNEL v0.1 ...
// ************************************************************************* // // This File Is Automatically Generated by the StarBusIDL-to-C++ Compiler ! // // Copyright (c) 2003 // Network Information Security Institute,Computer College,NUDT. // ChangSha,Hunan,PRC // // All Rights Reserved // // ********************...