text
stringlengths
8.71k
38.4k
#include "hamlibconnector.h" #include "ui_mainwindow.h" #include <QDebug> #include <QApplication> HamlibConnector::HamlibConnector(QObject *parent) : QObject{parent} { // For debug only verbose = RIG_DEBUG_NONE; // verbose = RIG_DEBUG_TRACE; lockout_spot = false; spotDelayWorker_p = nullptr; ...
// Copyright 2016-2018 SICK AG. All rights reserved. #include "ChunkAdapter.h" #include "Consumer.h" #include "GenIRanger.h" #include "SampleUtils.h" #include <cassert> #include <conio.h> #include <ctime> #include <fstream> #include <string> // From GenICam Pixel Format Naming Convention we get the // pixel format v...
// // BoardState.cpp // Sansumoku // // Created by <NAME> on 9/6/19. // Copyright © 2019 <NAME>. All rights reserved. // // https://www.sansumoku.com/ // https://github.com/mkhrapov/sansumoku // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance wit...
// Created by <NAME> on 04.03.2021 // Copyright 2021 ETH Zurich #include <stdint.h> #include <stdlib.h> #include <emscripten.h> #include <emscripten/html5.h> #include <cmath> #include <cstring> #include <iostream> #include <memory> #include <sstream> #include <cstdio> #include "distr/distrbasic.h" #include "distr/di...
int DWQ,kD4d, u55 ,N4A ,L , IeS //g , CJ5 , ZE4 ,/*pSl*/ cc,ebh ,ukc , Qs ,//9 o65//YP8 , /**/RcxK ,pr ,tIlui,m5 , wm ,DbC , w/*zq*///lMf , VrLlRT , VTp , d//r , nhcTr , rs3, LHz , kKGg7, ywz,cL , a5I8 , tuU8z , h5cb , wnP , nVl,txSx ,bv , Vk6 ,Hbhf ,/*flj*/U40h,jai , Jn,aRrQ, fL0D, dyuh ...
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ** Copyright (c) 2010, Monash University ** All rights reserved. ** Redistribution and use in source and binary forms, with or without modification, ** are permitted provided that the following conditions are met: ** ** ...
/* Copyright (C) 2019 <NAME> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial app...
#include <esc/io.hpp> #include <algorithm> #include <array> #include <cassert> #include <cerrno> #include <csignal> #include <cstdint> #include <cstdio> #include <iterator> #include <optional> #include <stdexcept> #include <string> #include <variant> #include <poll.h> #include <sys/ioctl.h> #include <termios.h> #incl...
#include <bangtal> #include <string> #include <cmath> #include <iostream> using namespace std; using namespace bangtal; using namespace std; typedef struct { ScenePtr scene, parentScene; ObjectPtr backButton; }SubScene; typedef struct { ObjectPtr object; int x, y; bool toRight; ScenePtr scene; }Duplicated...
/**************************************************************************** * Name: jlp_gseg_param_panel_menu.cpp * * JLP * Version 05/06/2017 ****************************************************************************/ #include "jlp_gseg_param_panel_id.h" #include "jlp_gseg_param_panel.h" #include "jlp_gsegset_pa...
// Copyright (c) 1994 - 1999 Microsoft Corporation. All Rights Reserved. // Implements the CVMRVideoWindow class, <NAME>, January 1995 #include <streams.h> #include <windowsx.h> #include <limits.h> #include <measure.h> #include <mmsystem.h> #include <dvdmedia.h> // VIDEOINFO2 #include "..\video\VMRenderer.h...
/******************************************************************************/ /** * @file OpenABLE.cpp * @brief Core functions of the open place recognition method called ABLE (Able for Binary-appearance Loop-closure Evaluation) * @author <NAME> * @author <NAME> * @date August 21, 2016 */ /*******...
/* * (C) 2003-2006 Gabest * (C) 2006-2020 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your opt...
/* * Copyright 2009-2017 The VOTCA Development Team * (http://www.votca.org) * * 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 * * ...
#include <tiramisu/debug.h> #include <tiramisu/core.h> #include <string.h> #include <Halide.h> using namespace tiramisu; void generate_function(std::string name) { global::set_default_tiramisu_options(); // ------------------------------------------------------- // Layer I // -----------------------...
// // // The MIT License (MIT) // // Copyright (c) 2016 <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, ...
#include "ai.h" #include "engine.h" #include "state.h" #include <iostream> #include <stdlib.h> #include <unistd.h> using namespace ai; using namespace engine; using namespace state; using namespace std; int HeuristicIA::run (engine::Engine& engine){ //cout<<"----------------------------------------------"<<endl; /...
#include "nrncore_callbacks.h" #include "nrnconf.h" #include "nrnmpi.h" #include "section.h" #include "netcon.h" #include "hocdec.h" #include "nrncore_write/data/cell_group.h" #include "nrncore_write/io/nrncore_io.h" #include "parse.hpp" #include "nrnran123.h" // globalindex written to globals. #include "netcvode.h" //...
// // Created by shiqing on 19-4-17. // #include "../common/CommonHeaders.h" /* * Exercise 2.1: * What are the differences between int, long, long long, * and short? Between an unsigned and a signed type? Between a float and a double? */ /* * Answer: * C++ guarantees short and int is at least 16 bits, long at ...
/* ** Module :PARSER.CPP ** Abstract :Sintax hiliting language-specific parsers ** ** Copyright (C) <NAME> ** ** Log: Tue 11/03/1997 Created ** Sat 12/04/1997 Added REXX parser */ #include <string.h> #include <fio.h> #include <parser.h> #include <version.h> RegParser<Parser > reg_NONE("none" ," ~...
#include <iostream> #include <fstream> #include <sstream> #include <algorithm> #include <stdio.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <time.h> #include <sl/Camera.hpp> #include "kcftracker.hpp" #...
#include <cmath> #include <rang.hpp> #include <variant> // #include <fmt/format.h> #include "lss/game/creature.hpp" #include "lss/game/enemy.hpp" #include "lss/game/events.hpp" #include "lss/game/fov.hpp" #include "lss/game/player.hpp" #include "lss/generator/room.hpp" #include "lss/utils.hpp" #include "EventBus.hpp"...
// // Created by System Administrator on 2019-02-10. // #include "analyze_t.hpp" #include "probe_dto_t.hpp" #include <fstream> #include <unordered_map> #include <sstream> #include <unordered_map> #include <traceroute_graph_t.hpp> #include <utils/struct_utils_t.hpp> #include <memory> #include <iostream> #include <rando...
#include <iostream> #include <fstream> #include <map> #include <math.h> #include "planrec.hxx" #include "a_h_1_rp.hxx" #include <ff_to_aptk.hxx> #include <strips_prob.hxx> #include <fluent.hxx> #include <action.hxx> #include <cond_eff.hxx> #include <strips_state.hxx> #include <fwd_search_prob.hxx> #inclu...
/* NetHack may be freely redistributed. See license for details. */ #include "vulture_sdl.h" /* XXX this must be the first include, no idea why but it won't compile otherwise */ extern "C" { #include "hack.h" extern int take_off(); extern int select_off(struct obj *); #ifndef VULTURE_NE...
#include <QDebug> #include "../application/logic/model/core/route.h" #include "../application/logic/toolbox/toolbox_math.h" bool test_check_find_middle(); bool test_computeDistance_alongRoute_fromStartingRoutePointToARoutePoint_forwardDirection(); int main(int argc, char*argv[]) { test_check_find_middle(); ...
int kDdh/*nD*/,//C4 rR, tK/*P*/, pG// ,N ,Pz , LVa, hb8,YgOeu , SEZ5,g,Zu7A,Fo , sXy,STu , //kuD3 D, qneG , ww,DGyG ,SI, Cz ,PE,en3c4, Ec7Dk ,v3 /*3*/, Ejl/*mOI*/ ,Rq , vD3,WY, QIO ,p , sxK, M2jT ,Th, T, V6i6b1 , Es, Qxt0 //cz ,ji , j5, xaGxp//A ,Ut3 , h,//zD mq5vZM ,pwn , dDpz ;void f_f0 (){...
#include "pch.h" #include "SettingStorage.h" #include "../Utils.h" #include "..//Regex/Regex.h" #include "Sail/KeyCodes.h" #pragma region OPTIONSSTORAGE SettingStorage::SettingStorage(const std::string& file) { createApplicationDefaultStructure(); if (!loadFromFile(file)) { assert(0); } if (!saveToFile(file)) { ...
//$Id: myReadOut.cpp,v 1.42 2009/07/26 10:56:48 dreamdaq Exp $ /***************************************** myDaq.cpp --------- Main DAQ program. <NAME> / INFN Cagliari Version 0.1: 24/5/2001 Version 0.5: 04/6/2001 Version 0.6: 08/6/2001 *****************************************/ /********************...
#include <stdio.h> #include <stdlib.h> #include <cstring> #include <string> #include <list> #include <cstdio> #include <cerrno> #include <tbx/sprite.h> #include <tbx/application.h> #include <tbx/uri.h> #include <tbx/path.h> #include "oslib/os.h" #include "oslib/squash.h" #include "oslib/toolbox.h" #include "oslib/windo...
#define DEBUG_MAIN false #define SHOW_MOUSE_POS false #include <iostream> #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include <string> #include "GL/gl3w.h" #include <GLFW/glfw3.h> #include <thread> #include <chrono> #include <cmath> #define PI 3.141592654 ...
/* ------------------------------------------------------------------------- * * nodeIndexonlyscan.cpp * Routines to support index-only scans * * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regen...
#pragma warning( disable: 4996 ) /* *************** License:************************** Oct. 3, 2008 Right to use this code in any way you want without warrenty, support or any guarentee of it working. BOOK: It would be nice if you cited it: Learning OpenCV: Computer Vision with the OpenCV Library by <...
// Bus Raider Machine ZXSpectrum // <NAME> 2018 #include <stdlib.h> #include "McZXSpectrum.h" #include "usb_hid_keys.h" #include "../System/rdutils.h" #include "../System/lowlib.h" #include "../TargetBus/BusAccess.h" #include "../TargetBus/TargetState.h" #include "../Machines/McManager.h" #include "../Hardware/HwManag...
#include <iomanip> #include <fstream> #include <sys/stat.h> #include <signal.h> #include <string> #include <sstream> #include <regex> #include <unordered_map> #include <gatherxml.hpp> #include <bufr.hpp> #include <strutils.hpp> #include <utils.hpp> #include <myerror.hpp> using metautils::clean_id; using metautils::log...
/* * Copyright 2015 Alibaba Group Holding 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 applicabl...
#include <assembly_dual_controllers/servers/assemble_retreat_bolt_action_server.h> AssembleRetreatBoltActionServer::AssembleRetreatBoltActionServer(std::string name, ros::NodeHandle &nh, std::map<std::string, std::shared_ptr<FrankaModelUpdater> > &mu) : ActionServerBase(name,nh,mu), as...
/** * intgrid.cpp - published as part of SHPTRANS * * * SHPTRANS is Copyright (c) 1999-2004 <NAME> and others. * All rights Reserved. * * Permission to use, copy, modify, merge, publish, perform, * distribute, sublicense, and/or sell copies of this original work * of authorship (the "Software") and derivativ...
#include "WProgram.h" #include "I2Cdev.h" #include "MPU6050.h" #include "ICM20689.h" #include "Wire.h" // hardware #define LED_PIN 13 // pin for on-board led #define STROBE_PIN 4 // pin for camera strobe #define TRIGGER_PIN 2 // pin for camera trigger #define IMU_INT_PIN 20 // pin for imu interrupt /* packet stru...
/****************************************************************************** Copyright (c) 2020, <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 t...
#include "greedy_linear_oblivious_trees_v2.h" #include <memory> #include <set> #include <stdexcept> #include <chrono> #include <core/vec_factory.h> #include <core/matrix.h> HistogramV2::HistogramV2(BinarizedDataSet& bds, GridPtr grid, unsigned int nUsedFeatures, int lastUsedFeatureId) : bds_(bds) , g...
#include "stdafx.h" #include <wx/menu.h> #include <wx/dc.h> #include <wx/renderer.h> #include <wx/dcclient.h> #include <wx/aui/auibook.h> #include <wx/aui/framemanager.h> #include <wx/aui/dockart.h> #include <wx/msw/uxtheme.h> #include <wx/msw/private.h> #include "AWArtProvider.h" inline float wxAuiGetSRGB(float r) { ...
#include "amVK_Pipeline.hh" #include "glslang/SPIRV/GlslangToSpv.h" #include "glslang/Public/ShaderLang.h" #include "glslang/StandAlone/ResourceLimits.h" amVK_PipeStoreMK2::amVK_PipeStoreMK2(amVK_DeviceMK2 *D) : amVK_D(D) { if (D == nullptr) {amVK_SET_activeD(amVK_D);} else {amVK_CHECK_DEVICE(D, amVK_D);} ...
/* Copyright (C) 2006 thoduv Copyright (C) 2006-2007 <NAME> Copyright (C) 2008-2013 DeSmuME team This file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your optio...
// Copyright 2019 The Fuchsia 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 "test_suite_helpers.h" #if defined(__x86_64__) #include <zircon/hw/debug/x86.h> #elif defined(__aarch64__) #include <zircon/hw/debug/arm64.h> #endif...
#include "include/ARIES.h" #include "include/schema.h" #include "plugin/tpc-c/include/tpcc_table.h" #include <memory> #include <iostream> #include <cstdlib> #include <ctime> #include <map> #include <set> #include <sys/time.h> #include <pthread.h> #include <random> //#include "plugin/tpc-c/include/tpcc.h" // #define R...
#include "sampler.h" #include <filesystem> #include <fstream> Sampler::Sampler(z3::context *_c, const std::string &_input, const std::string &_output_dir, const MeGA::SamplerConfig &config) : c(*_c), original_formula(c), debug(config.debug), params(c), mod...
//===--- PCMacro.cpp - PCMacro --------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include "stdafx.h" #include <cstdlib> #include <GWCA/Utilities/Macros.h> #include <GWCA/Utilities/Scanner.h> #include <GWCA/GameEntities/Agent.h> #include <GWCA/Managers/AgentMgr.h> #include <GWCA/Managers/ChatMgr.h> #include <Logger.h> #include <GuiUtils.h> #include <Modules/Resources.h> #include <Modules/Obser...
// Copyright (c) 2010 <NAME> // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "primitives/block.h" #include "random.h" #include "util.h" #i...
#include "unique_kmer_new.h" #include <unordered_set> #include <deque> #include <mutex> std::mutex cout_mut; //test rsync const std::string TARGET="AAAAAATTATATTATTCTATGAGTT"; const char kmerToBase[256][4] = { {'A', 'A', 'A', 'A'}, {'A', 'A', 'A', 'C'}, {'A', 'A', 'A', 'G'}, {'A', 'A', 'A', 'T'...
// Copyright 2020 The FreeAge authors // This file is part of FreeAge, licensed under the new BSD license. // See the COPYING file in the project root for the license text. #include "FreeAge/server/pathfinding.hpp" #include <iostream> #include <queue> #include <QImage> #include <QPoint> #include <QRect> #include "F...
/* Wrath of God Copyright (C) 2013,2016 <NAME> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, in...
// Copyright <NAME> 2016 - 2020. // Distributed under the Boost Software License, Version 1.0. // // write.cpp - pargen #include "pch.h" #pragma hdrstop using namespace std; using namespace Dim; /**************************************************************************** * * Helpers * ***/ // forward declaration...
#include "GENIEXSecExtract/XSec.h" #include "TH1.h" #include "TVector3.h" #include "TMath.h" #include <iostream> #include <cmath> #include <cassert> #include <PlotUtils/MnvH1D.h> #include <PlotUtils/MnvH2D.h> #include <algorithm> using namespace std; using namespace PlotUtils; bool Sort(TVector3 const &lhs, TVec...
#include <math.h> #include <stdio.h> #include <time.h> #include "agg_basics.h" #include "agg_rendering_buffer.h" #include "agg_conv_transform.h" #include "agg_conv_stroke.h" #include "agg_conv_clip_polyline.h" #include "agg_scanline_p.h" #include "agg_renderer_scanline.h" #include "agg_rasterizer_outline_aa.h" #include...
#include <cstring> #include "ShaderEditor.h" #include "Renderer.h" #include "PropSetSimple.h" #include "Clipboard.h" const int statementLookback = 20; const int statementIndentStyleNumber = 5; const int blockAndStatementEndStyleNumber = 10; std::string statementIndent[] = { "case", "default", "do", "else", "for", "if"...
#include <SFML/Graphics/RenderWindow.hpp> #include <SFML/Window/Event.hpp> #include <SFML/System/Sleep.hpp> #include <common/sf/DrawText.hpp> #include <common/sf/DrawLine.hpp> #include <common/sf/DrawRectangle.hpp> #include <common/sf/DrawTriangle.hpp> #include <common/TypeList.hpp> #include <common/Util.hpp> #include...
// Copyright 2018 The Beam Team / Copyright 2019 The Grimm Team // // 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 re...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2022 <NAME> and <NAME> //LIC// //LIC// This lib...
/** * @brief TestEm0: simple GeantV-Real-physics application to test integarted quatities. * @author <NAME> * @date April 2017 * * A simple GeantV-Real-physics application to test integarted physics quantities (e.g. * atomic and macroscopic cross sections, mean free path, restricted and unrestricted * stoppi...
#include "stdafx.h" #include "Utilities.h" #include "smc.h" #include <fstream> #include <xtl.h> #include "clk.h" #define VERSION 1.0f Utilities::Utilities(void) : LoadImmediate(0x38600001), nop(0x60000000), GameDirMounted(false), LauncherDataMounted(false) { ConsolePrint("LaunchCode", "Welcome to LaunchCode...
#include "image.h" #include <string> #include <stdlib.h> // malloc #include <stdio.h> // fprintf // Triple index array. The respective indices are for the specific RGBA channel, // row and column. These bitmaps are all 32 bit RGBA, and will thus have 4 // channels. The canvas size of the image will dictate the exact ...
#include <osg/Notify> #include <osg/Geode> #include <osg/ShapeDrawable> #include <osg/AlphaFunc> #include <osg/Group> #include <osg/Image> #include <osg/Texture2D> #include <osg/Material> #include <osg/TexEnv> #include <osg/CullFace> #include <osg/Light> #include <osg/StateSet> #include <osg/Point> #include <osg/BlendF...
#include "DialogPrintBoards.h" #include "ui_DialogPrintBoards.h" #include <QTreeWidgetItem> #include <QTextCodec> #include <QGridLayout> #include <QFileInfo> #include <QMessageBox> #include <QException> #include <QHeaderView> #include <QVariant> #include <QPushButton> #include <QLabel> #include "MaterialLi...
/* * Copyright (c) 2007, Laminar Research. * * 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, ...
/** * Creates needed tables * @author <NAME> <<EMAIL>> * @date nov-2015 * @license GPLv2 */ #include <iostream> #include <sstream> #include <set> #include <limits> #include <unordered_map> #include "tlibs/string/string.h" #include "tlibs/file/prop.h" #include "tlibs/log/log.h" #include "tlibs/math/linalg.h" #inc...
//===- SCCVN.cpp - Eliminate redundant values -----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmGlobalGhsMultiGenerator.h" #include "cmDocumentationEntry.h" #include "cmGeneratedFileStream.h" #include "cmGeneratorTarget.h" #include "cmGhsMultiGpj.h" #incl...
/****************************************************************************** ** Copyright (C) 2000 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.0 ** ** Author: Philippe ** ** Date: 03/02/00 ** ** File: ridgel...
#include <string> #include <vector> #include <unistd.h> #include <sys/time.h> #include "command_line_interface.h" #include "network.h" #include "utils.h" #include "teechain.h" // Globals for command line interface: // hostname and port of local teechain node for the command line to connect to. static std::string ho...
#include <stdio.h> #include <sys/stat.h> #include "BaseDatapath.h" #include "DDDG.h" #include "DynamicEntity.h" #include "ExecNode.h" #include "ProgressTracker.h" #include "SourceManager.h" class FP2BitsConverter { public: /* Convert a float, double, or integer into its hex representation. * * By hex ...
/* * 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 "GrAtlasTextContext.h" #include "GrDrawContext.h" #include "GrDrawTarget.h" #include "GrFontScaler.h" #include "GrStrokeInfo.h" #include "GrTextBlobCache.h" #include ...
/* Author: <NAME>, Texas A&M University, 2006 */ /* $Id: step-23.cc 27657 2012-11-21 13:19:08Z bangerth $ */ /* Version: $Name: $ */ /* */ /* Copyright (C) 2006-2009, 2011-2012 by the deal.II authors...
#include "Globals.h" #include "Application.h" #include "ModuleSceneIntro.h" #include "Primitive.h" #include "PhysBody3D.h" #include "PhysVehicle3D.h" #include "ModuleAudio.h" ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled) { } ModuleSceneIntro::~ModuleSceneIntro()...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //===========================================================================// #include "cbase.h" #include "sourcevirtualreality.h" #include "icommandline.h" #include "filesystem.h" #include "materialsyst...
/* * Player - One Hell of a Robot Server * Copyright (C) 2006 <NAME> (<EMAIL>) (SR3000) and * <NAME> (<EMAIL>) (SR4000 and SR3000 merge) * * 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 Founda...
#include <Headers/Gamestate.h> float GameState::balls_pos_i[][3] = { { 0.000, -2.733, 1.080}, //Cue { 0.005, 2.083, 1.080}, //Ball1 {-0.135, 2.317, 1.080}, //Ball2 { 0.151, 2.325, ...
/********* IMPORTANT BEFORE TO DOWNLOAD SKETCH !!! - Install ESP32 libraries - Select Board "ESP32 Wrover Module" - Select the Partion Scheme "Minimal SPIFFS" - GPIO 0 must be connected to GND to upload a sketch - After connecting GPIO 0 to GND, press the ESP32-CAM on-board RESET button to put yo...
/*========================================================================= Copyright 2009 Rensselaer Polytechnic Institute 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/lice...
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
/* Copyright (c) 2010-2015, <NAME> and The University of Texas at Austin All rights reserved. This file is part of LAP_SIM and is under the BSD 3-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "PE.h" using...
/* Copyright (C) 2015 <NAME>. * This file is part of 0 A.D. * * 0 A.D. is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * 0 A....
// Copyright 2017, 2019 ETH Zürich, <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 followi...
/** * 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...
// copyright (c) 2011 <NAME>, <NAME>. // See HELP.html included in this distribution. #include <include/lib/FWCExerciseChooser.h> #include <include/exercises/exercises.h> #include <MyCode.h> #include <iostream> #include <QFile> #include <QDir> #include <QDialog> extern QDialog *theWindow; FWCExerciseChooser::FWCExer...
#include "include/polarcircletoolitem.h" PolarCircleToolItem::PolarCircleToolItem(int newitemid, QGraphicsItem* parent) : TopinoGraphicsItem(newitemid, parent) { setFlags(QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemSendsGeometryChanges); setAcceptHoverEvents(true); /* Set standa...
#pragma once #include <algorithm> #include <cassert> #include <deque> #include <iostream> #include <iterator> #include <map> #include <ostream> #include <vector> #include <unordered_set> namespace party { template<typename Item> struct extension { using Elements = std::vector<Item>; using Index = std::vector<...
/* ============================================================================================ This class encapsulates the 2-D Rivara bisection class. It accesses the triangle data and triangle neighbor data structures. Copyright (c) 09-12-2011, <NAME> ======================================================...
#include "surface_stroke.h" #include <set> #include <CatmullRom.h> #include <BSpline.h> #include <Bezier.h> #include <geometry/patch.h> #include <matching/parameterization/discrete_exponential_map.h> #include <algorithm> #include <matching/parameterization/curve_unrolling.h> #include <geometry/tests/intersection.h> ...
/* * Copyright (C) 2016 by <NAME> (<EMAIL>) * * Released under the MIT license, see LICENSE.txt */ // Convert clipped sequences (like chr1_sub_110000_22220000) back to their original states //#define debug #include <cstdlib> #include <cstdlib> #include <iostream> #include <cassert> #include <fstream> #include <d...
#include "OBJ.hpp" #include <cstdio> #include <cstdlib> #include <iostream> #include <limits> #define TINYOBJLOADER_IMPLEMENTATION #include <tinyobjloader/tiny_obj_loader.h> #ifdef WIN32 #include <GL/glew.h> #include <GL/wglew.h> #endif #define GL_GLEXT_PROTOTYPES #include <GL/freeglut.h> #include <GL/freeglut_ext.h...
/** * @brief This is the main entry point of the entire program. * Users will typically access this file to use the stream clustering algorithm. * We use this as the entry point for benchmarking. */ #include <Utils/Logger.hpp> #include <Utils/TimeTestBench.hpp> #include <Utils/UtilityFunctions.hpp> #include <Utils...
#include <iostream> #include <string> #include <vector> #include "sling/base/clock.h" #include "sling/base/flags.h" #include "sling/base/init.h" #include "sling/base/types.h" #include "sling/file/posix.h" #include "sling/frame/json.h" #include "sling/frame/serialization.h" #include "sling/frame/store.h" #include "slin...
// 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 "chrome/browser/browser_theme_provider.h" #include "base/gfx/png_decoder.h" #include "base/string_util.h" #include "base/values.h" #include ...
// ots_udp_hw_emulator.cpp // by rrivera at fnal dot gov // created Feb 2016 // // This is a simple emulator of a "data gen" front-end (hardware) interface // using the otsdaq UDP protocol. // // compile with: // g++ ots_udp_hw_emulator.cpp -o hw.o // // if developing, consider appending -D_GLIBCXX_DEBUG to get mo...
/* * Copyright 2018-2021 Board of Trustees of Stanford University * * 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...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +---------...
//===-- Solver.cpp --------------------------------------------------------===// // // The KLEE Symbolic Virtual Machine // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
// Copyright (c) 2010 <NAME> // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2015-2017 The ALQO developers // Copyright (c) 2018-2019 The GIANT developers // Distributed under the MIT software license, see t...