text
stringlengths
5
1.04M
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "gtest/gtest.h" #include "core/common/logging/logging.h" #include "core/framework/compute_capability.h" #include "core/framework/execution_provider.h" #include "core/framework/kernel_registry.h" #include "core/fram...
#include <algorithm> #include <cctype> #include <deque> #include <iostream> #include <string> using namespace std; class Solution { public: string decodeString(string s) { string result{}; deque<char> stack; int n=s.size(); for(int i=0;i<n;i++)...
/*********************************************************\ * File: SceneHierarchyNode.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
#include "kablunkpch.h" #include "Platform/OpenGL/OpenGLRendererAPI.h" #include "glad/glad.h" namespace Kablunk { void OpenGLRendererAPI::Init() { glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); //Interpolative blending //glBlendFunc(GL_ONE, GL_ONE); //Additive blending //glBlendFunc(...
// Distributed under the MIT License. // See LICENSE.txt for details. #include "tests/Unit/TestingFramework.hpp" #include <array> #include <boost/functional/hash.hpp> // IWYU pragma: keep #include <cstddef> #include <functional> #include <map> #include <memory> #include <pup.h> #include <string> #include <unordered_...
/* * Copyright 2021 4Paradigm * * 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 w...
// Copyright (C) 2017 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)...
#include <Nazara/Core/MovablePtr.hpp> #include <Nazara/Core/StackVector.hpp> #include <Catch/catch.hpp> #include <array> #include <numeric> // This is a quick way to check that checks are valid #define USE_STD_VECTOR 0 class DestructionCounter { public: DestructionCounter() : m_counter(nullptr), m_value(0) {...
/* * The Arithmetic / Logic Unit * =========================== * * This contains all the code needed for storing variables, parsing expressions, * and evaluating expressions. These are needed to implement the PRINT and SET * directives of specs. */ #include <sstream> #include <cmath> #include <stack> #include <...
#pragma once #include <Eigen/Core> #include <string> #include <vector> #include "attributes.hpp" namespace swr { // Contains the three shaders used by the rasterizer class Shaders { public: // Vertex Shader std::function<VertexAttributes( const VertexAttributes&, const UniformAttributes&)> v...
class Solution { public: vector<vector<int>> kClosest(vector<vector<int>>& points, int K) { auto cmp = [](vector<int>&a, vector<int>&b){ return a[0]*a[0] + a[1]*a[1] < b[0]*b[0] + b[1]*b[1]; }; priority_queue<vector<int>, vector<vector<int>>, decltype(cmp)>pq(cmp); for(au...
// // Copyright (c) 2016-2019 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/url // // Test that header...
// Floating Temple // Copyright 2015 Derek S. Snyder // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkGpuDevice.h" #include "GrBitmapTextureMaker.h" #include "GrBlurUtils.h" #include "GrContext.h" #include "GrGpu.h" #include "GrImageTextureMaker.h" #include "GrRen...
//////////////////////////////////////////////////////////////// // Header #include "Gugu/Common.h" #include "Gugu/Editor/Panel/BasePanel.h" //////////////////////////////////////////////////////////////// // Includes #include <imgui.h> //////////////////////////////////////////////////////////////// //...
#include "core_include/api.h" #include "core_include/rect.h" #include "core_include/cmd_target.h" #include "core_include/resource.h" #include "core_include/wnd.h" #include "core_include/surface.h" #include "core_include/bitmap.h" #include "core_include/word.h" #include "../gui_include/button.h" #include "../gui_includ...
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* CSL 201 Lab Assignment #2 ---------------------------------- ---------------------------------- Question: Write a program (C / C++) to apply the concepts of stacks and queues for addressing 5 different types of queries. ---------------------------------- ---------------------------------- These 5 queries are denote...
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from proj.djinni #pragma once #include "djinni_support.hpp" #include "ezored/systemservices/CustomerSystemService.hpp" namespace djinni_generated { class EZRSystemServicesCustomerSystemService final : ::djinni::JniInterface<::ezored::systemserv...
/* -- MAGMA (version 1.6.1) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date January 2015 @precisions normal z -> s d c */ /* includes, system */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include ...
// // Created by barto on 03.11.18. // #include "BruteForce.h" #include <cmath> BruteForce::BruteForce(std::shared_ptr<TravellingSalesmanProblem> TSP) : Algorithm(std::move(TSP)) {} BruteForce::~BruteForce() = default; std::string BruteForce::showInfoBeforeRunning() { numberOfCities = TSP->getNumberOfCities(); i...
/*************************************************************************/ /* binder_common.hpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include <vtkCellData.h> #include <vtkWorldPointPicker.h> #include <vtkPropPicker.h> #include <vtkPlatonicSolidSource.h> #include <vtkLoopSubdivisionFilter.h> #include <vtkTriangle.h> #include <vtkTransform.h> #if VTK_MAJOR_VERSION==6 || (VTK_MAJOR_VERSION==5 && VTK_MINOR_VERSION>4) #include <vtkHardwareSelector.h> #in...
// Copyright (c) 2019 The CounosH Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <test/util/blockfilter.h> #include <chainparams.h> #include <validation.h> bool ComputeFilter(BlockFilterType filter_t...
#pragma once #include "SFEPanel.hpp" #include "imgui_plot.h" namespace sfe { class SFEPanelPlot : public SFEPanel { public: virtual bool Init() override; virtual void Update() override; virtual void Exit() override; virtual void OnMessage(const SFEMessage& msg) override; private: std::vector<f...
// // 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...
/* * Copyright (c) 2018 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-05-25 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
#include "Halide.h" using namespace Halide; using namespace Halide::Internal; #define internal_assert _halide_user_assert void check_is_sio(const Expr &e) { Expr simpler = simplify(e); const Call *call = simpler.as<Call>(); if (!(call && call->is_intrinsic(Call::signed_integer_overflow))) { std::...
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2008 Andreas Gaida Copyright (C) 2008 Ralph Schreyer Copyright (C) 2008 Klaus Spanderen This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://q...
// // Created by Raffaele Montella on 13/01/22. // #ifndef FAIRWIND_MAINPAGE_HPP #define FAIRWIND_MAINPAGE_HPP #include <QWidget> #include <FairWindSdk/FairWindSDK.hpp> #include <FairWindSdk/IFairWindApp.hpp> #include <FairWindSdk/PageBase.hpp> #include "WebView.hpp" namespace it::gov::guardiacostiera::gc1530 { ...
#include <map> #include "ManualWaypointController.h" #include <angles/angles.h> // for hypot() ManualWaypointController::ManualWaypointController() {} ManualWaypointController::~ManualWaypointController() {} void ManualWaypointController::Reset() { waypoints.clear(); num_waypoints = 0; cleared_waypoints.clear...
#include <iostream> #include "./dic/DIC.hpp" using namespace std; int main(int argc, char *argv[]) { auto parser = DICParameters(argc, argv); auto parameters = parser.GetParameters(); auto executor = Executor(&parameters); executor.FindResult(); return EXIT_SUCCESS; }
/* EOS Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Ethan Coon (ecoon@lanl.gov) Saturated vapor pressure for vapo...
#include "../Common.h" #include "BuildOrderQueue.h" BuildOrderQueue::BuildOrderQueue() : highestPriority(0), lowestPriority(0), defaultPrioritySpacing(10), numSkippedItems(0) { } void BuildOrderQueue::clearAll() { // clear the queue queue.clear(); // reset the priorities highestPriority = 0; lowe...
#pragma once #include <glm/glm.hpp> #include <map> #include <vector> #include <Video/DebugDrawing.hpp> #include "../linking.hpp" namespace Component { class Mesh; } namespace Video { class RenderSurface; } /// Debug drawing facilities. class DebugDrawingManager { friend class Hub; public: ...
#include "PrepareStatement.h" namespace hsql { // PrepareStatement PrepareStatement::PrepareStatement() : SQLStatement(kStmtPrepare), name(nullptr), query(nullptr) {} PrepareStatement::~PrepareStatement() { free(name); free(query); } } // namespace hsql
// // Created by chaoqi on 2021/12/4. // #ifndef PRACTISE_CPLUSPLUS_NET_CELL_SERVER_HPP #define PRACTISE_CPLUSPLUS_NET_CELL_SERVER_HPP #include "cell_net_utils.hpp" #include "i_net_event.hpp" class CellServer { public: CellServer(SOCKET sock = INVALID_SOCKET) { _sock = sock; _clients.clear();...
// 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...
#include <nano/boost/process/child.hpp> #include <nano/lib/signal_manager.hpp> #include <nano/lib/threading.hpp> #include <nano/lib/tlsconfig.hpp> #include <nano/lib/utility.hpp> #include <nano/nano_node/daemon.hpp> #include <nano/node/cli.hpp> #include <nano/node/daemonconfig.hpp> #include <nano/node/ipc/ipc_server.hp...
#include <iostream> #include <string> #include <utility> #include <vector> using namespace std; class Person { public: // Строки не передаются по ссылке намерено, вместо этого используется функция // move(). В некоторых ситуациях она позволяет избежать излишнего копирования. explicit Person(string name, string...
#include "CurveskelModel.h" #include "CurveskelQForEach.h" #include "StarlabException.h" using namespace std; using namespace CurveskelTypes; CurveskelModel::CurveskelModel(QString path, QString name) : Model(path,name){} void CurveskelModel::updateBoundingBox(){ Vector3VertexProperty vcoord = get_vertex_propert...
#include "AudioController.hpp" namespace crunch { AudioController::AudioController() { } } //namespace crunch
/* <editor-fold desc="MIT License"> Copyright(c) 2018 Robert Osfield 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, mod...
/** * Copyright (C) 2013 10gen 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. * * This program is distributed in the hope that it will be useful...
/* * Copyright (c) 2012 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...
#include "huaweicloud/frs/v2/model/ActionsList.h" namespace HuaweiCloud { namespace Sdk { namespace Frs { namespace V2 { namespace Model { ActionsList::ActionsList() { confidence_ = 0.0; confidenceIsSet_ = false; action_ = 0; actionIsSet_ = false; } ActionsList::~ActionsList() = default; void A...
#include "P4ReopenCommand.hpp" #include "../Utils/StringUtil.hpp" #include "../Utils/PathUtil.hpp" #include <sstream> namespace VersionControl { static const char* g_Reopened = "- reopened; change"; P4ReopenCommand::P4ReopenCommand(const std::string &changelist) : P4Command("reopened"), m_changelist(...
/* * This source file is part of RmlUi, the HTML/CSS Interface Middleware * * For the latest information, see http://github.com/mikke89/RmlUi * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * Copyright (c) 2019 The RmlUi Team, and contributors * * Permission is hereby granted, free of charge, to...
/* * Copyright (c) 2020, NVIDIA 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 copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/****************************************************************************** * * Project: OpenGIS Simple Features Reference Implementation * Purpose: Different utility functions used in FileGDB OGR driver. * Author: Ragi Yaser Burhum, ragi@burhum.com * Paul Ramsey, pramsey at cleverelephant.ca * ******...
// // Student License - for use by students to meet course requirements and // perform academic research at degree granting institutions only. Not // for government, commercial, or other organizational use. // // eigHermitianStandard.cpp // // Code generation for function 'eigHermitianStandard' // // Include files #i...
/** * License text... */ #ifndef ADVMATH_H #define ADVMATH_H #include <cstdint> #include <cmath> #include <array> #include "base.hpp" namespace adf { /** * @brief * @param * @return */ template<class T> inline T acosh(T p_arg) { return std::log(p_arg + std::sqrt(p_arg*p_arg-1)); } /** * @brief * @p...
/*========================================================================= * * 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...
#include <iostream> using namespace std; int main (){ int amountCorrect = 0; int correctAnswer; int usersAnswer; for( int i = 0; i < 5; i++) { cout << "Enter the answer: " ; cin >> correctAnswer; cout << "enter your guess: "; cin >> usersAnswer; if (usersAnswer == correctAnswer) { amountCorrect...
// Generated // -------------------------------------- names ---------------------------------------- extern const std::string FixBeginStringValue; constexpr const char * const FixBeginStringInsertableTag = "8=" "FIX.4.4"; constexpr const unsigned FixBeginStringInsertableTagLength = 9; extern const char * const Fi...
#include <iostream> #include <iomanip> using namespace std; int main() { long long a, b; cin >> a >> b; cout << setiosflags(ios::fixed) << setprecision(3) << static_cast<double>(b) / a * 100 << "%" << endl; return 0; }
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Nautiluscoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcserver.h" #include "rpcclient.h" #include "init.h" #include "mai...
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
////////////////////////////////////////////////////////////////////////////// // // This file is the adaptation for Interprocess of boost/intrusive_ptr.hpp // // (C) Copyright Peter Dimov 2001, 2002 // (C) Copyright Ion Gaztanaga 2006-2012. Distributed under the Boost // Software License, Version 1.0. (See accompanyin...
#include "baldr/nodeinfo.h" #include "midgard/logging.h" #include <cmath> #include <baldr/datetime.h> #include <baldr/graphtile.h> using namespace valhalla::midgard; using namespace valhalla::baldr; namespace { json::MapPtr access_json(uint16_t access) { return json::map({{"bicycle", static_cast<bool>(access & kB...
include int conjs[5000][5000], ne[5000], n, i, nc, j, k, no, op, c1, c2, ele=0, el; int main(){ scanf("%d", &n); while(scanf("%d", &nc)!=EOF){ for(j=1;j<=nc;j++){ scanf("%d", &ne[j]); for(k=1;k<=ne[j];k++){ scanf("%d", &el); conjs[j][el] = 1; } } scanf("%d", &no); for(j=0;j<no;j++){ ...
/* * 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 ...
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
#include<bits/stdc++.h> using namespace std; int facto(int a){ if(a<=1){ return 1; } return facto(a-1)*a; } int main(){ cout<<facto(5); }
#include "httpServe.hpp" Cache baseCache; Cache& HttpServe::cache_ = baseCache; int HttpServe::epollfd_ = -1; const char HttpServe::rootDir_[] = "./"; const char HttpServe::homePage_[] = "index.html"; void HttpServe::init(int sockfd){ sockfd_ = sockfd; // 记录下连接的socket int reuse = 1; Setsockopt(sockfd_, SOL_SOCKET...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
/*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...
#include "Type.h" namespace loveprint { namespace runtime { const char * Type::name() const { return _name; } const Type * Type::parenttype() const { return _parenttype; } bool Type::isChildOf(const Type * type) const { return _parenttype != nullptr && (_parenttype == type || _parenttype->isChildOf(type)); } bo...
// // Copyright Sundeep S. Sangha 2015 - 2017. // 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 RANGE_LAYER_REWRITE_RANGE_HPP #define RANGE_LAYER_REWRITE_RANGE_HPP #include "base_de...
#include "hzpch.h" #include "Hazel/Renderer/RenderCommand.h" namespace Hazel { Scope<RendererAPI> RenderCommand::s_RendererAPI = RendererAPI::Create(); }
// DESCRIPTION // // Test to check whether the C++ compiler accepts the old for scoping rules (the scope of a // variable declared inside the parentheses extends outside the for-body). // Note that some compilers (notably g++ and egcs) support both new and old rules since they // accept the old rules and only g...
/*=================================================================== 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...
// Copyright 2017, Additive Regularization of Topic Models. // Author: Murat Apishev (great-mel@yandex.ru) #include "artm/core/protobuf_helpers.h" #include "artm/core/phi_matrix.h" #include "artm/core/phi_matrix_operations.h" #include "artm/core/token.h" #include "artm/regularizer/net_plsa_phi.h" namespace artm { n...
// // Copyright (c) 2008-2014 the Urho3D project. // // 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, m...
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
/* * Copyright 2019, Intel Corporation * * 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 f...
#include <iostream> #include <fstream> #include <vector> #include <boost/foreach.hpp> #include <boost/preprocessor/stringize.hpp> #include <boost/test/unit_test.hpp> #include "json/json_spirit_reader_template.h" #include "json/json_spirit_writer_template.h" #include "json/json_spirit_utils.h" #include "main.h" #includ...
#include "Triangle.hpp" Triangle::Triangle(glm::vec3 position, GLfloat size) : m_position(position), m_scale(size) { /**************************************************** * Define the vertex data and set up the VBO and VAO *****************************************************/ GLfloat vertices[] ...
/* * Copyright (c) 2019-2021, NVIDIA 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...
// stdafx.cpp : source file that includes just the standard includes // Regex_Examples.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
#ifndef LAMBDA_NATURAL_CONSTANT_HPP #define LAMBDA_NATURAL_CONSTANT_HPP #include <ast/node.hpp> namespace ast { class NaturalConstant : public Node { public: using Pointer = Node::PointerType<NaturalConstant>; using NaturalValueType = unsigned long; public: explicit NaturalCon...
// Copyright Catch2 Authors // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // https://www.boost.org/LICENSE_1_0.txt) // SPDX-License-Identifier: BSL-1.0 /**\file * Checks that test case methods with identical class, name and t...
#include "my_application.h" #include <flutter_linux/flutter_linux.h> #ifdef GDK_WINDOWING_X11 #include <gdk/gdkx.h> #endif #include "flutter/generated_plugin_registrant.h" struct _MyApplication { GtkApplication parent_instance; char** dart_entrypoint_arguments; }; G_DEFINE_TYPE(MyApplication, my_application, GT...
// _ _____ __________ // | | / / _ | / __/_ __/ Visibility // | |/ / __ |_\ \ / / Across // |___/_/ |_/___/ /_/ Space and Time // // SPDX-FileCopyrightText: (c) 2021 The VAST Contributors // SPDX-License-Identifier: BSD-3-Clause #define SUITE pcap #include <vast/concept/parseable/to....
// // TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include <MaterialXGenGlsl/EsslShaderGenerator.h> #include <MaterialXGenShader/Shader.h> #include <MaterialXGenShader/ShaderStage.h> #include <MaterialXGenShader/Util.h> #include <emscr...
// Copyright (c) 2011-2020 The Bitcoin 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/danecoin-config.h> #endif #include <qt/utilitydialog.h> #include <qt/forms/ui_h...
//---------------------------------------------------------------------------------------------------------------------- /// /// \file lap.cpp /// \brief Решение задачи о назначениях (cтандартная линейная дискретная оптимизационная задача) /// \date 14.07.20 - создан /// \author Соболев А.А. ...
// // sqlite_orm.cpp // sqlite_orm // // Created by Alex Kremer on 30/11/2011. // Copyright (c) 2011 godexsoft. All rights reserved. // #include "sqlite_orm.h" namespace sqlite { namespace orm { template<> const std::string wrap_type(std::string v) { return v; } template<> ...
// 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/extensions/api/socket/tcp_socket.h" #include "base/memory/scoped_ptr.h" #include "chrome/browser/extensions/api/api_resource...
#ifndef SELDON_FILE_FUNCTIONS_BASE_CXX // in this file, we put functions such as Add, Mlt, MltAdd // with a reduced number of templates in order // to forbid undesired instantiations of generic functions /* Functions defined in this file: M X -> Y Mlt(M, X, Y) alpha M X -> Y Mlt(alpha, M, X, Y) M X -...
/**************************************************************************** * * Copyright 2018 Samsung Electronics 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...
WHEN("^the operator applies (.*) to the accelerator for (\\d+) ms$") { REGEX_PARAM(int, throttle_sensor_val); REGEX_PARAM(int, duration); g_mock_arduino_analog_read_return[0] = throttle_sensor_val; g_mock_arduino_analog_read_return[1] = throttle_sensor_val; g_mock_arduino_millis_return = 1; ch...
#include <iostream> #include <limits> #include "CodeGen_HLS_Base.h" #include "CodeGen_Internal.h" #include "Substitute.h" #include "IROperator.h" #include "Param.h" #include "Var.h" #include "Lerp.h" #include "Simplify.h" namespace Halide { namespace Internal { using std::ostream; using std::endl; using std::string;...
//----------------------------------------------------------------------------- // | // Softing Industrial Automation GmbH | // Richard-Reitzner-Allee 6 | ...
// // Copyright 2020 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...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. /* * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "precomp.h" #include "mpidi_ch3_impl.h" void MPIDI_CH3I_BootstrapQ_create(MPIDI_CH3I_BootstrapQ* queue_ptr) { ...
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * * Copyright: * Christian Schulte, 2012 * * Last modified: * $Date: 2012-09-07 11:29:57 +0200 (Fri, 07 Sep 2012) $ by $Author: schulte $ * $Revision: 13061 $ * * T...
// ********************************************************************************************************************* // File: DGWImageCache.hpp // // Description: Image cache for DG. // // Project: GRAPHISOFT Dialog Manager (DGLib) // // Contact person: VM // ***************************************************...
// // 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...