text
stringlengths
5
1.04M
/// @ref gtx_type_trait /// @file glm/gtx/type_trait.hpp /// /// @see core (dependence) /// /// @defgroup gtx_type_trait GLM_GTX_type_trait /// @ingroup gtx /// /// Include <glm/gtx/type_trait.hpp> to use the features of this extension. /// /// Defines traits for each type. #pragma once #if GLM_MESSAGES == GLM_ENABLE...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin developers // Copyright (c) 2017-2020 The PIVX developers // Copyright (c) 2020-2021 The TimelockCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/license...
#include "cavs/midend/edge.h" using std::string; namespace midend { Edge::Edge(const string& name, Scope* s) : name_(name), located_(s), isDynamicEnabled_(false) { located_->AddEdge(this); } inline string Edge::scoped_name() const { return located_->scoped_name() + ":" + name(); } void Edge::AddDst(Node* nod...
// Copyright (c) Zhirnov Andrey. For more information see 'LICENSE.txt' #include "Core/Config/Engine.Config.h" #ifdef GRAPHICS_API_VULKAN #include "Engine/Platforms/Vulkan/110/Vk1BaseModule.h" #include "Engine/Platforms/Vulkan/110/Vk1SamplerCache.h" #include "Engine/Platforms/Vulkan/VulkanObjectsConstructor.h" #inc...
// Copyright (c) 2011-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. #include <key.h> #include <keystore.h> #include <policy/policy.h> #include <script/script.h> #include <script/script_error.h>...
//===-test_or_bcast3v2d_popart.cc-----------------------------------------------------------===// // // Copyright (C) 2019-2020 Alibaba Group Holding 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 cop...
/* * Ausgangstreiber für ESP32-Fischertechnik-Anbindung * Autor: Johannes Marquart * * modified by: F.J.P * date: 2020-10-27 */ #include "ft_ESP32_IOobjects.h" int PORT_M_PWM[MOTOR_QTY]; // = {};//Output-Pins Motor-Drehzahl int PORT_IN[DAIN_QTY]; //Input-Pins Ditital/Analog bool ISMAXI = false; /* =...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/FullScreenLayer.hpp> namespace RED4ext { namespace ink { struct HUDLayer : ink::FullScreenLayer { static constexpr const char* NAME = "inkHUDL...
// wce/imm.h #include "stdafx.h" // Functions // Stubs Stub(ImmSIPanelState); // ret: BOOL; args: UINT dwCmd, LPVOID pValue Stub(ImmSetHotKey_WCECL);
#ifndef CSLIBS_NDT_MAP_WEIGHTED_OCCUPANCY_GRIDMAP_HPP #define CSLIBS_NDT_MAP_WEIGHTED_OCCUPANCY_GRIDMAP_HPP #include <cslibs_ndt/map/generic_map.hpp> #include <cslibs_ndt/common/weighted_occupancy_distribution.hpp> namespace cslibs_ndt { namespace map { template <tags::option option_t, std::size_t Dim, ...
#include "global.h" #include "ActorUtil.h" #include "CodeDetector.h" #include "CommonMetrics.h" #include "Foreach.h" #include "Game.h" #include "GameConstantsAndTypes.h" #include "GameManager.h" #include "GameSoundManager.h" #include "ScoreManager.h" #include "GameState.h" #include "InputMapper.h" #include ...
#include "gl/framebuffer.h" #include "gl/glError.h" #include "gl/primitives.h" #include "gl/renderState.h" #include "gl/hardware.h" #include "gl/texture.h" #include "log.h" #include "glm/vec2.hpp" #include <cmath> namespace Tangram { class RenderTexture : public Texture { static constexpr TextureOptions texture...
/* Licensed to Oleg Tsemaylo under the MIT license. * Refer to the LICENSE.txt file in the project root for more information. */ /** * @file SumConstantsRuleTest.cpp * * Tests for SumConstantsRule class . * * @since 11.09.2017 * @author agor */ #include <gtest/gtest.h> #include "SumConstantsRule.h" #includ...
//thisislinecodeto#include<iostream>#include<vector>#include<memory>#include<string>constintsize_kkk=512;usingsize=unsignedlong;classSale_data{public:Sale_data()=default;std::stringISB;sizenumb;doubleprice;};intmain(intargc,char*argv[]){std::stringtext;std::stringtmp;while(std::cin>>tmp){text+=tmp;}std::cout<<text<<std...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
#include "hello.h" void hello_world(){}
/*===================================================================*/ /* */ /* spidma.cpp : SPI DMA function */ /* */ /* 2016/1/20 Racoon ...
/* * @lc app=leetcode id=2029 lang=cpp * * [2029] Stone Game IX */ // @lc code=start #include <bits/stdc++.h> using namespace std; class Solution { public: bool stoneGameIX(vector<int>& stones) { int f[3] = {0, 0, 0}; for(int& x : stones){ int i = x % 3; f[i]++; ...
#include <iostream> #include "http/http_server.hpp" using namespace shine; using namespace shine::net; using namespace http; int main(){ proactor_engine engine; shine::string addr = "0.0.0.0:8300"; bool rc = engine.add_acceptor("http_base_server", addr, [&engine](bool status, connection *conn)->bool{ ...
// Original Code: Copyright (c) 2011-2014 The Bitcoin Core Developers // Modified Code: Copyright (c) 2015 Gamecredits Foundation // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "paymentserver.h" #include "bitcoinu...
/* * Copyright (c) 2018 https://www.thecoderscorner.com (Nutricherry LTD). * This product is licensed under an Apache license, see the LICENSE file in the top-level directory. */ #include <PlatformDetermination.h> #include <IoLogging.h> #include "RuntimeMenuItem.h" static uint16_t nextAvailableRandomId = RANDOM_ID...
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "ie_core.hpp" #include <unordered_set> #include <fstream> #include <functional> #include <limits> #include <map> #include <memory> #include <sstream> #include <string> #include <utility> #include <vector> #include <mutex> ...
/* * Copyright: JessMA Open Source (ldcsaa@gmail.com) * * Author : Bruce Liang * Website : https://github.com/ldcsaa * Project : https://github.com/ldcsaa/HP-Socket * Blog : http://www.cnblogs.com/ldcsaa * Wiki : http://www.oschina.net/p/hp-socket * QQ Group : 44636872, 75375912 * * Licensed under the Apac...
#include "DSARemoveBoneView.h" #include "iqf_main.h" #include <QFileDialog> #include "mitkImageCast.h" #include "ITKImageTypeDef.h" #include "ITK_Helpers.h" //qt #include <QDebug> #include "CVA/IQF_DSATool.h" #include "cva/cva_command_def.h" #include "qf_log.h" DSARemoveBoneView::DSARemoveBoneView() :MitkPl...
/* ************************************************************************ * Copyright 2018-2021 Advanced Micro Devices, Inc. * ************************************************************************ */ #pragma once #include "bytes.hpp" #include "cblas_interface.hpp" #include "flops.hpp" #include "norm.hpp" #incl...
/// @ref gtc_type_aligned /// @file glm/gtc/type_aligned.hpp /// /// @see core (dependence) /// /// @defgroup gtc_type_aligned GLM_GTC_type_aligned /// @ingroup gtc /// /// Include <glm/gtc/type_aligned.hpp> to use the features of this extension. /// /// Aligned types allowing SIMD optimizations of vectors and matrices...
// Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017-2018 The Bulwark developers // Copyright (c) 2018-2019 The FestonCoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.or...
/***************************************************************************** * Author: Valient Gough <vgough@pobox.com> * ***************************************************************************** * Copyright (c) 2003-2004, Valient Gough * * This program is free software: you can redistribute it and/or mod...
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2016 Sky UK * * 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...
#include <Nazara/Audio/Audio.hpp> #include <Nazara/Audio/Sound.hpp> #include <catch2/catch.hpp> #include <chrono> #include <thread> std::filesystem::path GetResourceDir(); SCENARIO("Sound", "[AUDIO][SOUND]") { GIVEN("A sound") { Nz::Sound sound; WHEN("We load our sound") { REQUIRE(sound.LoadFromFile(GetRe...
/**************************************************************************** ** Meta object code from reading C++ file 'rvcalc.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0) ** ** WARNING! All changes made in this file will be lost! **************************************************************...
// ----------------------------------------------------------------------------- // // Copyright (C) The BioDynaMo Project. // 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. // // See the LICENSE file distrib...
// A C++ program to implement greedy algorithm for graph coloring #include <iostream> #include <list> using namespace std; // A class that represents an undirected graph class Graph { int V; // No. of vertices list<int> *adj; // A dynamic array of adjacency lists public: // Constructor and destructor Graph(int V) ...
/* * Copyright (C) 2013, Jules Colding <jcolding@gmail.com>. * * 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 abov...
/* * Copyright (c) 2006-2011 Erin Catto http://www.box2d.org * * 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 software. * Permission is granted to anyone to use this software for any purpose, * i...
/* * Copyright (C) 2008 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
#include <bits/stdc++.h> using namespace std; typedef unsigned long long ull; typedef long long ll; typedef unsigned int ui; typedef vector<int> vi; typedef vector<ui> vui; typedef vector<ll> vll; typedef vector<ull> vull; typedef vector<string> vs; typedef vector<vi> vvi; typedef vector<vui> vvui; typedef vector<v...
// // Copyright 2016 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: // // 6. Trad...
/***************************************************************************** DistAttract.hpp Author: Laurent de Soras, 2018 --- Legal stuff --- This program is free software. It comes without any warranty, to the extent permitted by applicable law. You can redistribute it and/or modify it under the...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "LandscapeEditorCommands.h" #define LOCTEXT_NAMESPACE "LandscapeEditorCommands" void FLandscapeEditorCommands::RegisterCommands() { UI_COMMAND(ManageMode, "Mode - Manage", "", EUserInterfaceActionType::RadioButton, FInputChord()); NameToCommand...
/* 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...
// 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 "android_webview/browser/aw_browser_main_parts.h" #include "android_webview/browser/aw_browser_context.h" #include "android_webview/browser/...
#include "types/Enumerable.hpp" #include "types/Enumerator.hpp" #include "types/Array.hpp" #include "types/Hash.hpp" #include "types/Proc.hpp" #include "Function.hpp" #include <sstream> #include <algorithm> #include <deque> namespace slim { //Need to make an object that keeps "this" alive, but also can call a func...
// Copyright 2013 The Flutter 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 <lib/async-loop/cpp/loop.h> #include <lib/async-loop/default.h> #include <lib/sys/inspect/cpp/component.h> #include <lib/syslog/global.h> #include...
/* * 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 ...
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "cell_type.h" #include <stdio.h> #include <cstdlib> #include <vespa/vespalib/util/exceptions.h> #include <vespa/vespalib/util/stringfmt.h> using vespalib::make_string_short::fmt; namespace vespal...
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
// // UIImagePickerCell.cpp // DigMMMac // // Created by Raptis, Nicholas on 7/3/18. // Copyright © 2018 Darkswarm LLC. All rights reserved. // #include "UIImagePickerCell.hpp" #include "UIImagePicker.hpp" UIImagePickerCell::UIImagePickerCell() { mName = "Image Cell (Blank)"; mDestroySprite = false; m...
/***************************************************************************** Copyright (c) 2001 - 2011, The Board of Trustees of the University of Illinois. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are m...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. /*============================================================================= MaterialGraphNode.cpp =============================================================================*/ #include "UnrealEd.h" #include "Materials/MaterialExpressionComponentMask...
/* ------------------------------------------------------------------------------- Copyright (c) Charles Carley. 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 software. Permission is gran...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2019 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2010 Adrian Sai-wah Tam * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program i...
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "UMGEditorPrivatePCH.h" #include "Designer/DesignTimeUtils.h" #define LOCTEXT_NAMESPACE "UMGEditor" bool FDesignTimeUtils::GetArrangedWidget(TSharedRef<SWidget> Widget, FArrangedWidget& ArrangedWidget) { TSharedPtr<SWindow> WidgetWindow = FSlateAp...
/***************************************************************************** * * Rokko: Integrated Interface for libraries of eigenvalue decomposition * * Copyright (C) 2014 by Synge Todo <wistaria@comp-phys.org> * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICENSE_1_0.txt o...
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents a zero or one, with the least significant bit on the right. For example, the above binary watch reads "3:25". Given a non-negative integer n which represents the nu...
/******************************************************************************* NES Sound Driver & Library (NSD.lib) MML Compiler Copyright (c) 2012 A.Watanabe (S.W.), All rights reserved. For conditions of distribution and use, see copyright notice in "nsc.cpp". ***************************************...
/* Copyright(c) Sophist Solutions Inc. 1990-1992. All rights reserved */ /* * $Header: /fuji/lewis/RCS/PixelMapButtonItem.cc,v 1.6 1992/09/08 16:40:43 lewis Exp $ * * TODO: * * Changes: * $Log: PixelMapButtonItem.cc,v $ * Revision 1.6 1992/09/08 16:40:43 lewis * Renamed NULL -> Nil. * * Revision 1.5 ...
////////////////////////////////////////////////////////////////////////////// /// Copyright 2003 and onward LASMEA UMR 6602 CNRS/U.B.P Clermont-Ferrand /// Copyright 2009 and onward LRI UMR 8623 CNRS/Univ Paris Sud XI /// /// Distributed under the Boost Software License, Version 1.0 /// ...
/* * Copyright (c) 2017 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...
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file #include "catch.hpp" #include"shooter.h" /* Test that shooter returns a Roll and verify that the roll result has one of the following values: Natural Craps Point */ TEST_CASE("Test case for roll result") { Die d1; Di...
class Solution { public: std::vector<std::string> generateParenthesis(int n) { std::vector<std::pair<int, std::string>> vct_rst; vct_rst.push_back(std::make_pair(-1, "(")); //一共有2*n个字符,已经确定第一个是‘(’ for (int i = 0; i < n * 2 - 1; ++i) { std::vector<std::pair<int, std::string>> vct_temp; for (int j = 0; j ...
#pragma once #include <vector> #include "Movie.hpp" class Movies { public: Movies(); ~Movies(); bool add_movie(std::string name, std::string rating, unsigned int watched); bool increment_watched(std::string name); void display() const; private: std::vector<Movie> mMovies; };
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 by EMC Corporation, 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...
// 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...
// // Bachelor of Software Engineering // Media Design School // Auckland // New Zealand // // (c) 2018 Media Design School. // // File Name : spaceship.cpp // Description : controls bonus spaceship // Author : Henry Oliver // Mail : henry.oliver@mediadesign.school.nz // // Library Includes // Lo...
// 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 // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-li...
// JSON condenser example // This example parses JSON from stdin with validation, // and re-output the JSON content to stdout with all string capitalized, and without whitespace. #include "rapidjson/reader.h" #include "rapidjson/writer.h" #include "rapidjson/filereadstream.h" #include "rapidjson/filewritestream.h" #...
/*! * Copyright 2018-2021 by Contributors */ #include <gtest/gtest.h> #include "../../helpers.h" #include "../../../../src/tree/hist/histogram.h" #include "../../../../src/tree/updater_quantile_hist.h" namespace xgboost { namespace tree { namespace { void InitRowPartitionForTest(RowSetCollection *row_set, size_t n_s...
#include "string.hpp" int main() { setBoolName("YES", "NO"); String s(in); cout << (s.back() == 'T') << endl; }
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <tack@gecode.org> * * Copyright: * Guido Tack, 2006 * * Last modified: * $Date$ by $Author$ * $Revision$ * * This file is part of Gecode, the generic constraint * development environment: ...
// // Copyright (c) 2021 Vinnie Falco (vinnie dot falco at gmail dot com) // // 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) // // Official repository: https://github.com/CPPAlliance/http_proto // #ifndef BOOST_HTT...
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Heiko Strathmann */ #include <shogun/features/streaming/generators/GaussianBlobsDataGenerator.h> using namespace shogun; CGaussianBlobsDataGenerator::CGaussianBlobsDataGenerator() : CStreamingDenseFeatures<float64_t>(...
#include "safe_lid.h" #include "../../game.h" SafeLid::SafeLid(const char* bodyFilename, const char* modelFilename, const Vector3f& position, const Vector3f& rotationAxis, float rotationAngle, Prop* pSafe) : pHingeConstraint_(nullptr), pSageImageBillboard_(nullptr), elapsedTime_(0.0f), timeInterval_(2.0f), state...
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
// // stream_client.cpp // ~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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 <cstdlib> #include <cstr...
#include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <iomanip> #include <iterator> #include <list> #include <map> #include <numeric> #include <queue> #includ...
#include "stdafx.h" #include "FFMpegPlayer.h" #include "utils/utils.h" #include "utils/InterConnector.h" #include "main_window/sounds/SoundsManager.h" #include "FrameRenderer.h" #ifdef __WIN32__ #include "win32/WindowRenderer.h" #endif //__WIN32__ Q_LOGGING_CATEGORY(ffmpegPlayer, "ffmpegPlayer") names...
#ifdef _WIN32 #include "../file_operations.h" #include "win_extend_path_limit.h" #include <system_error> // std::system_error #include <ctime> // std::time_t #include <Windows.h> // WinAPI namespace filesystem { bool isExists(const Path &path) { const auto result = Ge...
// Copyright 2019 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...
#pragma once #include <GL/glew.h> #include <gl/GL.h> #include <glm/glm.hpp> #include <assimp/scene.h> #include <vector> #include <string> #include "link/types.hpp" namespace link { struct Vertex { Vertex() {} Vertex(const glm::vec3& position, const glm::vec2& tex_coords, const glm::vec3& n...
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: VoiceActivityDetectorNode.cpp (nodes) // Authors: Chris Lovett // ////////////////////////////////////////////////////////////////////////////////////////...
//------------------------------------------------------------------------------ /* Portions of this file are from Vpallab: https://github.com/vpallabs Copyright (c) 2013 - 2014 - Vpallab.com. Please visit http://www.vpallab.com/ This file is part of rippled: https://github.com/ripple/rippled C...
// Copyright (c) 2011-2013 The HodlCash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/test/unit_test.hpp> #include <stdint.h> #include <sstream> #include <iomanip> #include <limits> #include <cm...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // ==++== // // // ==--== #include "sos.h" #include "disasm.h" #include <dbghelp.h> #include "corhdr.h" #include "...
#include "bits/stdc++.h" #pragma GCC optimize ("O3") #pragma GCC target ("sse4") #define ll long long #define ull unsigned long long #define F first #define S second #define PB push_back #define POB pop_back using namespace std; int main(){ // freopen("input.in", "r", stdin); // freopen("output.out", "w", stdout); i...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2018, EAIBOT, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
/** * @file monstdat.cpp * * Implementation of all monster data. */ #include "monstdat.h" #include "items.h" #include "monster.h" #include "textdat.h" #include "utils/language.h" namespace devilution { /** Contains the data related to each monster ID. */ const MonsterData MonstersData[] = { // c...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
/****************************************************************************/ /// @file ROLoader.cpp /// @author Daniel Krajzewicz /// @author Jakob Erdmann /// @author Sascha Krieg /// @author Michael Behrisch /// @author Christian Roessel /// @date Sept 2002 /// @version $Id$ /// // Loader for networks an...
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. #include "FlopperamCheckStyle.h" #include "FlopperamCheck.h" #include "Framework/Application/SlateApplication.h" #include "Styling/SlateStyleRegistry.h" #include "Slate/SlateGameResources.h" #include "Interfaces/IPluginManager.h" #include "Toolkits/AssetEdit...
//$Id$ //------------------------------------------------------------------------------ // SolarRadiationPressure //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool. // // Copyright (c) 2002 - 2018 United States Government...
/* This file is part of Jellyfish. Jellyfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by n the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Jellyfish is distributed...
#include "RE/Misc/FixedStrings.h" namespace RE { FixedStrings* FixedStrings::GetSingleton() { using func_t = decltype(&FixedStrings::GetSingleton); REL::Relocation<func_t> func{ REL::ID(11308) }; return func(); } }
#pragma once #include "../include.hpp" using namespace std; namespace cxesCore { ///lexer extern vector<string> lexer(istream& input); } // namespace cxesCore
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) 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 o...
/*- * SPDX-License-Identifier: BSD-3-Clause * * Copyright (c) 2001-2007, by Cisco Systems, Inc. All rights reserved. * Copyright (c) 2008-2012, by Randall Stewart. All rights reserved. * Copyright (c) 2008-2012, by Michael Tuexen. All rights reserved. * * Redistribution and use in source and binary forms, with o...
#include "source/common/api/os_sys_calls_impl.h" #include "source/common/common/assert.h" #include "source/common/common/fmt.h" #include "source/common/common/thread_impl.h" #include "source/common/filesystem/watcher_impl.h" namespace Envoy { namespace Filesystem { WatcherImpl::WatcherImpl(Event::Dispatcher& dispatch...
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the config.tests of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...