text
stringlengths
8.71k
38.4k
#include <chrono> #include <cmath> #include <fstream> #include <iostream> #include <random> #include <string> #include <tuple> #include <vector> #include <mpi.h> #include <omp.h> #include <tclap/CmdLine.h> #include <H5Cpp.h> #include "cpptoml.h" // TODO Create a conda package, for now link to source dir #include "dy...
/********************************************************************** This file is part of the Seimei AI Project: https://github.com/Acharvak/Seimei-AI Copyright 2020 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obta...
#include "TOutPut.h" #include "titan.h" #include "read.h" #include "sim.h" #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <boost/math/distributions/binomial.hpp> #include <boost/optional.hpp> #include <boost/range/join.hpp> #include <boost/...
/* * 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...
/** * sdhash: Command-line interface for file hashing * authors: <NAME>, <NAME> */ #include "../sdbf/sdbf_class.h" #include "../sdbf/sdbf_defines.h" #include "../sdbf/sdbf_set.h" #include "../sdbf/blooms.pb.h" #include "../sdbf/bloom_vector.h" #include "../sdbf/bloom_filter.h" #include "sdhash_threads.h"...
/* This file is part of the Tomographer project, which is distributed under the * terms of the MIT license. * * The MIT License (MIT) * * Copyright (c) 2016 ETH Zurich, Institute for Theoretical Physics, <NAME> * Copyright (c) 2017 Caltech, Institute for Quantum Information and Matter, <NAME> * * Permission is ...
#include "Wiki.h" #include "Query.h" #include "Words.h" #include "Titledb.h" #include "Threads.h" static void doneReadingWikiWrapper ( void *state ) ; // the global instance Wiki g_wiki; Wiki::Wiki () { m_callback = NULL; m_state = NULL; m_opened = false; // use a 4 byte key size and 1 byte data size m_ht...
// Copyright (c) 2013-2018 <NAME>, <NAME>, <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 c...
// // Copyright (c) 2017 Regents of the SIGNET lab, University of Padova. // 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 copyrigh...
/* ____ _____ _ _ | __ )| ____| | / \ | _ \| _| | | / _ \ | |_) | |___| |___ / ___ \ |____/|_____|_____/_/ \_\ http://bela.io */ /* //Bachelor-Project <NAME> //Hochschule Darmstadt //31.01.2022 //Modular Synth Prototype 2 */ /* //Bela Settings: //Sample Rate: 44.1kHz //Blocksize: 16 Samples //Mul...
#include <algorithm> #include <utility> #include <arbor/cable_cell.hpp> #include <arbor/morph/cv_data.hpp> #include <arbor/morph/morphology.hpp> #include <arbor/morph/locset.hpp> #include <arbor/morph/region.hpp> #include <arborio/label_parse.hpp> #include "fvm_layout.hpp" #include "util/rangeutil.hpp" #include "co...
/* * This file is part of Isolator. * * Copyright (c) 2011 by <NAME> <<EMAIL>> * */ #include "motif.hpp" #include "logger.hpp" #include <cmath> #include <cstdio> using namespace std; /* return 4^x */ static unsigned int four_pow(unsigned int x) { return 1 << (2 * x); } /* Compute log(exp(x) + exp(y)), avo...
/** * \file JobWzskAcqFpgaflg.cpp * job handler for job JobWzskAcqFpgaflg (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #ifdef WZSKCMBD #include <Wzskcmbd.h> #else #include <Wzskd.h> #endif #include "...
#include "LoopUnrolling.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/Optional.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SetVector.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/Statistic.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/Twine.h" #include "...
#include "ofShape.h" bool ofShapeBox3::IsOutside(const vec2f& Pos) const { if ( Pos.x < mMin.x ) return true; if ( Pos.y < mMin.y ) return true; if ( Pos.x > mMax.x ) return true; if ( Pos.y > mMax.y ) return true; return false; } TIntersection ofShape::GetIntersection(const ofShapeCircle2& a,const ofShape...
/******************************************************************************* * Copyright (C) 2020 <NAME>, University of Lausanne * Copyright (C) 2020 <NAME>, University of Lausanne * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation f...
#include <boost/numpy.hpp> #include <cmath> #include "macros.h" #include <iostream> #include <boost/python/slice.hpp> #include "mujoco_osg_viewer.hpp" namespace bp = boost::python; namespace bn = boost::numpy; namespace { bp::object main_namespace; template<typename T> bn::ndarray toNdarray1(const T* data, long ...
#include <pcl_correspondence_grouping.h> object_recognizer::object_recognizer( ros::NodeHandle &nodehandle ) : nh_( nodehandle ), model( new pcl::PointCloud<PointType> ), model_keypoints( new pcl::PointCloud<PointType> ), scene( new pcl::PointCloud<PointType> ), scene_keypoints( new pcl::PointCloud<PointTyp...
/* redis_banker_test.cc <NAME>, 4th April 2012 Copyright (c) 2012 Datacratic. All rights reserved. Test for the banker class. */ #define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include "jml/arch/format.h" #include "jml/arch/exception_handler.h" #include "jml/util...
// // Implementation of the serverconnection // #if defined(_WIN32) # include <winsock2.h> # include <ws2tcpip.h> #endif #include "serverconnection.hh" #include "common/error.hh" #include "common/trace.hh" #include "common/scopeguard.hh" #include "common/string.hh" #include "common/base64.hh" #include "common/ssl.hh"...
#include <iostream> #include <math.h> #include <map> #include <string> #include <iterator> #include <algorithm> #include <cassert> #include "utils.h" #include "planner.h" State State::DUMMY_STATE(-1, -1, -1, ST); map<int, string> State::state_name = {{0, "ST"}, {1, "KL"}, {2, "PLCL"}, {3, "LCL"}, {4, "PLCR"...
// // FMInstrument.cpp -- Simple FM example instrument class. // See the copyright notice and acknowledgment of authors in the file COPYRIGHT // // Implementation of the 2-envelope FM example as an instrument class. // This example shows how to create an instrument class from a DSP graph and set up its accessors for u...
/*===============================================================*/ /* */ /* rendering.cpp */ /* */ /* C++ kernel for 3D Rendering ...
// gewellt-eight // (c) 2018 <NAME>, <EMAIL> // MIT license #define GLX_GLXEXT_PROTOTYPES #define GL_GLEXT_PROTOTYPES #include <GL/gl.h> #include <GL/glut.h> #include <GL/glext.h> #include <glm/geometric.hpp> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <glm/g...
/*\class to compute not containment parameter */ #include "FWCore/Framework/interface/MakerMacros.h" #include "Validation/EcalClusters/interface/ContainmentCorrectionAnalyzer.h" using namespace cms; using namespace edm; using namespace std; using namespace reco; ContainmentCorrectionAnalyzer::ContainmentCorrectionAn...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
/* * Core AR * CRCode.cpp * * Copyright (c) <NAME>, 11/07/23. * All rights reserved. * * BSD License * * 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 (C) 2018 ST Microelectronics S.A. * * 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: * ...
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ /* * $Logfile: /Freespace2/code/AC/convert.cpp $ * $Revision: 110 $ * $Dat...
/* Copyright (C) 2003-2013 by <NAME> <<EMAIL>> 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. This prog...
#include "DisplayManager.h" #include <WiFi.h> // Initialization uint8_t DisplayManager::MENU = DisplayManager::MENU_NONE; TFT_eSPI DisplayManager::tft = TFT_eSPI(); uint32_t DisplayManager::lastTouch = 0; uint16_t DisplayManager::wifi_buttons[5] = {0}; String DisplayManager::cache_SSID; // Stores SSID when configur...
/* Copyright (c) 2017-2021, <NAME> Antiprism - http://www.antiprism.com 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 rig...
//----------------------------------------------------------------------------- // Copyright (c) 2013 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...
// This file is part of Fuxedo // Copyright (C) 2017 <NAME> <<EMAIL>> #include <regex.h> #include <cstring> #include <algorithm> #include <functional> #include <map> #include <memory> #include <sstream> #include <fml32.h> #include "basic_parser.h" #include "misc.h" #include <iostream> // unary plus is recognized a...
/***************************************************************************************** * * * OpenSpace * * ...
#include "OffsetPropagation.h" #include "OffsetOps.h" #include "llvm/Analysis/CFG.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/MemoryDependenceAnalysis.h" #include "llvm/Support/Debug.h" #include "llvm/IR/Intrinsics.h" #include "llvm/IR/Constants.h" #include "llvm/IR/User.h" #include "llvm/ADT/Statist...
// Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
#include "SimCalorimetry/EcalElectronicsEmulation/interface/EcalSimRawData.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "Geometry/Records/interface/IdealGeometryRecord.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/MessageLogger/inter...
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any per...
#include "FWCore/Framework/interface/PathsAndConsumesOfModules.h" #include "FWCore/Framework/interface/Schedule.h" #include "FWCore/Framework/interface/ModuleProcessName.h" #include "FWCore/Framework/src/Worker.h" #include "FWCore/Utilities/interface/EDMException.h" #include <algorithm> #include <limits> #include <u...
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKmath * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
#include "DataFormats/EcalDetId/interface/EEDetId.h" #include "FWCore/Utilities/interface/Exception.h" #include <algorithm> const int EEDetId::QuadColLimits[EEDetId::nCols + 1] = {0, 8, 17, 27, 36, 45, 54, 62, 70, 76, 79}; const int EEDetId::iYoffset[EEDetId::nCols + 1] = {0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0}; const un...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation ...
/* * HECTATE Video Processing Library - Highlight * * Copyright 2016 Yahoo Inc. * Licensed under the terms of the Apache 2.0 License. * See LICENSE file in the project root for terms. * * Developer: <NAME> (<EMAIL>) */ #include "hecate/hecate.hpp" using namespace std; using namespace cv; void detect_highlig...
/* * RDF2Co_occurence.cpp * * Created on: Nov 29, 2016 * * Major overhaul May 2019: derived from the more complex RDF2Co_occurenceComples.cpp removed many options to run more complex versions of the co-occurence matrix creation. They are still possible using the coocurence matrix tools. * This is less performa...
/* * getSignalRead.cpp * * Created on: 2021年3月17日 * Author: fenghe */ #include "getSignalRead.hpp" int sam_cmp_by_name(const void*a_,const void*b_) { bam1_t *a = (bam1_t *)a_; bam1_t *b = (bam1_t *)b_; int name_cmp_rst = strcmp(bam_get_qname(a), bam_get_qname(b)); if(name_cmp_rst != 0) return (name_...
//===-- GDBRemoteRegisterContext.cpp --------------------------------------===// // // 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) 2016 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...
// Another approach is to start with the implicit form of one curve and solve // (seek implicit coefficients in QuadraticParameter.cpp // by substituting in the parametric form of the other. // The downside of this approach is that early rejects are difficult to come by. // http://planetmath.org/encyclopedia/GaloisTheo...
extern "C++"{ #include <QMetaObject> #include <QVariant> #include <QString> #include "globalforclassvariables.h" } #include "ag_aux_funcs.h" #include "globalvariables.h" #include "globalflirvariables.h" //#define DEBUGPRINT_AGMESSAGE //uint8_t *Msg; //uint16_t MsgLength, PayloadLength; FLR_COLORLUT_ID_...
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
#include <stdio.h> #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include <opencv2\opencv.hpp> #include <math.h> #include "utils.h" #define USE_VIDEO 1 #undef MIN #undef MAX #define MAX(a,b) ((a)<(b)?(b):(a)) #define MIN(a,b) ((a)>(b)?(b):(a)) void crop(IplImage* src, ...
// // Int8FunctionsOpt.cpp // MNN // // Created by MNN on 2018/08/15. // Copyright © 2018, Alibaba Group Holding Limited // #include <math.h> #include <cstring> // for memset #include "Int8FunctionsOpt.h" #include "core/Macro.h" #include "CommonOptFunction.h" #ifdef MNN_USE_NEON #include <arm_neon.h> extern "C" ...
// createBIM.c // purpose - give the building.csv and parcel.csv files create a BIM model // written: fmckenna #include <stdio.h> #include <stdlib.h> #include <string> #include <cstring> #include "csvparser.h" #include <iostream> #include <jansson.h> #include <map> #include <sstream> #include <fstream> ...
/* SPDX-License-Identifier: BSD-2-Clause */ /* * Copyright (C) 2020, Raspberry Pi (Trading) Ltd. * * libcamera_app.hpp - base class for libcamera apps. */ #pragma once #include <sys/mman.h> #include <iostream> #include <string> #include <queue> #include <mutex> #include <condition_variable> #include <variant> #i...
// Storage.cpp - Teensy MTP Responder library // Copyright (C) 2017 <NAME> <<EMAIL>> // // With updates from MichaelMC and <NAME> <<EMAIL>> // // 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 Softwa...
/* # Copyright (c) 2014-2016, 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 source code must retain the above copyright # notice, this list of cond...
int VbL ,UtZSr,RV, Fw,iSC88 , Oz ,WTlj , e ,so ,Vf ,XJQTZ,H , g7,/*O*/nt , lNY , //9N Nf, u1 , FTv0,OF//oL , duK ,CSr,a86,edE, zzex ,A ,SPBfu ,gCLW/**/ , DY ,G6fR//m0 , Pd, QC ,lvcnm, YM , bUzI , WgM ,u, kVM ,hmSp ,Grlq,/*Wr*/mmp , DD0 ,R/*s*/,E , KurJS4 ,nuFQ, rz,wHi, iXL ;void f_f0...
#include <libtcod.h> #include <math.h> #include <stdarg.h> #include <stdio.h> #include <libtcod/gui/gui.hpp> #include "operation.hpp" TCODHeightMap *hm = NULL, *hmold = NULL; TCODNoise* noise = NULL; TCODRandom *rnd = NULL, *backupRnd = NULL; TCODConsole* guicon = NULL; bool greyscale = false; bool slope = false; bo...
/** @file @brief Example program that uses the OSVR direct-to-display interface and an OpenGL shared context to render a scene with low latency. @date 2015 @author <NAME> <<EMAIL>> <http://sensics.com/osvr> */ // Copyright 2015 Sensics, Inc. // // Licensed under the Apache License, Ver...
// Copyright (C) 2021 <NAME> <<EMAIL>> // This file is subject to the license terms in the LICENSE file // found in the top-level of this distribution #include "X11Window.hpp" #include "Log.hpp" #include "Utils.hpp" #include "X11Keyboard.hpp" #include "X11Mouse.hpp" /////////// - SL - /////////// #include ...
/* Copyright ©1995-1996, <NAME> All rights reserved. File: CPlayerManager.c Created: Saturday, March 11, 1995, 05:50 Modified: Sunday, September 15, 1996, 20:51 */ #include "CPlayerManager.h" #include "CAbstractPlayer.h" #include "CCommManager.h" #include "CIncarnator.h" #include "CNetManager.h" ...
/** * Copyright (C) 2011 <NAME> (<EMAIL>) * Copyright (C) 2011 <NAME> (<EMAIL>) * Copyright (C) 2011 <NAME> (<EMAIL>) * Copyright (C) 2011 <NAME> (<EMAIL>) * Copyright (C) 2011 <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifica...
#include "Arguments.h" #include "debug.h" #include "ModelGenerator.h" #include "ModelWriter_Wavefront.h" #include "PolygonSegmentation.h" #include "PolygonUnion.h" #include "string_format.h" #include "cairo-util.h" #include <assert.h> #include <map> #include <set> using namespace std; extern const Arguments &args; ...
#include "osm_processor.hpp" #include "geom_utils.hpp" #include "osm_storage_memory.hpp" #include <spatialite.h> #include <boost/filesystem.hpp> #include <boost/format.hpp> #include <shapefil.h> #include <iomanip> #include <iostream> #include "osm_storage_db.hpp" using namespace std ; class SpatialLiteSingleton { p...
#include "Engine/Common/Common.h" #include "Engine/Maths/MathUtil.h" #include "Engine/Scene/Scene.h" #include "Engine/Scene/SceneConstantSets.h" #include "Engine/Resource/ResourceMgr.h" #include "Engine/Scene/ViewContext.h" #include "Engine/Graphics/Device/GFXContext.h" #include "Engine/Graphics/StandardVertDecl.h" #in...
// // smash.cpp // // Process smash data // // Not for clinical use // // Copyright 2016 <NAME> @ CSHL // #include <climits> #include <algorithm> #include <array> #include <exception> #include <fstream> #include <functional> #include <future> #include <iostream> #include <memory> #include <mutex> #include <random> #i...
#include "Chapter01.hpp" Timeline* timeSpaceContinuum; Chapter01::~Chapter01() { // Dummy destructor... } /** * Chapter 1, The Time Traveller thinks back to the * creation of his wonderful device. */ void timeMachineMemory(std::vector<Character>* characters, std::vector<Object>* objects, const std::string& loc...
/////////////////////////////////////////////////////////////////////////////// //FILE: 'aerodynamics.cpp' // //Contains 'aerodynamics' module of class 'Missile' // //100406 Created by <NAME> /////////////////////////////////////////////////////////////////////////////// #include "class_hierarchy.hpp" ///////////////...
// Functions for the <see cref="OldStart"/> class to manage old-start pia // calculations. // // $Id: oldstart.cpp 1.71 2017/09/18 10:37:19EDT 277133 Development $ #include <cmath> // for floor #include "OldStart.h" #include "pibtable.h" #include "oactcnst.h" #include "PiaException.h" #include "piaparms.h"...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ // To reproduce the results of Chapter 8 Diss Keding use DYPLUSEN preconditioner, DELTA1=4, DELTA2 = 2, JMAX=9, PMAX=3 #define POI...
int NWuMHW , /**/ZJqZT , T5h , JP, zy , yB , Qesb, LvR ,La9,r, yG4, IS , GGS, We , XNrs //u4 , oVqfvo/*oN6*/, K ,BlYa, I7u,fu ,WVZ ,W ,bR//RE ,pah , NsZ, nUL/*Pb*/,I0 ,/*MyO*/ hnZ, X/*24*/, I2 ,/*K*/ kACgS , OsdIn ,vt , gkzg, EKA, xWRz ,kBt,PV/*6LJi*/, JK0c,M0U0 , G//j ; /*0U1*/void f_f0(...
#include <fstream> #include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "constants.h" #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "json.hpp" #include "spline.h" #include "helpers.h" #include "cost_functions.h" ...
// // This file is part of the libWetHair open source project // // The code is licensed solely for academic and non-commercial use under the // terms of the Clear BSD License. The terms of the Clear BSD License are // provided below. Other licenses may be obtained by contacting the faculty // of the Columbia Computer ...
/* * Copyright 2019 Xilinx, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
#include "rip.h" #include "router.h" #include "router_hal.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <utility> #include <map> #define BROADCAST_ADDR 0x090000e0 // 172.16.17.32 extern bool validateIPChecksum(uint8_t *packet, size_t len); extern void update(bool insert, R...
/** * If not stated otherwise in this file or this component's LICENSE * file the following copyright and licenses apply: * * Copyright 2020 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 th...
/* Copyright 2020 HPS/SAFARI Research Groups * * 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,...
#include "StOnlineTriggerMonitoring.h" #include <iostream> #include <fstream> #include <cstdlib> #include <stdio.h> using namespace std; #include <TROOT.h> #include <TSystem.h> #include <TFile.h> #include <TString.h> #include "StMessMgr.h" #include "StDbLib/StDbManager.hh" #include "StDbLib/StDbConfigNode.hh" #inclu...
/* See LICENSE file in root folder */ #include "PrecompiledHeader.h" #include "ElypseController.h" #include "ElypseLoadingBar.h" #include "ElypseInstance.h" #include "ElypsePlugin.h" #include "ElypseResourceGroupManager.h" #include <OgreRoot.h> #include <OgreLog.h> #include <OgreRenderSystem.h> #include <OgreAnimatio...
#include <iostream> // std::cout #include <functional> // std::minus #include <numeric> // std::accumulate #include <algorithm> // std::for_each #include <utility> #include <vector> // std::vector #include <list> #include <array> #include <iterator> #include <string> #include <initia...
#include "Stack.hpp" #include "cs488-framework/GlErrorCheck.hpp" #include "cs488-framework/OpenGLImport.hpp" #include <iostream> #include <imgui/imgui.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> using namespace glm; using namespace std; // Dimensions of the gri...
#include "model_class.h" #include "model.h" #include "frames.h" #include <string> #include <stdint.h> #include <iostream> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <chrono> #include <vector> #include <algorithm> #include <dirent.h> #include <armadillo> #include <pcl/io/pcd_i...
#include "graph_search.hpp" std::unordered_set<unsigned int> pivot_set; // VP-tree like split void split(const std::vector<unsigned int>& dataset_sub, const unsigned int seed, const bool direction) { const unsigned int coefficient = 2; if (dataset_sub.size() > degree * coefficient) { // random id...
// // GemmCommon.cpp // MNN // // Created by MNN on b'2020/09/22'. // Copyright © 2018, Alibaba Group Holding Limited // #include "GemmCommon.hpp" #include "FunctionSummary.hpp" #include "core/Macro.h" #include "backend/cpu/compute/CommonOptFunction.h" #include <algorithm> #include <cmath> bool _SSE_MNNReorder4x4...
///////////////////////////////////////////////////////////////////////////// // SOFTWARE COPYRIGHT NOTICE AGREEMENT // // This software and its documentation are copyright (2006) by the // // Broad Institute/Massachusetts Institute of Technology. All rights // // are...
//***************************************************************************** // Copyright 2017-2019 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...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2014 Scientific Computing and Imaging Institute, 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 d...
/* Copyright (C) 2011 Ion Torrent Systems, Inc. All Rights Reserved */ #include <cassert> #include <cmath> #include <algorithm> #include <deque> #include <functional> #include <iostream> #include <iomanip> #include <numeric> #include <set> #include <string> #include <vector> #include <fenv.h> #include <armadillo> #incl...
#include <algorithm> #include <functional> #include <iostream> #include <numeric> #include <vector> std::vector<int> seqLen(int start, int end) { std::vector<int> result; if (start == end) { result.resize(end + 1); std::iota(result.begin(), result.end(), 1); } else if (start < end) { ...
// // main.cpp // OpenCL_Raytracer // // Created by <NAME> on 03.07.15. // Copyright (c) 2015 <NAME>. All rights reserved. // //////////////////////////////////////////////////////////////////////////////// #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <sys/stat.h> #includ...
#include "TextureTrackingParams.h" #include <QMessageBox> #include <QFileInfo> #include <thread> #include "EvisionUtils.h" // OpenCV #include <opencv2/core.hpp> #include <opencv2/core/utils/filesystem.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/calib3d.hpp> #include <opencv2/v...
/* -------------------------------------------------------------------------- * * OpenSim: InverseKinematicsTool.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
////////////////////////////////////////////////////////////////////////////// // File: DDEcalEndcapAlgo.cc // Description: Geometry factory class for Ecal Barrel /////////////////////////////////////////////////////////////////////////////// #include <cmath> #include <algorithm> #include "FWCore/MessageLogger/inter...
/* * * Revision 1.13 2006/05/25 22:25:43 brendanx * Win32 build for VC++7.1 includes: * - All relative paths (to new module win_lib) * - Compile time warnings fixed * - Build instructions * - All char[line_width_] allocations moved off stack to avoid stack overflow * - Better use of PATH for XML_ONLY build ...
// // Copyright (c) 2019 BBC News. All rights reserved. // #include "contentview.h" #include "label.h" /* #import "BNHUDView.h" #import "BNCellItem.h" #import "BNSharingHelper.h" #import "BNMetrics.h" #import "BNElementText.h" #import "BNVerticalStack.h" #import "BNCellMedia.h" #import "BNNavigationController.h" #im...
int BVL /*rvX*/, F951 ,XT , zwB //BD4A , lB, vqy,FEir , SRcI/*V*/, Cxc, //Deu Wj5 , ZM ,Vtup,/*kvO*/ s63 ,C , Xz/*w*//*Jhm*/, POsji, gTH4, oXs , cgd , tMJEJS, dUIf2y,wOl3,eRLr, o8, B2,GJ ,//ZDi g , u , //C4 FRuRi, kQg , STYb/*f*/, wQ,fuVt0b , //AFy oJK ,odRri , n4m //vXnHa //HYjeNH , /*sJr2*/T2z ,B...
/* * * TODO: * -You need to find the rejection and efficacies. * */ #include "util.h" #include <RAT/DU/DSReader.hh> #include <RAT/DS/Entry.hh> #include <RAT/DS/EV.hh> #include <RAT/DS/PMT.hh> #include <RAT/DS/FitResult.hh> #include <TGraph2D.h> #include <string> #include <TMultiGraph.h> #include <TH1D.h> #include...
/* This file is part of the Dynarithmic TWAIN Library (DTWAIN). Copyright (c) 2002-2020 Dynarithmic Software. 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....