text
stringlengths
5.71k
33.7k
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <getopt.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include <signal.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> #include <sys/mman.h> #include <sys/ioctl.h> #include <pthread.h> #include <...
#include <cstdio> #include <cstdlib> #include <ctime> #include <cstring> #include "chip8.h" uint8_t chip8_fontset[80] = { 0xF0, 0x90, 0x90, 0x90, 0xF0, //0 0x20, 0x60, 0x20, 0x20, 0x70, //1 0xF0, 0x10, 0xF0, 0x80, 0xF0, //2 0xF0, 0x10, 0xF0, 0x10, 0xF0, //3 0x90, 0x90, 0xF0, 0x1...
#include <cmath> #include <vector> #include <algorithm> #include <iterator> #include "planner.h" #include "helpers.h" using std::vector; Behaviour::Behaviour(int lane, vector<double>& map_s, vector<double>& map_x, vector<double>& map_y) { current_lane =...
#include <map> #include <vector> #include <locale> #include <codecvt> #include <initializer_list> #include <iostream> #include <string> #include <cmath> #include <tuple> #include <cassert> #include <algorithm> enum class record_modes { choose_randomly, trill, play_in_sequence }; static std::map<char32_t/*record ident...
// // Created by <NAME> on 03.04.19. // #include "Parser.h" #include "AutoField.h" #include "DataField.h" #include "EnumPool.h" #include "LazyField.h" #include "SubPool.h" #include "UnknownObject.h" #include "../fieldTypes/AnyRefType.h" #include "../fieldTypes/ArrayType.h" #include "../fieldTypes/ListType.h" #include...
#include <RcppArmadillo.h> // [[Rcpp::depends(RcppArmadillo)]] // [[Rcpp::plugins(cpp11)]] // [[Rcpp::export]] double LikelihoodCV(arma::vec& S, double& Tob, double& TB, arma::mat& SigmaHat1, int& k, arma::mat& SigmaHat2, arma::mat& RestrictionMatrix, int& restrictions){ arma::mat W(size(Restri...
// Copyright 2021 DeepMind Technologies Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
// // structured - Tools for the Generation and Visualization of Large-scale // Three-dimensional Reconstructions from Image Data. This software includes // source code from other projects, which is subject to different licensing, // see COPYING for details. If this project is used for research see COPYING // for makin...
#include <iostream> #include "parser.hpp" static bool is_enum_flag(const rapidjson::Value & val) { RAPIDJSON_ASSERT(val.HasMember("category")); RAPIDJSON_ASSERT(val.FindMember("category")->value.IsString()); RAPIDJSON_ASSERT(val.FindMember("category")->value == "enum"); RAPIDJSON_ASSERT(val.HasMember("attr")); co...
///////////////////////////////////////////////////////////////////////// // $Id: dis_decode.cc 11496 2012-10-09 15:16:48Z sshwarts $ ///////////////////////////////////////////////////////////////////////// // // Copyright (c) 2005-2012 <NAME> // Written by <NAME> [sshwarts at sourceforge net] // // This l...
#include "keyframe_database.h" KeyFrameDatabase::KeyFrameDatabase() { posegraph_visualization = new CameraPoseVisualization(0.0, 0.0, 1.0, 1.0); posegraph_visualization->setScale(0.1); posegraph_visualization->setLineWidth(0.01); earliest_loop_index = -1; t_drift = Eigen::Vector3d(0, 0, 0); yaw_drift ...
/* * Copyright(c) <NAME> (2017-2019) * * This file is part of brokkr framework * (see https://github.com/fsole/brokkr). * The use of this software is governed by the LICENSE file. */ #include "core/mesh.h" #include "core/maths.h" #include "core/string-utils.h" #include "framework/command-buffer.h" #include "framework...
import prof; #include "objects.h" #include "lara.h" #include "laraanim.h" #include "laraswim.h" #include "control.h" #include "camera.h" #include "sphere.h" #include "traps.h" #include "laraflar.h" #include "lot.h" #include "effect2.h" #include "text.h" #include "biggun.h" #include "game.h" #include <specific/standar...
#include "staticfunctions.h" #include "filter.h" #include "propertyeditor.h" #include "itkAnisotropicDiffusionVesselEnhancementImageFilter.h" #include "itkCommand.h" void VEDFilter::next() { m_prog = (m_prog+1)%100; m_meshProgress->setValue(m_prog); qApp->processEvents(); } VEDFilter::VEDFilter() {} VEDFilte...
#include "Application.h" Application::Application() { // Create Window mainWindow = Window(WIN_WIDTH, WIN_HEIGHT); mainWindow.initWindow(); // Create Camera front_camera = Camera(glm::vec3(0.0f, 1.5f, 3.0f), glm::vec3(0.0f, 1.0f, 0.0f), -90.0f, -20.0f, 5.0f, 0.5f); back_camera = Came...
/* * Copyright (c) <NAME>. All Rights Reserved. * * License: See License.txt */ /** * @file * @brief The classes that make up the dog's information. * @author <NAME> * * Revision History * 2012-07-04 Add option to use run time or opening time in gamble OPS. * 2009-09-13 Add support for wxWidgets 2.9, deprec...
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. <NAME> (1), Dr. <NAME> (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereby granted, free...
/* Copyright 2015 <NAME> and <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.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in ...
/*********************************************************** * --- OpenSURF --- * * This library is distributed under the GNU GPL. Please * * contact <EMAIL> for more information. * * * * <NAME>, Research Into R...
#include "ofxSubstrateMapper.h" // -------------------------------------------------------------- ofxSubstrateMapper::ofxSubstrateMapper() { } // -------------------------------------------------------------- ofxSubstrateMapper::~ofxSubstrateMapper() { } // ---------------------------------------------------------...
/* 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
// 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 may...
/* ----------------------------------------------------------------------------- Software License for The Fraunhofer FDK AAC Codec Library for Android © Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION The Fraunhofer FDK AAC Codec Lib...
/* * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* Program: MyTunes Music Player */ /* Author: <NAME> */ /* Date: 21-SEP-2017 */ /* ...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/image/SkImage_Lazy.h" #include "include/core/SkBitmap.h" #include "include/core/SkData.h" #include "include/core/SkImageGenerator.h" #include "src/core/SkBitmap...
//===--- InclusionRewriter.cpp - Rewrite includes into their expansions ---===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include "commthread.h" using std::complex; using arma::mat; commThread::commThread(QObject *parent): QThread(parent) { //Quadrada wave = 0; simulationMode = false; channel = 0; waveTime = 0; control[0] = P; control[1] = P; lastControl[0] = control[0]; lastControl[1] = control[1]; ...
#include <iostream> #include <cassert> #include <cerrno> #include <cmath> #include <cstring> #include <cstdint> #include <chrono> #include <algorithm> #include <cstdlib> #include <csignal> #include <random> #include <string> #include <poll.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <sys/stat.h> #include ...
/** * OTA update task */ #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "esp_system.h" #include "esp_event.h" #include "esp_log.h" #include "esp_ota_ops.h" #include "esp_flash_partitions.h" #include "esp_partition.h" #include "driver/gpio.h" #include "errno.h" #include "coap-t...
/* Copyright 2016-2020 Cazamar Systems 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, distribut...
/// Copyright 2019 Pinterest 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) 2008-2011 <NAME> and Center for Individual // Nanoparticle Functionality, Department of Physics, Technical // University of Denmark. Email: <EMAIL> // // This file is part of Asap version 3. // // This program is free software: you can redistribute it and/or // modify it under the terms of the GNU Les...
//======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 <NAME> <<EMAIL>> and other code contributors // Licensed under the 3-clause BSD License, see LICENSE file for details //=====================================================...
#include <errno.h> #include "reductions.h" #include "v_hashmap.h" #include "rand48.h" #include "float.h" #include "vw.h" #include "vw_exception.h" #include "csoaa.h" //#define B_SEARCH_MAX_ITER 50 #define B_SEARCH_MAX_ITER 20 using namespace LEARNER; using namespace std; using namespace COST_SENSITIVE; struct lq_data...
#include "xover_server.h" #include "text.h" #include "ascii_screen.h" #include "gui.h" #include "runtime_impl.h" #include <thread> #include <process.h> DEFINE_RUNTIME_INTERFACE_FUNCTIONS(::SApplication, "XOver Server", 0, 1); ::nwol::error_t CTicTacToeService::HandleGet (const web::http::http_reque...
// AliEmcalCorrectionClusterTrackMatcher // #include "AliEmcalCorrectionClusterTrackMatcher.h" #include <TH1.h> #include <TList.h> #include "AliClusterContainer.h" #include "AliParticleContainer.h" #include "AliEMCALRecoUtils.h" #include "AliESDCaloCluster.h" #include "AliAODCaloCluster.h" #include "AliVParticle.h" ...
// C++ #include <cassert> // Local. #include <RadeonGPUAnalyzerGUI/Include/Qt/rgSyntaxHighlighter.h> // Static types and constants // Indicates whether a text block has some "open" state that continues in the next block. enum class BlockState { None, SingleLineComment, MultiLineComment, SingleQuoteS...
#include "GraphBuilder.h" #include <unordered_set> #include <tesselator.h> namespace { bool pointInsideTriangle(const std::array<cglib::vec3<double>, 3>& triangle, const cglib::vec3<double>& pos, double epsilon = 0.0) { cglib::vec3<double> v0 = triangle[2] - triangle[0]; cglib::vec3<double> v1 = ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "CopyPropagation.h" #include <boost/optional.hpp> #include "AliasedRegisters.h" #include "ConstantUses.h" #include "Cont...
// Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
// Author: <NAME> // Copyright (c) 2022 #include "worker/handler.h" #include <algorithm> #include <atomic> #include <cstdlib> #include <fstream> #include <iostream> #include <mutex> #include <thread> #include "util/json_config.h" #include "worker/worker.h" std::atomic<uint64_t> tx_id_generator; std::atomic<uint64_t...
/* Copyright 2013-present Barefoot Networks, 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 w...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
/** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful,b * ...
#include "kmServer.hpp" extern Configure config; //./sp -s 928A6B0E3CDDAD56EB3BADAA3B63F71F -A ./client.crt // -C ./client.crt --ias-cert-key=./client.pem -x -d -v // -A AttestationReportSigningCACert.pem -C client.crt // -s 797F0D90EE75B24B554A73AB01FD3335 -Y client.pem void PRINT_BYTE_ARRAY_KMS( FILE* file, void...
#include "terrain.h" #include "cubemap.h" #include <fstream> #include <sstream> Terrain::Terrain(Level * _level, const char * _heightMapPath, const char* _texPath, const char* _texName, int _quality) { level = _level; camera = level->GetCamera(); shaderLoader = level->GetShaderLoader(); assetLoader = level->GetAss...
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
#pragma once #include <cstdint> #include <glm/glm.hpp> static inline int32_t fastfloor(float fp) { int32_t i = static_cast<int32_t>(fp); return (fp < i) ? (i - 1) : (i); } static const uint8_t perm[256] = { 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, ...
#include <iostream> #include <thread> #include <mutex> #include <ctime> #include <array> #include <exception> #include <armadillo> #include <ros/ros.h> #include <ros/package.h> #include <gmp_lib/GMP/GMP.h> #include <gmp_lib/GMP/GMP_MPC.h> #include <gmp_lib/io/file_io.h> #include <yaml-cpp/yaml.h> #include <thread_li...
#include "dBiz.hpp" #include "dsp/functions.hpp" struct sinebank { float deltaTime = 1.0 / engineGetSampleRate(); float phase = 0.0; float freq; float pitch; //void setPitch(float pitchKnob, float pitchCv) void setPitch(float pitchKnob, float pitchCv) { // Compute frequency pitch = pitchKnob; pitch += ...
/* <NAME> <NAME> COMSC-110, Section 8001 (Introduction to Programming) Final Project Instructor: <NAME> 2018-12-13 ------------------------------------------------------------------------------ MIT License ------------------------------------------------------------------------------ C...
#include "matching.h" int DisjGraph::CalcMaxWeightMatch(vector<Match> &matches) { sort(vertices.begin(), vertices.end()); // for deterministic behavior unordered_map<int, int> old2new; for (size_t i = 0; i < vertices.size(); ++i) old2new[vertices[i]] = i + 1; GenGraph g(vertices.size()); for (int...
#include "GameEngine.h" #include "Map.cpp" #include "Player.cpp" #include "Orders.cpp" #include "Cards.cpp" GameEngine::GameEngine() {std::cout << "Game Engine successfully created" << std::endl;} GameEngine::~GameEngine() {std::cout << "Game Engine successfully destroyed" << std::endl;} std::ostream& operator<<(std:...
#include "system.h" int death_exp( int level ) { // level 1-9 shoud be protected by their god in can_die () but just in case... if( level < 10 ) return 0; // reduce the XP for death for under level 18's if( level < 18 ) return (int) ( ( exp_for_level( level ) / 5.0 ) * ( ( level - 9 ) / 9.0 ) ); /...
#include "ZCollision.h" #include <cstdint> #include <string> #include "Globals.h" #include "Utils/BitConverter.h" #include "Utils/StringHelper.h" REGISTER_ZFILENODE(Collision, ZCollisionHeader); ZCollisionHeader::ZCollisionHeader(ZFile* nParent) : ZResource(nParent) { } ZCollisionHeader::~ZCollisionHeader() { del...
#include <iostream> #include <fstream> #include <algorithm> #include <sstream> #include <ctime> #include "Utils/Helpers.hpp" #include "Window/Window.h" #include "Graphics/Model.h" #include "Graphics/GraphicsManager.h" #include "Graphics/RShader.h" #include "Graphics/Renderer.h" #include "Graphics/OGLDriver....
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
//class Snake : public Fl_Double_Window #include <iostream> #include <string> #include "snake-ai.h" #include <mutex> //std::vector< la::la_vector<double> > vecs; extern int snake_delay; extern bool snake_warp; extern int mutation; extern int generation; extern int highscore; extern bool end_it_all; extern bool aut...
/* * 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...
#include <array> #include <algorithm> #include <cmath> #include <direct.h> #include <iostream> #include <future> #include <limits> #include <string> #include <sstream> #include <thread> #include <GL/glew.h> #include <SFML/OpenGL.hpp> #include <SFML/Graphics.hpp> #include <stb/stb_image_write.h> #include "ContourTiler.h...
/*************************************************************************** file : grscreen.cpp created : Thu May 15 22:11:03 CEST 2003 copyright : (C) 2003 by <NAME>� email : <EMAIL> version : $Id: grscreen.cpp,v 1.22 2006/09/05 23:05:52 berniw Exp $ *********************...
#include <boost/lexical_cast.hpp> #include <boost/filesystem.hpp> #include <boost/numeric/ublas/lu.hpp> #include "flame/constants.h" #include "flame/moment.h" #define sqr(x) ((x)*(x)) #define cube(x) ((x)*(x)*(x)) #ifdef DEFPATH #define defpath DEFPATH #else #define defpath "." #endif std::map<std::string...
#include "Geometry/HcalTowerAlgo/interface/HcalFlexiHardcodeGeometryLoader.h" #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h" #include "Geometry/CaloGeometry/interface/IdealObliquePrism.h" #include "Geometry/CaloGeometry/interface/IdealZPrism.h" #include "Geometry/CaloTopology/interface/HcalTopology.h" #i...
/* * merger.cpp * * Copyright 2010-2012 Yahoo! 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 applic...
//----------------------------------------------------------------------------- // Once we've written our constraint equations in the symbolic algebra system, // these routines linearize them, and solve by a modified Newton's method. // This also contains the routines to detect non-convergence or inconsistency, // and ...
#include <X11/cursorfont.h> #include <algorithm> #include <cstring> #include "wm_window.h" namespace tiny { extern std::shared_ptr<Display> display; } namespace wm { Window::Window(::Window child, uint32_t width, uint32_t height): tiny::Container(width, height+WM_WIN_HEADER), child(child), header(w...
#include <algorithm> #include <vector> #include <deque> #include <cstdlib> #include <iterator> #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Triangular_expansion_visibility_2.h> #include <CGAL/Arr_non_caching_segment_traits_2.h> #include <CGAL/Arrangement_2.h> #include "SteadyGrowth....
#include "yuv_converter.hpp" #include <string> static const char* to_gl_check_framebuffer_status(GLenum e) { switch (e) { case GL_FRAMEBUFFER_UNDEFINED: return "GL_FRAMEBUFFER_UNDEFINED"; case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT: return "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMEN...
// Copyright 2022 Haseeb LLC // @author: <NAME> <<EMAIL>> #include "graph_query.h" int main(int argc, char* argv[]) { dummy_tests(); // Building a query trace where [frontend]-()->[]-()->[emailservice]-() trace_structure query_trace; query_trace.num_nodes = 3; query_trace.node_names.insert(std::make_pair(0, "fr...
// // Created on 18-5-26. // #include "ballTake.h" using namespace std; using namespace cv; /* 寻找光线色差,分离通道 */ bool BallTake::is_nan(double dVal) { if (dVal == dVal) { return false; } return true; } void BallTake::GetDiffImage(Mat src1, Mat dst) { for (int i = 0; i < takeOption.HEIGHT; i++) ...
#define OLC_PGE_APPLICATION #include "olcPixelGameEngine.h" int Wsize; int level; int Wmap[100][100]; int Rmap[100][100]; float Hmap[100][100]; int Tmap[100][100]; int Smap[100][100]; float Rc[100][100]; float Gc[100][100]; float Bc[100][100]; float playerx = 1.5; float playery = 1.5; int exitx = 1; int exity...
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
/*Copyright 2018, <NAME>, <NAME>, <NAME> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Re...
#include "Bina_Graniastoslupy.hh" G4VSolid* przecinka(G4VSolid* blokG2_sol,wymiary &w,int wys,int typ) { // // wys = 1 for thick detektor E , wys = 2 for thin de // typ - special cuts G4double a1;//,a2; //upper and lower base G4double h1;//,h2; //hight of upper and lower base // ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include "quda.h" #include "host_utils.h" #include "llfat_utils.h" #include <command_line_params.h> #include "misc.h" #include "util_quda.h" #include "malloc_quda.h" #ifdef MULTI_GPU #include "comm_quda.h" #endif #define TDIFF(a,b) (b.t...
// ======================================================================== // // Copyright 2019 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); // // y...
#include <algorithm> #include <string> #include "Parser/AST.h" #include "Parser/Builtins.h" #include "SemAna/Builtins.h" #include "SemAna/Predicates.h" #include "SemAna/TypedAST.h" #include "Utils/VectorUtils.h" using namespace parser; class SemAna { const AST &ast; const ErrorEmitter &error; // The typ...
/* * MIT License * * Copyright (c) 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, copy, modify, m...
#include <gecode/driver.hh> #include <gecode/int.hh> #include <gecode/set.hh> #include <gecode/gist.hh> using namespace Gecode; // 11-11-12 const std::vector<int> GS1_11 = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 2, 11, 1, 3, 4, 5, 6, 7, 8, 9, 10, 3, 1, 4, 5, 6, 7, 8, 9, 10, 11, 2, 4, 3, 5, 6, 7...
/* Copyright 2015 University of Helsinki Bug reports for this file should go to: <NAME> <<EMAIL>> Code adapted from https://github.com/TinoDidriksen/trie-tools 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...
//======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 <NAME> <<EMAIL>> and other code contributors // Licensed under the 3-clause BSD License, see LICENSE file for details //=====================================================...
#include "Animation/SkeletalModel.h" #ifndef NDEBUG #include <utils\GLSupport.h> #endif SkeletalModel::SkeletalModel(std::shared_ptr<Shader> shaderProgIn) { m_VAO = 0; pScene = NULL; // Initialise the total number of bones to 0. m_NumBones = 0; // Obtain pointer to shader program to use for rend...
/* CMD Parameter: * -m <Path to the Message JSON> * -p /dev/ttyUSB1 (Port for the FPGA comunication) */ #include "global.hpp" #include "jsonHandling.hpp" #include "menuPreparison.hpp" #include "menu.hpp" #include "turingBomb.hpp" #include "checkingMachine.hpp" #include "enigma.hpp" #include "json/json.h" ...
/* Copyright (c) 2018 <NAME>. All Rights Reserved. * * You may use, distribute and modify the code in this file under the terms of the MIT Open Source license, however * if this file is included as part of a larger project, the project as a whole may be distributed under a different * license. * * MIT license: *...
/** Copyright 2018 Chia Network 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 writing, softwar...
#include "ap_axi_sdata.h" #include "ap_int.h" #include "ap_fixed.h" #include "hls_stream.h" #include "qop.h" #include <iostream> typedef struct v_in128 { Dt data[Tsize/8]; } v_arr128; enum { Bsize = Tsize/8, BsizeP2 = Tp2-3, }; void finalsum( ap_uint<4> nmat, ap_uint<8> veclen, hls::stream<It > &i_s0, hls::st...
/* * 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...
// ========================================================================== // SRA_Search - Prototype // ========================================================================== // Copyright (c) 2018, <NAME>, FU Berlin // All rights reserved. // // Redistribution and use in source and b...
/* ========================================================================= Author: <NAME> Company: Filename: test_performance.cpp Last modifed: 09.01.2017 by <NAME> Description: Test of performance ========================================================================= ==========...
/*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 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/l...
#include <iostream> #include <opencv2/opencv.hpp> #include <pcl/io/pcd_io.h> #include <pcl/point_cloud.h> #include <pcl/console/parse.h> #include <pcl/common/transforms.h> #include <pcl/visualization/pcl_visualizer.h> #include <pcl/filters/passthrough.h> #include <pcl/registration/icp.h> #include <pcl/filters/radius_ou...
/* * agvs_pad * Copyright (c) 2013, Robotnik Automation, SLL * 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 * ...
// // MPI implementation of the Flat Scan Sampling for the Ising 1/2 Model // <NAME>, May 31st, 2021 // // This version is parallelized and makes use the Ising class // All of the processes do work in this version // #include <iostream> #include <iomanip> #include <string> #include <algorithm> #include <fstream> #inc...
//-------------------- svmObjPlotXY.cpp ----------------------- //----------------------------------------------------------- #include "precHeader.h" #include <commdlg.h> #include <stdio.h> #include <stdlib.h> //----------------------------------------------------------- #include "resource.h" #include "p_File.h" #inclu...
#include <gui.hpp> #include <renderer.hpp> #include <util/log.hpp> #include <util/types.hpp> #include <GLFW/glfw3.h> #include <imgui.h> #include <imgui_glfw_gl3_backend/imgui_impl_glfw.h> #include <imgui_glfw_gl3_backend/imgui_impl_opengl3.h> #include <spdlog/fmt/fmt.h> #include <algorithm> #include <array> #include...
// Copyright 2010-2014 UT-Battelle, LLC. See LICENSE.txt for more information. #include "eavlNetCDFDecomposingImporter.h" #include "eavlCoordinates.h" #include "eavlCellSetAllStructured.h" #include "eavlException.h" static const bool debugoutput = false; // **********************************************************...
#include "St_trg_Maker.h" #include "StDaqLib/TRG/trgStructures2003.h" #include "St_DataSetIter.h" #include "StDAQMaker/StDAQReader.h" #include "StDAQMaker/StTRGReader.h" #include "tables/St_dst_L0_Trigger_Table.h" #include "tables/St_dst_L1_Trigger_Table.h" #include "tables/St_dst_L2_Trigger_Table.h" #include "tables/S...
/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <csignal> #include <fstream> #include <functional> #include <thread> #include <fmt/format.h> #include <glog/logging.h> #includ...
/* * blink_led.cpp * * Created on: 2017. 3. 11. * Author: Baram */ #include "gfx.h" #include "Arduino.h" #include <SPI.h> #include "Adafruit_GFX.h" #include <Adafruit_ST7735.h> #include <math.h> //#define TEST1 #define TEST2 //#define TEST3 //#define TEST4 //#define TEST5 #define _BLACK ST7735_BLAC...