text
stringlengths
5.71k
33.7k
// Polynomial division provided that the quotient and remainder have integer coefficients #include <iostream> using std::cin; using std::cout; using std::endl; #include <iomanip> using std::setw; #include <fstream> using std::istream; using std::ifstream; using std::ios; void reset( int *&coefficient, int *&exponen...
/* m9312.cpp: Implementation of M9312 ROM bootstrap Copyright (c) 2020, <NAME> <EMAIL>, www.retrocmp.com 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 withou...
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1996-1997 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
/* * network.cc * * This scan uses the same IOCTLs as ethtool, ifconfig or mii-diag to report * information about network interfaces like: * - medium type (ethernet, token ring, PPP, etc.) * - hardware address (MAC address) * - link status (link detected, in error, etc.) * - speed (10Mbits, 100Mbits, etc.) * -...
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any pers...
/* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ #include "gcc.hh" #include <iostream> #include <getopt.h> #include "util/args.hh" #include "util/util.hh" using namespace std; struct GCCOptionData { GCCOption option; const char * option_str; int has_arg; bool double_dash; cha...
/* * Copyright 2016 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
#include <vtkPolyData.h> #include <vtkPointData.h> #include <vtkCubeSource.h> #include <vtkSmartPointer.h> #include <vtkSelectEnclosedPoints.h> #include <vtkIntArray.h> #include <vtkDataArray.h> #include <vtkUnstructuredGrid.h> #include <vtkXMLUnstructuredGridReader.h> #include <vtkXMLPolyDataReader.h> #include <vtkDat...
// // Created by cmf on 20-4-13. // #include <string> #include "net.h" #include <vector> #define TAG "LightFaceSo" #include "FaceDetector.h" #include <chrono> #include <math.h> #include <stack> #include <stdio.h> #include <algorithm> #include <vector> #include <opencv2/core/core.hpp> #include <opencv2/highgui/hig...
// ---------------------------------------------------------------------- // Copyright (c) 2016, The Regents of the University of California All // rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met:...
/************************************************************************** * * * Algorithmic C (tm) Math Library * * * * Software Ver...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <stdlib.h> #include <inttypes.h> #include <stdio.h> // Azure IoT Hub #ifdef _WIN32 #include <azure_c_shared_utility/macro_utils.h> #else #include <azure_macro_utils/macro_utils.h> #endif #include <azure_c_shared_...
#include <vector> #include <ros/ros.h> #include <nav_msgs/Odometry.h> #include <nav_msgs/Path.h> #include <sensor_msgs/PointCloud.h> #include <sensor_msgs/Image.h> #include <sensor_msgs/image_encodings.h> #include <visualization_msgs/Marker.h> #include <std_msgs/Bool.h> #include <cv_bridge/cv_bridge.h> #include <iostre...
#include<iostream> #include<fstream> #include<cstdlib> #include<string> #include<sstream> #include<vector> #include<bitset> using namespace std; namespace patch { template < typename T > std::string to_string( const T& n ) { std::ostringstream stm ; stm << n ; return stm.str() ; } ...
/*************************************** Original Author:<NAME> ****************************************/ #include <sstream> #include "DQM/RPCMonitorDigi/interface/utils.h" #include "DQM/RPCMonitorClient/interface/RPCEfficiencySecond.h" #include "DQM/RPCMonitorDigi/interface/RPCBookFolderStructure.h" #include "FWCore/...
// ImGui Renderer for: OpenGL3 (modern OpenGL with shaders / programmatic // pipeline) This needs to be used along with a Platform Binding (e.g. GLFW, // SDL, Win32, custom..) (Note: We are using GL3W as a helper library to access // OpenGL functions since there is no standard header to access modern OpenGL // function...
#include "rpcclient.h" #include <sstream> #include <string.h> #include <unordered_map> #include <unordered_set> #include <algorithm> #include "utils.h" void RPCClient::on_disconnect() { connected = false; awaiting_response = false; } struct CTxMemPoolEntry { uint64_t feePerKb; uint32_t size; double prio; uint...
/* * (C) COPYRIGHT 2019 ARM Limited * 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 a...
// // Compare the output of different steppers // // Based on testStepperFixed.cc // was the work of <NAME> in GSoC 2015 // #include <cfloat> #include <iomanip> // #include "G4UniformMagField.hh" // #include "G4SystemOfUnits.hh" #include "Units.h" // using fieldUnits::meter; using fieldUnits::millimeter; using f...
/****************************************************************************** * Copyright 2017-2018 <NAME> / Sonus Dept. <<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...
// https://raw.githubusercontent.com/opencv/opencv_contrib/a26f71313009c93d105151094436eecd4a0990ed/modules/xfeatures2d/samples/bagofwords_classification.cpp #include <algorithm> #include <filesystem> #include <iostream> #include <map> #include <opencv2/opencv.hpp> constexpr int memoryUse = 200; constexpr int vocabSiz...
/*! \file demo_1d_axis_scaling.cpp \brief Demonstration of 1D plot with axis scaling. \details See auto_1d_containers.cpp for an example axis_scaling with multiple data series. \author <NAME> \date 2009 */ // Copyright <NAME> 2007 // Copyright <NAME> 2008 // Use, modification and distribution are subject t...
int mRix,iIxD/*F*/, paB, qS2 , zT , ofm , LI7 , Pm,b ,gn ,EWhl,//TB P , fWk , IxwP ,KsC0R , bFh,R ,T5 , M9,Wo,YcI74, OYE, pXv7Lz ,lc/*vt*//*HlK*/, fm0 , /**/ywV7XE ,E2w// ,iM,x //YqD , NQK,Y , /*P5nI*/ iVpt, TVR,pFr, nGw , Ngu7, Ie,K05 ; void f_f0() { int lSYJ ; volatile int RxM , coKK,eXW ,...
#include "CParCodeGen.h" using namespace ctree; using namespace std; using namespace common; codegen::CParCodeGen::CParCodeGen(parser::Driver &Drv) : CCodeGen(Drv) { } void codegen::CParCodeGen::visit(common::Program &Node) { common::Function *Main = nullptr; CProg = new ctree::Program(); gener...
//-------------------------------------------------------------------- // Microsoft OLE DB Sample Consumer // (C) Copyright 1991 - 2000 Microsoft Corporation. All Rights Reserved. // // File name: DUMP.CPP // // Dump\output routines for the SAMPCLNT sample OLE DB consumer. // // See README.TXT for mor...
#include "RenderDriverOpenGL1.h" #include "LiteMath.h" using namespace HydraLiteMath; #include <iostream> IHRRenderDriver* CreateOpenGL1_RenderDriver() { return new RD_OGL1_Plain; } RD_OGL1_Plain::RD_OGL1_Plain() : m_displayLists(-1), m_listNum(0) { camFov = 45.0f; camNearPlane = 0.1f; camFarPlane = ...
/** * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the ...
/* -*- mode:C++; c-basic-offset:4 -*- Shore-kits -- Benchmark implementations for Shore-MT Copyright (c) 2007-2009 Data Intensive Applications and Systems Labaratory (DIAS) Ecole Polytechnique Federale de Lausanne All Rights Reserved. ...
#include "vmath.h" #include <gtest/gtest.h> #include <cmath> #include <vector> #include <numeric> namespace { template <typename T> void print_matrix(const math::Matrix4<T> &m) { for (int i=0; i<4; i++) { for (int j=0; j<4; j++) { printf("%9.7f ", (double)m(i,j)); } printf("\n...
//===-- macho-dump.cpp - Mach Object Dumping Tool -------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#pragma once #include <cmath> #include <algorithm> #include <complex> #include <functional> #include <iomanip> #include <iostream> #include <vector> using namespace std; using Real = double; using Point = complex< Real >; const Real EPS = 1e-10, PI = acos(-1); #define X real() #define Y imag() inline bool eq(Real a, ...
#include <pcl/apps/3d_rec_framework/pipeline/local_recognizer.h> #include <pcl/apps/3d_rec_framework/utils/vtk_model_sampling.h> #include <pcl/registration/correspondence_rejection_sample_consensus.h> #include <pcl/registration/transformation_estimation_svd.h> #include <pcl/registration/icp.h> #include <pcl/visualizati...
// <NAME> // Each evaluation object defines the "evaluate" function for how // to convert the vector of bool solution into a floating point fitness. #include "Evaluation.h" using namespace std; // Template specialization to convert a string to a function pointer // Used to allow configurable problem choice template<...
/* FreeTDS - Library of routines accessing Sybase and Microsoft databases * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 <NAME> * Copyright (C) 2006-2015 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * Licen...
/* * gpcxx/examples/artificial_ant/ant_simulation_plots.cpp * Date: 2014-09-01 * Author: <NAME> (<EMAIL>) * Copyright: <NAME> * * Distributed under 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) */ #include "simulation.hpp" #...
#include <bits/stdc++.h> #include <unistd.h> using namespace std; const double MUTATION_PROBABILITY = 1; const int DEFAULT_NEURONS_COUNT = 50; const int FIELD_WIDTH = 200; const int FIELD_HEIGHT = 50; const double ENERGY_EARN = 1.0; const double ENERGY_AT_BOTTOM = 0.1; const double ENERGY_PER_MOVE = 1.0; const double...
//#define ARMA_64BIT_WORD #include "MultiVar.h" #include "RcppArmadillo.h" #include <algorithm> using namespace Rcpp; using namespace arma; using namespace std; // [[Rcpp::depends(RcppArmadillo)]] MultiVar::MultiVar(){} MultiVar::~MultiVar(){} void MultiVar::SetData(List a, List b, int InputM, int InputN, colvec...
/** * File : demo.cpp * Author: <NAME> * * Implementation of the Demo class defined * in demo.h. */ // Include header file #include "demo.h" /** * The width of the screen used for the demo. */ const int Demo::SCREEN_WIDTH = 640; /** * The height of the screen used for the demo. */ const int Demo::SCREEN_...
#include "poco_crowd.hpp" #include "poco_coin.hpp" #include "merkle_tree.hpp" #include "rocksy.hpp" #include "prev_hash_c.hpp" #include "protocol_c.hpp" #include "merkle_tree_c.hpp" #include "p2p_network.hpp" #include "block_matrix.hpp" #include "full_hash.hpp" #include "print_or_log.hpp" #include <vector> #include ...
// Defender Of Nothing // Copyright (C) 2007 by <NAME> // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #include <allegro.h> #include "game.h" #include "player.h" #include "gameplay.h" #include "level.h" #include "util.h" #include "media.h" #include "particle.h"...
/* * 2014-03-07 <NAME> (<EMAIL>) */ #include <ros/ros.h> #include <geometry_msgs/Vector3Stamped.h> #include <gazebo_msgs/ModelStates.h> #include <tf/tf.h> #include <visualization_msgs/MarkerArray.h> #include <tf/transform_broadcaster.h> #include <tf/transform_listener.h> #include <race_pr2_markers/BaseDynamics.h> #in...
// // "$Id: Fl_Browser.cxx 5987 2007-11-20 21:57:17Z mike $" // // Browser widget for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2007 by <NAME> and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as published...
//#include <SDL.h> //#include <SDL_gfxPrimitives.h> #include <SFML/Graphics.hpp> #include <assert.h> #include <iostream> #include <set> #include <cstring> #include "ITexture.h" #include "WadFile.h" #include "WadLevel.h" #include "Vector2d.h" enum DrawFlags_e { DF_SHOW_LINE_SIDES = 0x01, DF_SHOW_SEG...
#include <unistd.h> #include <iomanip> #include <torch/utils.h> #include "../utils/Ch_13_util.h" #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> using torch::indexing::Slice; using torch::indexing::None; // Intersection over Union (IoU) torch::Tensor box_iou(torch::Tensor boxes1, torch::Tensor boxes2) ...
//--------------------------------------------------------------------------- // plotinfo.c: rtkplot info functions //--------------------------------------------------------------------------- #include "plotmain.h" #include "rtklib.h" #define ATAN2(x,y) ((x)*(x)+(y)*(y)>1E-12?atan2(x,y):0.0) // update information ...
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2006 <NAME> http://continuousphysics.com/Bullet/ 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 ...
#include "../game/Game.h" // WARNING: maybe i should pay attention to this // has to do with sprintf() not being safe.... #pragma warning (disable : 4996) game_c::game_c(GameWindow* gameWindow) : mAssetManager(NULL), mGameModel(NULL), mPlayerView(NULL), mPlayerController(NULL), mAiView(NULL), mWorldMapVie...
#include <iostream> #include <vector> #include <cmath> #include <algorithm> #include "genie/dat/DatFile.h" #include "genie/dat/TechageEffect.h" #include "ids.h" void debugPrintEffect(genie::DatFile *df, uint16_t effectId) { const genie::Effect &effect = df->Effects.at(effectId); std::cout << effectId << " - "...
#include <string.h> #include <iostream> #include <errno.h> #include <stdio.h> #include <arpa/inet.h> #include <unistd.h> #include <thread> #include <sys/stat.h> #include <fstream> #include <vector> #include "includes/execute.h" #include "../includes/file_send.h" #include "includes/http_bruteforce.h" #include "includes...
// Copyright (c) 2009-2018 LG Electronics, 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...
#include <iostream> #include <string> #include <cstring> #include <cstdio> #include <cstdlib> #include "yaml.h" #include "prepro.h" // Token IDs definition #define TK_EQ '=' #define TK_L '<' #define TK_G '>' #define TK_NOT '!' #define TK_EQEQ 256 #define TK_LEQ 257 #define TK_GEQ 258 #define TK_NOTEQ 259 #define TK_...
/* Copyright (c) 2016, <NAME> <<EMAIL>> Licensed * under the MIT license. See the license file LICENSE. */ #include <algorithm> #include <pangolin/pangolin.h> #include <pangolin/video/video_record_repeat.h> #include <pangolin/gl/gltexturecache.h> #include <pangolin/gl/glpixformat.h> #include <pangolin/handler/handler...
// Generated by: MakeCSR.py3 // Copyright (C) 2022, <NAME>. All rights reserved. // Date: 2022-01-13 21:25:09 // Currently allocated RISC-V machine-level CSR addresses // ====================================================== #include <stdlib.h> #include <stdint.h> #include <stdio.h> typedef struct { uint16_t ...
// Copyright(c) 2019-2020, Intel Corporation // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions and...
//============================================================== // Copyright © 2019 Intel Corporation // // SPDX-License-Identifier: MIT // ============================================================= #include <CL/sycl.hpp> #include <CL/sycl/intel/fpga_extensions.hpp> #include <iomanip> #include <random> #include <th...
// // Copyright Copyright 2009-2022, AMT – The Association For Manufacturing Technology (“AMT”) // 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 // // ...
#include<glad/glad.h> #include<iostream> #include<glfw/glfw3.h> #include<glm/glm.hpp> #include<cstdlib> //#include<filesystem> #include"Mesh.h" #include"Model.h" #include"Camera.h" #include<shader/Shader.h> #include"SkyBox.h" #include"BasicShapes.h" #include"Shadow.h" //#define STB_IMAGE_IMPLEMENTATION //#include"st...
// // Created by byrdofafeather on 2/7/19. // #include <utility> #include <map> #include <cassert> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> #include <opencv2/imgproc/imgproc.hpp> #include <boost/python.hpp> #include <Python.h> #include <string> #include <deque> #inclu...
#pragma once #include <string_view> #include <vector> using string_view = std::string_view; extern string_view openRandomize; extern string_view worldRandomize; extern string_view shuffleRandomize; extern string_view dungeonRandomize; extern string_view logicGlitchless; extern string_view logicGlitched; extern strin...
#include "DetectorConstruction.hh" #include "DetectorMessenger.hh" #include "G4Material.hh" #include "G4Tubs.hh" #include "G4Box.hh" #include "G4Sphere.hh" #include "G4LogicalVolume.hh" #include "G4PVPlacement.hh" #include "G4SubtractionSolid.hh" #include "G4UnionSolid.hh" #include "G4GeometryManager.hh" #include "G...
/* * * Original code from https://github.com/soulthreads/imgui-plot * * Modified by n3m3da * */ #include "imgui_plot.h" #ifndef IMGUI_DEFINE_MATH_OPERATORS #define IMGUI_DEFINE_MATH_OPERATORS #endif #include "imgui_internal.h" float imMap(float value, float inputMin, float inputMax, float outputMin, float outp...
/* * Barcode * Copyright <NAME> and <NAME> * * Distributed under the terms of the MIT License. * The full license is in the file LICENSE, distributed with this software. */ #ifdef WITH_OPENMP #include <omp.h> #else #include <thread> #endif // WITH_OPENMP #include <cmath> #include <string> #include <sstream> #i...
/* * Copyright (c) 2010-2013, 2015 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation o...
#include <arpa/inet.h> #include <net/if.h> #include <strings.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <unistd.h> #include <cassert> #include <cstdio> #include <cstring> #include <map> #include <memory> #include <string> #include <vector> #include "log/log.h" #include "pc/peer_connection.h" #include ...
// featbin/wav-reverberate.cc // Copyright 2015 <NAME> // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
/* * Copyright 2016-2018 <NAME> et al. * * 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 agr...
#include <cstring> #include "Sha512.hpp" #include "Base64.hpp" #include "common/Convert.hpp" #define ROTATE(value, bits) \ (((value) >> (bits)) | (((value) & 0xffffffffffffffff) << (64 - (bits)))) #define Sigma0(x) (ROTATE((x), 28) ^ ROTATE((x), 34) ^ ROTATE((x), 39)) #define Sigma1(x) (ROTATE((x), 14) ^ ROTATE((x)...
/** MIT License Copyright (c) 2018 NVIDIA CORPORATION. All rights reserved. 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...
#include "gtest/gtest.h" #include "common/type_system/TypeSystem.h" #include "common/goos/Reader.h" #include "common/type_system/deftype.h" #include "common/goos/ParseHelpers.h" TEST(TypeSystem, Construction) { // test that we can add all builtin types without any type errors TypeSystem ts; ts.add_builtin_types(...
#include <../../nrnconf.h> #include <string.h> #include <stdlib.h> #include <OS/list.h> #include "nrnoc2iv.h" #include "kschan.h" #include "kssingle.h" // needed for DiscreteEvent aspect #include "netcvode.h" #include "cvodeobj.h" //---------------- // KSSingleTrans, KSSingleState is only apparently redundant with KS...
#include <mbgl/storage/http_file_source.hpp> #include <mbgl/storage/resource.hpp> #include <mbgl/storage/response.hpp> #include <mbgl/platform/log.hpp> #include <mbgl/util/util.hpp> #include <mbgl/util/optional.hpp> #include <mbgl/util/run_loop.hpp> #include <mbgl/util/string.hpp> #include <mbgl/util/timer.hpp> #inclu...
/****************************************************************************/ /* This is a simple demo program written for CSE167 by <NAME> */ /* This program corresponds to the final OpenGL lecture on shading. */ /* Modified September 2016 by <NAME> to exclusively use modern OpenGL */ /* ...
// // simulate_events // // simulate various event types to test mumdex // // Copyright 2016 <NAME> @ CSHL // #include <algorithm> #include <array> #include <exception> #include <fstream> #include <functional> #include <iomanip> #include <iostream> #include <random> #include <set> #include <sstream> #include <string> ...
// Copyright (c) 2018-2019 Intel Corporation // // 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,...
/*************************************************************************** * Copyright (C) by gempa GmbH * * * * You can redistribute and/or modify this program under the * * terms o...
/** * @file psikt.cpp * @brief PSI command-line interface. * * @author <NAME> (\@cartoonist), <<EMAIL>> * * @internal * Created: Tue Nov 08, 2016 16:48 * Organization: Max-Planck-Institut fuer Informatik * Copyright: Copyright (c) 2017, <NAME> * * This source code is released under ...
#include "model/modelanimation.h" #include "model/modelanimation_segments.h" #include "ship/ship.h" extern float flFrametime; namespace animation { std::multimap<int, std::shared_ptr<ModelAnimation>> ModelAnimation::s_runningAnimations; ModelAnimationState ModelAnimation::play(float frametime, polymodel_instance*...
#include "CondTools/RPC/interface/RPCEMapSourceHandler.h" #include "FWCore/ParameterSet/interface/ParameterSetfwd.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "CondCore/CondDB/interface/ConnectionPool.h" #include "CondCore/DBOutputService/interface/PoolDBOutputService.h" popcon::RPCEMapSourceHandl...
/******************************************************************************* * Copyright (c) 2017-2018 <NAME> <<EMAIL>> * * 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 res...
#ifndef M_PI # define M_PI 3.14159265358979323846 #endif /// number of motion primitive #define nPrim 15 /// to use precomputed MotionPrimitive set ODE to 0 /// to use an ode solver set ODE to 1 #define ODE 1 #include <smp/planner_utils/trajectory.hpp> #include <smp/planner_utils/vertex_edge.hpp> #include <smp/comp...
// // MiniDatabuf.cpp // // Copyright (c) 2006-2008 Virtual Terrain Project and <NAME> // Free for all uses, see license.txt for details. // #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <float.h> // Headers for JPEG support, which uses the library "libjpeg" extern "C" { #inclu...
// SPC emulation support: init, sample buffering, reset, SPC loading // Game_Music_Emu 0.6.0. http://www.slack.net/~ant/ #include "Snes_Spc.h" #include <string.h> /* Copyright (C) 2004-2007 <NAME>. This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Gen...
#include "voronoisplat.h" #include <algorithm> #include <QQuickWindow> #include <QOpenGLFunctions> #include <QOpenGLShaderProgram> #include <QOpenGLVertexArrayObject> #include "colormap.h" #include "scatterplot.h" #include "skelft.h" static const float DEFAULT_ALPHA = 5.0f; static const float DEFAULT_BETA = 20.0f; ...
// <NAME>, Geometric Tools, Redmond WA 98052 // Copyright (c) 1998-2022 // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // Version: 6.0.2022.01.06 #include "MorphFacesWindow3.h" #include <Applications...
#include "HV507.hpp" static const uint32_t TIMER_IRQ_PRIO = 1; MODM_ISR(TIM5) { SchedulingTimer::irqHandler(); HV507::timerIrqHandler(); } HV507* HV507::mSingleton = nullptr; void HV507::init(EventEx::EventBroker *broker, Analog *analog) { mBroker = broker; mAnalog = analog; mCyclesSinceScan = ...
/*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>, <NAME>....
/*========================================================================= Program: Visualization Toolkit Module: vtkAutoCorrelativeStatistics.cxx Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softwa...
/******************************************** * * $ midair build * $ cd build * $ cmake -DCMAKE_PREFIX_PATH=/path/to/libtorch .. * $ make **********************************************/ #include <torch/torch.h> #include <cstddef> #include <cstdio> #include <iostream> #include <string> #include <vector> #incl...
// // FILE NAME: $HeadURL: svn+ssh://svn.cm.aol.com/advertising/adlearn/gen1/trunk/lib/cpp/DataProxy/test/BlackoutStreamTransformerTest.cpp $ // // REVISION: $Revision: 305155 $ // // COPYRIGHT: (c) 2006 Advertising.com All Rights Reserved. // // LAST UPDATED: $Date: 2014-10-02 20:00:32 -0400 (Thu...
// Copyright (c) 2012 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 <windows.h> #include <shlwapi.h> #include "base/command_line.h" #include "base/debug/trace_event.h" #include "base/environment.h" #include "...
/**************************************************************************** * * Copyright (c) 2020 PX4 Development Team. 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. Redistri...
// Author: <NAME> <<EMAIL>> #include "rsba/solveRSpnp.h" #include "rsba/mat/cam.h" #include "rsba/VideoSfmBaRs.h" #include "rsba/struct/VideoSfM.h" #include <ceres/rotation.h> #include <opencv2/core/core_c.h> #if (defined(CV_VERSION_EPOCH) && CV_VERSION_EPOCH == 2) #include <opencv2/core/internal.hpp> #else #define __...
#include <cmath> #include <cstdlib> #include <iostream> #include <sstream> #include <vector> #include <random> #include <iomanip> using namespace std; //change to unsigned long long for higher counts typedef unsigned long long countt; namespace { vector<unsigned int> powers2 = { 1, 2, 4, 8, 16, 32, 64...
// Moves enum // Copyright <NAME> 2020. // Distributed under 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 <bounded/integer.hpp> #include <numeric_traits/min_max_value.hpp> #include <cstdint> namespace te...
#include "GeneratePeptides.h" #include "parameter.h" #include "model/ProteinPeptideIterator.h" #include "util/mass.h" #include "util/FileUtils.h" #include "util/Params.h" #include "util/StringUtils.h" using namespace std; MASS_TYPE_T GeneratePeptides::massType_ = AVERAGE; GeneratePeptides::GeneratePeptides() { } Ge...
#ifdef WIN32 #include <windows.h> #endif #include "GL/glut.h" #include <stdlib.h> #include <math.h> #include <ctime> #include <thread> #include <algorithm> //random_shuffle #include <assert.h> #include "config.h" #include "raytracing.h" #include "mesh.h" #include "traqueboule.h" #include "imageWriter.h" #include "setti...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
/* * (c) Copyright 2022 Xilinx, 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 required by ap...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "inc/Helper/VectorSetReader.h" #include "inc/Helper/SimpleIniReader.h" #include "inc/Helper/CommonHelper.h" #include "inc/Core/Common/CommonUtils.h" #include "inc/Core/Common/QueryResultSet.h" #include "inc/Core/Ve...