text
stringlengths
7
961k
/* StreamDev.cpp - 1-copy transfer related methods Copyright (c) 2019 David Gauchard. All right 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 Free Software Foundation; either versio...
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
/****************************************************************************** ** (C) Chris Oldwood ** ** MODULE: OPTIONSDLG.CPP ** COMPONENT: The Application ** DESCRIPTION: COptionsDlg class definition. ** ******************************************************************************* */ #include "Common.hpp" #inc...
/***************************************************************************** * Copyright [2017] [taurus.ai] * * 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/li...
#include "listoftests.h" vector<function<tuple<int, string, double>() > > get_functions_to_test(){ return { []() -> tuple<int, string, double> { int x = INIT_VALUE; for(int i = 0; i < COUNT_OF_ITERATIONS; i++) x = i, x &= MOD_MASK; ret...
//-------------------------------------------------------------------------------------- // File: Tutorial12.cpp // // Advanced Pixel Shader // // Copyright (c) Microsoft Corporation. All rights reserved. //-------------------------------------------------------------------------------------- #include "DXUT.h" #include...
// Copyright (c) 2014-2017 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "keepass.h" #include "wallet/crypter.h" #include "clientversion.h" #include "protocol.h" #include "random.h" #incl...
/* * Copyright (c) 2018 str2num. All Rights Reserved. * Copyright (c) 2011, 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. */ /** * @file ipaddress.cpp * @author str...
// Autogenerated from CppHeaderCreator on 7/27/2020 3:09:21 PM // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "utils/typedefs.h" // Including type: UnityEngine.MonoBehaviour #include "UnityEngine/MonoBehaviou...
#include "dds4ccm/impl/ndds/TypeSupport.h" namespace CIAO { namespace NDDS { DDS_TypeFactory_i_var::DDS_TypeFactory_i_var ( DDS_TypeFactory_i* tf) : ref_count_ (1), tf_ (tf) { DDS4CCM_TRACE ("DDS_TypeFactory_i_var::DDS_TypeFactory_i_var"); } DDS_TypeFactory_i_var::~DDS_Ty...
// // Created by Mateus Coutinho Marim on 7/28/2018. // /***************************************************** * SMO classifier lib * * * * Saul Leite <lsaul@lncc.br> * * sep 23, 2004 ...
/* Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software (includ...
/* Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
// generated from rosidl_typesupport_c/resource/idl__type_support.cpp.em // with input from webots_interfaces:msg/WebotsThymio2Controller.idl // generated code does not contain a copyright notice #include "cstddef" #include "rosidl_runtime_c/message_type_support_struct.h" #include "webots_interfaces/msg/rosidl_typesup...
/* * 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 2018 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/ui_devtools/devtools_server.h" #include "base/command_line.h" #include "base/test/task_environment.h" #include "build/build_config.h...
//===--- GenProto.cpp - Swift IR Generation for Protocols -----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include <Rcpp.h> using namespace Rcpp; // [[Rcpp::export]] NumericVector rcpp_R12(double bet, NumericVector alp, NumericVector the, NumericVector lam, NumericVector the0, NumericMatrix inv_the, ...
/** * @brief Invalid format exception. * * Copyright (c) 2019 YADRO * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
/* * Copyright (c) 2015, Ford Motor Company * 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 condit...
/*========================================================================= Program: ParaView Module: ServersServerManagerPrintSelf.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 WITHO...
#include "ast_opt/ast/If.h" #include "ast_opt/utilities/IVisitor.h" If::~If() = default; If::If(std::unique_ptr<AbstractExpression> &&condition, std::unique_ptr<Block> &&thenBranch, std::unique_ptr<Block> &&elseBranch) : condition(std::move(condition)), thenBranch(std::move(thenBranch)), elseBranch(...
// 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. // A binary wrapper for QuicClient. Connects to --hostname via --address // on --port and requests URLs specified on the command line. // Pass --secu...
//////////////////////////////////////////////////////////////////////////////////////////////////// // // Project: Embedded Learning Library (ELL) // File: IRLocalArray.cpp (emitter) // Authors: Chuck Jacobs, Kern Handa // ///////////////////////////////////////////////////////////////////////////////////////...
// *************************************************************** // Copyright (c) 2021 Jittor. All Rights Reserved. // Maintainers: // Guoye Yang <498731903@qq.com> // Dun Liang <randonlang@gmail.com>. // // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part o...
#include <iostream> #include <windows.h>
/* The MIT License (MIT) Copyright (c) 2017 Lancaster University. 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...
/// @file /// @author David Pilger <dpilger26@gmail.com> /// [GitHub Repository](https://github.com/dpilger26/NumCpp) /// /// License /// Copyright 2018-2021 David Pilger /// /// Permission is hereby granted, free of charge, to any person obtaining a copy of this /// software and associated documentation files(the "Sof...
/******************************************************** Stanford Driving Software Copyright (c) 2011 Stanford University 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...
/*============================================================================= Copyright (c) 2011 Thomas Heller 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) ================================================...
// // 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 following disclaimer. // * Redistributions in bin...
#ifdef USE_CUDNN #include <algorithm> #include <vector> #include "caffe/layers/cudnn_conv_ristretto_layer.hpp" namespace caffe { // Set to three for the benefit of the backward pass, which // can use separate streams for calculating the gradient w.r.t. // bias, filter weights, and bottom data for each group independ...
#ifndef __TRACKRECONSTRUCTION_HPP #define __TRACKRECONSTRUCTION_HPP #include "cxx11_compat.hpp" #include "geometry.hpp" #include "loadfile.hpp" #include "track.hpp" #include "types.hpp" #include <vector> #include <map> #include <boost/unordered/unordered_map.hpp> #include "StdHits.hpp" using boost::unordered_map; ...
/*========================================================================= Program: Visualization Toolkit Module: vtkImageRenderManager.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 sof...
// COPYRTIGH_BEGIN // // The MIT License (MIT) // // Copyright (c) 2016 - 2019 Wizzer Works // // 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 limita...
/* * Copyright (C) 2007-2015 Frank Mertens. * * Use of this source is governed by a BSD-style license that can be * found in the LICENSE file. * */ #include <flux/strings> namespace flux { char *strdup(const char *s) { char *s2 = 0; if (s) { int len = strlen(s); s2 = new char[len + 1]; ...
/*-----------------------------------------------------------------------------+ Copyright (c) 2008-2012: Joachim Faulhaber +------------------------------------------------------------------------------+ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENCE.txt or copy at ...
#include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <cstring> #include <string.h> #include <stdio.h> #include <cmath> #include <limits> #include <assert.h> #include <stdint.h> #include "class-internals.h" #include "codegen/il2cpp-codegen.h" #include "object-in...
/************************************************************************* * Copyright (c) 2013 eProsima. All rights reserved. * * This generated file is licensed to you under the terms described in the * rpcdds_LICENSE file included in this rpcdds distribution. * *************************************************...
#include "openglwindow.hpp" #include <imgui.h> #include <cppitertools/itertools.hpp> #include <glm/gtc/matrix_inverse.hpp> #include "imfilebrowser.h" void OpenGLWindow::handleEvent(SDL_Event& event) { glm::ivec2 mousePosition; SDL_GetMouseState(&mousePosition.x, &mousePosition.y); if (event.type == SDL_MOUSE...
/* * 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 2018 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 "chromecast/browser/cast_session_id_map.h" #include <memory> #include "base/run_loop.h" #include "base/test/test_simple_task_runner.h" #include...
// 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 "ui/events/test/event_generator.h" #include "base/bind.h" #include "base/location.h" #include "base/memory/scoped_ptr.h" #include "base/single_t...
/* * Sarus * * Copyright (c) 2018-2020, ETH Zurich. All rights reserved. * * Please, refer to the LICENSE file in the root directory. * SPDX-License-Identifier: BSD-3-Clause * */ #include "Lockfile.hpp" #include <chrono> #include <thread> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #inclu...
#pragma once #include <boost/filesystem.hpp> #include <lmdb/libraries/liblmdb/lmdb.h> #include <rai/common/errors.hpp> #include <rai/common/numbers.hpp> #include <rai/common/util.hpp> #include <rai/secure/lmdb.hpp> namespace rai { class Store { public: Store(rai::ErrorCode&, const boost::filesystem::path&); S...
#include "latex.hpp" #include <filesystem.hpp> #include <cstdlib> #include <fstream> #include <iostream> #include <libplatform/libplatform.h> #include <image.h> std::string Latex::_find_katex_path() { for (std::string dir = "./", end = "./../../"; dir != end; dir += "../") { for (const auto& file : boost::filesys...
#include <Internal/PotentialField/PotentialFieldImpl.hpp> #include <Internal/SubModule/PotentialFieldSubModuleImpl.hpp> #include <Internal/HelperFunctions.hpp> // Config module #include <DoremiEngine/Configuration/Include/ConfigurationModule.hpp> #include <iostream> namespace DoremiEngine { namespace AI { ...
// // TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <MaterialXRender/ImageHandler.h> #include <MaterialXGenShader/Shader.h> #include <MaterialXGenShader/Util.h> namespace MaterialX { const string IMAGE_PROPERTY_SEPARATOR("_");...
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include "common_test_utils/test_constants.hpp" #include "subgraph_tests/split_conv.hpp" using namespace SubgraphTestsDefinitions; namespace { const std::vector<InferenceEngine::Precision> netPrecisions = { I...
//===---------- ExpressionTypeArray.cpp -----------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
//********************************** // OpenGL Texture 2D Array // 28/08/2009 - 10/02/2013 //********************************** // Christophe Riccio // ogl-samples@g-truc.net //********************************** // G-Truc Creation // www.g-truc.net //********************************** #include <glf/glf.hpp> namespace...
#include<iostream> #include<string> #include<cmath> #include<cstdlib> #include<cstdio> using namespace std; int main(void){ string input; while(getline(cin, input)){ if(*input.c_str() == EOF) break; int h, w; sscanf(input.c_str(), "%d %d\n", &h, &w); int ...
/************************************************************** * * 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 y...
// UE4 C++ Quick Start Tutorials - copyright 2015-2020 Sebastien Rombauts - distributed under the MIT License #include "LocationReporterComponent.h" #include "UE4QuickStart.h" // Sets default values for this component's properties ULocationReporterComponent::ULocationReporterComponent() { PrimaryComponentTick.bCan...
/** * \file GainColoredCompressorFilter.cpp */ #include "GainColoredCompressorFilter.h" #include "../JUCE/LookAndFeel.h" namespace ATK { namespace juce { GainColoredCompressorFilterComponent::GainColoredCompressorFilterComponent(::juce::AudioProcessorValueTreeState& paramState, const std::string& threshold...
/** * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * * 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 b...
// Copyright 2017 the V8 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. #include "src/heap/concurrent-marking.h" #include <stack> #include <unordered_map> #include "include/v8config.h" #include "src/execution/isolate.h" #i...
#include "frmudpclient.h" #include "ui_frmudpclient.h" #include "quihelper.h" #include "quihelperdata.h" frmUdpClient::frmUdpClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmUdpClient) { ui->setupUi(this); this->initForm(); this->initConfig(); } frmUdpClient::~frmUdpClient() { delete ui; } b...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2020 The GlobalSalaryCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "utilitydia...
// Copyright (c) 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. #include "test/test_getrektcoin.h" #include "bls/bls.h" #include "evo/simplifiedmns.h" #include "netbase.h" #include <boost/test/un...
#include <cassert> #include <Columns/ColumnFixedString.h> #include <Columns/ColumnString.h> #include <Columns/ColumnTuple.h> #include <Columns/ColumnVector.h> #include <Columns/IColumn.h> #include <Core/ColumnWithTypeAndName.h> #include <DataTypes/DataTypeArray.h> #include <DataTypes/DataTypeTuple.h> #include <DataType...
// SPDX-License-Identifier: MIT // Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval #ifndef HAS_KEY_H_9TX4O #define HAS_KEY_H_9TX4O namespace zisa { template <class Map, class Key> auto has_key(const Map &map, const Key &key) -> decltype(map.find(key) != map.end()) { return map.find(key) != map.end(); } } ...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: System.Attribute #inc...
#include <stdio.h> #include "esp_err.h" #include "esp_log.h" #include "mqtt_client.h" #include "mqtt-comp.h" MQTT::MQTT() { } MQTT::~MQTT() { deinit(); } void MQTT::init(const char* uri) { if(!mqtt_cfg) mqtt_cfg = new esp_mqtt_client_config_t(); mqtt_cfg->uri = uri; #if ESP_IDF_VERSION_MAJOR >...
/** * @author Eric Joanis * @file multiprob_pt_feature.h * @brief Shell class for multi-prob phrase table feature, in particular for its Creator * * Traitement multilingue de textes / Multilingual Text Processing * Tech. de l'information et des communications / Information and Communications Tech. * Conseil nati...
/************************************************************************* Crytek Source File. Copyright (C), Crytek Studios, 2001-2006. ------------------------------------------------------------------------- $Id$ $DateTime$ ------------------------------------------------------------------------- History: - Dec 05,2...
#include <torch/csrc/jit/codegen/cuda/dispatch.h> #include <torch/csrc/jit/codegen/cuda/fusion.h> #include <torch/csrc/jit/codegen/cuda/ir_all_nodes.h> #include <torch/csrc/jit/codegen/cuda/ir_cloner.h> #include <torch/csrc/jit/codegen/cuda/ir_printer.h> #include <torch/csrc/jit/codegen/cuda/mutator.h> #include <torch...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 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...
// Copyright (c) 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 <qt/bitcoin.h> #include <util/translation.h> #include <QCoreApplication> #include <functional> #include <string> /** ...
 // Copyright (C) Microsoft Corporation. All rights reserved. #include <cppWindowsTestAppPch.h> #include <playfab/PlayFabClientApi.h> #include <playfab/PlayFabClientDataModels.h> #include <playfab/PlayFabAuthenticationApi.h> #include <playfab/PlayFabAuthenticationDataModels.h> #include <playfab/PlayFabProfilesApi.h>...
#include "create_view.hpp" #include <memory> #include <string> #include <utility> #include <vector> #include "storage/lqp_view.hpp" #include "storage/storage_manager.hpp" namespace opossum { CreateView::CreateView(const std::string& view_name, const std::shared_ptr<LQPView>& view, const bool if_not_exists) : Ab...
/* * Copyright (c) 2012-2017, The University of Oxford * 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 ...
#include "option.hpp"
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.9.7 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsig...
/************************************************************************ * Copyright (C) 2018 Niu ZhiYong * * 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 wi...
/********************* */ /*! \file theory_bv_utils.cpp ** \verbatim ** Top contributors (to current version): ** Liana Hadarean, Tim King ** This file is part of the CVC4 project. ** Copyright (c) 2009-2016 by the authors listed in the file AUTHORS ** in t...
#ifndef POINT_ATTRIBUTES_H #define POINT_ATTRIBUTES_H #include <string> #include <vector> using std::string; using std::vector; class PointAttribute{ public: static const PointAttribute POSITION_CARTESIAN; static const PointAttribute COLOR_PACKED; int ordinal; string name; int numElements; int byteSize; Poi...
// ArduinoJson - https://arduinojson.org // Copyright © 2014-2022, Benoit BLANCHON // MIT License #pragma once #include <ArduinoJson/Memory/MemoryPool.hpp> namespace ARDUINOJSON_NAMESPACE { class StringCopier { public: StringCopier(MemoryPool& pool) : _pool(&pool) {} void startString() { _pool->getFreeZon...
/* * Copyright (C) 2013 Google 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 retain the above copyright * notice, this list of conditio...
/****************************************************************************** * * Project: SOSI Data Source * Purpose: Provide SOSI Data to OGR. * Author: Thomas Hirsch, <thomas.hirsch statkart no> * ****************************************************************************** * Copyright (c) 2010, Thomas...
#include <iostream> #include <fstream> #include <string> #include <vector> #include "DoubleColumn.h" #include "Table.h" #include "intColumn.h" #include "ColumnTemplate.h" #include "Database.h" void help() { std::cout << "These are the available commands:" << '\n'; std::cout << "open, close, save, saveAs, exit, ad...
//Cpp file that holds the constructors and what all of the operand functions do for Vector2D variables #include "Headers/Vector2D.h" //Base construction for a Vector2D variable Vector2D::Vector2D() { x = 0.0f; y = 0.0f; } //Constructor that sets the x and y variables for the Vector2D instance Vector2D::Vector2D(floa...
/// @copyright /// Copyright (C) 2020 Assured Information Security, Inc. /// /// @copyright /// 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 limita...
/* * main.cpp * * Created on: 4 Dec 2019 * Author: james */ #include <vector> #include <string> #include <sstream> #include <memory> #include "Selector.h" #include "ArgsParser.h" #include "Content.h" #include "Parser.h" #include "Feeder.h" #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() ...
#include "_3DScene2.h" namespace _3DScene2 { using namespace BF::Application; using namespace BF::Graphics; using namespace BF::Graphics::API; using namespace BF::Graphics::Renderers; using namespace BF::Math; using namespace BF::System; _3DScene2::_3DScene2() : cubeModel(shader), planeModel(shader), lightMo...
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include <map> #include "ifcpp/reader/ReaderUtil.h" #include "ifcpp/writer/WriterUtil.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/IFC4/include/IfcStackTerminal...
/* * Copyright 2021 Google LLC. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/sksl/DSLFunction.h" #include "include/sksl/DSLVar.h" #include "src/sksl/SkSLAnalysis.h" #include "src/sksl/SkSLCompiler.h" #include "src/sksl/SkSLIRGenerato...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) | +---------...
/* (c) Copyright 2012 Felipe Magno de Almeida * * 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 MORBID_IIOP_SERIALIZE_OBJECT_HPP #define MORBID_IIOP_SERIALIZE_OBJECT_HPP #include <morbid/iiop/gener...
// 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 "chrome/browser/ui/webui/extensions/extension_activity_ui.h" #include "base/bind.h" #include "chrome/browser/extensions/extension_service.h"...
#include <ATen/ATen.h> #include <ATen/Parallel.h> #include <ATen/native/ConvUtils.h> #include <ATen/native/Pool.h> #include <ATen/native/cpu/DepthwiseConvKernel.h> #include <ATen/native/utils/ParamUtils.h> #include <ATen/native/xnnpack/Engine.h> #include <ATen/NativeFunctions.h> #include <c10/util/accumulate.h> #includ...
#include <sstream> #include <iostream> #include <limits> #include "CodeGen_C.h" #include "CodeGen.h" #include "CodeGen_Internal.h" #include "Substitute.h" #include "IROperator.h" #include "Param.h" #include "Var.h" #include "Lerp.h" namespace Halide { namespace Internal { using std::ostream; using std::endl; using s...
/* * <errno.h> wrapper functions. */ #if defined (HAVE_CONFIG_H) #include <config.h> #endif #include <algorithm> #include <cerrno> #include <cstring> #include "map.hh" #include "mph.hh" #include <cstdio> int Mono_Posix_Stdlib_GetLastError () { return errno; } void Mono_Posix_Stdlib_SetLastError (int error_number)...
// (C) Copyright Jonathan Turkanis 2003. // 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.) // See http://www.boost.org/libs/iostreams for documentation. #ifndef BOOST_IOSTREAMS_DETAIL_STREAMBUF_HPP_INCLUDED #define...
/** * Copyright 2020 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...
/** * 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...
/* * Copyright (C) 2017-2018 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/helpers/dispatch_info_builder.h" #include "unit_tests/fixtures/context_fixture.h" #include "unit_tests/mocks/mock_kernel.h" #include "unit_tests/mocks/mock_buffer.h" #include "unit_tests/fixtures/device_fixture....
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentatio...
#include <iostream> #include <stack> #include <string> #include <vector> #include <unordered_map> #include <map> #include <algorithm> using namespace std::literals::string_literals; using namespace std; template<class T, class U> static ostream& operator << (ostream& os, const map<T, U>& tab) noexcept { os << '\n...
#include "SampleEditor.hpp" #include <cfloat> #include <QCheckBox> #include <QPaintEvent> #include <QPainter> #include <QScrollArea> #include <QScrollBar> #include <QSpinBox> #include "MainWindow.hpp" #include <amuse/DSPCodec.hpp> SampleEditor* SampleView::getEditor() const { return qobject_cast<SampleEditor*>(p...