text
stringlengths
5
1.04M
// 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 "appch.h" #include "Alpha/Platform/OpenGL/OpenGLRendererAPI.h" #include "RenderCommand.h" namespace Alpha { RendererAPI* RenderCommand::s_RendererAPI = new OpenGLRendererAPI; }
#ifndef VG_STATISTICS_HPP_INCLUDED #define VG_STATISTICS_HPP_INCLUDED /** * \file statistics.hpp * * Defines a range of statistical functions * */ #include <cmath> #include <algorithm> #include "utility.hpp" namespace vg { using namespace std; double median(std::vector<int> &v); // Online mean-variance comp...
//================================================================================================= /*! // \file src/classic/TDMatDVecMult.cpp // \brief Source file for the classic transpose dense matrix/dense vector multiplication kernel // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // Thi...
//Radix Sort for strings #include <iostream> using namespace std; #include "Sort.h" void write(string a[],int n) { for (int i=0;i<n;i++) cout <<' '<<a[i]; } /*void radixS(string a[],int low,int high,int radix,int digits) { LinkedQueue<int> q[radix]; int factor = 1; int digit; int index; for (int k=0;k<...
// WCCOAJavaConnection.hxx -- WCCOAJava HmiConnection-Class #ifndef _WCCOAJavaCONNECTION_H_ #define _WCCOAJavaCONNECTION_H_ #include <HmiConnection.hxx> class WCCOAJavaConnection : public HmiConnection { public: WCCOAJavaConnection(DpIdType id); ~WCCOAJavaConnection(); /** the open connection ...
/** * Copyright 2011-2015 Quickstep Technologies LLC. * Copyright 2015 Pivotal Software, 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...
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/file_system_access/file_system_access_manager_impl.h" #include <string> #include <utility> #include <vector> #include "base/ca...
/******************************************************************************* * This file was auto-generated using the AutoGemm.py python script. * DO NOT modify this file! Instead, make changes to scripts in * clBLAS/src/library/blas/AutoGemm/ then re-generate files * (otherwise local changes will be lost a...
/* * Copyright (C) 2018 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...
/* * Copyright 2019-2020 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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/LICENS...
// 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 // Copyright (c) 2018 The IoTHome developers // Distributed under the MIT software license, see the accompanying // file COPYING or ...
// Fill out your copyright notice in the Description page of Project Settings. #include "BBRoomBase.h" #include "BBGuard.h" #include "BBPlayerCharacterBase.h" #include "BBLevel.h" #include "BBUtilities.h" #include "BBMainGameMode.h" #include "Components/StaticMeshComponent.h" #include "Materials/MaterialInsta...
//Author:LanceYu #include<iostream> #include<string> #include<cstring> #include<cstdio> #include<fstream> #include<iosfwd> #include<vector> #include<cstdlib> #include<queue> #include<set> #include<ctime> #include<algorithm> #include<complex> #include<cmath> #include<array> #include<valarray> #include<bitset> #define ll...
#ifndef __SIMPLE3DOBJECT_INCLUDE__ #define __SIMPLE3DOBJECT_INCLUDE__ #include <sl/Camera.hpp> #include <GL/glew.h> #include <GL/freeglut.h> #include <mutex> class Shader{ public: Shader(GLchar* vs, GLchar* fs); ~Shader(); GLuint getProgramId(); static const GLint ATTRIB_VERTICES_...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/base_switches.h" #include "base/command_line.h" #include "base/hi_res_timer_manager.h" #include "base/message_loop.h" #include "base/st...
// Copyright (c) 2011-2013 The Bitcoin developers // Copyright (c) 2017-2019 The HodlCash developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "notificator.h" #include <QApplication> #include <QByteArray> #in...
// Copyright 2020 Makani Technologies LLC // // 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 ...
/* TinyGPS++ - a small GPS library for Arduino providing universal NMEA parsing Based on work by and "distanceBetween" and "courseTo" courtesy of Maarten Lamers. Suggestion to add satellites, courseTo(), and cardinal() by Matt Monson. Location precision improvements suggested by Wayne Holder. Copyright (C) 2008-2013 Mi...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__char_file_ofstream_13.cpp Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-13.tmpl.cpp */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: file Read input from a file * Goo...
/*Exercise 1 - Calculations Convert the C program given below which converts a length given in cm to inches to a C++ program. Please Note that the input command in C++ is std::cin. This is a representation of the Keyboard. e.g. float data1; int data2; scanf("%f", &data1); --> std::cin >> data1; scanf("%d", &data2)...
/* * Automatically Generated from Mathematica. * Thu 14 Oct 2021 09:59:29 GMT-04:00 */ #ifdef MATLAB_MEX_FILE #include <stdexcept> #include <cmath> #include<math.h> /** * Copied from Wolfram Mathematica C Definitions file mdefs.hpp * Changed marcos to inline functions (Eric Cousineau) */ inline double Power(doub...
/**************************************************************************** * * Copyright (c) 2017 PX4 Development Team. 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. Redistri...
#include "IfSearch.h" #include <QDir> #include <QFileSystemWatcher> #include <QStringList> #include <QTimer> #include <EigenFace.h> #include <EigenFaceGenerator.h> #include <EigenFaceFace.h> #include <EigenFaceTemplate.h> #include <EigenFaceSearchResultList.h> #include <FaceBase.h> #include <FileWritePro...
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fxcodec/tiff/tiff_decoder.h" #include <limits> #include <memor...
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 #define WIN32_LEAN_AND_MEAN #include "windows.h" #endif #include "BvhViewerApp.h" #ifdef __cplusplus extern "C" { #endif #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT ) #else int main(int argc, char *arg...
// Name: S, Version: b #include "../SDK.h" #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Functions //--------------------------------------------------------------------------- // ...
// // Created by Lars Gebraad on 16/04/19. // // Includes #include "../src/fdModel.h" #include <fstream> #include <iomanip> #include <iostream> #include <omp.h> #include <tgmath.h> int main() { std::cout << "Maximum amount of OpenMP threads:" << omp_get_max_threads() << std::endl; // Define test, sho...
/* //@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...
/** * 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...
/* Copyright (c) 2013-2014 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura Soonho Kong */ #include <vector> #include <sstream> #include <string> #include <algorithm> #include <limits> #include <lean/hash.h> #include <lean...
#include "stdafx.h" CustomActionData::CustomActionData() : domainUser(false), doInstallSysprobe(false) { } CustomActionData::~CustomActionData() { } bool CustomActionData::init(MSIHANDLE hi) { this->hInstall = hi; std::wstring data; if (!loadPropertyString(this->hInstall, propertyCustomActionD...
/* * Copyright (C) 2014 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions ...
/* * Copyright Andrey Semashev 2007 - 2013. * 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) */ /*! * \file timer.cpp * \author Andrey Semashev * \date 02.12.2007 * * \brief This h...
// Copyright Carl Philipp Reh 2009 - 2021. // 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 <fcppt/mpl/list/object.hpp> #include <fcppt/record/from_list.hpp> #include <fcppt/record/o...
#ifndef __PARA__ #define __PARA__ const char *e_para[5] = { "The fastest typing speed ever, 216 words per minute, was achieved by Stella Pajunas-Garnand from Chicago in 1946 in one minute on an IBM electric. As of 2005, writer Barbara Blackburn was the fastest English language typist in the world, according to The G...
// // $Id: struct_client.cpp 82155 2008-06-24 14:11:03Z sma $ // #include "tao/AnyTypeCode/AnyTypeCode_methods.h" #include "tao/DynamicAny/DynAnyFactory.h" #include "structC.h" #include <ace/streams.h> using namespace StructTest; using namespace DynamicAny; //----------------------------------------------------------...
/* Copyright 2013-2021 MultiMC Contributors * * 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...
#pragma once #include "entity.hpp" #include <string> #include <sstream> namespace gal { template <typename A, typename T, elem_t... E> [[nodiscard]] std::string to_string(entity<A, T, E...> in) { if constexpr (sizeof...(E) == 0) { return "0"; } else { std::stringstream stream; ...
#include "deheap/functions.hpp" #include <benchmark/benchmark.h> #include <random> static void make_deheap(benchmark::State &state) { std::vector<int> v; std::mt19937 gen; std::generate_n(std::back_inserter(v), state.range(0), std::ref(gen)); for (auto _ : state) { state.PauseTiming(); std::shuffle(v.b...
#include <string> #include <iostream> #include <boost/asio/ip/address.hpp> #include <boost/format.hpp> #include <boost/asio/deadline_timer.hpp> #include <boost/asio/ip/address.hpp> #include <boost/format.hpp> #include <boost/asio/deadline_timer.hpp> #include <boost/format.hpp> #include <boost/date_time/posix_time/posix...
#include "duckdb/execution/operator/join/physical_piecewise_merge_join.hpp" #include "duckdb/common/vector_operations/vector_operations.hpp" #include "duckdb/execution/expression_executor.hpp" #include "duckdb/execution/merge_join.hpp" #include "duckdb/common/operator/comparison_operators.hpp" namespace duckdb { Phy...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
//===-- Background.cpp - Build an index in a background thread ------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
// Copyright (c) 2017 Jackal Engine, MIT License. #include "OpenGLDevice/OpenGLUniformBuffer.hpp" #include "OpenGLDevice/OpenGLGraphicsPipelineState.hpp" #include "Core/Logging/Debugging.hpp" #include <stdlib.h> namespace jackal { void OpenGLUniformBuffer::Initialize(UniformBufferCreateInfoT& info) { CleanUp(); ...
#include <flutter/dart_project.h> #include <flutter/flutter_view_controller.h> #include <windows.h> #include "flutter_window.h" #include "run_loop.h" #include "utils.h" int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, _In_ wchar_t *command_line, _In_ int show_command) { ...
#include "mpi.h" #include "mlpack/core.hpp" #include "mlpack/methods/decision_tree/decision_tree.hpp" #include "mlpack/methods/softmax_regression/softmax_regression.hpp" #include <string> const std::string data_files_extension = ".bin"; const std::string get_object_data_file_prefix(const int object_id); const std::str...
#include "MainWindow.h" #include "GlobalManager.h" #include <assert.h> #include <QCloseEvent> #include <QMenu> #include <QAction> #include <QApplication> #include <QDir> #include <QStandardItemModel> #include <QDesktopWidget> #include <QDateTime> #include <QtNetwork/QHostInfo> #include <QPropertyAnimation> #include <Q...
#ifndef DYNSYS_WRAPPERS_HPP_ #define DYNSYS_WRAPPERS_HPP_ // Macro for MatLab users that prefer external functions template<typename T> inline auto GetLength(const T& v) { return v.length(); } // Macro for MatLab users that prefer external functions template<typename T> inline auto GetDimension(const T& g) { ...
#include "MinValNode.h" #include "Base/ImGuiShapes.h" #include "Generators/CPUNodeEditor/CPUNodeEditor.h" #include <iostream> #include <mutex> #include "Base/ImGuiCurveEditor.h" NodeOutput MinValNode::Evaluate(NodeInputParam input, NodeEditorPin* pin) { float x = inputf; if (inputPins[0]->IsLinked()) ...
#include<iostream> using namespace std; string reverseString(string s){ string rev_s; for(int i = s.size()-1;i>=0;--i){ rev_s.push_back(s[i]); } return rev_s; } bool isPailndrome(string s){ if(s==reverseString(s)){ return true; } else return false; } bool isPailndrome_better(...
#include <napi/napi.h> #include <napi/napi_pointer.h> #include <NativeCamera.h> #include "NativeVideo.h" #include "NativeCameraImpl.h" #include <Babylon/JsRuntime.h> #include <Babylon/Graphics/DeviceContext.h> #include <Babylon/Graphics/Texture.h> #include <vector> #include <algorithm> namespace Babylon { namespac...
//--------------------------------------------------------------------- // // File: TCueEffect.cpp // // Author: Mike Ost // // Date: 10.09.98 // // Desc: // // Effects are data modifiers that have a sense of time. They have // a start time and a duration within the cue they are contained by. // As a cue's data is re...
#ifndef COMMANDERROR_HPP #define COMMANDERROR_HPP #include <deque> #include <stdexcept> #include <string> #include <memory> #include "BotError.hpp" #include "Command.hpp" #include "Player.hpp" namespace hlt { class Command; class BaseCommandError; /** Type of command errors exposed to users. */ using CommandError...
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> * 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, t...
#include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include <iostream> #include <optional> #include <string> #include <string_view> #include <fmt/format.h> namespace { constexpr const int kPort = 8080; constexpr const int kBufferSize = 512; using descriptor = int; us...
//***************************************************************************** // Copyright 2017-2020 Intel 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://w...
//===-- TargetLibraryInfo.cpp - Runtime library information ----------------==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/*============================================================================= Library: CTK Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the ...
/* Source File : PDFStreamInput.cpp Copyright 2011 Gal Kahana PDFWriter 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...
/* * Author : Siddhant Khare */ #include <bits/stdc++.h> using namespace std; /******* All Required define Pre-Processors and typedef Constants *******/ #define ll long long #define ld long double #define arr array #define si(t) scanf("%d", &t) #define sl(t) scanf("%ld", &t) #define sll(t) scanf("%lld", &t) #define...
// 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 "third_party/blink/renderer/modules/webgpu/gpu_device.h" #include "gpu/command_buffer/client/webgpu_interface.h" #include "third_party/blink/pub...
/************************************************************************ * * Copyright: 2020 * Owner: Aditya Khopkar * * @brief: This file is the main file. The main function begins and ends here. * This program is responsible in storing an inline input in a vector and subsequently, * find the word count...
// // RSACipherImpl.cpp // // $Id$ // // Library: Crypto_Win // Package: RSA // Module: RSACipherImpl // // Copyright (c) 2006-2014, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/Crypto/RSACipherImpl.h" #include "Poco/Crypto/CryptoTransfo...
/* * 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...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/framework/data_types_internal.h" #include "core/providers/cpu/math/matmul_integer.h" #include "core/providers/cpu/math/matmul_helper.h" #include "core/util/qmath.h" #include "core/providers/common.h" namespa...
#include "stdafx.h" #include "ai_biting.h" #include "ai_biting_state.h" /////////////////////////////////////////////////////////////////////////////////////////////////////////// // CBitingHide class /////////////////////////////////////////////////////////////////////////////////////////////////////////// C...
/* The OpenTRV project licenses this file to you under the Apache Licence, Version 2.0 (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
// Copyright 1996-2019 Cyberbotics 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 or agr...
// no-networkit-format /* * CommunityDetectionAlgorithm.hpp * * Created on: 30.10.2012 * Author: Christian Staudt */ #ifndef NETWORKIT_COMMUNITY_COMMUNITY_DETECTION_ALGORITHM_HPP_ #define NETWORKIT_COMMUNITY_COMMUNITY_DETECTION_ALGORITHM_HPP_ #include <networkit/base/Algorithm.hpp> #include <networkit/grap...
/* Copyright © 2020 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at * https://opensource.org/licenses/BSD-3-Clause */ #ifndef ML_NEURAL_NET_COMBINE_HPP_ #define ML_NEURAL_NET_COMBINE_HPP_ /** * \file combine.hpp ...
/** * Copyright 2011-2015 Quickstep Technologies LLC. * Copyright 2015 Pivotal Software, 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...
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers #include <windows.h> #include <BWAPI.h> #include "BlueBlueSkyModule.h" extern "C" __declspec(dllexport) void gameInit(BWAPI::Game* game) { BWAPI::BroodwarPtr = game; } BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOI...
// This file is made available under Elastic License 2.0. // This file is based on code available under the Apache license here: // https://github.com/apache/incubator-doris/blob/master/be/src/olap/rowset/beta_rowset_writer.cpp // Licensed to the Apache Software Foundation (ASF) under one // or more contributor lice...
#include "ModuleCameraWUP.h" #include "CameraWUP.h" #include "ShrinkerWUP.h" ModuleCameraWUP* gInstanceModuleCameraWUP=0; IMPLEMENT_CLASS_INFO(ModuleCameraWUP) //! constructor ModuleCameraWUP::ModuleCameraWUP(const kstl::string& name,CLASS_NAME_TREE_ARG) : ModuleBase(name,PASS_CLASS_NAME_TREE_ARG) { } //! destru...
#include<iostream> #include<iomanip> #include<string> #include<stdio.h> #include<sqlite3.h> #include<sstream> #include<exception> #include<stdlib.h> #include <bits/stdc++.h> #include "Library.h" using namespace std; int Book::add_book() { cout<<"\nNEW BOOK ENTRY...\n"; cout<<"Enter The Book Identity number:\n";//s...
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
/* * Copyright (c) 2016 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...
// Copyright (C) 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include <algorithm> #include <bitset> #include <cassert> #include <filesystem> #include <sstream> #include "hebench/api_bridge/api.h" #include "include/hebench_benchmark_factory.h" namespace hebench { namespace TestHarness { //-------...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "butil/debug/alias.h" #include "butil/build_config.h" namespace butil { namespace debug { #if defined(COMPILER_MSVC) #pragma optimize("", o...
// // Quantum Script Extension JSON // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #include "quantum-script-extension-json.cpp" #include "quantum-script-extension-json-copyrigh...
/*========================================================================= Program: ParaView Module: TestImageScaleFactors.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; withou...
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #include "MenuScreenControl.h" namespace ExampleApp { namespace Menu { namespace View { MenuScreenControl::MenuScreenControl(Eegeo::Helpers::TIdentity identity) : ScreenControl::View::ScreenControlViewModelBase...
// // ASN1Types.cpp // // $Id: //poco/1.4/Foundation/src/ASN1Types.cpp#1 $ // // Library: Foundation // Package: Streams // Module: ASN1Types // // Copyright (c) 2010, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include "Poco/ASN1Types.h" #include "P...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "db.h" #include "txdb.h" #include "init.h" #include "miner.h...
/* * PFRecoTauChargedHadronFromTrackPlugin * * Build PFRecoTauChargedHadron objects * using charged PFCandidates as input * * Author: Christian Veelken, LLR * */ #include "RecoTauTag/RecoTau/interface/PFRecoTauChargedHadronPlugins.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/...
/*************************************************************************** # Copyright (c) 2020, NVIDIA CORPORATION. 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...
#include "harris.h" #include <ctime> Harris::Harris(Mat img, float k, int filterRange, bool gauss) { // (1) Convert to greyscalescale image clock_t start; start = clock(); Mat greyscaleImg = convertRgbToGrayscale(img); std::cout << "GreyscaleImg: " << (std::clock() - start) / (double)(CLOCKS_PER_S...
#include "catch.hpp" #include <SmurffCpp/Utils/Error.h> #include <SmurffCpp/Utils/linop.h> #include <SmurffCpp/Utils/Distribution.h> using namespace smurff; static NoiseConfig fixed_ncfg(NoiseTypes::fixed); TEST_CASE( "SparseSideInfo/solve_blockcg", "BlockCG solver (1rhs)" ) { std::vector<uint32_t> rows = { 0,...
#include <iostream> #include <boost/asio.hpp> #include <boost/signals2.hpp> #include "tyfirc-msgpack.h" #include "tyfirc-scmessage.h" #include "tyfirc-chatrw.h" #include "tyfirc-irclientapp.h" int main() { using namespace tyfirc; client::IrcClientApp app{}; std::string prompt; std::cout << "Write ip of chat mr c...
/* * ClusterController.cpp * * Copyright (C) 2009 - 2010 by VISUS (Universitaet Stuttgart). * Alle Rechte vorbehalten. */ #include "stdafx.h" #include "mmcore/cluster/ClusterController.h" #include <climits> #include "mmcore/cluster/CallRegisterAtController.h" #include "mmcore/cluster/ClusterControllerClient.h" #i...
#include <cstdlib> #include <iostream> typedef int ElemType; typedef struct LinkNode { ElemType data; struct LinkNode *next; } LinkNode, *LinkList; void outPut(LinkList L) { LinkNode *p = L->next; while (p != NULL) { std::cout << p->data << " "; p = p->next; } std::cout << std:...
// 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 "base/token.h" #include <inttypes.h> #include "base/pickle.h" #include "base/rand_util.h" #include "base/strings/stringprintf.h" namespace bas...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Completed includes // Begin forward declares // Forward declaring namespace: Org::Bou...
// This is a part of the Microsoft Foundation Classes C++ library. // Copyright (C) 1992-1998 Microsoft Corporation // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See t...
#include "PhysicsServerCommandProcessor.h" #include "../CommonInterfaces/CommonRenderInterface.h" #include "plugins/b3PluginCollisionInterface.h" #include "../Importers/ImportURDFDemo/BulletUrdfImporter.h" #include "../Importers/ImportURDFDemo/MyMultiBodyCreator.h" #include "../Importers/ImportURDFDemo/URDF2Bullet.h" #...
#include "Editor/LevelEditor/LevelToolbar/LevelToolbar.hpp" #include "Editor/LevelEditor/LevelEditor.hpp" namespace Editor { LevelToolbar::LevelToolbar(LevelEditor* levelEditor) : Framework::ToolBar(levelEditor) { } }
/* 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...
#include <boost/asio/write.hpp>
/** * @file src/llvmir2hll/graphs/cg/cg_builder.cpp * @brief Implementation of CGBuilder. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include "retdec/llvmir2hll/graphs/cg/cg_builder.h" #include "retdec/llvmir2hll/ir/call_expr.h" #include "retdec/llvmir2hll/ir/function.h" #include "retdec/l...