text
stringlengths
7
961k
//-------------------------------------------------------------------------------------- // File: EffectFactory.cpp // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. // // http://go.microsoft.com/fwlink/?LinkID=615561 //------------------------------------------------------------------------...
// Copyright 2021 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 "components/arc/test/fake_lock_screen_instance.h" namespace arc { FakeLockScreenInstance::FakeLockScreenInstance() = default; FakeLockScreenIns...
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License...
// Copyright (c) 2012-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 <netbase.h> #include <test/test_bitcoinb3.h> #include <utilstrencodings.h> #include <string> #include <boost/test/...
#pragma once #include <vector> #include <iostream> #include "Exceptions.hpp" #include <complex> #include <algorithm> #include <functional> #include <numeric> #include <set> #include <opencv2/opencv.hpp> #include <stack> #include <map> using namespace std; using namespace cv; template <typename Type> class AbstractTens...
#pragma once #include "Kosmodules.hpp" struct OSFutil{ enum orders { ORDER_OSF, ORDER_OFS, ORDER_SOF, ORDER_SFO, ORDER_FOS, ORDER_FSO, NUM_ORDERS }; float scale_param = 0; float offset_param = 1; bool fold_param = false; bool mirror = false; int cur_order = ORDER_OSF; json_t *dataToJson(); void ...
 #include "numerics/fit_hermite_spline.hpp" #include <list> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "numerics/double_precision.hpp" #include "testing_utilities/is_near.hpp" namespace principia { using base::Range; using geometry::Instant; using quantities::AngularFrequency; usi...
