text
stringlengths
5.71k
33.7k
/* * GFLSEG Group Fused LASSO Change Point Detection solver * * Copyright 2016 Yahoo Inc. * Licensed under the terms of the Apache 2.0 License. * See LICENSE file in the project root for terms. * * Developer: <NAME> (<EMAIL>) * * Implementation is based on: * <NAME> and <NAME>. * "The group fused lasso...
#pragma once #include "glm/glm.hpp" #define GLM_ENABLE_EXPERIMENTAL #include <glm/gtx/hash.hpp> #include <algorithm> #include <numeric> #include <atomic> //#include "ska_sort.hpp" //#include <boost/sort/sort.hpp> //#include <boost/sort/spreadsort/integer_sort.hpp> #include <cctype> #include <chrono> // current time ...
// // Game.cpp // #include "pch.h" #include "Game.h" #include "utf8conv.h" #include "Utilities.h" #include "LDtkLoader/Layer.hpp" #include "LDtkLoader/Level.hpp" #include "LDtkLoader/World.hpp" #include <iostream> #include <stdexcept> #include <algorithm> extern void ExitGame() noexcept; using namespace DirectX; u...
#include "Render/Meshes.h" #include "Core/Defer.h" #include <utility> #include <cmath> VertexArray create_layer1_mesh(Slice<const V3M1_layer1> vertices) { auto va = VertexArray(GL_STATIC_DRAW); va.bind(); va.vbo.upload(slice_cast<const uint8_t>(vertices.sub())); glEnableVertexAttribArray(Shader::POSITION); glEnab...
#define EIGEN_DEFAULT_DENSE_INDEX_TYPE int32_t #include "../../../repos/stl_reader/stl_reader.h" #include <map> #include <array> #include <deque> #include <chrono> #include <random> #include <vector> #include <fstream> #include <iostream> #include <unordered_set> #include <Eigen/Dense> using Vertex = Eigen::Vector3f;...
#include "rs-range/expansion.hpp" #include "rs-tl/iterator.hpp" #include "rs-unit-test.hpp" #include <functional> #include <string> #include <vector> using namespace RS::Range; using namespace RS::TL; using namespace RS::UnitTest; using namespace std::literals; namespace { double binomial(int a, int b) { ...
#include "opencvmex.hpp" #include <memory> #include <typeinfo> #include "mxarray.h" #include "IBGS.h" #include "FrameDifference.h" #include "StaticFrameDifference.h" #include "WeightedMovingMean.h" #include "WeightedMovingVariance.h" #include "MixtureOfGaussianV1.h" #include "MixtureOfGaussianV2.h" #include "Adaptiv...
#include <glog/logging.h> #include <sys/wait.h> #include <unistd.h> #include <algorithm> #include <boost/container_hash/hash.hpp> #include <cmath> #include <cstdio> #include <cstdlib> #include <fstream> #include <ios> #include <memory> #include <numeric> #include <random> #include <sstream> #include <string> #include ...
// Copyright 2020 <NAME> // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may 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, s...
#include <splx/curve/PiecewiseCurve.hpp> #include <boost/filesystem/operations.hpp> #include <ios> #include <rlss/CollisionShapes/AlignedBoxCollisionShape.hpp> #include <rlss/OccupancyGrid.hpp> #include <rlss/RLSS.hpp> #include <iostream> #include "../third_party/cxxopts.hpp" #include "../third_party/json.hpp" #include...
/* * HDF5-UDF: User-Defined Functions for HDF5 * * File: backend_lua.cpp * * Lua code parser and bytecode generation/execution. */ #include <stdio.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/time.h> #include <unistd.h> #include <limits.h> #include <string.h> #include <errno.h> #include <fstream>...
/*============================================================================= File: hnurbs.cpp Purpose: Revision: $Id: hnurbs.cpp,v 1.2 2002/05/13 21:07:46 philosophil Exp $ Created by: <NAME> (3 Oct, 1996) Modified by: Copyright notice: Copyright (C) 1996-1997 <NAME> ...
/// \file nedump.cpp /// Implementation of the function to dump a new NE-style executable. /// /// \author <NAME> /// #include <iomanip> #include <ostream> #include <string> #include <sstream> #include <NEExe.h> #include "HexVal.h" namespace { ///////////////////////////////////////////// // Helper Functions //...
/** -- This code is an usage example of the easy-graph library -- The Mexico City metro network, you can test it with the dfs, bfs and dijkstra algorithms */ #include <iostream> #include "../include/graph.h" #include "../include/tools/dot_extencion.h" using namespace std; using namespace easy_g...
/* * Modification History * * 2002-March-31 <NAME> * Added support for strdup. * Fixed bug in strdup. * * 2003-October-3 <NAME> * Added printout of leak contents in report. * * 2004-January-16 <NAME> * Switched to use minorGems platform-independed mutexes. * Changed to use simpler fopen call to ope...
#include "stdafx.h" #include "OpenGLUtilities.h" /// [Static members initialization] std::unique_ptr<VAO> _cubeVAO; std::unique_ptr<VAO> _quadVAO; /// [Public methods] std::vector<vec3> Primitives::getCubePoints(const vec3& minValues, const vec3& maxValues) { const std::vector<vec3> points { // Quad 1 vec3(mi...
#pragma once #include <stdafx.h> #include "processLaunching.h" #include "serialise.h" #include "ui_rgat.h" #include "osSpecific.h" #include <thread> //#include <QtNetwork\qnetworkdatagram.h> #include <QtNetwork\qtcpsocket.h> #include <QtNetwork\qtcpserver.h> #define PIDSTRING_BUFSIZE MAX_PATH + 100 //for each live p...
#include "stdafx.h" #include <winnt.h> #include <stdlib.h> #include <stdio.h> #include <imagehlp.h>//#include <Dbghelp.h> #include "pack.h" #include "AsmJit/AsmJit.h" using namespace AsmJit; #include "junkcode.h" void CryptFile(int(__cdecl *callback1) (unsigned int, unsigned int),char *filenameload) { callback1(0...
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #define BOOST_TEST_MODULE DecomposeGradientSummationTest #include <boost/test/unit_test.hpp> #include <test_runner.hpp> #include <popart/builder.hpp> #include <popart/ir.hpp> #include <popart/op/add.hpp> #include <popart/op/identity.hpp> #include <popart/op/i...
/* * Copyright (C) 2010-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * ...
#include "hostNodeCeler.h" Define_Module(hostNodeCeler); // global debt queue and beta value unordered_map<int, unordered_map<int, double>> _nodeToDebtQueue; double _celerBeta; int _maxImbalanceWindow = 5; /* initialization function to initialize parameters */ void hostNodeCeler::initialize(){ hostNodeBase::initi...
/** * Copyright (C) <NAME> 2021 * * proc.cpp -- Process * * /PROJECT - Aurora {Xeneva} * /AUTHOR - <NAME> * * =============================================== */ #include <proc.h> #include <atomic\mutex.h> #include <timer.h> #include <fs\fat32.h> #include <_null.h> static int user_stack_index = 0; stati...
#include "packet.h" PacketVersion VersionForPacketType(PacketType packetType) { switch (packetType) { case PacketType::StunResponse: return 17; case PacketType::DomainList: return static_cast<PacketVersion>(DomainListVersion::AuthenticationOptional); case PacketType::EntityAdd: case...
// AUTO GENERATED by vnxcppcodegen #include <mmx/package.hxx> #include <mmx/peer_info_t.hxx> #include <vnx/vnx.h> namespace mmx { const vnx::Hash64 peer_info_t::VNX_TYPE_HASH(0xce0ff32e89625afbull); const vnx::Hash64 peer_info_t::VNX_CODE_HASH(0x3a5b98b9575c439cull); vnx::Hash64 peer_info_t::get_type_hash() con...
#include <stdio.h> #include <stdlib.h> // added for exit() function #include <unistd.h> //#include <ncurses.h> #include <form.h> #include <vector> #include <iostream> #include <sstream> #include <regex> using namespace std; extern int COL_GREEN = 1; extern int COL_YELLOW = 2; extern int COL_BL...
/* * dixonfix - command line tool for correcting fat-water swaps in Dixon MRI. * * Copyright 2016 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
/*! \file kinect_frame_grabber.cpp * \brief Grabs and stores, in a binary file, an 8-D point cloud from a Kinect RGB and Depth frame. * \note **Command line arguments**: * \note `-s <name>`: suffix for the name of the binary file. * \note `-f `: enable Guided Image Filtering. * \note **Example usage**: ...
#include <stdlib.h> #include <string.h> #include <stdio.h> #include <ctype.h> #include "SENNA_Tokenizer.h" #include "SENNA_utils.h" #define MAX_WORD_SIZE 256 static void tokenize_gazetteer(int **gazt_idx_, SENNA_Tokenizer *tokenizer, SENNA_Hash *hash) { int i, j, k; int entity_size...
#include "App.h" #include "Textures.h" #include "Input.h" #include "Map.h" #include "Render.h" #include "Window.h" #include "Player.h" #include "Scene.h" #include "Audio.h" #include "ModuleController.h" #include "ScenePause.h" #include "FadeController.h" #include "Defs.h" #include "Log.h" Player::Player() : Module() ...
#include "testApp.h" /* * Cheap Tricks, <NAME> 2013 * Uses kinect if available or falls back to device camera * Use far threshold for camera thresholding & space to learn the background * * more info: http://petewerner.blogspot.com/2014/01/cheap-tricks-interactive-dance-floor.html * * Requires the following add...
// // Lane.cpp // Lane_Detection(local) // // Created by <NAME> on 08/08/2017. // Copyright © 2017. All rights reserved. // #include "Lane.hpp" Lane::Lane(int row, int col){ buffer=10; buffer_coefficient=-1; //for CalculateLineDistance() buffer_lane_calculations=-1; buffer_lane_x_l=-1; bu...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> /* Zadanie c.3 - Nakupovanie Autor: <NAME> */ #define UINT unsigned int #define MAX_INT 65535 #define OZNACENY '+' #define NEOZNACENY '-' struct _Sused { // Definuje suseda vrcholu - cez hranu UINT id; UINT dlzka; struct _Sused* next; }...
#include <rev/Camera.h> #include <rev/DebugOverlay.h> #include <rev/Engine.h> #include <rev/Environment.h> #include <rev/IActor.h> #include <rev/IKeyboardListener.h> #include <rev/IMouseListener.h> #include <rev/MtlFile.h> #include <rev/NurbsCurve.h> #include <rev/ObjFile.h> #include <rev/ProgramFactory.h> #include <re...
////////////////////////////////////////////////////////////////////////////////////////////////// // // File: terrain.cpp // // Author: <NAME> (C) All Rights Reserved // // System: AMD Athlon 1800+ XP, 512 DDR, Geforce 3, Windows XP, MSVC++ 7.0 // // Desc: Represents a 3D terrain. // //////////////////////////////////...
/*----------------------------------------------------------------------------- Simbody(tm) ------------------------------------------------------------------------------- Copyright (c) 2021-22 Authors. Authors: <NAME> Contributors: Licensed under the Apache License, Version 2.0 (the...
#include "MotorControl.h" // user controlled and current calculated pitch and roll double targetPitch, currentPitch, controlPitch; double targetRoll, currentRoll, controlRoll; double targetYaw, currentYaw, controlYaw; unsigned char targetThrottle; // PID tunings: porpotional, integral, derivative double Kp, Ki, Kd; /...
/****************************************************************************** * * $Id: StFtpcTrackToStEvent.cc,v 1.22 2013/07/23 13:38:46 didenko Exp $ * * Author: <NAME> * (changed version of StiStEventFiller by <NAME>) ****************************************************************************** * * ****...
/* Copyright 2018 Intel Corporation This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you (License). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or t...
#include "nrf_ble_utils.h" #include "Uart.h" struct { uint32_t attr_table_size; uint8_t service_changed; uint8_t uuid128_max; // Bandwidth configuration struct { uint16_t mtu_max; uint16_t event_len; uint8_t hvn_qsize; uint8_t wrcmd_qsize; }prph, central...
#include "Globals.h" #include "Application.h" #include "ModuleInput.h" #include "ModuleRender.h" #include "ModulePhysics.h" #include "p2Point.h" #include "math.h" #ifdef _DEBUG #pragma comment( lib, "Box2D/libx86/Debug/Box2D.lib" ) #else #pragma comment( lib, "Box2D/libx86/Release/Box2D.lib" ) #endif int MapColl[132]...
#include <fstream> #include <sstream> #include <algorithm> #include <cmath> #include "tpp.h" #include "logging.h" #include "utils.h" using namespace TPP; using namespace std; int TPP::Instance::get_travel_cost(size_t market_a, size_t market_b) const noexcept { // return edge_...
/* -------------------------------------------------------------- Project: Make a Bitcoin Transaction Purpose: Author: <NAME> (<EMAIL>) Date: Since October 12, 2018 Filename: make_transaction.cpp Last modified: October 16, 2018 License: * * Copyright (C) 2018 <NAME> (<EMAIL>) * * Licensed under the Apache License,...
/****************************************************************************** ** Copyright (C) 1994 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.5 ** ** Author: <NAME> ** ** Date: 95/08/28 ** ** File: mr_med_c...
#include "dual.h" // lab is first // tower is second Dual::Dual(TString file, TString file2, UInt_t start, Int_t time, Int_t time2, TString tree, UInt_t maxEntries, TString name) { dir_ = new TSystemFile(file, file); dir2_ = new TSystemFile(file2, file2); if ((dir_->IsDirectory() || (file.EndsWith(".root...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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...
/******************************************************************************* * * Copyright (c) 2015 <NAME> * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at *...
#include <vector> #include <filesystem> #include <optional> #include <dav1d/dav1d.h> #include <avif/util/Logger.hpp> #include <avif/util/FileLogger.hpp> #include <avif/util/File.hpp> #include <avif/Constants.hpp> #include <avif/Parser.hpp> #include <avif/img/Image.hpp> #include <avif/img/Conversion.hpp> #include <avif...
// Copyright (c) 2019 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/browser/api/atom_api_url_request.h" #include <utility> #include "gin/handle.h" #include "mojo/public/cpp/bindings/receiver_set.h" #include "mojo/public/cpp/system/str...
#include <iostream> #include <opencv2/opencv.hpp> #include <math.h> /* pow */ using namespace cv; using namespace std; // Initializing grid variables Size arSize(0,0); Point START = Point(0,0); Point DEST = Point(0,0); Point POS = Point(-1,-1); Point LAST_POS = Point(-1,-1); Point SA = Point(-1,-1); Point SA2 ...
/* Copyright 2018 The TensorFlow 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 by applicable ...
// Copyright 2020 <NAME> // Licensed under the Apache License, Version 2.0( the "License" ); // you may not use this file except in compliance with the License. // You may 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...
#include "FMath.h" int FE_Math::abs(int x){ return x ? x>=0 : -x; } double FE_Math::abs(double x){ return x ? x>=0 : -x; } float FE_Math::abs(float x){ return x ? x>=0 : -x; } int internal_pow(int x, unsigned int y){ int output = FE_Math::abs(x); for(unsigned int i=0; i< y; i++){ outpu...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
/* * Baxter.cpp * * Created on: 27 Feb 2017 * Author: <NAME> */ // Make sure to have the server side running in V-REP! #include "BaxterTools.h" #include <unistd.h> // Auxiliary function to compute difference of vectors a-b Eigen::VectorXd subtractVec(Eigen::VectorXd a, Eigen::VectorXd b) { int len = a.ro...
// Copyright (C) 2016-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <vsomeip/vsomeip.hpp> #inclu...
#include "saber/core/context.h" #include "saber/funcs/conv_eltwise.h" #include "saber/core/tensor_op.h" #include "saber/saber_types.h" #include "test_saber_func.h" #include "test_saber_base.h" #include "conv_func_helper.h" #include <vector> using namespace anakin::saber; #define BASIC_TEST false template<typename dt...
#include "s3utils.h" #include <iomanip> #ifndef S3_STANDALONE extern "C" { void write_log(const char *fmt, ...) __attribute__((format(printf, 1, 2))); } #endif // not returning the normal hex result, might have '\0' bool sha1hmac(const char *str, unsigned char out_hash[SHA_DIGEST_LENGTH], const char *secret, ...
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Evolution/Systems/GrMhd/ValenciaDivClean/FixConservatives.hpp" #include <algorithm> #include <cmath> #include <cstddef> #include <ostream> #include <pup.h> // IWYU pragma: keep #include "DataStructures/DataVector.hpp" #include "DataStru...
/* BrainVesselCPR_plugin.cpp * This is a plugin for Brain Vessel CPR in MRA&MRI image * 2019-5-14 : by <NAME> */ #include <QtGui> #include <queue> #include <iostream> #include <string> #include "v3d_message.h" #include <vector> #include "BrainVesselCPR_plugin.h" #include "basic_surf_objs.h" #include <stdlib.h> #in...
#include "Etterna/Globals/global.h" #include "Etterna/Models/Misc/BackgroundUtil.h" #include "Etterna/Models/Misc/NoteTypes.h" #include "NotesLoaderSM.h" // may need this. #include "NotesLoaderSMA.h" #include "Etterna/Models/Songs/Song.h" #include "Etterna/Singletons/SongManager.h" #include "Etterna/Models/StepsAndStyl...
/*############################################################################## HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®. 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...
#include <scitbx/array_family/boost_python/flex_fwd.h> #include <iotbx/error.h> #include <string> #include <vector> #include <cstdlib> #include <fstream> #include <iostream> #include <exception> #include <scitbx/array_family/flex_types.h> #include <scitbx/math/utils.h> #include <iotbx/detectors/image_divider.h> #includ...
/*************************************************************************** * timing.cc -- Functions related to computing scan timing (such as * * keeping track of and adjusting smoothed round trip times, statistical * * deviations, timeout values, etc. Various user options (such as the * * timing p...
// Boost.Geometry (aka GGL, Generic Geometry Library) // Unit Test // Copyright (c) 2010-2015 <NAME>, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) ...
#pragma once #include "glm_yaml_adapters.hpp" #include <glm/glm.hpp> #include <string> #include <string_view> #pragma warning(push) #pragma warning(disable : 4996) #pragma warning(disable : 4127) #include <yaml-cpp/yaml.h> #pragma warning(pop) namespace sp::effects { enum class Hdr_state { hdr, stock }; enum cla...
/** * Copyright (C) 2019 Samsung Electronics Co., Ltd. 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 requ...
#include <iostream> #include <fstream> #include <algorithm> #include "HexMap.h" #include "Log.h" #include "Shaders.h" #include "Textures.h" using namespace std; void HexMap::initMap(vector<Territory> &ter, bool setupTer) { string mapPath; //cout << "Map name?\n"; //cin >> mapPath; int *mapCode = HexMap::mapFrom...
// Include standard headers #include <stdio.h> #include <stdlib.h> #include <vector> #include <string> #include <time.h> // Include GLEW #include <GL/glew.h> //#define MINGW_COMPILER /* #ifdef __APPLE__ #include "TargetConditionals.h" #ifdef TARGET_OS_MAC #define RESOLUTION_SCALE 2 #define SC...
#include "graspit/contact/virtualContact.h" #include "graspit/contact/contact.h" #include "graspit/debug.h" #include "graspit/body.h" #include "graspit/world.h" #include <Inventor/nodes/SoCone.h> #include <Inventor/nodes/SoCoordinate3.h> #include <Inventor/nodes/SoCylinder.h> #include <Inventor/nodes/SoIndexedFaceSet...
/* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
/* * Copyright (c) 2019, Systems Group, ETH Zurich * Copyright (c) 2016, Xilinx, Inc. * 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 ...
#include "atGLPrgm.h" #include "atOpenGL.h" #include "atGLShader.h" #include "atGraphics.h" #include "atGLTexture.h" #include "atGLBuffer.h" #include "atFormat.h" static atTypeDesc _GetTypeDesc(GLenum glType); static atTextureType _GetTexTypeDesc(GLenum glType); bool atGLPrgm::BindIndices(atGPUBuffer *pBuffer) { at...
/* * Copyright 2004 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foun...
// ImGui SDL2 binding with OpenGL ES 3 // You can copy and use unmodified imgui_impl_* files in your project. // If you use this binding you'll need to call 4 functions: ImGui_ImplXXXX_Init(), ImGui_ImplXXXX_NewFrame(), ImGui::Render() and // ImGui_ImplXXXX_Shutdown(). // See main.cpp for an example of using this. // h...
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. 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 req...
/* * Copyright (C) 2011-2021 Intel Corporation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * notice, this li...
// Copyright 2015-2016 by cyantree <<EMAIL>> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdio.h> #include "Scintilla.h" #include "SciLexer.h" #include "ILexer.h" #include "fltk/Fl_Scintilla.h" #include <FL/Fl.H> #include <FL/Enumerations.H> #include <FL/x.H> // for fl_open_callback #includ...
/************************************************************************** * "jlp_gdev_gsegraf.cpp" * * Definition of the members of the JLP_GDev class * linked to gsegraf routines * * JLP * Version 07/03/2019 **************************************************************************/ #include <stdio.h> #include <stdl...
const char* debuggee_code = R"_( --this file is only used debuggee thread cjson = require 'cjson' function create_on_message_parser() local parsed_len = -1 local readstate = 1 local LINE_ENDING = nil return function(buf,netq) while buf:readable_size() > 0 do local preview = buf:Pre...
//===- MipsRegisterInfo.cpp - MIPS Register Information -== -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//////////////////////////////////////////////////////////////////////////////// // // // DMOptAnalysis.cxx // // ...
/* * Copyright (C) 2015, British Broadcasting Corporation * All Rights Reserved. * * Author: <NAME> * * 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...
/* * * drvEK9000.cpp * * Implementation of simple EK9K driver code * */ /* EPICS includes */ #include <epicsAtomic.h> #include <epicsThread.h> #include <epicsSpin.h> #include <epicsTime.h> #include <epicsStdlib.h> #include <epicsPrint.h> #include <epicsString.h> #include <epicsExport.h> #include <iocsh.h> /* Mod...
/* * BaseTransport.cc : part of the Mace toolkit for building distributed systems * * Copyright (c) 2011, <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: * * * Redis...
/* <one line to give the program's name and a brief idea of what it does.> Copyright (C) 2012 <copyright holder> <email> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ve...
#include <chrono> #include <thread> #include <memory.h> #include "crc32.hxx" #include "utilities.hxx" #include "apng.hxx" bool chunkType_t::operator ==(const uint8_t *const value) const noexcept { return memcmp(value, _type.data(), _type.size()) == 0; } bool chunkType_t::operator !=(const uint8_t *const value) const ...
// Copyright 2010 <NAME> // henry UNDERSCORE christophe AT hotmail DOT com // This is an extended version of the state machine available in the boost::mpl library // Distributed under the same license as the original. // Copyright for the original version: // Copyright 2005 <NAME> and <NAME>. Distributed // under...
/* * Copyright (C) 2009 by <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program i...
/* * Copyright (c) 2012-2013 <NAME> and <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, this list of condit...
#include <Eigen/Dense> #include <vector> #include <iostream> #include <fstream> #include "tsai.hpp" #ifdef USEVISP #include <visp/vpCalibration.h> #include <visp/vpMath.h> #include <visp/vpPose.h> #include <visp/vpPixelMeterConversion.h> #endif //using LTD = SE3dist<float>; using LTD = float; #ifdef USEVISP void as...
/* ---------------------------------------------------------------------------- * Copyright 2020, <NAME>, Aerospace Controls Laboratory * Massachusetts Institute of Technology * All Rights Reserved * Authors: <NAME>, et al. * See LICENSE file for the license information * -----------------------------------------...
#include "delaunay_mesher.h" #include "ChiMath/chi_math.h" extern ChiMath& chi_math_handler; //################################################################### /**Determine the orientation of point c relative to point a and b. * * Synonomous with \f[ (ab {\times} bc) {\bullet} [0 0 1] \f] but gives an indicati...
/****************************************************************************** * * Purpose: Implementation of the VecSegHeader class. * * This class is used to manage reading and writing of the vector segment * header section, growing them as needed. It is exclusively a private * helper class for the CPCIDSK...
#include <pugixml/pugixml.hpp> #include <boost/filesystem.hpp> #include "base/address_util.h" #include "base/timer.h" #include "cmn/agent_cmn.h" #include "init/agent_param.h" #include "services/services_types.h" #include "services/services_init.h" #include "services/dhcp_lease_db.h" #include "services/dhcp_proto.h" u...
#include <mlpack/core.hpp> #include <NN_basis_function.hpp> #include <armadillo> #include <boost/program_options.hpp> #include <iostream> #include <robotics.hpp> #include <HSMM.hpp> #include <ProMPs_emission.hpp> using namespace arma; using namespace hsmm; using namespace robotics; using namespace std; namespace po = ...
#include "assimp/Importer.hpp" #include "assimp/postprocess.h" #include "assimp/scene.h" #include "core/time.hpp" #include "glm/glm.hpp" #include "shared/assert.hpp" #include "shared/filesystem.hpp" #include "shared/logger.hpp" #include <filesystem> #include <fstream> #include <iostream> #include <unordered_set> #inclu...
/* FCE Ultra - NES/Famicom Emulator * * Copyright notice for this file: * Copyright (C) 2003 Xodnizel * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
// Copyright 2017 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...
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ #include "atn/SingletonPredictionContext.h" #include "misc/MurmurHash.h" #include "atn/ArrayPredictionContext.h" #include ...
#include <iostream> #include <src/Config.h> #include <src/support/Logger.h> #include <sstream> #include "Renderer.h" #include "glm/ext.hpp" /** * Create a renderer. * @param window Window to display output to. */ Renderer::Renderer(std::shared_ptr<Window> window) : window_(window), // Sets x, y...