text
stringlengths
5.71k
33.7k
#include "mem/alloc.h" #include "mem/wrapper.h" #include "mem/protect.h" #include "mem/opcode.h" #include "util/misc.h" #include <bitset> #if 0 #define TRACE_ENABLE 1 #define TRACE_TERSE 1 #define TRACE_FNAME_MANUAL 1 #endif #include "util/trace.h" /* we haven't actually calculated what...
#include <iostream> #include "bluenoc_pipe.h" #define DEBUG (false) struct notification_t{ notification_t *prev; notification_t *next; bluenoc_pipe *pipe_hdl; void *context; uint32_t threshold; c_callback_fn *fn; }; typedef struct notification_t notification_t; void *get_notification...
#include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <set> #include <chrono> #include <iostream> #include <filesystem> #include <memory> #include <random> #include <libutils/rasserts.h> #i...
#include <gl/GLAux.h> #include <gl/glut.h> #include <gl/GLU.h> #include <gl/GL.h> #include <stdlib.h> #include <vector> #include <algorithm> #include "Vector3D.h" using namespace std; #define PI 3.14159265f float random(float maxVal) { return maxVal * rand() / RAND_MAX; } struct Particle { Vec...
#include <stdio.h> #include <math.h> //for HUGE_VAL #include <proj.h> #include <string.h> #include "Proj6_crs_to_crs.h" //this file have a unit tests which does not used Qt //Moreover qDebug() considers only print double as float precision. Hence for double precision use cout with std::setprecision instead #ifnde...
/*! \class VImageParameter \brief class to store run and image parameter information (single telescope) variables called VARNAME_SC are in shower coordinates */ #include "VImageParameter.h" VImageParameter::VImageParameter( unsigned int iShortTree, bool iWriteNImagePixels ) { ...
#include <cmath> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <getopt.h> #include "global.h" #include "usefulfunctions.h" #include "rng.h" using namespace std; double protectedDivision(const double &a, const double &b) { if (b == 0.0) { return 0.0; } else { return a / b;...
// Libraries #include <GL/glut.h> #include <iostream> #include <unistd.h> #include <thread> #include <math.h> #include <chrono> #include <ctime> #include <jpeglib.h> // Own Libraries #include "material.c++" #include "map.c++" #include "character.c++" // namespace using namespace std; // Defined Variables #define UP ...
/*========================================================================= 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...
#include "Global.h" TMutex CS_CMgr; #define MAX_GAMEMAIN_CLIENTS 512 clientGamemain_t Clients_GameMain[MAX_GAMEMAIN_CLIENTS]; uint32 ClientsGameMainCount = 0; clientGamemain_t *ClientMgr_AddToGameMain(SOCKET s) { if( ClientsGameMainCount >= MAX_GAMEMAIN_CLIENTS ) return 0; Thread::LockMutex(&CS_CMgr); //Reset...
/** * @copyright * Copyright (C) 2016 Universitat Autònoma de Barcelona * Department of Information and Communications Engineering * @file ui.cpp * @author <NAME> <<EMAIL>> * @date Created on: 9/1/2016 */ #include <iostream> #include <bitset> #include <exception> #include <sstream> #include "core/onion-constan...
#include "../../H/Docker/Docker.h" #include "../../H/UI/Safe.h" #include "../../H/UI/Usr.h" vector<string> DOCKER::Libs; vector<string> DOCKER::Assembly_Source_File; vector<string> DOCKER::FileName; // Directive changing FileName, directive. vector<pair<string, string>> DOCKER::Working_Dir; vector<string> D...
#include <iostream> #include <string> #include <chrono> #include <thread> #include <vector> #include <ctime> #include <cstdlib> //#include <Windows.h> //#include "player.h" using namespace std; using hrc = std::chrono::high_resolution_clock; using namespace std::this_thread; // sleep_for, sleep_until using namespace s...
#include "BmpFontGenerator.hpp" BmpFontGenerator::BmpFontGenerator(){ m_is_ascii = false; } int BmpFontGenerator::generate_font_file(const ConstString & destination){ File font_file; u32 max_character_width = 0; u32 area; String output_name; output_name << destination << ".sbf"; printer().info("Create output...
#include "AES-Tbox-Encryption.h" #include<iostream> using namespace std; BYTE Sbox[256] = { //0 1 2 3 4 5 6 7 8 9 A B C D E F 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76, //0 0xca, 0x82, 0xc9, 0x7d, 0...
#ifdef HAVE_CONFIG_H #include <config.h> #endif #include <arc/message/PayloadRaw.h> #include <arc/message/SOAPEnvelope.h> #include <arc/message/PayloadSOAP.h> #include <arc/message/SecAttr.h> #include <arc/XMLNode.h> #include <arc/loader/Plugin.h> #include <arc/ws-addressing/WSA.h> #include "MCCSOAP.h" Arc::Logger ...
////////////////////////////////////////////////////////////////////////// // 8-PUZZLE PROBLEM // // Start-up codes by <EMAIL> // // Name(s): // Date: // ////////////////////////////////////////////////////////////////////////// /* * Flicker-free implementation of the 8-puzzle board game using the BGI * graphic...
/* * Copyright 2018 National Technology & Engineering Solutions of * Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, * the U.S. Government retains certain rights in this software. * * The MIT License (MIT) * * Copyright (c) 2018 Sandia Corporation * * Permission is hereby granted, ...
/* ** Copyright 2011-2015 Centreon ** ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed t...
// // fftcc.cpp // dic // // Created by <NAME> on 9/25/16. // Copyright © 2016 <NAME>. All rights reserved. // #include "fftcc.hpp" #include <cmath> #include <stdexcept> #include "fftw3.h" #include "mem_manager.hpp" // Return the host handle void computePOIPositions( // Output int_t*& Out_h_iPXY, // Inpu...
//-------------------------------------------------------------------------------- /** \file GxCamera.cpp \brief GxCamera class defination \date 2020-05-14 \author Mountain */ //---------------------------------------------------------------------------------- #include "GxCamera.h" pthread_mutex_t Globa...
/* Copyright (c) 2017-2020, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ // // Copyright (c) 2016-2019 <NAME> (<EMAIL> dot <EMAIL> at <EMAIL>)...
// // Description: 3D Extrusion // Author: <NAME> and Scidian Software // License: Distributed under the MIT License // Source(s): https://github.com/stevinz/extrude // // Copyright (c) 2021 <NAME> and Scidian Software // // #include "3rd_party/handmade_math.h" #include "compare.h" #include "...
/** * @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required by applicable la...
/* * Copyright 2018 The Polycube 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright 2003, 2004, 2005, 2006 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 ...
/* Main entry point for Optical Guide's (6298) Point Cloud Generator (PCG) application. Originally developed on Rough Bottom (8136) by MPU/DRC/JCW, modified for use here. 2016-12-21 JDW Created from Rough Bottom code */ #include <pcg.h> #include <stdio.h> #include <string> #include <iostream> #include <fstream> #i...
#include "OutputStataModule.h" #include "Logger.h" #include <sstream> #include <fstream> #include "utility.h" #include <stdio.h> #include <string.h> #include "fem_exception.h" OutputStataModule::OutputStataModule(IVariableProvider *vp, std::vector<std::string> var_names) : AbstractOutputModule(vp, var_names) { prepSta...
#include <iomanip> #include <iostream> #include <typeinfo> #include <vector> #include <string> #include <algorithm> #include <fstream> #include "color/color.hpp" #include "./targa.hpp" template< typename category_name > void test_get_red( ) { typedef color::model< typename color::akin::rgb< category_name >::aki...
#include "../include/util.h" #include "../include/math.h" #include "../include/aby/Share.h" #include "../include/aby/gadgets.h" #include "../include/aby/quotient_folder.hpp" #include "abycore/aby/abyparty.h" #include "abycore/sharing/sharing.h" #include "cxxopts.hpp" #include <numeric> #include <algorithm> #include <ra...
/*************************************************************************** qgssourcefieldsproperties.cpp --------------------- begin : July 2017 copyright : (C) 2017 by <NAME> email : <EMAIL> ***************************************************************...
/* * Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
#include "riptide_controllers/thruster_controller.h" #undef debug #undef report #undef progress tf::Matrix3x3 rotation_matrix; tf::Vector3 ang_v; // Thrust limits (N): double MIN_THRUST = -8.0; double MAX_THRUST = 8.0; // Vehicle mass (kg): // TODO: Get this value from model double MASS = 34.47940950...
#include <iostream> #include <functional> #include <stdio.h> #include <stdlib.h> #include "tbb/tick_count.h" #include "cnc/cnc.h" #include "cnc/debug.h" #include <cassert> #define THRESHOLD 25000 namespace { template <typename argument_type> static void swap( argument_type * a, argument_type * b ...
#include "physics_context.h" #include "LinearMath/btConvexHullComputer.h" #define CONVEX_MARGIN 0.04 using namespace glm; void getVerticesInsidePlanes(const btAlignedObjectArray<btVector3>& planes, btAlignedObjectArray<btVector3>& verticesOut, std::set<int>& p...
/* Written by : <NAME> Date: 26 July 2016 E-Mail: <EMAIL> This is the modified version of true/false quiz program where only one struct array is used rather than three atomic arrays arrays. This program gives a student a true/false quiz. Student enters 1 for true answer and 0 (zero) for the false answer. Program stores...
/*----------------------------------------------------------------------------- * This file is part of the Colony.Apps Project. The Colony.Apps Project is an * open source project with a BSD type of licensing agreement. See the license * agreement (license.txt) in the top/ directory or on the Internet at * http://int...
#include "pico_tone.hpp" // #include "pico/stdio.h" #include "pico/time.h" #include "hardware/clocks.h" #include "hardware/dma.h" #include "hardware/irq.h" #include "hardware/timer.h" #include "pico/float.h" #include "tone_dma_handlers.h" #include "pdm_pushout.pio.h" // void Tone::print_timeseries () { // ...
#include <stdio.h> #include <iostream> #include <chrono> #include "gtest/gtest.h" #include "bb/NeuralNetConvolutionIm2Col.h" #include "bb/NeuralNetConvolutionCol2Im.h" #include "cuda_runtime.h" #include "device_launch_parameters.h" #include "bbcu/bbcu.h" inline void testSetupLayerBuffer(bb::NeuralNetLayer<>& net...
#pragma optimize( "", off ) #include <stdio.h> #include <malloc.h> #include <stdio.h> #include <ctype.h> #include <string.h> #include "cppfbp.h" #include "thzcbs.h" #define TRUE 1 #define FALSE 0 #if __OS2__ == 1 #define getc fgetc #undef EOF #define EOF 0xff #endif char curr_char; #define TC(label,ch) { if (curr...
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QAbstractTextDocumentLayout> #include <QDebug> #include <QDir> #include <QFileDialog> #include <QFontDatabase> #include <QHelpEvent> #include <QJsonArray> #include <QJsonDocument> #include <QJsonObject> #include <QScrollBar> #include <QToolTip> constexpr in...
// spacedinvaders.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <stdio.h> #include <allegro5/allegro.h> #include <allegro5/allegro_image.h> #include <allegro5/allegro_primitives.h> #include <allegro5/allegro_font.h> // Structs struct Point { float X; floa...
#include<iostream> #include<conio.h> //chcemy getch() using namespace std; //wymiary mapy labiryntu const int height = 8; const int width = 10; const int utrata_ruch = 15, utrata_obrot = 10, utrata_swiatlo = 10, utrata_skok = 20, utrata_czekaj = 5, utrata_kolizja = 5, zasieg_swiatla = 2; //elementy labir...
#include "testApp.h" //-------------------------------------------------------------- using namespace ofxCv; using namespace cv; //-------------------------------------------------------------- void testApp::setup() { #ifdef USE_MAC_CAM grabber.initGrabber(CAM_WIDTH, CAM_HEIGHT); faceFinder.setup("haarcascad...
#include <stdlib.h> #include <map> #include <string> #include <EGL/egl.h> #include <GLES3/gl3.h> #define GLM_FORCE_PURE #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/matrix_inverse.hpp> #include <glm/gtc/type_ptr.hpp> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #includ...
#include "Age_Imgui.hpp" #include <Context/IRenderContext.hh> #include <SDL/SDL_keycode.h> #include <imgui/imconfig.h> #include <Utils/Utils.hh> #include <Utils/Profiler.hpp> #include <Utils/Memory.hpp> #include <Threads/MainThread.hpp> #include <Threads/ThreadManager.hpp> #include <Threads/RenderThread.hpp> #incl...
#include "shared.h" #include <media/font.h> #include <shared/font_manager.h> using namespace render::scene; using namespace render::scene::client; /* Константы */ const size_t INVALID_INDEX = ~0u; namespace render { namespace scene { namespace client { /* Кэш рендеринга шрифтов */ /// Дескриптор ссылки ...
// [[Rcpp::depends(RcppArmadillo)]] #include <RcppArmadillo.h> #include "netdiffuser_extra.h" using namespace Rcpp; arma::vec seq_cpp(double from, double to, int lengthout) { arma::vec out(lengthout); double step = (to - from)/(lengthout - 1); for(int i=0;i<lengthout;++i) out(i) = from + i*step; return ou...
#include <pyublas/numpy.hpp> #include "crunch.hpp" using namespace crunch; void crunch::TSCDensity(double_vector pos, double_vector rho, int Npart, double boxsize, int gridsize, double mass) { long possize1 = pos.strides()[0]/pos.itemsize(); long possize2 = pos.strides()[1]/pos.itemsize(); long possize2x2...
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
#include "stdafx.h" #pragma hdrstop #include "detailmanager.h" #ifdef _EDITOR # include "igame_persistent.h" # include "environment.h" #else # include "../../xrEngine/igame_persistent.h" # include "../../xrEngine/environment.h" #endif #include "../xrRenderDX10/dx10BufferUtils.h" const int quant = 16384; const int...
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/gl/builders/GrGLProgramBuilder.h" #include "include/gpu/GrDirectContext.h" #include "src/core/SkATrace.h" #include "src/core/SkAutoMalloc.h" #include "src/c...
#include "ukf.h" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; UKF::UKF() { // if this is false, laser measurements will be ignored (except during init) use_laser_ = true; // if this is false, radar measurements will be ignored...
/* -*- Mode: C++; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ // This file is a part of ChASE. // Copyright (c) 2015-2021, Simulation and Data Laboratory Quantum Materials, // Forschungszentrum Juelich GmbH, Germany. All rights reserved. // License is 3-clause BSD: // https://github.com/ChASE-library/ChASE #pra...
/********************************************************************* Copyright 2013 JST ERATO Minato project and other contributors http://www-erato.ist.hokudai.ac.jp/?language=en Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "S...
// Copyright (c) 2010 Google 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: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
// Copyright (c) 2009-2017 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // Maintainer: dnlebard #include "CGCMMAngleForceCompute.h" namespace py = pybind11; #include <iostream> #include <sstream> #include <stdexcept> #include <...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
// 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 "chrome/browser/upgrade_detector_impl.h" #include <string> #include "base/bind.h" #include "base/build_time.h" #include "base/command_line....
#include <ros/ros.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/image_encodings.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <string> #include <sstream> #include <sensor_msgs/PointCloud2.h> #include <pcl_conversions/p...
#include "SkCanvas.h" #include "SkColorPriv.h" #include "SkGraphics.h" #include "SkImageEncoder.h" #include "SkNWayCanvas.h" #include "SkPicture.h" #include "SkString.h" #include "GrContext.h" #include "SkGpuDevice.h" #include "SkEGLContext.h" #include "SkBenchmark.h" #include "BenchTimer.h" #ifdef ANDROID static voi...
/* * Copyright © 2010 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, pub...
/* * CFunctions.cpp */ #include<iostream> #include<string.h> #include <ctime> #include <cstdlib> #include "CList2.h" #include "CDynamic.h" using namespace std; //////////////////CLASS METHODS/////////////////////////// ///////////////Arr void Arr::setArr(double*array) { //но мы не знаем GetN()!!!!!! Надо снач...
#include <iostream> #include <vector> #include <string> #include <fstream> #include <numeric> #include <algorithm> #include <stdlib.h> #include <math.h> #include <string> #include <sstream> #include <cmath> #include <limits> #include <functional> #include <ctime> #include <chrono> #include <poll.h> #include <unistd.h>...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team. * Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team. * Copyright (c) 2018,2019,2020,2021, by the ...
/* * Progetto di Sistemi Multimediali * * Progetto 1 - Elaborazione di Immagine * * Componenti del gruppo: * <NAME> 1069357 * <NAME> 1072066 * <NAME> 1069358 * * Anno Accademico: * 2015/2016 * * Esecuzione da riga di comando: * elaboraimmagine <fileinput> <comando> <dimensioni_x> <dimensioni_y> <fileoutput> */ #in...
#include <windows.h> #include <GL/glut.h> #include <iostream> #include <cmath> #include <bits/stdc++.h> const GLdouble PI = std::acos(-1); void display(); void reshape(GLsizei width, GLsizei height); void initOpenGL(); void createObjects(); void drawRoad(); void drawMountains(); void drawSun(); void initColors(); v...
// Copyright (c) 1999-2018 <NAME> // See the file COPYING for more information #include <sqlrelay/sqlrimportcsv.h> #include <rudiments/file.h> #include <rudiments/datetime.h> #define NEED_IS_NUMBER_TYPE_CHAR #define NEED_IS_DATETIME_TYPE_CHAR #include <datatypes.h> sqlrimportcsv::sqlrimportcsv() : sqlrimport(), csv...
/* * Copyright (c) 2019-2021, The Bifrost Authors. 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 o...
/****************************************************************************** * main_minimal.cpp: minimal code for calling BRKGA algorithms to solve * instances of the Traveling Salesman Problem. * * (c) Copyright 2015-2019, <NAME>. * All Rights Reserved. * * Created on : Mar 06, 2019 by and...
// Written: fmk // Created: 05/09 // Revision: A // // Description: This file contains the class definition for BandArpackSolver #include <BandArpackSolver.h> #include <BandArpackSOE.h> #include <math.h> #include <stdio.h> #include <AnalysisModel.h> #include <DOF_GrpIter.h> #include <DOF_Group.h> #include <FE_EleIter....
#include <algorithm> #include <clocale> #include <cctype> #include <cstdlib> #include <cstring> #include <csignal> #include <ctime> #include <deque> #include <functional> #include <map> #include <sstream> #include <curses.h> // These ncurses macros name clash with c++ symbols on old versions of ncurses #if NCURSES_MAJ...
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkColorFilter.h" #include "SkColorSpaceXform.h" #include "SkColorSpaceXformCanvas.h" #include "SkGradientShader.h" #include "SkImage_Base.h" #include "SkMakeUnique.h...
#include <stdio.h> #include "agg_rendering_buffer.h" #include "agg_renderer_base.h" #include "agg_rasterizer_scanline_aa.h" #include "agg_scanline_u.h" #include "agg_renderer_scanline.h" #include "agg_rounded_rect.h" #include "agg_pixfmt_rgba.h" #include "agg_span_allocator.h" #include "agg_span_gradient.h" #...
/* * Copyright 2005-2012 <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 restriction, including without limitation the * rights to use, copy, modify, merge, p...
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you can redistribute it and/or modify...
/* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with cer...
// Copyright (c) 2019, FlightAware LLC. // All rights reserved. // Licensed under the 2-clause BSD license; see the LICENSE file #include "uat_message.h" #include <cmath> #include <iomanip> #include <iostream> #include <sstream> #include <boost/io/ios_state.hpp> using namespace flightaware::uat; // // streaming ra...
/* --------------------------------------------------------------------------- * Programmer(s): <NAME> @ LLNL * --------------------------------------------------------------------------- * SUNDIALS Copyright Start * Copyright (c) 2002-2021, Lawrence Livermore National Security * and Southern Methodist University....
#include <iostream> using std::endl; using std::cout; using std::cerr; using std::ios; #include <fstream> using std::ifstream; using std::ofstream; #include <sstream> using std::istringstream; #include <ctime> #include <climits> #include <cstdlib> #include <algorithm> #include "procmaps.hpp" #include "memory.hpp" #i...
#include "line2Dup.h" #include <memory> #include <iostream> #include <assert.h> #include <chrono> using namespace std; using namespace cv; static std::string prefix = "/home/meiqua/shape_based_matching/test/"; // NMS, got from cv::dnn so we don't need opencv contrib // just collapse it namespace cv_dnn { namespace {...
#include <cstdio> #include <cstdlib> #include <pthread.h> //#include "carbon_user.h" /* For the Graphite Simulator*/ #include <time.h> #include <sys/timeb.h> #include <getopt.h> #include "../../common/mtx.h" #include "../../common/barrier.h" #define MAX 100000000 #define INT_MAX 100000000 #define...
//===- Symbols.cpp --------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
/**************************************************************************** * * Copyright (c) 2018 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...
// Copyright (c) 2012, <NAME> (jet47) // 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 cond...
/* * PackageLicenseDeclared: Apache-2.0 * Copyright (c) 2018 ARM 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 * * Unles...
#include "Logger.h" #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <boost/uuid/uuid_io.hpp> #include <fcntl.h> #include <fstream> #include <gtirb_layout/gtirb_layout.hpp> #include <gtirb_pprinter/ElfBinaryPrinter.hpp> #include <gtirb_pprinter/PeBinaryPrinter.hpp> #include <gtirb_pprinter/...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
// // Created by <NAME> on 2021/9/6. // #include "node_scene.h" #include <algorithm> #include <iostream> #include <iomanip> #include <sstream> #include "node_node.h" #include "node_wire.h" #include "node_socket.h" #include "node_graphics_scene.h" #include "node_scene_history.h" #include "node_scene_clipboard.h" #inc...
/* * BSD 3-Clause License * * Copyright (c) 2019, Analog Devices, 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 above copyrigh...
//! \file implicit_correction.cpp // \brief vertical implicit roe solver // C/C++ headers #include <iostream> #include <vector> // Eigen headers #include "../math/eigen335/Eigen/Core" #include "../math/eigen335/Eigen/Dense" // Athena++ headers #include "../math/core.h" // _sqr #include "../mesh/mesh.hpp" #include ...
#include <algorithm> #include <cstdlib> #include <cmath> #include <iterator> #include "Attributes.h" #include "FastBoard.h" #include "MCOTable.h" int BaseAttributes::move_distance(std::pair<int, int> xy1, std::pair<int, int> xy2) { int dx = std::abs(xy1.first - xy2.first); i...
/* * See header file for a description of this class. * * $Date: 2012/05/11 17:17:17 $ * $Revision: 1.6 $ * \author <NAME> - INFN Torino * 06/08/2008 Mofified by <EMAIL> */ #include "CalibMuon/DTCalibration/plugins/DTT0Calibration.h" #include "CalibMuon/DTCalibration/interface/DTCalibDBUtils.h" #include "...
#include "Correlator.h" #include "SquareBoundedMinimizer.h" bool Correlator::correlateImages(const MaskedImage & image1, const MaskedImage & image2, UArray<double> & outX1, UArray<double> & outY1, UArray<double> & outX2, UArray<double> & outY2, UArray<double> & outCorrelationCoefficients, SInt32 boxSizeX, S...
/*--------------------------------------------------------------- * Copyright (c) 1999,2000,2001,2002,2003 * The Board of Trustees of the University of Illinois * All Rights Reserved. *---------------------------------------------...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
/*------------------------------------------------------------------------- This source file is a part of Placid For the latest info, see http:www.marrin.org/ Copyright (c) 2018-2019, <NAME> All rights reserved. Use of this source code is governed by the MIT license that can be found in the L...
/************************************************************************** *** *** Copyright (c) 1995-2000 Regents of the University of California, *** <NAME>, <NAME> and <NAME> *** Copyright (c) 2000-2007 Regents of the University of Michigan, *** <NAME>, <NAME>, <NAME> and *** ...
/* Copyright (c) The Grit Game Engine authors 2016 * * 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, ...