text
stringlengths
5.71k
33.7k
#include <controller.h> #include "../Headers/map.h" #include "../Headers/steiner.h" using namespace Flow; using namespace FlowAlgorithms; Steiner::Steiner() { } Steiner::Steiner(Map* m) { kMap = m; } Steiner::Steiner(Map* m, int x) { kMap = m; kSteinerCalculator = x; } Steiner::~Steiner() { } /** * Ge...
#include <common.h> #include <game.h> #include <g3dhax.h> #include <sfx.h> #include <stage.h> #include "boss.h" // Externs extern "C" int posIsInZone(Vec,float*,float*,u8 zone); extern "C" void* ScreenPositionClass; extern "C" int SpawnThwompEffects(dEn_c *); extern "C" void* SoundRelatedClass; extern "C" Vec Co...
#include "md5.h" // ROTATE_LEFT rotates x left n bits. #define MD5_ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) // F, G, H and I are basic MD5 functions. #define MD5_F(x, y, z) (((x) & (y)) | ((~x) & (z))) #define MD5_G(x, y, z) (((x) & (z)) | ((y) & (~z))) #define MD5_H(x, y, z) ((x) ^ (y) ^ (z)) #defi...
/* * Copyright (C) 2012 by <NAME> (<EMAIL>) * Copyright (C) 2012-2019 by UCSC Computational Genomics Lab * * Released under the MIT license, see LICENSE.txt */ #include "halMafBlock.h" #include <cstdlib> #include <iostream> #include <limits> using namespace std; using namespace hal; const hal_index_t MafBlock::...
#include "std.h" #include "toker.h" struct Stricmp{ bool operator()( const char *x,const char *y )const{ while( tolower(*x)==tolower(*y) && *x ){++x;++y;} return tolower(*x)-tolower(*y)<0; } }; typedef map<const char*,int,Stricmp> TokeMap; static TokeMap _tokes; static void initTokes(){ if( _tokes.size() ) ...
/*****************************************************************/ /* NAME: <NAME>, <NAME>, and <NAME> */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: BHV_AvoidCollision.cpp */ /* DATE: Nov 18th 2006 */ /* ...
/* File: plat_keymap.cpp Author: <NAME> Date: 06\09\2017 Description: ** Handles mapping windows key codes to our own enumeration. ** Also contains functions for handling keyboard input #included from win32_main.cpp */ Buttons_t AppButtonForKey(i32 glfwKeyCode) { switch (glfwKeyCode) { case GLFW_KEY_A: ...
/*+**************************************************************************/ /*** ***/ /*** This file is distributed under a BSD license. ***/ /*** See LICENSE.txt for details. ***/ /***...
/* ########## Copyright (C) 2015 <NAME> ## ## Distributed under MIT license, see file LICENSE ## ## or <http://opensource.org/licenses/MIT> ## ## ########## ############################################################# shaduzlabs.com #####*/ #include "cabl/c...
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
// Copyright 2010 <NAME> #include "GHRagdollToolNode.h" #include "GHXMLNode.h" #include "GHTransformNode.h" #include <cstring> #include "GHXMLObjFactory.h" #include "GHPropertyContainer.h" #include "GHBulletPhysicsObject.h" #include "GHRagdollGenerator.h" #include "GHBulletRagdollConstraintXMLLoader.h" #include "GHBull...
#include "Classifier.h" #include <opencv2/ml/ml.hpp> #include <utility> #include "../utils/Loader.h" void Classifier::drawParkingPlaces(cv::Mat &scene, std::vector<Place> &parkingPlaces) { int occupied = 0; for (auto &place : parkingPlaces) { cv::Scalar color = (place.occupied) ? cv::Scalar(0, 0, 255)...
#include <gtest/gtest.h> #include "gempyre.h" #include "gempyre_graphics.h" #include "timequeue.h" TEST(Unittests, Test_rgb) { auto col1 = Gempyre::Color::rgba(0x33, 0x44, 0x55); EXPECT_EQ(Gempyre::Color::rgb(col1), "#334455"); EXPECT_EQ(Gempyre::Color::rgba(col1), "#334455FF"); auto col2 = Gempyre::...
/* Copyright 2019 iGEM Team Freiburg 2019 */ #include "finDrGA.h" void mImage(const std::string pdb) { // Read receptor file std::ifstream t(pdb); t.seekg(0, std::ios::end); size_t size = t.tellg(); std::string buffer(size, ' '); t.seekg(0); t.read(&buffer[0], size); t.close(); std::string output; ...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2022 <NAME> and <NAME> //LIC// //LIC// This lib...
#include <math.h> #include <stdio.h> #include <string.h> #include <iostream> #include <sstream> #include "bosch_arm.h" #include "cc2.h" #include "daq.h" #include "ros/ros.h" using namespace std; void BoschArm::initialize() { //r1 = constants::r1; //r2 = constants::r2; L0 = constants::L0; L3=constants::L3; L4...
#include <pthread.h> #include <osipparser2/osip_message.h> #include <osipparser2/osip_parser.h> #include <string> #include <regex> #include <map> #include <iostream> #include <fstream> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <regex> #include <string.h> #include <unis...
#include "animation.h" #include "framework.h" #include "utils.h" #include <cassert> #include "camera.h" #include "shader.h" #include "mesh.h" #include <sys/stat.h> Skeleton::Skeleton() { num_bones = 0; } Skeleton::Bone* Skeleton::getBone(const char* name) { auto it = bones_by_name.find(name); ...
// Copyright (c) 2020- <NAME>, Autonomous Systems Lab, ETH Zurich // Licensed under the MIT License (see LICENSE for details) #include "tsdf_plusplus_ros/controller.h" #include <fstream> #include <iostream> #include <minkindr_conversions/kindr_tf.h> #include <pcl/console/time.h> #include <pcl_conversions/pcl_convers...
/* * Copyright 2015 The Foundry Visionmongers 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 * * Neither the name of The Foundry nor t...
/************************************************************************** Module: Stress Purpose: Utility routines for the solid stress calculations ***************************************************************************/ #include <float.h> #include <math.h> #define MIN(a, b) ( (a < b) ? a : b) #define MA...
/*** * Copyright (c) 2013, <NAME> * 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 conditi...
#define STB_IMAGE_WRITE_IMPLEMENTATION #include "../STB/stb_image_write.h" #include <cassert> #include "MinimapTextureGenerator.hpp" #include "MapConfig.hpp" #include "District.hpp" #include "Environment.hpp" // Tweak these to alter minimap generation: static auto constexpr tileSide { 5U }; // e.g. 5 => 5x5 ...
/*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>, <NAME>....
// Source file for mesh processing utilities //////////////////////////////////////////////////////////////////////// // Include files //////////////////////////////////////////////////////////////////////// #include "GSV/GSV.h" #include "process.h" ///////////////////////////////////////////////////////////////...
#include "TGraph.h" #include "TCanvas.h" #include "TRandom.h" #include "TMath.h" #include "TAxis.h" #include "TH1D.h" #include "TStyle.h" #include "TH2D.h" #include "TLegend.h" #include "TVectorD.h" #include "TMatrix.h" #include "TLatex.h" #include "TArrow.h" #include <map> #include <iostream> #include <vector> #inclu...
/* =========================================================================== Doom 3 BFG Edition GPL Source Code Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code"). Doom 3 BFG Edition Source Code is free...
// Copyright 2018 U.C. Berkeley RISE Lab // // 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...
#include <iostream> #include <list> #include <vector> #include <map> #include <set> #include <fstream> #include <iterator> #include <iomanip> using std::cout; using std::cerr; using std::endl; using std::list; using std::vector; using std::set; using std::map; using std::pair; using std::string; using std::istream; u...
#include "stationary_study.h" #include "sensitivity.h" using namespace M2DO_FEA ; // Constructor SensitivityAnalysis :: SensitivityAnalysis (StationaryStudy & study) : study (study) { order = 2 ; spacedim = study.mesh.spacedim ; // Declaring variables int number_of_elements = study.mesh.solid_elements....
//Using SDL, SDL OpenGL, standard IO, and, strings #include <SDL.h> #include <SDL_opengl.h> #include <GL\GLU.h> #include <stdio.h> #include <string> // Additional IO #include <iostream> #include "GamesListReader.h" // Vic 20 emulation includes #include "MOS6502.h" #include "MOS6561.h" #include "MOS6522.h" #include "V...
#include <cmath> #include <iostream> #include "draw.h" #include "find_borders.h" //----------------------------------------------------------------------------- void draw_explanation(int n, int m) { std::string add = std::to_string(n) + "_" + std::to_string(m) + "_"; int counter = 0; double sz = 300; double borde...
#include "Features.h" std::string Settings::WalkBot::actMapName; bool Settings::WalkBot::enabled = false; bool Settings::WalkBot::plantbomb = false; bool Settings::WalkBot::forceReset = false; // if a Reset is queued up by the User bool Settings::WalkBot::autobuy = false; // autobuy during FreezeTime int Sett...
/* * Copyright (C) 2015-2021 Swift Navigation Inc. * Contact: https://support.swiftnav.com * * This source is subject to the license found in the file 'LICENSE' which must * be be distributed together with this source. All other rights reserved. * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY ...
/** * @file src/bin2llvmir/optimizations/syscalls/arm64.cpp * @brief Implement ARM64 syscall identification and fixing pass @c SyscallFixer. * @copyright (c) 2019 Avast Software, licensed under the MIT license */ #include <llvm/IR/Constants.h> #include "retdec/bin2llvmir/optimizations/syscalls/syscalls.h" #includ...
//general stuff below #include <cstdlib> #include <cstdio> #include <cmath> #include <cstring> #include <functional> #include <unordered_map> #include <memory> #include <utility> #include <string> #include <map> #include <algorithm> #include <chrono> #include <sg14/fixed_point> #include <EASTL/vector.h> #include <EASTL...
/*************************************************************************** *cr *cr (C) Copyright 2007 The Board of Trustees of the *cr University of Illinois *cr All Rights Reserved *cr ********************************************************************...
/* Subnet Calculator (std:: version) Created by <NAME> Last modified: 8/14/2020 */ /* TODO: case 'A' optimizations */ #include <iostream> #include <string> #include <iomanip> #include <cmath> #include <vector> //using namespace std; //function prototypes unsigned short* parseIP(s...
#include "pylon.hpp" #include "rectification.hpp" #include <loguru.hpp> #include <ftl/threads.hpp> #include <ftl/rgbd/source.hpp> #include <ftl/profiler.hpp> #include <ftl/rgbd/frame.hpp> #include <pylon/PylonIncludes.h> #include <pylon/BaslerUniversalInstantCamera.h> #include <opencv2/imgproc.hpp> #include <nlohm...
#include "triptychApp.h" //-------------------------------------------------------------- void triptychApp::setup() { //makeSettings(); readSettings(); printSettings(); gethostname(hstnm, sizeof hstnm); hostname = hstnm; std::cout << "\n--------\nMy hostname is " << hostname << "\n--------\n...
#include <iostream> #include <cassert> #include <map> #include <functional> #include <algorithm> #include <tr1/functional> #include <tr1/memory> #include "kazbase/logging.h" #include "collision/collide.h" #include "kazmath/vec2.h" #include "world.h" #include "character.h" #include "spring.h" #include "box_object.h" ...
#include "stdafx.h" #include <stdio.h> #include <crf.h> #include <windows.h> #include <time.h> #include <stdlib.h> #include <vector> using namespace std; //================================================================================================ #pragma pack(push, 1) typedef struct { unsigned long version; ...
#pragma once #include <algorithm> #include <cassert> #include <cstring> #include <memory> #include <numeric> #include <string_view> #include <vector> #include <boost/endian/detail/intrinsic.hpp> #include <fc/crypto/base64.hpp> #include <fc/io/datastream.hpp> #include <fc/io/raw.hpp> #include <eosio/chain/exceptions...
#include "ZRoom.h" #include <Path.h> #include <algorithm> #include <chrono> #include "../File.h" #include "../Globals.h" #include "../StringHelper.h" #include "../ZBlob.h" #include "Commands/EndMarker.h" #include "Commands/SetActorCutsceneList.h" #include "Commands/SetActorList.h" #include "Commands/SetAlternateHeaders...
// Avisynth v2.5. Copyright 2002 <NAME>-Gould et al. // http://www.avisynth.org // 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)...
#include "LidarAccumulator.hpp" #include <thread> #include <mutex> #include <condition_variable> #include <bot_param/param_client.h> #include <lcm/lcm-cpp.hpp> #include <opencv2/opencv.hpp> #include <zlib.h> #include <drc_utils/PointerUtils.hpp> #include <drc_utils/BotWrapper.hpp> #include <drc_utils/ThreadSafeQueue....
/* ssl_session * Copyright (c) 2019 <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 restriction, including * without limitation the rights to use, copy, modify, merge, publis...
// Copyright 2019 DeepMind Technologies Ltd. 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 require...
#include "passes/fuse-functions.h" #include <cassert> #include <cstddef> #include <cstdint> #include <iterator> #include <memory> #include <optional> #include <tuple> #include <type_traits> #include <utility> #include <vector> #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/DenseSet.h" #include "llvm/ADT/MapVector....
#include "ukf.h" #include "Eigen/Dense" #include <iostream> #include <assert.h> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter */ UKF::UKF() { // if this is false, laser measurements will be ignored (except during init) use_laser_ = ...
/** XR Vessel add-ons for OpenOrbiter Space Flight Simulator Copyright (C) 2006-2021 <NAME> 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 3 of the License, or any later v...
#include <iostream> #include <math.h> #include "../processtopology/VirtualTopology3D.h" #include "../processtopology/VCtopology3D.h" #include "../inputoutput/CollectiveIO.h" #include "../inputoutput/Collective.h" #include "../utility/Alloc.h" #include "../mathlib/Basic.h" #include "../grids/Grid.h" #include "../grids/G...
#include "pointManager.hpp" #include <algorithm> PointManager::PointManager(std::vector<cv::Point2f> mappingPoints, cv::Point2f scale, cv::Point2f offset) : m_offset { std::move(offset) } , m_scale { std::move(scale) } { for (cv::Point2f& point : mappingPoints) { point.x = point.x * s...
//------------------------------------------------------------------------FLIGHT MANAGEMENT SYSTEM------------------------------------------------------------------------ #include <stdio.h> #include <stdlib.h> #include <conio.h> int size = 5; //size of queue, globally declared to access it anywhere in the program. int...
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetFrameRate(60); // parameters params1.setName("paramsGroup1"); // main container params1.add(bPrevious.set("<", false)); params1.add(bNext.set(">", false)); params1.add(bEnable.set("Enable", false)); p...
////////////////////////////////////////////// // TCP EPOLL SERVER // // Simple example program to show how EPOLL // networking works in linux. // // This project receive messages from a client and forwards it // to all connected clients. // // <NAME> (<EMAIL>) // ///////////////////////////////////////////// // Build ...
#include <memory> #include <string> #include "fmt/ostream.h" #include <gflags/gflags.h> #include "drake/common/drake_assert.h" #include "drake/common/find_resource.h" #include "drake/geometry/drake_visualizer.h" #include "drake/geometry/scene_graph.h" #include "drake/lcm/drake_lcm.h" #include "drake/math/roll_pitch_y...
// ****************************************************** // Project Name : ForRocket // File Name : satmo1976.cpp // Creation Date : 2020/03/02 // // Copyright (c) 2020 <NAME>. All rights reserved. // ****************************************************** #include "satmo1976.hpp" #include <array...
#include <algorithm> // for max, copy, fill_n #include <array> // for array #include <cassert> // for assert #include <cfenv> // for feenableexcept #include <cmath> // for isfinite #include <cstdint> // for uint8_t, int8_t #include <cstdlib> // for exit #include <cstring> // for strcmp #incl...
/* Copyright 2020 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...
/** * @file main.cpp * @section LICENCE * * This file is part of Lazy-AVLG v0.1.0 * See: https://github.com/dominikkempa/lz77-to-slp * * Copyright (C) 2021 * <NAME> <dominik.kempa (at) gmail.com> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and asso...
/* * Copyright 2009-2013, 2016 Freescale Semiconductor, Inc. * * 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 an...
// // Created by magnus on 9/5/21. // #include "VulkanDevice.h" #include <MultiSense/src/tools/Macros.h> #include <utility> VulkanDevice::VulkanDevice(VkPhysicalDevice physicalDevice) { assert(physicalDevice); this->physicalDevice = physicalDevice; // Store property features and such for the device. Can...
/* * Copyright (c) 2018 @alxgcrz. 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
#include "Halide.h" #include <tiramisu/utils.h> #include <cstdlib> #include <iostream> #include "benchmarks.h" #include "tiramisu_make_dibaryon_hex_correlator_wrapper.h" #include "tiramisu_make_dibaryon_hex_correlator_ref.cpp" #define RUN_REFERENCE 1 #define RUN_CHECK 0 int nb_tests = 3; int main(int, char **) { ...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2020, PickNik LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
// Copyright 2017 Google Inc. // Copyright 2020 The Open GEE 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 // // Unles...
/* Copyright 2010 Haiku, Inc. All rights reserved. Distributed under the terms of the MIT license. Authors: <NAME> */ /* Some of the code in this source file was adapted from the X.org tdfx video driver, and was covered by the following copyright and license. --------------------------------------------------...
/* UTF --- UTF-8, UTF-16, UTF-32 conversion library * Copyright (C) 2019 <NAME> <<EMAIL>> */ #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include "utf.hpp" int g_failures = 0; bool UTF_test(int line, bool value) { if (!value) { std::cout << "Line " << line << ": assertion failur...
#include "openmc/volume_calc.h" #include "openmc/capi.h" #include "openmc/cell.h" #include "openmc/constants.h" #include "openmc/error.h" #include "openmc/geometry.h" #include "openmc/hdf5_interface.h" #include "openmc/material.h" #include "openmc/message_passing.h" #include "openmc/nuclide.h" #include "openmc/output....
/* Secret Salsa <NAME> Copyright 2019 */ #include "map.h" using namespace std; using namespace tinyxml2; using namespace Honey; Map::Map(string map_name) { this->map_name = map_name; this->map_path = hot_config.getString("system", "map_root_folder") + "/" + map_name + "/"; scale = 1; loadConfig(); ...
#include <sys/types.h> #include <cmath> #include <cstdio> #include <ctime> #include <climits> #include <cstdlib> #include <cmath> #include "vtr_util.h" #include "vtr_memory.h" #include "vtr_assert.h" #include "vtr_log.h" #include "vpr_types.h" #include "vpr_utils.h" #include "vpr_error.h" #include "globals.h" #inclu...
//============================================================================= // // Adventure Game Studio (AGS) // // Copyright (C) 1999-2011 <NAME> and 2011-20xx others // The full list of copyright holders can be found in the Copyright.txt // file, which is part of this source code distribution. // // The AGS sourc...
/** \class AlcaBeamSpotManager * No description available. * * \author <NAME> <NAME> - Fermilab */ #include "Calibration/TkAlCaRecoProducers/interface/AlcaBeamSpotManager.h" #include "DataFormats/Common/interface/Handle.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/MessageLogger/interface/...
// // Created by lukec on 30/04/18. // #include "semantic_analysis.h" #include <utility> #include <iostream> using namespace visitor; bool SemanticScope::already_declared(std::string identifier) { return variable_symbol_table.find(identifier) != variable_symbol_table.end(); } bool SemanticScope::already_declare...
// ROS Hexapod Controller Node // Copyright (c) 2016, <NAME> // 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,...
#include <CMDParser.hpp> #include <FileBuffer.hpp> #include <calibvolume.hpp> #include <rgbdsensor.hpp> #include <DataTypes.hpp> #include <NearestNeighbourSearch.hpp> #include <udpconnection.hpp> #include <squish.h> #include <clock.hpp> #include <timevalue.hpp> #include <boost/thread/thread.hpp> #include <boost/bind.hp...
#include "painterarea.h" extern vector<Point> lineEntityPoints;//线段 extern vector<Point> boundaryPoints;//裁剪窗口(边界) extern vector<Circle> circleEntitys;//圆 extern LineClipStatistic lineClipStatistic;//线段的统计数据 extern CirCleClipStatistic circleClipStatistic;//圆的统计数据 extern vector<LineFlag> linesFlags;//标记线段 //extern v...
// AUTO GENERATED by vnxcppcodegen #include <mmx/exchange/package.hxx> #include <mmx/exchange/OfferBundle.hxx> #include <mmx/exchange/limit_order_t.hxx> #include <mmx/exchange/open_order_t.hxx> #include <mmx/exchange/trade_pair_t.hxx> #include <mmx/txio_key_t.hxx> #include <vnx/Value.h> #include <vnx/vnx.h> namesp...
#include "RecoMuon/MuonSeedGenerator/plugins/CosmicMuonSeedGenerator.h" /** * CosmicMuonSeedGenerator * * * \author <NAME> - Purdue University * */ #include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h" #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h" #include "DataFormats/...
#pragma once #include <array> #include <unordered_map> #include "simeng/BranchPredictor.hh" #include "simeng/Instruction.hh" struct cs_arm64_op; namespace simeng { namespace arch { namespace aarch64 { /** Apply the shift specified by `shiftType` to the unsigned integer `value`, * shifting by `amount`. */ template...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "SMergeGraphView.h" #include "Engine/Blueprint.h" #include "Widgets/Layout/SSplitter.h" #include "EdGraph/EdGraph.h" #include "Widgets/Images/SImage.h" #include "Framework/Docking/TabManager.h" #include "EditorStyleSet.h" #include "GraphDiffControl....
//===- DMAPass.cpp -- Dominator Analysis------------------------------// // // SVF: Static Value-Flow Analysis // // // //===-----------------------------------------------------------------------===// /* * @file: DMAPass.cpp * @author: <NAME>, <NAME>, <NAME> * @date: 11/12/2017 * @version: 1.0...
//Again, the following code is heavily based on code written by <NAME>, thanks go to him for fast TTF rendering. /*All code copyright to <NAME>, 2009 If you wish to use this code, you must include these credits in your code, and give credit in your application/documentation Thankyou */ #include "Font.hpp" ...
// -*- C++ -*- // // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // <NAME> // California Institute of Technology // (C) 2005 All Rights Reserved // // {LicenseText} // // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
#include "DepthBlobsExtracter.h" #include "opencv2/imgproc/imgproc.hpp" DepthBlobsExtracter::DepthBlobsExtracter(int step, int minDepth, int maxDepth, int minArea, ...
#include <iostream> #include <chrono> #include <omp.h> #include <string.h> #include <string> #include <getopt.h> #include <thread> #include <cmath> #include <fstream> #include <queue> #include <future> #include "benchmark.h" #include "ioutils.h" #include "postprocessor.h" using namespace std; using namespace mlperf; ...
/* * Copyright (c) 2015-2016 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the ...
// // File: BppODiscreteDistributionFormatFormat.cpp // Created by: <NAME> // Created on: lundi 3 septembre 2012, à 14h 48 // /* Copyright or © or Copr. Bio++ Development Team, (November 16, 2004) This software is a computer program whose purpose is to provide classes for phylogenetic data analysis. This...
#include "stdafx.h" #include "VRKeyboard.h" #include "libovr_wrapper.h" #include <d3d11.h> #include "OVR_CAPI.h" #include "OVR_CAPI_D3D.h" #include "Extras/OVR_Math.h" #include "Reimpl/static_bases.gen.h" #include "Reimpl/BaseCompositor.h" #include "Reimpl/BaseSystem.h" #include "Misc/ScopeGuard.h" #include "convert...
// Part of the Soundplane client software by Madrona Labs. // Copyright (c) 2013 Madrona Labs LLC. http://www.madronalabs.com // Distributed under the MIT license: http://madrona-labs.mit-license.org/ #include "SoundplaneMIDIOutput.h" const std::string kSoundplaneMIDIDeviceName("Soundplane IAC out"); // -----------...
#include "profiler.h" #include <asm/unistd.h> #include <execinfo.h> #include <limits.h> #include <poll.h> #include <pthread.h> #include <string.h> #include <atomic> #include <cstdint> #include <fstream> #include <limits> #include <random> #include <string> #include <vector> #include "inspect.h" #include "perf.h" #in...
#include "psdaq/epicstools/EpicsPVA.hh" using Pds_Epics::EpicsPVA; #include "psalg/digitizer/Stream.hh" #include <sys/types.h> #include <unistd.h> #include <stdio.h> #include <termios.h> #include <fcntl.h> #include <sstream> #include <iomanip> #include <iostream> #include <string.h> #include <stdlib.h> #include <sign...
#define __OS_LINUX_CPP_H__ #include "platform_def.h" #include "os_linux.h" #include "os_linux.h" #include "download.h" #include "quectel_common.h" #include "quectel_log.h" #include "file.h" #define MAJOR 2 #define MINOR 0 #define REVISION 0 #define __STRINGIFY(v) #v #define STRINGIFY(v) __STRINGIFY(v) ...
// Copyright(c) 2019-2020, 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...
/* Copyright (C) 2013 Ion Torrent Systems, Inc. All Rights Reserved */ #include "BamHelper.h" using namespace std; void MyBamGroup::ReadGroup(char *bamFile){ BamTools::BamReader bamReader; if(!bamReader.Open(std::string(bamFile))) { errMsg = "Failed to open bam " + std::string(bamFile) + "\n"; } else { B...
//===------ WmmaOpsToNVVM.cpp - WMMA LD/ST/Compute to NVVM lowering -------===// // // 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) 2019 - 2020 by <NAME>, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2017 - 2018 by <NAME>, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and Univ...
#include "gl_util.hpp" /* GLM */ #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "lodepng.h" #include "uv_mapper/uv_mapper.hpp" #include <sstream> #include <fstream> using std::string; using std::vector; using glm::vec3; /* Global va...
#include <string> #include <map> #include <list> #include "enums/Lsf.h" #include "digiRootData/DatagramInfo.h" #include "digiRootData/RunInfo.h" #include <TFile.h> #include <TTree.h> #include <TObjString.h> #ifndef WIN32 #include <unistd.h> #else #include "facilities/XGetopt.h" using facilities::getopt; #endif stru...