text
stringlengths
5.71k
33.7k
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #include <cstdlib> #include <vector> #include <limits> #include <chrono> #include "IpuPathTraceJob.hpp" #include "AsyncTask.hpp" #include "ipu_utils.hpp" #include <light/src/jobs.hpp> #include <light/src/exr/exr.hpp> #include <opencv2/imgcodecs.hpp> #include ...
// LUI #include <core/ui_string_view.h> #include <control/ui_viewport.h> #include <core/ui_color_list.h> #include <input/ui_kminput.h> #include <core/ui_platform.h> #include <core/ui_manager.h> #include <core/ui_window.h> // private #include "../private/ui_private_control.h" // C/C++ #include <cassert> #include <algor...
/* File Name: TFMPI2C.cpp * Developer: <NAME> * Date: 03 SEP 2020 * Version: 1.5.0 * Described: Arduino Library for the Benewake TFMini-Plus Lidar sensor * configured for the I2C interface * * Default settings for the TFMini-Plus I2C are: * 0x10 - slave device address * 100Mhz - bus c...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/browser_navigator.h" #include <algorithm> #include "base/command_line.h" #include "chrome/browser/browser_url_handler.h"...
/** * This file includes IO codes for reading DNA ngram data * and merge them with existing clustering framework. * * @param(p_data->ph[n].p_supp_sym) The symbolic arrays. */ #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <stdbool.h> #include <float.h> #include "d2/clustering.h" #include "d2...
/* Author(s): <NAME> (msc37) Project: sweepc (population balance solver) Sourceforge: http://sourceforge.net/projects/mopssuite Copyright (C) 2008 <NAME>. File purpose: Implementation of the SurfVolStats class declared in the swp_surfvol_stats.h header file. Licence: This file ...
// // Copyright (c) 2012, University of Erlangen-Nuremberg // Copyright (c) 2012, Siemens AG // 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...
#include <Windows.h> #include <gl/glut.h> #include <gl/GLU.h> #include <gl/GLAux.h> #include <gl/glext.h> #include <gl/GL.h> #include <math.h> #define RADIUS 8 #define ROOM 1 #define KNOT 2 GLuint floorMap, ceilMap, wallMap, marbleMap; float time; float startTime = GetTickCount() / 1000.0f; flo...
#include "SolverMPC.h" #include "common_types.h" #include "convexMPC_interface.h" #include "RobotState.h" #include <eigen3/Eigen/Dense> #include <cmath> #include <eigen3/unsupported/Eigen/MatrixFunctions> #include <qpOASES.hpp> #include <stdio.h> #include <sys/time.h> #include <Utilities/Timer.h> #define BIG_NUMBER 5e...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * THE BSD LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribut...
// [[Rcpp::depends(RcppParallel)]] #include <RcppParallel.h> #include <algorithm> #include <Rcpp.h> #include <RcppEigen.h> #include <math.h> #include "divergences.h" // Worker for RcppParallel struct Lse : public RcppParallel::Worker { const RcppParallel::RVector<double> logMeasure; const RcppParallel::...
/* Dwarf Therapist Copyright (c) 2009 <NAME> (chmod) 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...
// ==================================================== // Author: <NAME> // // Copyright: Georgia Institute of Technology // Copyright: GeneProbe Inc. // // Contact information: // <NAME> <EMAIL> // <NAME> <EMAIL> // // GeneMark.hmm-2 algorithm version 1.0 was published in // Genome Research 2018 // htt...
//******************************************************************************************************** // // © 2016 Regents of the University of California on behalf of the University of California at Berkeley // with rights granted for USDOT OSADP distribution with the ECL-2.0 open source license. // //*****...
/* Copyright (C) 2018-2019 SKALE Labs This file is part of libBLS. libBLS is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version...
/* -------------------------------------------------------------------------- * * OpenSim Muscollo: GlobalStaticOptimization.cpp * * -------------------------------------------------------------------------- * * Copyright (c) 2017 Stanford University and the Authors * ...
// // Created by fruspa on 27/01/2021. // #include "samuel.h" using namespace samuel; constexpr int OFFSET_LOGNAME_OFFSET = 0xC; // 12 constexpr int OFFSET_LOGNAME_LEN = 0x10; // 18 constexpr int OFFSET_FULLNAME_OFFSET = 0x18; // 24 constexpr int OFFSET_FULLNAME_LEN = 0x1C; // 28 constexpr int BASE_OFFSET =...
// // messages.cpp // OpenPGP // // Created by <NAME> on 1/17/17. // // The MIT License // // Copyright (c) 2019 Proton Technologies AG // // 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 ...
#if _MSC_VER #include <GL/glew.h> #endif #include <QtWidgets> //#include <QtOpenGLExtensions\qopenglextensions.h> #include "ui/uiunits.h" #include "ImItem.h" #include <util/util-mylib.h> namespace mylib { #include <array.h> #include <image.h> #include <histogram.h> } #include <util/util-gl.h> #include <assert.h> #i...
//=========================================== // Lumina-DE source code // Copyright (c) 2013-2016, <NAME> // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "LUtils.h" #include "LuminaOS.h" #include "LuminaXDG.h" #include <QA...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
// // main17.cpp // TestOpenGL // // Created by ndl on 2020/1/30. // Copyright © 2020 ndl. All rights reserved. // #include "GLTools.h" #include "GLShaderManager.h" #include "GLFrustum.h" #include "GLBatch.h" #include "GLFrame.h" #include "GLMatrixStack.h" #include "GLGeometryTransform.h" #ifdef __APPLE__ #includ...
/* Filter the point cloud based on a ROI box given relative to the ArUco marker. The ZDF file for this sample can be found under the main instructions for Zivid samples. This sample depends on ArUco libraries in OpenCV with extra modules (https://github.com/opencv/opencv_contrib). */ #include <Zivid/Experimental/Cali...
/* * librdkafka - Apache Kafka C library * * Copyright (c) 2014, <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 copyrig...
/* * Resource Handler: functions for loading all supported data types * - Loads JSON scene information from jsoncpp (https://github.com/open-source-parsers/jsoncpp) * - Loads TGA textures via FreeImage * - Loads 3Ds models via Assimp */ #include <Resources/resourcehandler.hpp> #include <glm/glm.h...
/********************************************************************** * * Copyright (c) 2005, Tsujii Laboratory, The University of Tokyo. * All rights reserved. * * @file forestmaker_main.cc * @version Time-stamp: <2008-07-14 14:51:45 yusuke> * Main program of forestmaker * *****************************...
#include <cmath> #include <ros/ros.h> #include <std_msgs/Float64.h> #include <sensor_msgs/JointState.h> #include <sensor_msgs/Imu.h> #include <algorithm> #include <std_msgs/Float64MultiArray.h> //中立地点を作る using namespace std; #define _USE_MATH_DEFINES const double l1 =0.13, l2=0.13; struct leg{ double knee; doub...
/* Shallow water PK Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. */ // TPLs #include "Teuchos_RCP.hpp" #include "Teuchos_ParameterList....
/* * Copyright (c) 2014 <NAME> * Imperial College London * * Copyright (c) 1997 <NAME> * MIT Media Laboratory * * 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, i...
/* Copyright <SWGEmu> See file COPYING for copying conditions.*/ #include "server/zone/managers/object/ObjectManager.h" #include "ObjectDatabaseCore.h" #include "conf/ConfigManager.h" #include <fstream> #include <thread> #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/objects/pla...
#include "tetris.h" #include "../io.h" // #include "../drawing.h" #include "../eep.h" #include "../strings.h" #include "gameover.h" #include "pitches.h" #define ROW_FLASH_DURATION 50 #define TOTAL_SHAPES 7 #define LEVEL_STEP 150 #define EMOTE_DURATION 1200 void TetrisScene::init() { ga...
/* * TeamBlacksheep BlackSheepTelemetry (BST) Protocol * Datatype definitions and helper functions * Most of the datatype definitions were * taken from the bst files in the COLIBRI_RACE * directory in the betaflight repo and the * bst code in the PX4 repo. * * --------------------------------------------...
/* Definition of SharedMemoryMap class and related types. Author: <NAME> (<EMAIL>) Website: thecrewchief.org */ #pragma once #include <time.h> #include <assert.h> #include <stdio.h> // for sample output #include <share.h> // _fsopen share flags #include <napi....
// Q4 - a virtual stack machine/CPU #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include "Q4.h" byte isBye = 0, isError = 0; char buf[100]; sys_t *sys; #define T DSTK[DSP] #define N DSTK[DSP-1] #define R RSTK[RSP] #define DROP1 pop() #define BASE REG[1] ...
// Bus Raider Machine Serial Terminal // <NAME> 2018 #include <stdlib.h> #include "McTerminal.h" #include "usb_hid_keys.h" #include "../System/rdutils.h" #include "../System/nmalloc.h" #include "../System/lowlib.h" #include "../TargetBus/BusAccess.h" #include "../TargetBus/TargetState.h" #include "../Hardware/HwManage...
// Copyright (c) 2005-2009 <NAME> // // Distributed under the MIT license (See accompanying file // LICENSE.txt or copy at http://jagpdf.org/LICENSE.txt) // //http://www.koders.com/c/fid6A6E9922FF8ABB4A7F6310D78F9C12C4BB5A52BE.aspx?s=pdf+encryption #include "precompiled.h" #include "standard_security_handler.h" #inc...
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" /*====== This file is part of PerconaFT. Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved. PerconaFT is free software: you can redistribute it and/or modif...
// featbin/interpolate-pitch.cc // Copyright 2013 <NAME> // Johns Hopkins University (author: <NAME>) // // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the ...
/* * MIT License * * Copyright (c) 1999, 2020 <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, ...
/******************************************************************************* * Copyright 2018 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.o...
#include <fstream> #include "opengl.hpp" #include "debug.hpp" #include "output.hpp" #include "core.hpp" #include "render-manager.hpp" // #include "gldebug.hpp" #include <glm/gtc/matrix_transform.hpp> const char* gl_error_string(const GLenum err) { switch (err) { case GL_INVALID_ENUM: return "...
/* * Copyright 2020 OmniSci, 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 t...
/* * Copyright (c) 2012-2013, 2015, 2018-2019 ARM Limited * Copyright (c) 2016 Google Inc. * Copyright (c) 2017, Centre National de la Recherche Scientifique * 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 inte...
#include<cmath> #include<vector> #include<iterator> #include<algorithm> #include<numeric> #include<optional> #include<utility> #include"hmLib/mathbio/adaptive_dynamics.hpp" #include"hmLib/ublas.hpp" #include"hmLib/varray.hpp" #include"hmLib/odeint.hpp" #include"hmLib/recursive.hpp" #include"hmLib/exceptions.hpp" #inclu...
/* Authors: <NAME> and <NAME> */ /* * Copyright (c) 2019, The Regents of the University of California * 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 m...
#include "DQM/TrackingMonitor/interface/V0Monitor.h" #include "CommonTools/TriggerUtils/interface/GenericTriggerEventFlag.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "RecoVertex/VertexTools/interface/VertexDistance3D.h" #include "DataFormats/VertexReco/interface/Vertex.h" #include "DQM/Trac...
#include <fstream> #include <algorithm> #include <numeric> #include <functional> #include <glm/gtc/type_ptr.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtc/matrix_access.hpp> #include <bhv_app.h> #include <helpers/RootDir.h> #include <helpers/uboBindings.h> #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/s...
// // TODO: // - zrobić dwucyfrowe numery faktur? // - DECROUND może generować segfault! DECROUND(NULL+2) // - dwuklik na należności - powrót na fakturę // - sortowanie kolumn liczbowych z "XXX.XX" niepoprawne // - przemyśleć czy wszystkie kolumny w tabfaktura są potrzebne (pkwiu?) // - skróty klawiaturowe i ergonomia:...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
/* * Copyright (c) <NAME>. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Disas.h" #include "apple2tc/apple2iodefs.h" #include "apple2tc/apple2plus_rom.h" #include <stdexcept> #include <utility> void AsmBlock::splitInto...
/* Copyright (c) 2012 by Procera Networks, Inc. ("PROCERA") Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND...
#include "protocol.hpp" namespace internal { /** * identifies engine to stdout as specified by UCI protocol */ void identify_engine() noexcept { std::cout << "id name " << engine_name << " " << version << std::endl << "id author " << author << std::endl; } /** * sends "uciok" to...
#include <Python.h> #include <iostream> #include <strings.h> #include <string.h> using std::cerr; using std::cin; using std::cout; using std::endl; using namespace std; #include <ctime> #include <fstream> using std::ifstream; #include <cstdlib> // for exit function #include <vector> // new in 1.2: now accepts reads ...
/** * \file RootWzem.cpp * job handler for job RootWzem (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 1 Dec 2020 */ // IP header --- ABOVE #ifdef WZEMCMBD #include <Wzemcmbd.h> #else #include <Wzemd.h> #endif #include "RootWzem.h" #incl...
#include <string> #include <vector> #include <iostream> #include <map> #include <regex.h> #include <sys/types.h> #include <algorithm> #include <fstream> using namespace std; class Tracer { public: Tracer(const string fun): f(fun) { cout << "in " << f << endl; }; ~Tracer() { cout << "...
#include "tiio_ffmpeg.h" #include "../toonz/tapp.h" #include "tsystem.h" #include "tsound.h" #include "tenv.h" #include <QProcess> #include <QDir> #include <QtGui/QImage> #include <QRegExp> #include "toonz/preferences.h" #include "toonz/toonzfolders.h" #include "tmsgcore.h" Ffmpeg::Ffmpeg() { m_ffmpegPath = Pref...
#include "SSD13xx.h" #include "AbstractPlatform.h" #define SSD1306_CMD_MEMMODE 0x20 // Takes an additional byte argument. #define SSD1306_CMD_COL_ADDR 0x21 // Takes an additional byte argument. #define SSD1306_CMD_PAGEADDR 0x22 // Takes two additional byte arguments. #define SSD1306_CMD_SCR...
#include "./tumor_submodel.h" using namespace PhysiCell; std::string tumor_submodel_version = "0.1.0"; Submodel_Information tumor_submodel_info; // this vector has been defined in immune_submodels.h // disclare the global variable extern std::vector<Cell*> cells_to_move_from_edge; void tumor_submodel_setup( void...
/* * test_gradient.cpp * * Created on: Apr 17, 2019 * Author: <NAME> * Copyright: 2019 <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 obtain a copy of the License at * * http://www.apache....
/* Copyright (C) 2005-2011, <NAME> <<EMAIL>> Copyright (C) 2009-2011, <NAME> <<EMAIL>> 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...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
//*************************************************************************** //* Copyright (c) 2016 Saint Petersburg State University //* All Rights Reserved //* See file LICENSE for details. //*************************************************************************** #include "bwa_index.hpp" #include "bwa/bwa.h" #...
// AUTO GENERATED by vnxcppcodegen #include <vnx/package.hxx> #include <vnx/RecordHeader.hxx> #include <vnx/Value.h> #include <vnx/record_topic_info_t.hxx> #include <vnx/vnx.h> namespace vnx { const vnx::Hash64 RecordHeader::VNX_TYPE_HASH(0x38eef92562acfa98ull); const vnx::Hash64 RecordHeader::VNX_CODE_HASH(0xae...
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAM...
/* * Copyright 2008-2012 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * ...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "base/string_util.h" #include "chrome/browser/extensions/extension_updater.h" #include "chrome/browser/extensions...
#include <iostream> #include <cassert> #include <iterator> #include <random> #include <Eigen/Dense> #include <stdexcept> #include "estimate.hpp" #include "fasta.h" #include "contig.h" #include "bias.hpp" // choose exact integral type // program and solution types using namespace std; const double LocusContext::_kMinF...
/** * Open Space Program * Copyright © 2019-2020 Open Space Program Project * * MIT License * * 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 li...
/* * brin_pageops.c * Page-handling routines for BRIN indexes * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION * src/backend/access/brin/brin_pageops.c */ #include "postgres.h" #include "acces...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
#include "ofApp.h" bool shouldRemoveRigidBody( const shared_ptr<ofxBulletRigidBody>& ab ) { return ab->getPosition().x > 50; } bool shouldRemoveBunny( const shared_ptr<ofxBulletCustomShape>& ab ) { return ab->getPosition().x > 200; } //-------------------------------------------------------------- void ofApp...
#include "Consensus.h" #include "DirectoryUtils.h" #include "bsc_helper.h" #include "minimap.h" #include <arpa/inet.h> #include <boost/filesystem.hpp> #include <algorithm> #include <csignal> #include <fstream> #include <iostream> #include <iterator> #include <memory> #include <mutex> #include <set> #include <ctime> #in...
int D ,Qv, l9QN ,Bn5BcZ , gD , Kj//zI , q , F6A95h, v , /**/n , AME2 /*Wq*/ ,// Q6,bHR, rHWCb/*mhU*/, EiPs, Gx ,kVec01,jxG ,n6onD, wZUh , Il, rHXaSY,/*OX*/iS /*6*/ , aP, RP //Q7I , u /*lW*/, KDs , b, //28 qod, BA8,Gv7z,yW /*mz*/, Dm , je,Eg , hf4 , xbjt ,h , dbh , n14E//g , j6V , PXMB , k614//8C ,...
/* * fixpoint.cpp * * Created on: Sep 24, 2014 * Author: <NAME> */ #include <assert.h> #include <iostream> #include <optional> #include <queue> #include <summy/analysis/domain_state.h> #include <summy/analysis/domains/summary_dstack.h> #include <summy/analysis/fixpoint.h> #include <summy/analysis/fp_analysi...
/*** xrkmonitor license *** Copyright (c) 2019 by rockdeng 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 appl...
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: <NAME> <NAME> */ #include <algorithm> #include <utility> #include <vector> #include "util/test.h" #include "kernel/expr.h" #include "kernel/expr_sets.h" #include "kernel...
#include "RecoParticleFlow/Benchmark/interface/GenericBenchmark.h" #include "RecoParticleFlow/Benchmark/interface/BenchmarkTree.h" #include "DQMServices/Core/interface/MonitorElement.h" // CMSSW_2_X_X #include "DQMServices/Core/interface/DQMStore.h" #include <TROOT.h> #include <TFile.h> //Colin: it seems a bit stran...
/** * \file QryWznmVecList.cpp * job handler for job QryWznmVecList (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #ifdef WZNMCMBD #include <Wznmcmbd.h> #else #include <Wznmd.h> #endif #include "QryWz...
#include "ros/ros.h" #include <ros/spinner.h> #include <signal.h> #include "common_mav.h" #include <visualization_msgs/Marker.h> #include "airsim_ros_pkgs/get_trajectory.h" #include <airsim_ros_pkgs/multiDOF.h> #include <airsim_ros_pkgs/multiDOF_array.h> #include <airsim_ros_pkgs/BoolPlusHeader.h> #include <airsim_ros_...
#include "twolevel_convweno.hpp" #include "clients/convergence_weno.hpp" #include <list> #include <string> #include "grid/field.hpp" #include "grid/grid.hpp" #include "operator/advection.hpp" #include "operator/error.hpp" #include "operator/xblas.hpp" using std::list; using std::string; using std::to_string; TwoL...
/* * Copyright (C) 2012 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...
#include "thor/worker.h" #include <cstdint> #include "baldr/json.h" #include "midgard/constants.h" #include "midgard/logging.h" #include "sif/autocost.h" #include "sif/bicyclecost.h" #include "sif/pedestriancost.h" #include "thor/attributes_controller.h" #include <valhalla/proto/tripcommon.pb.h> using namespace valh...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <vector> #include <math.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include "Draw.h" #include "Draw3D.h" #include "Solids.h" #include "fastmath.h" #include "Vec3.h" #include "Mat3.h" #include "VecN.h" /* #include "Multipoles.h" #include ...
#define NOMINMAX #include <iostream> #include <random> #include <cmath> #include <vector> #include <limits> #include <algorithm> #include "graphics.h" #include "colors.h" constexpr double EPSILON = 1e-4; constexpr double DOUBLE_MIN = std::numeric_limits<double>::lowest(); constexpr double DOUBLE_MAX = std::numeric_l...
/* * Copyright (c) 2010, <NAME>, <NAME>, <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: * - Redistributions of source code must retain the above copyright...
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild #include "msgpack.h" msgpack_t::msgpack_t(kaitai::kstream* p__io, kaitai::kstruct* p__parent, msgpack_t* p__root) : kaitai::kstruct(p__io) { m__parent = p__parent; m__root = this; m_array_elements = 0; ...
// Copyright 2009 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...
/* The Image Registration Toolkit (IRTK) * * Copyright 2008-2015 Imperial College London * * 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...
// Implementation of the KMeans Algorithm // reference: http://mnemstudio.org/clustering-k-means-example-1.htm #include <iostream> #include <vector> #include <math.h> #include <stdlib.h> #include <time.h> #include <algorithm> #include <chrono> #include <cmath> #include <limits> #include <exception> #include <unordered...
//############################################################ // // CyberCalib.cc // // <NAME> // Fri Dec 11 11:40:42 CET 1998 // // // Class for storing calibration data for the SLSS and // reading the data from a calibration file. // // Basically just a bag of doubles and a reader. Along // with some defaults. // /...
/// \file sim_control.cpp /// /// \brief Simulation Control Class Member Function definitions. /// /// \author <NAME> /// /// This file contains the definitions of the member functions for sim_control /// class, which is the basic 1st/2nd order Finite Volume Solver according to /// the method outlined in Falle, Kom...
// jhcEliGrok.cpp : post-processed sensors and innate behaviors for ELI robot // // Written by <NAME>, <EMAIL> // /////////////////////////////////////////////////////////////////////////// // // Copyright 2019-2020 IBM Corporation // Copyright 2020-2021 Etaoin Systems // // Licensed under the Apache License, Version 2...
#include "RendererUtils.h" #include "Model.h" #include "RendererState.h" #include "RenderBonedModel.h" #include "RenderSprites.h" #include "RenderParticles.h" #include "Texture.h" #include "RenderModel.h" #include "GameState.h" #include "ShaderProgramCache.h" #include "utils/dll_patcher.h" #include "GL/glew.h" #inclu...
/* * This file is a part of Pocket Heroes Game project * http://www.pocketheroes.net * https://code.google.com/p/pocketheroes/ * * Copyright 2004-2010 by <NAME> and <NAME> (iO UPG) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
#include "PhysicsTools/TagAndProbe/interface/BaseTreeFiller.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "CommonTools/UtilAlgos/interface/TFileService.h" #include "PhysicsTools/TagAndProbe/interface/ColinsSoperVariables.h" #include <TList.h> #include <TObjString.h> #include <iostream> using nam...
// // Distributed Linear Algebra with Future (DLAF) // // Copyright (c) 2018-2021, ETH Zurich // All rights reserved. // // Please, refer to the LICENSE file in the root directory. // SPDX-License-Identifier: BSD-3-Clause // #include "dlaf/factorization/qr.h" #include <tuple> #include <gtest/gtest.h> #include <blas.h...
/* Apply a 3-D transformation to an object from a PLY file. Then figure out how it breaks into subvols, and write out the ply file in chunks, but going back to using the original vertices. It throws away all vertex properties except xyz and confidence (if confidence exists). <NAME>, 2-28-99. Based somewhat on ply...
#include <iostream> #include <vector> #include <utility> #include <tr1/unordered_map> #include <boost/functional/hash.hpp> #include <boost/program_options.hpp> #include <boost/program_options/variables_map.hpp> #include <boost/lexical_cast.hpp> #include "sparse_vector.h" #include "sentence_pair.h" #include "extract.h...
// Copyright (c) 2009 <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, publish, d...
/* * test.cpp * * Created on: Jul 31, 2015 * Author: sontd */ #include <GL/glut.h> #include <GL/freeglut.h> #include <limits> #include <set> #include <ctime> #include <cstdlib> #include <stdlib.h> #include <boost/next_prior.hpp> #include <boost/bind.hpp> #include <boost/lexical_cast.hpp> #include <sstream> ...