text
stringlengths
8.71k
38.4k
/* * MIT License * * Copyright (c) 2019 <NAME> <<EMAIL>>, <NAME> <<EMAIL>> * * This file is part of QtProtobuf project https://git.semlanik.org/semlanik/qtprotobuf * * Permission is hereby granted, free of charge, to any person obtaining a copy of this * software and associated documentation files (the "Softwar...
#include "pack_archive.h" #include <algorithm> #include <cstring> #include <iomanip> #include <sstream> #include "lz4.h" static bool lz4_compressor_decompress(const std::vector<uint8_t>& in, std::vector<uint8_t>& out) { int32_t decompressResult = LZ4_decompress_fast( rei...
#include <Content/Mesh.hpp> #include <regex> #include <thread> #include <shared_mutex> #include <Core/Device.hpp> #include <Util/Util.hpp> #include <assimp/scene.h> #include <assimp/cimport.h> #include <assimp/postprocess.h> #include <assimp/material.h> #pragma warning(disable:26451) using namespace std; const ::...
#define CL_HPP_CL_1_2_DEFAULT_BUILD #define CL_HPP_TARGET_OPENCL_VERSION 120 #define CL_HPP_MINIMUM_OPENCL_VERSION 120 #define CL_HPP_ENABLE_PROGRAM_CONSTRUCTION_FROM_ARRAY_COMPATIBILITY 1 #define CL_USE_DEPRECATED_OPENCL_1_2_APIS #include <vector> #include <unistd.h> #include <iostream> #include <fstream> #...
#include <iostream> #include "pin.H" #include <fstream> #include <string> #include <list> #include <boost/algorithm/string.hpp> #include <unordered_map> #include <exception> // TODOs can be searched with ----> TODO: // #define RPB_DEBUG // comment out to disable rbp debugging // #define RBP_DETECTION // comment out t...
/* _______________________________________________________________________ DAKOTA: Design Analysis Kit for Optimization and Terascale Applications Copyright 2014 Sandia Corporation. This software is distributed under the GNU Lesser General Public License. For more information, see the README file in t...
/* This file is part of the Vc library. {{{ Copyright © 2009-2015 <NAME> <<EMAIL>> 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...
/********************************************************** * MIT License * * Copyright (c) 2018 LNIS - The University of Utah * * 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...
// **************************************************************************** // // Copyright (c) 2017, <NAME>, <NAME>, <NAME>, Johns Hopkins University. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the follow...
#include "Networks.h" #define SAFE_RELEASE(lp) if (lp != nullptr) { lp->Release(); lp = nullptr; } using namespace DirectX; // Window handler extern HWND hwnd; // Direct3D basics ID3D11Device *g_pd3dDevice = NULL; ID3D11DeviceContext *g_pd3dDeviceContext = NULL; sta...
/** \file stats_main.cpp * * Defines the "vg stats" subcommand, which evaluates graphs and alignments. */ #include <omp.h> #include <unistd.h> #include <getopt.h> #include <list> #include <fstream> #include "subcommand.hpp" #include "../algorithms/distance_to_head.hpp" #include "../algorithms/distance_to_tail.hp...
/* * This file is part of the Visual Computing Library (VCL) release under the * MIT license. * * Copyright (c) 2014 <NAME> * * 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 r...
/* * Copyright 2018 The Android Open Source Project * * 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 applica...
#include "L1Trigger/CSCTriggerPrimitives/interface/CSCMotherboard.h" #include <iostream> #include <memory> // Default values of configuration parameters. const unsigned int CSCMotherboard::def_mpc_block_me1a = 1; const unsigned int CSCMotherboard::def_alct_trig_enable = 0; const unsigned int CSCMotherboard::def_clct_t...
// // Blitter.cpp // Clock Signal // // Created by <NAME> on 22/07/2021. // Copyright © 2021 <NAME>. All rights reserved. // #include "Blitter.hpp" #include "Minterms.hpp" #include <cassert> #ifndef NDEBUG #define NDEBUG #endif #define LOG_PREFIX "[Blitter] " #include "../../Outputs/Log.hpp" using namespace A...
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #include <algorithm> #include <cassert> #include <cmath> #include <exception> #include <fstream> #include <random> #include <poplar/Engine.hpp> #include <poplar/Graph.hpp> #include <poplar/IPUModel.hpp> #include <poplibs_support/TestDevice.hpp> #include <popops...
//SEE LICENSE file for copyright and license details. //Macrowhale kbdmacro manager is designed to help jingos to reduce the //imcompabilities which comes when jingos makes adaptations to //different programs which has't make adaptations by themselves. Macro //is a string of kbd events. It can conceive a lot of thing ...
// Copyright (c) 2006-2008 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/views/status_bubble_views.h" #include <algorithm> #include "app/gfx/canvas.h" #include "app/gfx/text_elider.h" #includ...
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
// // Copyright (c) 2017 The Khronos Group 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 la...
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
#include "pch.h" ////////////////////////////////////////////////////////////////////////////// // // The pointer geometry // ////////////////////////////////////////////////////////////////////////////// float height = 30; float base = 0.25f * height; float c = sqrt(3.0f) / 2.0f; float s = 0.5f; float x ...
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * 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....
#define PY_SSIZE_T_CLEAN #include <Python.h> #include <python_binding.hpp> #include <opencv2/opencv.hpp> #include <vector> #include <iostream> #include <math.h> //#undef _DEBUG //#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <numpy/arrayobject.h> #include <numpy/ndarraytypes.h> static PyObject* cv2nump...
/* * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights * reserved. * Copyright (C) 2008, 2009, 2010, 2011 Google Inc. All rights reserved. * Copyright (C) 2011 <NAME>. * Copyright (C) 2011 Motorola Mobility. All rights reserved. * * Redistribution and use in source and binary forms, with or ...
#include "rtweekend.h" #include "color.h" #include "hittable_list.h" #include "sphere.h" #include "aarect.h" #include "box.h" #include "camera.h" #include "material.h" #include "metal.h" #include "lambertian.h" #include "Median.h" #include "dielectric.h" #include "mirror.h" #include "diffuse_light.h" #include "checker...
/* Copyright (c) 2015, 2020, Oracle and/or its affiliates. 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 (including...
// For the nested case, reads input from the SDL window and send to wayland #include <thread> #include <mutex> #include <signal.h> #include <linux/input-event-codes.h> #include <SDL.h> #include "inputsdl.hpp" #include "wlserver.h" #include "main.hpp" std::mutex g_SDLInitLock; //-----------------------------------...
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmWorkerPool.h" #include <algorithm> #include <array> #include <condition_variable> #include <cstddef> #include <deque> #include <functional> #include <mutex> #i...
#include "api/key.h" #include <map> #include <cassert> #include <iostream> #include "api/sdl_dependency.h" #include "base/string.h" #include "base/cc.h" #include "base/c.h" #include "base/enumstringmap.h" namespace { using KeyStringMap = EnumStringMap<Key>; KeyStringMap build_map() { KeyStringM...
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2009-2012, <NAME>, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification,...
#define EIGEN_USE_THREADS #include <memory> #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "ten...
#include "CondTools/RunInfo/interface/RunSummaryRead.h" #include "RelationalAccess/ISession.h" #include "RelationalAccess/ITransaction.h" #include "RelationalAccess/ISchema.h" #include "RelationalAccess/ITable.h" #include "RelationalAccess/ITableDataEditor.h" #include "RelationalAccess/TableDescription.h" #include "Re...
#include "cocos2d.h" //#ifdef COCOS_INTEGRATION //#include "cocos2d.h" //#else //#include <stdio.h> // vsprintf... //#endif // COCOS_INTEGRATION #include "avg_log.h" #include "WWiseHelper.h" #include <AK/Wwise_IDs.h> #include <AK/SoundEngine/Common/AkTypes.h> #include <wchar.h> #ifdef AK_IOS #include "...
/* * 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) 2019 <NAME> // // 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 <iostream> #include <unordered_map> #include <algorithm> #include "PrimeMusic.hpp" #include "NoteOperations.hpp" #include "Experiments.hpp" #include "midi/MidiFile.hpp" using namespace aural_sight; std::vector<int> primeList = { 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, ...
#include "XManga.hpp" #include "Archive.hpp" #include "Settings.hpp" #include "ui_MainWindow.h" #include "BookmarkDialog.hpp" XManga::XManga() : ui_(new Ui::MainWindow), fullScreen_(false), scaleMode_(1) { qApp -> installEventFilter(this); ui_ -> setupUi(this); ui_ -> statusbar -> setSizeGri...
#include "tesselation.h" #include <random> // make normals for each face - duplicates all vertex data void facet_normals(Mesh* mesh) { // allocates new arrays auto pos = vector<vec3f>(); auto norm = vector<vec3f>(); auto texcoord = vector<vec2f>(); auto triangle = vector<vec3i>(); auto quad = v...
/*========================================================================= * * 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 <algorithm> #include <iostream> #include "W3CSkColorParser.h" #include "helpers.h" using std::round; using std::stoi; using std::stof; bool is_number(const std::string& s) { std::string::const_iterator it = s.begin(); while (it != s.end() && (std::isdigit(*it) || *it == '.' || *it == '-')) ++it; ...
// balm_metricdescription.t.cpp -*-C++-*- // ---------------------------------------------------------------------------- // NOTICE // // This component is not up to date with current BDE coding standards, and // should not be used as an example f...
#include"includes.h" Camera camera; float gl_deltaTime; float fov; void renderScene(Shader& shader); void renderScene2(Shader& shader); unsigned int VAO, VBO, EBO; float vertices[] = { // positions // normals // texture coords// -0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f, -0.5f, 0....
/* * Copyright 2009 Rensselaer Polytechnic Institute * This program 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 your option) any later version. * * Thi...
/** * Copyright 2018 <NAME> Oceanographic Institution * * 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 and the fo...
/* An Algorithm for Automatically Fitting Digitized Curves by <NAME> from "Graphics Gems", Academic Press, 1990 Adapted to C++ by <NAME> on 4/15/2020 */ /* Piecewise cubic fitting code */ #include "FitCurves.h" #include <vector> static void FitCubic(const Eigen::Ref<Eigen::MatrixX2d> &d, int first, int last, const...
#include <arpa/inet.h> #include <iostream> #include <fstream> #include <string> #include <string.h> #include <sstream> #include <map> #include <set> #include "gm_graph.h" #include "gm_util.h" #include "gm_lock.h" #include "gm_file_handling.h" #include "avro.h" VALUE_TYPE avroGetTypeValue(const char* ...
// // NodeInstance.cpp // // LiquidPlayer project // https://github.com/LiquidPlayer // // Edited by <NAME> // // Based on node.cc in node/src/node.cc /* Copyright (c) 2016 <NAME>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the f...
#include "optimization.h" #include <random> //constructor Optim::Gradient_Descent::Gradient_Descent(Parameters &params): Params(params) //NOTE: references must be initialized. //create a reference to the params structure so it can be used by all the member functions { num_steps = 10; //number of steps to take f...
/************************************************************************* "I Have No Tomatoes" Copyright (c) 2004, <NAME> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arisin...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
#include "Dirac_vs_Majorana.hpp" #include <iostream> #include <fstream> #include "Statistics.hpp" //1. Create a DM particle interacting with the photon via higher order operators (anapole, magnetic dipole, electric dipole) DM_Particle Create_DM_Particle(double mDM, double C_1, double C_2, double C_3) { DM_Particle ...
#include "graycom.h" #include "CGrayInst.h" #include "../graysvr/graysvr.h" bool CGrayInstall::FindInstall() { #ifdef _WIN32 // Get the install path from the registry. static LPCTSTR m_szKeys[] = { "Software\\Origin Worlds Online\\Ultima Online\\1.0", "Software\\Origin Worlds Online\\Ultima Online ...
#pragma once #include <mcpe\Util.hpp> #include <mcpe\BlockPos.hpp> #include <mcpe\Random.hpp> #include <mcpe\RenderParams.hpp> class ActorBlockSyncMessage; class ActorLocation; class ActorDamageSource; class RideTickComponent; //class MaterialType; enum MaterialType { MATERIAL_DEFAULT = 0 }; class ActorEvent; clas...
#pragma once #include <core123/strutils.hpp> #include <core123/log_channel.hpp> #include <core123/diag.hpp> #include <core123/datetimeutils.hpp> #include <core123/exnest.hpp> #include <core123/envto.hpp> #include <algorithm> #include <atomic> #include <chrono> #include <random> #include <mutex> #include <string> #incl...
/** \file Terrain.h \author <NAME>, http://cs.williams.edu/~morgan */ #include "Terrain.h" shared_ptr<Terrain> Terrain::create(const Specification& specification, const LightingEnvironment& lighting) { return shared_ptr<Terrain>(new Terrain(specification, lighting)); } Terrain::Terrain(const Spec...
/* Copyright (c) <2009> <<NAME>> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercia...
/****************************************************************************** * $Id$ * * Project: MapServer * Purpose: Implementation of the union layer data provider (RFC-68). * Author: <NAME> (<EMAIL>). * ****************************************************************************** * Copyright (c) 1996...
/** * Copyright (C) 2021 <NAME> <<EMAIL>> with support Kintech Lab * Licensed under the Apache License, Version 2.0 **/ #include <sstream> #include "../../include/aiwlib/interpolations" #include "../../include/aiwlib/binary_format" #include "../../include/aiwlib/qplt/mesh" using namespace aiw; //------------------...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribut...
int AE,g ,X , EwjBk ,aw ,I2 ,qC, to3 ,ok6WuF , j ,lQe,yQ1 ,/*TO*/ DfHEW ,//2 wQk2 ,VX3Z, hj2GL , Se , Cf, r,tjw0, /*lJ*/gN9 , aqx4/*1i*/,Op ,fM,Pq ,t0A, epY, C,Id, nBEEu ,ES ,wud//pno ,Q,JGR ; void f_f0() {; {{ return ; { { { { }//UMcj }/*7OZ*/}for(int i=1; i< 1;++i){ }}{int wGb , /*U*/...
/** * @file LemmaExtractor.cc * @Author <NAME> * @brief Lemmatizer class. */ /////////////////////////////////////////////////////////////////////////////// // ...
/* Copyright (c) 2013, The Mineserver Project 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 conditi...
#include "galcore/Mesh.h" #define _USE_MATH_DEFINES #include <galcore/DebugProfile.h> #include <galcore/ObjLoader.h> #include <math.h> #include <array> #include <numeric> static constexpr uint8_t X = UINT8_MAX; static constexpr std::array<std::array<uint8_t, 6>, 8> s_clipTriTable {{ {X,...
#include "Grid.h" #include "Mask.h" #include "dlib/threads.h" #include "dlib/image_io.h" #include "dlib/geometry.h" #include "dlib/matrix.h" #include <iostream> #include <climits> using std::pair; using std::vector; using std::string; using std::function; using std::cerr; using std::endl; using dlib::point; // Giv...
// Class Header #include "SegSelector.h" // Framework #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" //#include "PluginManager/ModuleDef.h" #include "FWCo...
#include <gflags/gflags.h> #include <signal.h> #include <cstring> #include <pcg/pcg_random.hpp> #include "../apps_common.h" #include "pmica.h" #include "rpc.h" #include "util/autorun_helpers.h" #include "util/latency.h" #include "util/math_utils.h" #include "util/numautils.h" static constexpr size_t kAppEvLoopMs = 100...
// author: <NAME> // email: <EMAIL> // 2006/06/29 /* changes made: 1. SL 14Jan07. change #constant to @constant 2. SL 15Jan07. change Results File Format 1 (sparse results format) to put doc id at the beginning, "true:" and "pred:" before true and predicted classes; 3. SL 16Jan07. add pars...
#include "KCF_Tracker.hpp" void KCF_Tracker::init(cv::Mat& img, const cv::Rect& bbox) { //check boundary, enforce min size double x1 = bbox.x < 0 ? 0 : bbox.x; double y1 = bbox.y < 0 ? 0 : bbox.y; double x2 = bbox.x + bbox.width > img.cols - 1 ? img.cols - 1. : x1 + bbox.width; double y2 ...
/* * Copyright <NAME>, 3020 Herent, Belgium * * See LICENSE.txt for terms of use. */ #include "Genome.h" #include "GenomeScorer.h" #include "CodingSequence.h" #include "Codon.h" #include <iostream> #include <fstream> #include <sstream> #include <numeric> #include <regex> namespace { int gcd(int a, int b) { fo...
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016, Intel Corporation // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to de...
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2014 RDK Management * * 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...
#include <_screen/screen.keyboard.h> #include <_screen/screen.desktop.h> #include <_type/type.animation.h> #include <_controller/controller.font.h> #include <_controller/controller.gui.h> #include <_controller/controller.localization.h> #include <_controller/controller.memory.h> // NDS Includes extern "C"{ ...
#include <math.h> #include "EventPass.hpp" #include "game/Game.hpp" #include "Functions.hpp" #include "Resources.hpp" #include "game/Player.hpp" #include "CharacterSelect.hpp" #include <iostream> #include "InputCodeString.hpp" class PlayerDummy { public: enum ControllType { Keyboard = 0, Joystick, Co...
/* PROJECT: Medo * AUTHORS: <NAME>, Melbourne Australia * COPYRIGHT: Zen Yes Pty Ltd, 2019-2021 * DESCRIPTION: Audio Effect / IIR Filter * Designing Audio Effects Plugins in C++, <NAME>, 2nd Edition */ #include <cstdio> #include <cmath> #include <InterfaceKit.h> #include <interface/OptionPopUp.h> #include...
// Copyright 2013 <NAME> // // Script for cross validating mnist with various hyperparameters with specified // basic model in proto // Usage: // cross_validate_mnist base_solver_proto model[cnn/sicnn/ricnn] #include <cuda_runtime.h> #include <fstream> #include <time.h> #include <cstring> #include <cmath> #inclu...
//// volanalysis.cpp: implementation of the VolAnalysis class. //// // -gen_disptr() starts the disparity estimation of the Cost Filter (CF). // -gen_disptr_salient() starts the disparity estimation of the // Accelerated Cost volume Filtering (ACF) method. // -post_process() performs super...
#include <sstream> #include "bitStream.h" #include "avCodecs.h" #include "vodCoreException.h" #include "ac3Codec.h" #include "vod_common.h" #define max(a,b) (a>b ? a : b) static const int NB_BLOCKS = 6; // number of PCM blocks inside an AC3 frame static const int AC3_FRAME_SIZE = NB_BLOCKS * 256; co...
/* * This file belongs to the Galois project, a C++ library for exploiting * parallelism. The code is being released under the terms of the 3-Clause BSD * License (a copy is located in LICENSE.txt at the top-level directory). * * Copyright (C) 2018, The University of Texas at Austin. All rights reserved. * UNIVER...
#include "PrecompiledHeaders/Converter.h" #include "from_obj.h" #include <utility> #include <cstring> //We are using C style string functions here using namespace std; /* * Vega Strike * Copyright (C) 2001-2002 <NAME> & <NAME> * * http://vegastrike.sourceforge.net/ * * This program is free software; you can ...
/* $Id: UIDesktopPane.cpp 72824 2018-07-03 14:33:58Z vboxsync $ */ /** @file * VBox Qt GUI - UIDesktopPane class implementation. */ /* * Copyright (C) 2010-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free softw...
// Copyright 2018 National Technology & Engineering Solutions of Sandia, // LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Government retains certain rights in this software. #include <iostream> #include <assert.h> #include <mpi.h> #include "faodel-common/Common.hh" #include "lunasa...
#include "machinesdlg.h" #include "machinesrecord.h" #include "heapmanager.h" #include "vmwidgets.h" #include "vmtablewidget.h" #include "vmactiongroup.h" #include "job.h" #include "stringrecord.h" #include "vmnotify.h" #include "mainwindow.h" #include "system_init.h" #include "fast_library_functions.h" #include "vmnot...
/* * SolverLag.cpp * * Created on: Mar 29, 2015 * Author: markus */ #include <stack> #include <chrono> #include <queue> #include <utility> #include "include/Parameters.h" #include "include/SolverLag.h" using std::vector; using std::list; using std::queue; using std::max; using Rcpp::Rcout; namespace chr...
/* * Copyright (C) 2017-2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "core/helpers/aligned_memory.h" #include "core/helpers/basic_math.h" #include "core/helpers/ptr_math.h" #include "runtime/command_queue/local_id_gen.h" #include "gtest/gtest.h" #include <algorithm> #include <cstdint> ...
/* * Copyright 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Softwar...
#include "OpenSimUtil.h" #include <simbody/internal/AssemblyCondition_Markers.h> #include <OpenSim/Simulation/Manager/Manager.h> #include <OpenSim/Actuators/CoordinateActuator.h> #include "CommonUtil.h" using namespace SimTK; using namespace std; /* I/O **************************************************************...
#include "c_aimhelper.h" #include "../sdk/c_cs_player.h" #include "../sdk/c_client_entity_list.h" #include "c_animation_system.h" #include "../utils/math.h" #include "../sdk/c_weapon_system.h" #include "c_trace_system.h" #include "../sdk/c_debug_overlay.h" static std::vector<std::tuple<float, float, float>> precomput...
#include <stdio.h> #include <cfloat> #include <list> #include <vector> #include <math.h> #include <iostream> #include <algorithm> #include <numeric> #include <boost/algorithm/clamp.hpp> #include <random> #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/op.h" #include "ten...
/** * A simple stochastic algorithm for residual ptimization. Works good * enough when we start from a good initial point (proporional or * uniform - request prior knowledge.). Gives the options for initial * point: proportional, uniform, random. Great disadvandage the fact that * is based on the wrong theory that...
/* +---------------------------------------------------------------------------+ | Open MORA (MObile Robot Arquitecture) | | | | http://sourceforge.net/p/openmora/home/ ...
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAM...
/*========================================================================= Program: BatchMake Module: CondorWatcher.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2005 Insight Consortium. All rights reserved. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm fo...
#include "SoloFeature.h" #include "streamFuns.h" #include "TimeFunctions.h" #include "serviceFuns.cpp" #include <unordered_map> #include "SoloCommon.h" inline int funCompareSolo1 (const void *a, const void *b); //defined below inline int funCompare_uint32_1_2_0 (const void *a, const void *b); void SoloFeatur...
/* Filename: ScriptingManager.cpp Purpose: Scripting management Part of Engine2D Copyright (C) 2014 Vbitz 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.apa...
/* * System.cpp * * Created on: May 27, 2017 * Author: kolban */ #include "System.h" #include <esp_system.h> #include <soc/gpio_struct.h> #include <stdio.h> extern "C" { #include <esp_heap_caps.h> } typedef volatile struct { union { struct { uint32_t mcu_oe: 1; uint32_t slp_sel: 1; uint...
//--------------------------------------------------------------------- // // File: TCinepakCodec.cpp // // Author: <NAME> // // Date: 09.14.98 // // Desc: Cinepak CODEC Routines "Radius Compact Video" // // Copyright ©1998 mediapede Software // //--------------------------------------------------------------------- /...
#include "reachObjMultiDemo.h" using namespace std; using namespace yarp::os; using namespace yarp::sig; using namespace yarp::math; bool reachObjMultiDemo::configure(yarp::os::ResourceFinder &rf) { bool bEveryThingisGood = true; name = rf.check("name", Value("reachBallDemo"), "module name (string)").asStrin...
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2020 INRIA. * * 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 * *...
#include "Level1.h" Level1::Level1(RenderWindow& window, SFMLDebugDraw& debugDraw, b2World* World,Score* score) :State(window,debugDraw,World), levelView(window.getView()), hudView(), score(score) { hudView.reset(FloatRect(0,0,900,700)); hudView.setViewport(FloatRect(0,0,1,1)); // target rect - in ratio c...