#include <QtGlobal> // Automatically generated by extract_strings_qt.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *bitcoin_strings[] = { QT_TRANSLATE_NOOP("bitcoin-core", "Trezarcoin Core"), QT_TRANSLATE_NOOP("bitcoin-core", "The %s developers"), QT_TRA...
/* * Copyright 2010-2016 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" file...
#include <stdio.h> #include <stdlib.h> #include <string.h> #define maxState 1<<13 #define maxN 13 #define oo 0xfffffffffLL long long DP[maxState][maxN], map[51][51]; int A[maxN], AD[maxN], best; int TSP(int state, int n, int last) { if(state == 0) return 0; if(DP[state][last] != -oo) return DP[state][last]...
// Copyright 2018 Google LLC // Copyright 2018-present Open Networking Foundation // SPDX-License-Identifier: Apache-2.0 #include "stratum/hal/lib/common/p4_service.h" #include <functional> #include <sstream> // IWYU pragma: keep #include <utility> #include "absl/memory/memory.h" #include "absl/numeric/int128.h" #i...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
#include <iostream> #include <string> #include <stdio.h> using namespace std; #include "CpuTrace.h" #include "Logger.h" extern bool verbose; CpuTrace::CpuTrace(FstProcess & fstProc, FstSignal clk, FstSignal pcValid, FstSignal pc) : fstProc(fstProc), clk(clk), pcValid(pcValid), pc(pc) { init(); ...
//================================================================================================= /*! // \file src/mathtest/dmatdmatmult/LDbLDb.cpp // \brief Source file for the LDbLDb dense matrix/dense matrix multiplication math test // // Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved // // This...
// Copyright (c) 2022 The Chromium Embedded Framework 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 was generated by the CEF translato...
#include<bits/stdc++.h> using namespace std; struct bdnode { int cnt; int *key; bdnode **ptr; }; typedef bdnode* bdptr; bdptr create(int d) { bdptr t=new(bdnode); t->cnt=0; t->key=new int[d-1]; t->ptr=new bdptr[d]; return t; } void insert(bdptr &T,int x,stack<bdptr>s,int d);//PROTOTYPE void search(stack<bdptr>&...
/* * Copyright 2019 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/sksl/SkSLOutputStream.h" namespace SkSL { void OutputStream::writeString(String s) { this->write(s.c_str(), s.size()); } void OutputStream::printf(const c...
/* ** The OpenGL Extension Wrangler Library ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> ** Copyright (C) 2002, Lev Povalahev ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** mo...
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef SGE_SYSTEMS_QUIT_ON_ESCAPE_HPP_INCLUDED #define SGE_SYSTEMS_QUIT_ON_ESCAPE_HPP_INCLUDED #i...
// Created on: 2011-10-14 // Created by: Roman KOZLOV // Copyright (c) 2011-2014 OPEN CASCADE SAS // //This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 a...
/** * Copyright 2019 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...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The BitSilver Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <netaddress.h> #include <hash.h> #include <util/strencodings.h> #inclu...
// Copyright (c) 2016 The Karbowanec developers // Copyright (c) 2018 The Circle Foundation & Conceal Devs // Copyright (c) 2018-2019 Conceal Network & Conceal Devs // // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include...
/* * Copyright (c) 2020 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
/***************************************************************************** * * Copyright (c) 2003-2018 by The University of Queensland * http://www.uq.edu.au * * Primary Business: Queensland, Australia * Licensed under the Apache License, version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 * * Development unti...
// 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 <amount.h> #include <chain.h> #include <chainparams.h> #include <consensus/co...
//================================================================================================= /*! // \file src/boost/TMat3TMat3Mult.cpp // \brief Source file for the Boost 3D transpose matrix/transpose matrix multiplication kernel // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file ...
/** * Copyright (c) 2018 Inria * 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 conditions and the fol...
#include <cstdint> #include <cstring> #include "gamevars.h" #include "sounds.h" using namespace ZZT; static const uint8_t letter_to_tone[7] = {9, 11, 0, 2, 4, 5, 7}; const uint16_t ZZT::sound_notes[NOTE_MAX - NOTE_MIN] = { 64, 67, 71, 76, 80, 85, 90, 95, 101, 107, 114, 120, 0, 0, 0, 0, 128, 135, 143, 152, 161, 170...
#include "../CommonCommandFlags.h" #include "../Menus.h" #include "../Prefs.h" #include "../Project.h" #include "../commands/CommandContext.h" #include "../commands/CommandManager.h" #include "../toolbars/MixerToolBar.h" #include "../toolbars/DeviceToolBar.h" #include <wx/frame.h> // helper functions and classes name...
// 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 <_personal_amine_inven_db_loadInfo.hpp> START_ATF_NAMESPACE namespace Detail { extern ::std::array<hook_record, 1> _personal_amine_inven_db_loa...
#include "shader.h" Shader::Shader(const char* vertexPath, const char* fragmentPath) { // Debug text std::cout << "Loading Shader: " << vertexPath << " -- " << fragmentPath << std::endl; // Read the Vertex Shader code from the file std::string vertexShaderCode; std::ifstream vertexShaderStream(vertexPath, std::i...
#include "includes.h" #include "interface.h" #include "mandelbrot.h" #include <thread> Plugin mandelbrot { mandelbrotSetup, mandelbrotTeardown, mandelbrotKeyCallback, mandelbrotMouseCallback, nullptr }; // Mandelbrot globals static double x = -0.25; static double y = 0.0; static double scale = 1...
/* * Copyright (c) 2019 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 * rights ...
/*========================================================================= Program: Visualization Toolkit Module: vtkHull.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distr...
//////////////////////////////////////// // \file test-app.cpp // \date 01/01/2014 // \brief test-app App //////////////////////////////////////// // // Local includes: // #include "TestPrint.hpp" // // Compiler includes: // #include <iostream> #include <string> // // Namespaces: // namespace tp = test...
// 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...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: caffe/proto/caffe_pretty_print.proto #include "caffe/proto/caffe_pretty_print.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #includ...
/** Copyright 2017 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...
#include "executable_resource.h" ExecutableResource::ExecutableResource() : id(-1), executableId(-1) { } ExecutableResource::ExecutableResource(int id, int executableId, QString filepath, QString type) : id(id), executableId(executableId), filepath(filepath), type(type) { } ExecutableResource::~ExecutableResour...
#include "stats_aggregator.h" #include "../../../MyUtils/MyTestFramework/TestFramework.h" #include <sstream> using namespace std; namespace StatsAggregators { string PrintedValue(const StatsAggregator &aggr) { ostringstream output; aggr.PrintValue(output); return output.str(); } void TestSum() { Sum aggr; ...
// This is the program to simulate the dynamic of a rocking block by using the Siconos platform //================================================================================================================== #include "SiconosKernel.hpp" #include <stdlib.h> using namespace std; #define PI 3.14159 #define GGearth 9...
/* //@HEADER // ************************************************************************ // // KokkosKernels 0.9: Linear Algebra and Graph Kernels // Copyright 2017 Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retain...
/*++ Module: @file test_replace.cpp Abstract: @author Joe N. Turner <joe@agavemountain.com> Modification History: Created : Fri Jul 10 17:39:32 2009 Copyright (C) 2009 Agave Mountain, Inc.; All right reserved. */ #include "test_replace.h" // Registers the fixture CPPUNIT_TEST_SUITE_REGISTRATIO...
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #ifndef CAFU_SOUNDSYS_SOUND_SHADER_HPP_INCLUDED #define CAFU_SOUNDSYS_SOUND_SHADER_HPP_INCLUDED #include <string> class TextParserT; /// A SoundShader is a descri...
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-10-11 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
#include "ConfHelper.h" using namespace v8; RdKafka::Conf* ConfHelper::CreateTopicConfig(Local<Object> jsConfig) { std::string errstr; RdKafka::Conf *conf = RdKafka::Conf::create(RdKafka::Conf::CONF_TOPIC); Local<Array> keys = Nan::GetOwnPropertyNames(jsConfig).ToLocalChecked(); for (size_t i = 0; i <...
// Copyright (c) 2014-2019 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 "main.h" #include "test/test_bitcoin.h" #include <boost/signals2/signal.hpp> #include <bo...
/*========================================================================= * * 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...
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2012 Bryce Adelstein-Lelbach // // SPDX-License-Identifier: BSL-1.0 // 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.tx...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2018 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/ayardo-config.h" #endif #inc...
#include "meta_type.hpp" #include "variant.hpp" #include "wg_types/string_ref.hpp" #include "core_common/assert.hpp" #include "core_serialization/fixed_memory_stream.hpp" #include "core_serialization/resizing_memory_stream.hpp" #include "core_serialization/text_stream.hpp" #include <cstring> #include <cstdint> #inclu...
/* * **============================================================================== * ** * ** Copyright (c) Microsoft Corporation. All rights reserved. See file LICENSE * ** for license information. * ** * **============================================================================== * */ #include <iostream>...
/* Generated code for Python source for module 'urllib3.packages' * created by Nuitka version 0.5.28.2 * * This code is in part copyright 2017 Kay Hayen. * * 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 ...
#include "FHE_Keys.h" #include "Ciphertext.h" #include "P2Data.h" #include "PPData.h" #include "FFT_Data.h" #include "Math/modp.hpp" FHE_SK::FHE_SK(const FHE_PK& pk) : FHE_SK(pk.get_params(), pk.p()) { } FHE_SK& FHE_SK::operator+=(const FHE_SK& c) { auto& a = *this; auto& b = *this; if (a.params!=c.params)...
// MIT License // // Copyright (c) 2017 - 2018 Björn Rennfanz <bjoern@fam-rennfanz.de> // // 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 limitatio...
#include <QCoreApplication> #include <QCommandLineParser> #include <EncodeValidator.h> #include "DecodeValidator.h" #include "EncoderStressTest.h" int main(int argc, char **argv) { QCoreApplication application(argc, argv); QCoreApplication::setApplicationName("QZXingTests"); QCommandLineParser parser; ...
/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "tests/Test.h" #ifndef SK_BUILD_FOR_ANDROID_FRAMEWORK #include <absl/container/btree_map.h> #include <absl/hash/hash.h> #include <absl/strings/substitute.h> DEF_TES...
// 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/fiddle/examples.h" // HASH=ec5de0d23e5fe28ba7628625d1402e85 REG_FIDDLE(Matrix_set9, 256, 256, false, 4) { void draw(SkCanvas* canvas) { SkMatrix m; SkScalar buffer[9...
#include<iostream> #include<string> std::string Palindrome(int i, int j, std::string s) { int len=j-i+1; std::cout<<"len "<<len<<" i "<<i<<" j "<<j<<std::endl; while(true) { i--; j++; if(i<0 || j > s.length()-1 ) { ...
/* * 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...
/**************************************************************************************** ** Program Filename: Fight.cpp ** Author: Chris Kearns ** Date: 2/28/2016 ** Description: Fight class implementation file. Utilizes virtual class Creature, then ** Medusa, Barbarian, Vampire, BlueMen, and HarryPotter classes. ** ...
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
#pragma once /* @file tiny metaprogramming type list @copyright Denis Priyomov 2019 Distributed under the MIT License (See accompanying file LICENSE or visit https://github.com/cppden/ctstring) */ #include <type_traits> #include <utility> namespace med { namespace detail { template<bool C> struct if_t; template<> s...
#include <QtGlobal> // Automatically generated by extract_strings_qt.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *ilcoin_strings[] = { QT_TRANSLATE_NOOP("ilcoin-core", "Ilcoin Core"), QT_TRANSLATE_NOOP("ilcoin-core", "The %s developers"), QT_TRANSLATE_...
// // Unyield.h // ~~~~~~~~~~~ // // Copyright (c) 2003-2010 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) // #ifdef REENTER # undef REENTER #endif #ifdef Y...
/* Copyright 2017 The sfcpp 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 agreed...
/** \file assess.C \example assess.C \brief assess the tracking result output in various indicators stored in a ROOT file \author SUN Yazhou, asia.rabbit@163.com. \date Created: 2017/12/1 Last revised: 2018/5/24, SUN Yazhou. \copyright 2017-2018, SUN Yazhou. */ // assess.C -- assess the data analysis result // Cr...
// Copyright (c) The HLSL2GLSLFork Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE.txt file. // Implementation of support library to generate GLSL functions to support HLSL // functions that don't map to built-ins #include <map> ...
#include "CameraZoomEvent.h" #include "CameraRotationEvent.h" #include "components/Options.h" #include "core/MapBounds.h" #include "graphics/ViewState.h" #include "projections/Projection.h" #include "projections/ProjectionSurface.h" #include "utils/Const.h" #include "utils/Log.h" #include "utils/GeneralUtils.h" namesp...
/** * Copyright © 2017 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* MIT License Copyright (c) 2021 Adrien Grellard 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...
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * dispersion_emxAPI.cpp * * Code generation for function 'dispersion_emxAPI' * */ /* Include files */ #inclu...
// Source : https://oj.leetcode.com/problems/regular-expression-matching/ // Author : Venkata Anil Kumar /********************************************************************************** * * Implement regular expression matching with support for '.' and '*'. * * '.' Matches any single character. * '*' Matches zer...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Solutions component. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BS...
#include <stdio.h> #include <math.h> int main( int argc, char *argv[] ) { int n; for ( n=40; n<400000000; n+=20 ) if ( n%2==0 && n%3==0 && n%4==0 && n%5==0 && n%6==0 && n%7==0 && n%8==0 && n%9==0 && ...
/* -*- coding: utf-8-unix -*- */ #include <catch.hpp> #include <cparsec2.hpp> SCENARIO("skip1st", "[cparsec2][parser][skip1st]") { cparsec2_init(); GIVEN("an input: \"abc\"") { Source src = Source_new("abc"); WHEN("apply skip1st(char1('a'), string1(\"bc\"))") { THEN("results \"bc\"") { REQUI...
/* * * 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...
///////////////////////////////////////////////// // Includes #include "mdtr.h" ///////////////////////////////////////////////// // Decision-Node PDNd TDNd::Load(TSIn& SIn){ TStr TypeNm(SIn); if (TypeNm==TTypeNm<TDNdLeaf>()){return new TDNdLeaf(SIn);} else {Fail; return NULL;} } ///////////////////////////////...
#include "islutils/access.h" #include "islutils/access_patterns.h" #include "islutils/ctx.h" #include "islutils/pet_wrapper.h" #include "gtest/gtest.h" using util::ScopedCtx; using namespace matchers; static matchers::PlaceholderSet<SingleInputDim, FixedOutDimPattern<SimpleAff>> makePlaceholderSet(isl::ctx ctx) { ...
#ifndef VIENNACL_META_RESULT_OF_HPP_ #define VIENNACL_META_RESULT_OF_HPP_ /* ========================================================================= Copyright (c) 2010-2016, Institute for Microelectronics, Institute for Analysis and Scientific Computing, TU ...
/****************************************************************************** * * AMDiS - Adaptive multidimensional simulations * * Copyright (C) 2013 Dresden University of Technology. All Rights Reserved. * Web: https://fusionforge.zih.tu-dresden.de/projects/amdis * * Authors: * Simon Vey, Thomas Witkowski, ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/northern-config.h" #endif #include "tinyf...
/* * Copyright 2018 Michail Vourlakos <mvourlakos@gmail.com> * * This file is part of Latte-Dock * * Latte-Dock 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 Foundation; either version 2 of * the License, or (at ...
/* Copyright (c) 2014, Google Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
/** * @file ws28xxdmxmulti.h * */ /* Copyright (C) 2019-2021 by Arjan van Vught mailto:info@orangepi-dmx.nl * * 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, inclu...
/* * Copyright (C) 2018 Philippe Proulx <eepp.ca> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #ifndef _YACTFR_TESTS_COMMON_TRACE_HPP #define _YACTFR_TESTS_COMMON_TRACE_HPP #include <cstdint> static const char * const metadata = ...
#ifndef LATFIELD2_LATTICE_HPP #define LATFIELD2_LATTICE_HPP /*! \file LATfield2_Lattice.hpp \brief LATfield2_Lattice.hpp contains the class Lattice definition. \author David Daverio, Neil Bevis */ //CONSTANTS===================== int Lattice::initialized = 1; //Status flag for initialized //CONSTRU...
// 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 "jingle/notifier/base/gaia_constants.h" namespace notifier { // By default use a Google cookie auth mechanism. const char kDefaultGaiaAuthM...
#include "colormenu.h" #include "ui_colormenu.h" #include "filters/colortool.h" #include <QTimer> ColorMenu::ColorMenu(int filterColor, QWidget *parent) : QDialog(parent), ui(new Ui::ColorMenu) { ui->setupUi(this); setAttribute(Qt::WA_DeleteOnClose); setWindowFlags(windowFlags() & (~Qt::WindowContextHelpB...
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/Scripting/Natives/Generated/ink/anim/Event.hpp> namespace RED4ext { namespace ink::anim { struct SetVisibilityEvent : ink::anim::Event { static constexpr const char* NAME = "...
#pragma once #include <unordered_set> #include "Core/Managers/ResourceManager.hpp" namespace core { /** * @brief Resource scope * * Used for smart resource unloading */ class ResourcesScope final { public: /** * @brief Create empty resource scope * @param core Game core object */ ...
// // FILE NAME: CIDEncode_ISO8859_6.hpp // // AUTHOR: Dean Roddey // // CREATED: 05/29/1999 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opens...
/* Copyright 2019 The MLPerf 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 agreed t...
#include "ImageServerMessage.h" #include <cinttypes> #include <rapidjson/stringbuffer.h> #include <rapidjson/writer.h> #include "../Utility/Common.h" #include "../Utility/Logger.h" namespace wcbot { namespace wecom { bool ImageServerMessage::ValidateFields() const { constexpr decltype(ImageData.length()) kImageM...
//===-- msan_test.cc ------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/*========================================================================= * * 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...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "feerate.h" #include "tinyformat.h" const std::string CURRENCY_UNIT = ...
/* * S2E Selective Symbolic Execution Framework * * Copyright (c) 2010, Dependable Systems Laboratory, EPFL * 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 sourc...