text
stringlengths
8.71k
38.4k
// Copyright (c) 2010, University of Southern Denmark // 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...
#include "CadColorMap.h" #include <string> static bool IndexToRGB(short colorr, short& r, short& g, short& b) { if (colorr > 255 || colorr < 0) return false; switch (colorr) { case 1:r = 255; g = 0; b = 0; break; case 2:r = 255; g = 255; b = 0; break; case 3:r = 0; g = 255; b = 0; break; case 4:r = 0; g = 255...
/* Copyright 2019 Stanford University, NVIDIA Corporation, Argonne National Laboratory * * 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....
// =============================================================================== // NVIDIA PHYSX SDK TRAINING PROGRAMS // LESSON 905: FLUIDS EVENTS // // =============================================================================== #include "Lesson905.h" #include "Timing.h" // Physics SDK g...
#include "showplayer.h" #include<qDebug> showPlayer::showPlayer(QObject *parent) : QThread(parent) { m_playerState = PlayerState::Stop; m_videoState.readThreadFinished = true; //1.初始化FFMPEG 调用了这个才能正常适用编码器和解码器 注册所用函数 av_register_all(); int ret; if((ret = avformat_network_init()) < ...
/* * file: board_pins.cpp (uart) * brief: UART Test Board pins * version: 1.00 * date: 2021-10-29 * authors: nvitya */ #include "board_pins.h" #include "hwsdram.h" THwUart conuart; // console uart unsigned pin_led_count = 1; TGpioPin pin_led[MAX_LEDS] = { TGpioPin(), TGpioPin(), TGp...
// Copyright 2016 <NAME> (Falcons) // SPDX-License-Identifier: Apache-2.0 // Copyright 2016 <NAME> // Licensed under the Apache License version 2.0 // You may not use this file except in compliance with this License // You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 #include <algorit...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
#include <Eigen/Eigen> #include <Eigen/Eigenvalues> #include <iostream> #include <chrono> #include "rnp.h" static void compute_coeffs(const double data[35], double coeffs[34]) { coeffs[0] = -data[15]; coeffs[1] = -data[16]; coeffs[2] = -data[14]; coeffs[3] = data[1] - data[17]; coeffs[4] = ...
// $Id: stormcontgrid.cpp 1499 2017-05-29 19:01:53Z perroe $ // Copyright (c) 2011, Norwegian Computing Center // 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 co...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This file is part of libxls -- A multiplatform, C/C++ library * for parsing Excel(TM) files. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditi...
#include <algorithm> #include <cudf.h> #include <cudf/table/table_view.hpp> #include <iomanip> #include <limits> #include <map> #include <regex> #include <sstream> #include <stack> #include <blazingdb/io/Util/StringUtil.h> #include "Utils.cuh" #include "CalciteExpressionParsing.h" #include "Traits/RuntimeTraits.h" #i...
// Migrated to use DQMEDAnalyzer by: <NAME>, Oct 2014 #include "FWCore/Common/interface/TriggerNames.h" #include "HLTriggerOffline/JetMET/interface/HLTJetMETValidation.h" #include "Math/GenVector/VectorUtil.h" using namespace std; using namespace edm; using namespace reco; using namespace l1extra; using namespace tri...
// MultiSpec // // Copyright 1988-2020 Purdue Research Foundation // // 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.apach...
#include "AliColladaBuffer.h" #include "TMath.h" #include "TEveGeoShape.h" #include "TEveGeoPolyShape.h" #include "TGeoBBox.h" #include "TGeoSphere.h" #include <iostream> #include <fstream> #include <vector> using namespace std; AliColladaBuffer::AliColladaBuffer() { fXml = new TXMLEngine(); SetupRootNode()...
/* */ /* WINDOWSYS.cpp コマンドウィンドウ処理 */ /* */ /* */ #incl...
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1997 - 1998 // // File: cliqwork.cpp // //-------------------------------------------------------------------------- // // cliqwork.cpp // #include <ba...
/****************************************************************************** * SAGE - Scalable Adaptive Graphics Environment * * Module: sageDisplay.cpp - the display module in SAGE Receiver * Author : <NAME>, <NAME> * * Copyright (C) 2004 Electronic Visualization Laboratory, * University of Illinois at Chica...
#include "Symbolic.hpp" #include "Exception.hpp" #include "Architecture.hpp" #include <exception> #include <cstring> #include <cmath> using namespace std; // Arguments for REIL-type of operations SymArg::SymArg(ArgType t, int i, int s): _type(t), _id(i), _size(s){ _low = 0; _high = _size-1; } SymArg::SymAr...
#include "Ob.h" #include "Code.h" #include "Prim.h" #include "Number.h" #include "Expr.h" #include "RblAtom.h" #include "RBLstring.h" #include "Proc.h" #include "Method.h" #include "Pattern.h" #include "Table.h" #include "Vm.h" #include "MI.h" #include "Cstruct.h" #include "Method.h" #include "Operation.h" #include "C...
/***************************************************************************** * ffu.cpp * * This class implements FFU image support * * Copyright (c) 2007-2011 * Qualcomm Technologies Incorporated. * All Rights Reserved. * Qualcomm Confidential and Proprietary * ********************************************************...
/* MACHINE GENERATED FILE, DO NOT EDIT! */ #define VMDPLUGIN molfile_cubeplugin #define STATIC_PLUGIN 1 /*************************************************************************** *cr *cr (C) Copyright 1995-2016 The Board of Trustees of the *cr University of Illinois *cr ...
#include "stdafx.h" #include "AeSys.h" #include "Lex.h" using namespace Lex; namespace Lex { int g_TokenTypes[gc_MaximumNumberOfTokens]; int g_Tokens; int g_NumberOfValues; int g_LocationOfValue[gc_MaximumNumberOfTokens]; long g_Values[gc_ValuesMax]; } void Lex::BreakExpression(int& firstTokenLocation, int& numb...
/** * @file llmd5.cpp * * $LicenseInfo:firstyear=2001&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the F...
#include "AI.h" #include "Constants.h" //为假则play()调用期间游戏状态更新阻塞,为真则只保证当前游戏状态不会被状态更新函数与GameApi的方法同时访问 extern const bool asynchronous = false; #include <random> #include <iostream> #include <sstream> #include <list> #include <algorithm> #include <fstream> /* 请于 VS2019 项目属性中开启 C++17 标准:/std:c++17 */ extern const THUAI4...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
//********************************************************* // RetimingCommand.cpp // // Copyright (C) 2007-2021 <NAME> // All rights reserved. // //********************************************************* //********************************************************* #include "RetimingCommand.h" #include "Err...
// // SoundFileL.cpp -- sound file class using libsndfile // See the copyright notice and acknowledgment of authors in the file COPYRIGHT // #include "SoundFileL.h" #include "math.h" #include "SoundFileMP3.h" using namespace csl; #ifdef CSL_WINDOWS #define strcasestr strstr #endif // Factory method LSoundFile * L...
#include <iostream> #include <math.h> #include "parser.h" #include "ppm.h" #include <algorithm> #include <limits> typedef unsigned char RGB[3]; using namespace parser; const float epsilon = 1e-5; void normalize(Vec3f & a){ a = a / sqrt( a += a); } class Ray{ public: Vec3f dir, pos; ...
// An Arduino based framework for the Lilygo T-Watch 2020 // Much of the code is based on the sample apps for the // T-watch that were written and copyrighted by <NAME>. //(Copyright (c) 2019 <NAME>) // https://www.instructables.com/id/Lilygo-T-Watch-2020-Arduino-Framework/ // By DanGeiger #define LILYGO_WATCH_202...
/* brig-function.cc -- declaration of brig_function class. Copyright (C) 2016-2017 Free Software Foundation, Inc. Contributed by <NAME> <<EMAIL>> for General Processor Tech. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Pu...
// Copyright 2020 The TensorStore Authors // // 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 ...
int mxfUB, W9GMf1 , cw ,QV2Z /*j*/, DT7, Q, Jv ,/*8*/ OK , EmVc ,WKxy/*Kv8*/ ,Dks,mNU,/*L*/ LhjY6 ,Id, Ir , Af , CMU , XMo , Sou ,pXnxmK, X , Ws , Kd, ca ,V,tJ , Wp , wC, JC , x /*b*/,ac, hMQKB ,j3DB6 , oO3,Pc, KAjX9 , oNR , z , k9xHY , WW,j,GE// ,pxK , rE0p, Rc8, hm , qo,fFIGr, EBPN , W0f...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "debug.h" #include "sam.h" #include "render.h" #include "SamTabs.h" enum { pR = 23, pD = 57, pT = 69, BREAK = 254, END = 255 }; extern int debug; void SAM::SetInput(char *_input) { int i, l; l = strlen(_input);...
#include "LOGinstruments.hpp" #include "kiss_fft.h" /* * FFT SCOPE, BASED ON SCOPE * Todo: precise f0 estimate */ #define BUFFER_SIZE 2048 #define FFT_POINTS BUFFER_SIZE #define FFT_POINTS_NYQ FFT_POINTS/2+1 #define DIR_FFT 0 #define INV_FFT 1 #define FOFFS_RANGE 1.0 #define ZOOM_RANGE 8.0 float inline cabs(kiss_...
/* * PatternGraph.cpp * * Created on: May 11, 2010 * Author: justin */ #include "BNGcore.hpp" #include "Ullmann.hpp" #include "nausparse.h" /* which includes nauty.h */ using namespace BNGcore; // define static members node_iter_t PatternGraph::node_iter; node_const_iter_t PatternGraph::node_cons...
#include <iostream> #include <clocale> #include <stdlib.h> #include "bibItens.h" #include "bibNPC.h" #include "bibDado.h" #include "bibGame.h" #include <time.h> using namespace std; void barra(int x, int y){ int aux=1; for(int i=1; i<=x;i++){ cout << "▮"; //desenha barra cheia para quanti...
#include "refinement.hpp" using namespace df; Refiner::Refiner(std::string model_file) { counter_ = 0; create_window(640.0, 480.0); loadModels(model_file); std::cout << "loaded models" << std::endl; } void Refiner::setup(std::string model_file) { counter_ = 0; loadModels(model_file); } Refiner::~Refin...
/************************************************************** * * 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...
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
#include <math.h> #include "vegastrike.h" #include "unit_factory.h" #include "planet.h" #include "gfxlib.h" #include "gfx/sphere.h" #include "collection.h" #include "ai/order.h" #include "gfxlib_struct.h" #include "vs_globals.h" #include "config_xml.h" #include <assert.h> #include "cont_terrain.h" #include "atmosphere....
#include "common.h" #include "SpectrogramVisualizer.hpp" /* static member declarations and initializations */ const char *const SpectrogramVisualizer::noteNames[] = { "C", "C#", "D", "Eb", "E", "F", "F#", "G", "G#", "A", "Bb", "B" }; const struct SpectrogramVisualizer::shortcuts SpectrogramVisualizer::KEYBOARD_SH...
// Copyright 2019 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...
/* * Copyright (c) 2017-9, Ubiquity Robotics * 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...
// #define SC_DISABLE_VIRTUAL_BIND 1 #include <systemc.h> #include <vector> #include <systemc> #include <random> #include <map> #define ADDR_WIDTH 8 #define DATA_WIDTH 16 #define CPU_CNT 20 #define MEM_CNT 3 #define MAX_TRANS_PER_CPU 1000 #define MAX_TRANS_DELAY 5 #define TIMEOUT_CNT 100 // #define DEAL_...
#include <iostream> #include <string> #include <vector> #include <map> #include <iterator> //#include <algorithm> using namespace std; constexpr int PUBLISHER_FOLLOWED_NOTIF = 270; constexpr int PUBLISHER_BUOUGTYOURFILM_NOTIF = 250; constexpr int PUBLISHER_RATEDYOURFILM_NOTIF = 260; constexpr int PUBLISHER_COMMENTED...
#include <test_anasazi.hpp> #include <cmath> using namespace Anasazi; test_params::test_params ( ) { np = 1; myp = 0; #ifdef HAVE_MPI MPI_Comm_size ( MPI_COMM_WORLD, &np ); MPI_Comm_rank ( MPI_COMM_WORLD, &myp ); #endif // testcase: 20 traces of 100 flux bins each. One bin per pixel in wavelengt...
#include <fstream> #include <iomanip> #include <random> #include <tuple> #include <vector> #include <chrono> using namespace std; // Numerical simulation of the Cox-Ingersoll-Ross (CIR) model on [0, T]: // dy_t = a(b-y_t) dt + sigma sqrt(y_t) dW_t class CIRmethods { public: // Input parameters do...
// Copyright (C) 2016 <NAME> #include "SceneBuilder.h" #include "sqlite3.h" SceneBuilder::SceneBuilder() { startPosition = 0; cfg = new ConfigLoader("obj2sqlite.cfg"); } SceneBuilder::~SceneBuilder() { delete cfg; } void SceneBuilder::addMaterial(Material* material) { if (materials.find(material->name) != mater...
//#include <Windows.h> #include <Python.h> #include "pybind11/pybind11.h" #include "pybind11/stl.h" #include "pybind11/embed.h" #include <cmath> #include "pybind11/numpy.h" #include <atomic> #include <string> #include <vector> #include <iostream> #include <sstream> #include <thread> #include <chrono> #include <mutex> ...
//===- AffineToStandard.cpp - Lower affine constructs to primitives -------===// // // 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 // //===---------------------------...
/*************************************************************************/ /* font.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
//===--- PropertyUnification.cpp - Rules added w/ building property map ---===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE....
#include <sys/types.h> #include <sys/stat.h> // #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <stdint.h> // #include <dirent.h> #include <string> #include <vector> #include <algorithm> #include <unordered_map> #include <unordered_set> #include <cstring> #include "header.h" #in...
/* -------------------------------------------------------------------------- * * OpenSim: testMuscles.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * * S...
/* * CryptoManager.cpp * * Copyright (c) 2014-2016 <NAME>. * Licensed under the MIT license. */ #include "CryptoManager.h" #include <QObject> #include <bb/cascades/Application> #include "util/Util.h" #include "husha2.h" #include "hugse56.h" #include "sbreturn.h" #include "huaes.h" #include "huseed.h" #include "hu...
#include "sandBox.h" #include "igl/edge_flaps.h" #include "igl/collapse_edge.h" #include "Eigen/dense" #include <functional> #include <Eigen/Core> #include "igl/opengl/ViewerCore.h" #include "igl/opengl/glfw/renderer.h" #include "igl/decimate.h" #include "igl/writeOBJ.h" #include <igl/circulation.h> #include <igl/short...
/****************************************************************************** * * Project: ADAGUC Server * Purpose: ADAGUC OGC Server * Author: <NAME>, plieger "at" knmi.nl * Date: 2013-06-01 * ****************************************************************************** * * Copyright 2013, Royal Ne...
#include <cstdio> using namespace std; #include "vtr_memory.h" #include "vtr_log.h" #include "vpr_types.h" #include "vpr_error.h" #include "globals.h" #include "net_delay.h" /***************** Types and defines local to this module ********************/ struct t_rc_node; /* Linked list listing the children of an rc...
#include <fstream> #include <codecvt> #include <future> #include <vector> #include <algorithm> #include <iostream> #include <stdio.h> #include <chrono> #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #include <boost/format.hpp> #include <boost/dynamic_bitset.hpp> #include <xgboost/c_api.h> #includ...
/* * Copyright (c) 2012-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: * * Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
/* Copyright ©2013 The Regents of the University of California (Regents). All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement, is hereby granted, pr...
/* * Project: An Interactive 3D Maze Game * Project.cpp * * ----------------------------------------------------------------------------- * Student Information * ----------------------------------------------------------------------------- * Student Name:LiYuLin * Student ID:1409853g-i011-0074 * ...
/** * @file llupdaterservice.cpp * * $LicenseInfo:firstyear=2010&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publish...
/*---------------------------------------------------- Copyright 2017 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 app...
/* * \class DPFIsolation * * Deep ParticleFlow tau isolation using Deep NN. * * \author <NAME>, UCSB */ #include "RecoTauTag/RecoTau/interface/DeepTauBase.h" namespace { inline int getPFCandidateIndex(const edm::Handle<pat::PackedCandidateCollection>& pfcands, const reco::Candidat...
/* Copyright (C) 2015-2016 <NAME> (<EMAIL>) 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 ag...
#ifdef __APPLE__ #include <sys/types.h> #endif #include <TH1F.h> #include <TH2F.h> #include <TObjArray.h> #include <TGraph.h> #include <TVector2.h> #include "BarrelMipCalib.h" #include "StJanBarrelDbMaker.h" #include "JanBarrelEvent.h" #include "StEmcUtil/geometry/StEmcGeom.h" #include "StMuDSTMaker/COMMON/StMuEvent...
/* * Controller_StateMachine_v2.cpp * * Created on: Nov 27, 2012 * Author: jespestana */ #include "Controller_StateMachine_v2.h" using namespace CVG; // ***************************** General State Machine Functions ************************************ Controller_StateMachine_v2::Controller_StateMachine_v2...
#include <Arduino.h> #include <BjSMatrix5x5.h> BjSMatrix5x5::BjSMatrix5x5(int dataPin, int clockPin, int latchPin) { _dataPin = dataPin; _clockPin = clockPin; _latchPin = latchPin; pinMode(dataPin, OUTPUT); pinMode(clockPin, OUTPUT); pinMode(latchPin, OUTPUT); digitalWrite(dataPin, LOW); digitalWrit...
/* Copyright 2018 Los Alamos National Laboratory * Copyright 2009-2018 The University of Tennessee and The University * of Tennessee Research Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
/********** 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, publish, distribute, sublicense, and/or sell co...
/* This file is a part of EMIPLIB, the EDM Media over IP Library. Copyright (C) 2006-2016 Hasselt University - Expertise Centre for Digital Media (EDM) (http://www.edm.uhasselt.be) This library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
#include "node_edge_navigator/node_edge_navigator.h" NodeEdgeNavigator::NodeEdgeNavigator(void) : private_nh("~") { direction_pub = nh.advertise<geometry_msgs::PoseStamped>("/direction/relative", 1); goal_flag_pub = private_nh.advertise<std_msgs::Empty>("goal_flag", 1); next_intersection_shape_pub = pr...
#include "DQM/L1TMonitor/interface/L1TMP7ZeroSupp.h" const unsigned int L1TMP7ZeroSupp::maxMasks_ = 16; L1TMP7ZeroSupp::L1TMP7ZeroSupp(const edm::ParameterSet& ps) : fedDataToken_(consumes<FEDRawDataCollection>(ps.getParameter<edm::InputTag>("rawData"))), zsEnabled_(ps.getUntrackedParameter<bool>("zsEnabled...
#include "battle.h" #include "colors.h" #include "rang.h" #include <algorithm> #include <cctype> #include <cmath> #include <deque> #include <sstream> #include <stdlib.h> #include <string> #include <time.h> using namespace std; Battle::Battle(string file_path) : gc(GagCollection::read(file_path)) {} Battle::Battle(s...
#include "mbed.h" #include "rtos.h" #include "MQTTThreadedClient.h" #include "mbedtls/platform.h" #include "mbedtls/ssl.h" #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" #include "mbedtls/error.h" #define QUEUE_SIZE 2 static MemoryPool<MQTT::PubMessage, 2* QUEUE_SIZE> mpool; // 2nd arg is the number of ele...
/* NetHack may be freely redistributed. See license for details. */ #include <vector> #include <string> #include <errno.h> #include "vulture_win.h" #include "vulture_gra.h" #include "vulture_gen.h" #include "vulture_sdl.h" #include "vulture_gfl.h" #include "vulture_txt.h" #include "vulture_init.h" #include "vultur...
#define PI 3.14159265358979324 #include "Renderer.hpp" #include "GameSettings.hpp" #include "InputHandler.hpp" // It's supposed to be in GLAD *then* GLFW, don't remove the newline inbetween. //#include <glad/glad.h> //#include "callbacks.h" #include "glib2d.h" //#include <GLFW/glfw3.h> #include <finders_interface.h> ...
#include <fstream> #include <pthread.h> #include <vector> #include "src/common.cpp" #include "src/tensor.cpp" #include "src/tensor_float.cpp" #include "src/tensor_gradient.cpp" #include "src/gradient.cpp" #include "src/layer.cpp" #include "src/convolutional_layer.cpp" #include "src/relu_layer.cpp" #include "src/pool_la...
#include "egsl/gsl_eigen.h" #include "egsl/egsl_macros.h" #include "gpc/gpc.h" #include "csm/csm_all.h" #include "icp/icp.h" #include <iostream> #include <math.h> #include <string.h> #include <vector> #include <chrono> //#include <thread> #include <fstream> using namespace std; std::string pre = "./0824-8/"; int ic...
//************************************************************************ // LocoDrone Intuitive Transmitter // // Author: <NAME> // // // LED RING CONNECTIONS // // Signal: 3 ---> Middle Pin (Signal) // // JOYSTICK CONNECTIONS // // Throttle: A3 ---> HORZ (left joystick) // Yaw : A2 ---> VERT (left joystick) ...
#include <cmath> #include <cstdlib> #include <vector> #include <fstream> #include <iostream> #include <gsl/gsl_multifit.h> using namespace std; bool verbose=false; bool girdle=true; bool orefr=false; bool orefl=false; bool loop=true; // guarantee interaction at every step double frac=0.0; double elong=1.0; double x...
//Copyright (c) 2015 Singapore-MIT Alliance for Research and Technology //Licensed under the terms of the MIT License, as described in the file: //license.txt (http://opensource.org/licenses/MIT) /* * Hits2008ScreeningProbDao.cpp * * Created on: July 31, 2015 * Author: <NAME> <<EMAIL>> */ #include <database/da...
/* * 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/Object/CollideDebrisShip.cpp $ * $Revision:...
#include <algorithm> #include <map> #include <queue> #include <set> #include <sstream> #include <string> #include <string_view> #include <vector> #include "screen/Screen.h" namespace { struct Node { // Parsing: std::set<int> upward; std::set<int> downward; bool is_connector = false; bool padding = 1; // ...
/* * PIXELS - The Game * <NAME> S1930702 * <NAME> S2013525 * * Play a Pacman-inspired game with a maze, * enemies, and coins, in different themes, * including Mario, Angry Birds, and Pokemon * Uses a joystick for controls. * * Last published on January 24, 2019 * * MIT License * Source code: https://github...
#include "ort_test_session.h" #include <core/session/onnxruntime_cxx_api.h> #include "core/session/onnxruntime_session_options_config_keys.h" #include <assert.h> #include "providers.h" #include "TestCase.h" #ifdef _WIN32 #define strdup _strdup #endif extern const OrtApi* g_ort; namespace onnxruntime { namespace perft...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
/* * Copyright (C) 2018, Xilinx Inc - All rights reserved * Xilinx SDAccel Media Accelerator API * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LIC...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
#include "landmark_factory_rpg_sasp.h" #include "landmark_graph.h" #include "util.h" #include "../domain_transition_graph.h" #include "../global_operator.h" #include "../global_state.h" #include "../globals.h" #include "../option_parser.h" #include "../plugin.h" #include <cassert> #include <limits> using namespace ...
/* * pubKeyTool.cpp - calculate public key hash of arbitrary keys and certs; derive * public key from a private key or a cert. */ #include <stdlib.h> #include <strings.h> #include <stdio.h> #include <unistd.h> #include <Security/Security.h> #include <security_cdsa_utils/cuFileIo.h> #include <secu...
//============================================================================== /* Software License Agreement (BSD License) Copyright (c) 2003-2016, CHAI3D. (www.chai3d.org) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are perm...
/**************************************************************************** ** $Id: qapplication.cpp,v 2.58.2.7 1999/01/25 20:23:14 warwick Exp $ ** ** Implementation of QApplication class ** ** Created : 931107 ** ** Copyright (C) 1992-1999 Troll Tech AS. All rights reserved. ** ** This file is part of Qt Free Edit...
#include <stack> #include <vector> #include <algorithm> #include "vtr_assert.h" #include "vtr_list.h" #include "vtr_log.h" #include "vtr_memory.h" #include "vpr_types.h" #include "vpr_error.h" #include "globals.h" #include "atom_netlist.h" #include "path_delay2.h" #include "read_xml_arch_file.h" #include "path_del...
/* Copyright 2016-2020 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
/* Copyright 2014 Stanford University * * 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 agree...
//$Id: ParameterFactory.cpp 10555 2012-06-08 15:50:01Z wendys-dev $ //------------------------------------------------------------------------------ // ParameterFactory //------------------------------------------------------------------------------ // GMAT: General Mission Analysis Tool // /...
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...