text
stringlengths
5.71k
33.7k
/** * Copyright 2004-present Facebook. All Rights Reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <fstream> #include <set> #include <string> #include <gflags/gflags.h> #include <glog/logging.h> #include <fo...
/* * findBestTrees_noR.cpp * * Created on: Mar 27, 2015 * Author: jahnka */ #include <stdbool.h> #include <vector> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <float.h> #include <iostream> #include <fstream> #include <sstream> #include <time.h> #include "matrices.h" #include "treelis...
#include "PitchRollLimiter.h" #include <iostream> #include <stdio.h> #include "../defs.h" using namespace std; PitchRollLimiter::PitchRollLimiter() { lp = NULL; // initialize problem with null pointer glp_init_smcp(&parm_sim); // set up simplex settings parm_sim.msg_lev = GLP_MSG_OFF; // turns off messages ...
#include <cassert> #include <stdint.h> #include <vector> #include <iostream> #include <unordered_map> #include <unordered_set> #include <map> #include <vector> #include <random> #include <algorithm> #include "BatchEnumerator.h" namespace { struct VertexData { uint32_t valence; uint32...
/* * Asteroids.cpp * * Created on: Dec 18, 2016 * Author: Carl */ #include <iostream> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string> #include <sstream> #include <SDL2/SDL.h> #include <SDL2/SDL_image.h> #include <SDL2/SDL_mixer.h> #include "Asteroids.h" // Load asteroid resourc...
/* 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/. */ /* A program that attempts to find an optimal function ordering for an executable using a genetic algorithm w...
// Compute correlation sum versus radius // Can be used to compute correlation dimension with // Grassberger-Procaccia method // up to a given radius (looking for neighbors inside a hyperspheres // around reference points) // cmerk DPI Goettingen 1998 // mex -I. -I.. corrsum2.cpp -O -DPARTIAL_SEARCH // mex -I...
/* * Copyright 2010 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...
/// /// \file SI4703.cpp /// \brief Implementation for the radio library to control the SI4703 radio chip. /// /// \author <NAME>, http://www.mathertel.de /// \copyright Copyright (c) 2014-2015 by <NAME>.\n /// This work is licensed under a BSD style license.\n /// See http://www.mathertel.de/License.aspx /// ...
//===----------------------------------------------------------------------===// // // Copyright 2020-2021 The ScaleHLS Authors. // //===----------------------------------------------------------------------===// #include "mlir/Dialect/Affine/Analysis/AffineAnalysis.h" #include "mlir/Dialect/Affine/IR/AffineValueMap.h...
// ----------------------------- OpenPose C++ API Tutorial - Example 7 - Face from Image ----------------------------- // It reads an image and the hand location, process it, and displays the hand keypoints. In addition, // it includes all the OpenPose configuration flags. // Input: An image and the hand rectangle loca...
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories <NAME>, <EMAIL> Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with San...
/* * Copyright (C) 2012 The Android Open Source Project * * 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 app...
/* * Initial version was received at NSIDC from <NAME>. Modified * significantly by <NAME> (<EMAIL>). * 7-8-16 Modified by Cade "The Intern" Haley to accommodate 10 and 14-word data * plus other output modes * * qi2txt() creates ascii output (to standard output) from qfit binary files * (12-word input). Output str...
/** * @file main.cpp * University of Illinois CS 400, MOOC 3, Week 1: Unordered Map * * @author <NAME> **/ #include <iostream> #include <string> #include "UnorderedMapCommon.h" // ----------------------------------------------------------------------- // Function prototypes: When global functions ...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ ** Commercial License Usage ** Licensees holding va...
// X_EDITOR.C // // Xargon Game Editor // // by <NAME> #include "port.h" #include <stdlib.h> #include <ctype.h> #include <string.h> //#include <alloc.h> #include "include/gr.h" #include "include/keyboard.h" #include "include/windows.h" #include "include/gamectrl.h" #include "include/x_obj.h" #include "include/xargon.h...
#include <cstdio> #include <iostream> #include <vector> #include <string> #include "TFile.h" #include "TTree.h" #include "TNtuple.h" #include "TRandom.h" #include "TLorentzVector.h" #include "TLine.h" #include "TClonesArray.h" using std::vector; using std::string; using std::cout; using std::endl; void make_ntuple...
/** * @file src/obj_loader.cpp * * @brief Implementation of OBJ_FileLoader and OBJ_Meshbuild_header/ */ #include "../include/obj_loader.hpp" #include <cstdio> #include <cstring> #include <string> OBJ_FileLoader::OBJ_FileLoader() { ; } OBJ_FileLoader::OBJ_FileLoader(const char* fname) { std::ifstream fin(fname, ...
#include "xhhc_scorer.h" #include "xhhc.h" #include "LinkedPeptide.h" #include "model/Spectrum.h" #include "model/Scorer.h" #include "util/Params.h" #include <fstream> // constants for print_spectrums #define NORMALIZE 0 #define MAX_MZ 1200; #define MIN_MZ 400; #define NO_FLANKS 1 using namespace Crux; /** * Init...
////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2017 KDE Laboratory, University of Tsukuba, Tsukuba, Japan. // // // // The JsSpinnerSPE/StreamingCube and the accom...
#include "config.h" #include "sled_internal.h" #include <assert.h> #include <event2/event.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <syslog.h> #include <time.h> /* Maximum amount of seconds between NMT messages */ #define MAX_NMT_DELAY 2.0 static double get_time() { timespec ts; clock_...
#include "Precompiled.h" #include "tiledata.h" #include "vectiler.h" #include "download.h" #include "geometry.h" #include "disc.h" //----------------------------------------------------------------------------- extern CVar tile_DiscCache; //-----------------------------------------------------------------------...
// // MIT License // // © ESI Group, 2015 // // 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, pu...
// PointwiseIOASDF.cpp // created by Kuangdai on 1-Jun-2017 // NetCDF IO for point-wise receivers #include "PointwiseIOASDF.h" #include "Parameters.h" #include "NetCDF_Writer.h" #include "NetCDF_Reader.h" #include "XMPI.h" #include <sstream> #include <cstdio> #include "PointwiseRecorder.h" #include <fstream> #includ...
#include <iomanip> #include <iostream> #include <limits> #include <cuda.h> #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/ParameterSet/interface/ParameterSetDescript...
// // LocalMesh.cpp // AxiSEM3D // // Created by <NAME> on 3/17/20. // Copyright © 2020 <NAME>. All rights reserved. // // local mesh: skeleton + element-GLL vicinity + mpi communication #include "LocalMesh.hpp" #include "ExodusMesh.hpp" #include "metis.hpp" // tools #include "mpi.hpp" #include "vector_tools.hp...
/* MonotCubicInterpolator Copyright (C) 2006 <NAME> 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 License, or (at your option) any later version. This program is distribute...
/* // Copyright (c) 2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
#include <iostream> #include <algorithm> #include <vector> #include <boost/array.hpp> #include <boost/algorithm/string.hpp> // OpenCV 特征检测模块 #include <opencv2/features2d/features2d.hpp> // #include <opencv2/nonfree/nonfree.hpp> // use this if you want to use SIFT or SURF #include <opencv2/calib3d/calib3d.hpp> #include...
#include <stdio.h> #include <iostream> #include <string> #include <sstream> #include <vector> #include <set> #include <stdexcept> #include "Cli.h" #include "Rules.h" Cli::Cli() :m_textWinBorder(0) ,m_textWin(0) ,m_statusWinBorder(0) ,m_statusWin(0) { initscr(); //This looks a little complicate...
/****************************************************************************** // File: P5Motion.cpp // Use: This file provides sample code of how to filter and use P5 motion // (X, Y, Z) and orientation (Yaw, Pitch, Roll) information for easy // integration into applications // // Authors: <NAME> // // Revisio...
#include "shader.h" #include "mesh.hpp" #include "camera.hpp" #include <string.h> using namespace std; //https://learnopengl.com/In-Practice/Debugging #include "imgui.h" #include "imgui_impl_glfw.h" #include "imgui_impl_opengl3.h" #include <stdio.h> // About Desktop OpenGL function loaders: // Modern desktop OpenGL ...
// // Created by dbond on 20.10.18. // #include "WorkerThread.h" #include <android/log.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/mman.h> #include <unistd.h> #include <sys/socket.h> #include <sys/un.h> #include <string.h> #include <algorithm> #include <time....
#include <iostream> #include <bitset> #include <algorithm> #include <complex> #include <set> #include <random> #include "./common.h" #include "./timer.h" #include "./xorshift.h" #include "./visualizer.h" using namespace std; const double TIME_LIMIT_SECONDS = 5; /** * VisualizerCommunicatorに使われます。 */ struct AHC001V...
/* * Software License Agreement (Apache License) * * Copyright (c) 2014, Southwest Research 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 "stdio.h" #include "TAxis.h" #include "TCanvas.h" #include "TColor.h" #include "TFile.h" #include "TGraph.h" #include "TGraphErrors.h" #include "TLegend.h" #include "TLine.h" #include "TList.h" #include "TLorentzVector.h" #include "TSystem.h" #include "TTree.h" #include "style.h" #include "AnaFunctions.h" #in...
#include "CTR.h" //initialize for 3 tubes std::array<Tube, 3UL> CTR::tubes = { Tube(), Tube(), Tube() }; //constructor CTR::CTR() { //set tube parameters ID OD Ls Lc R CTR::tubes[0].SetDimension(0.8e-3, 0.92e-3, 0.19, 0.06, 0.04); CTR::tubes[1].SetDimension(0.97e-3, 1.1e-3, 0.12, 0.08, 0.1); CTR::tubes[2].SetDime...
/* // Copyright (c) 2015 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
#include "stdafx.h" #include "language.h" #include "skindefinition.h" #include "xmlparser.h" #include "resource.h" #define VCD_PLAYING 0x0001 #define VCD_STOPPED 0x0002 #define VCD_PAUSED 0x0004 #define VCD_NO_CD 0x0100 #define VCD_OPENING 0x10000 struct stTranslation { int...
#include "Strong_Spatial_Discretization_Parser.hh" #include <limits> #include "Angular_Discretization.hh" #include "Basis_Function.hh" #include "Cartesian_Distance.hh" #include "Cartesian_Plane.hh" #include "Compact_Gaussian_RBF.hh" #include "Conversion.hh" #include "Dimensional_Moments.hh" #include "Energy_Discretiz...
#include <FK/Math.h> #include <FK/Matrix.h> #include <random> using namespace FK; using namespace std; static random_device *rd = nullptr; static mt19937 *mt = nullptr; static void randInit(void) { if(rd == nullptr) rd = new random_device(); if(mt == nullptr) mt = new mt19937((*rd)()); } bool fk_Math::isOnLine(c...
#ifdef KITSCHY_DEBUG_MEMORY #include "debug_memorymanager.h" #endif #ifdef _WIN32 #include <windows.h> #endif #include <stdio.h> #include <stdlib.h> #include "math.h" #include "string.h" #include "GL/gl.h" #include "GL/glu.h" #include "SDL.h" #include "SDL_mixer.h" #include "List.h" #include "Symbol.h" #include "2D...
#define _USE_MATH_DEFINES /// code to make agents #include <vector> #include <cassert> #include <algorithm> #include <iostream> #include <random> #include <boost/foreach.hpp> #include <Rcpp.h> #include <RcppParallel.h> #include "network.h" #include "landscape.h" #include "agents.h" // to shuffle pop id void Populat...
#include <bits/stdc++.h> using namespace std; class UndirectedGraph; // Directed graph algorithms class DirectedGraph { public: friend class UndirectedGraph; DirectedGraph(int size) : vertices(size), adj_list(max(vertices, 0), set<int>()), edges(0) {} bool add_edge(int u, int v) { if (u >= ve...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
/******************************************************* * @file driver.cpp * @author khshen (<EMAIL>) * @brief * @date 2021-06-10 * * @copyright Copyright (c) 2021 * *******************************************************/ #include "driver.h" const float r2d = 180/3.14159265; #define UART_BAUDRATE ...
#include <algorithm> #include <utility> #include <map> #include "rule_lexer.h" #include "filelib.h" #include "tdict.h" #include "agrammar.h" #include "../utils/Util.h" aTRule::aTRule(TRulePtr rule){ this -> e_ = rule->e_; this -> f_ = rule->f_; this ->lhs_ = rule->lhs_; this -> arity_ = rule->arity_; thi...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
//// Based on Ferran Soles: https://github.com/fsole/GLSamples/blob/master/src/MultidrawIndirect.cpp //// Modified by: <NAME> #include <GL\glew.h> #include <GLFW/glfw3.h> #include <iostream> #include <vector> void processInput(GLFWwindow *window); void cursor_position_callback(GLFWwindow* window, double xpos, double...
/* * Bermuda Syndrome engine rewrite * Copyright (C) 2007-2011 <NAME> */ #include "decoder.h" #include "file.h" #include "fs.h" #include "game.h" #include "str.h" static const bool kDumpObjectScript = false; void Game::allocateTables() { _tempDecodeBuffer = (uint8_t *)malloc(65535); if (!_tempDecodeBuffer) { ...
/** * @file * @author <NAME> * @version 1.0 * * @section LICENSE * * Copyright [2012] [Carnegie Mellon University] * * 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...
// // Game_State.cpp // game // // Created by <NAME> on 10/31/13. // // #include "Game_State.h" #include "Terrain_Factory.h" #include "Terrain.h" #include "Item_Factory.h" #include "Item.h" #include "Arrow.h" #include "Utility.h" #include "Skybox.h" #include "Map_Manager.h" #include "Monster_Manager.h" #include "Cl...
int luf ,lYN1t, cmvp , ZBJ2,PFey, a6AF , w , kx1Tt , DN , Cn5 /*eWu*/, L88, /*AeM*/ aQXrh ,IZw , v7K/*GrM*/, zoH,zHL ,r8g, S8nT,sv//T , SfsK ,UzO7j , AqCd8//m ,YU,cMN, cv , PJ,od3A ,B6 ,Yfv ,yh , /*LQzl3*/uuZl ,R9S //hbh //IG , tA7E4, r242d,gw , JT , zTrFv,uD ;//im void f_f0 // () { { ...
/** @file STAM.cpp * * @author <NAME> (<EMAIL>) * @author <NAME> (<EMAIL>) * * @version 1.0 * */ #include "STAM.h" int SCENE = 1; double baseline[] = { 175, 50, 35 }; std::string points2d_init_file[] = { "S01_INPUT/S01_2Ddata_dst_init.csv", "S02_INPUT/S02_2Ddata_dst_init.csv", "S03_INPUT/S03_2Ddata_dst_ini...
// // main.cpp // TrainSetBatch // // Created by zhuhongqiang on 2019/8/7. // #include "eos/core/Image.hpp" #include "eos/core/image/opencv_interop.hpp" #include "eos/core/Landmark.hpp" #include "eos/core/LandmarkMapper.hpp" #include "eos/core/read_pts_landmarks.hpp" #include "eos/core/write_obj.hpp" #include "eos/...
///////////////////////////////////////////////////////////// // // // Copyright (c) 2003-2017 by The University of Queensland // // Centre for Geoscience Computing // // http://earth.uq.edu.au/centre-geoscience-computing // // ...
/* * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must rep...
#include "windowExercicios.h" float WindowExercicios::translacaoPositiva = 20; float WindowExercicios::translacaoNegativa = -20; float WindowExercicios::escalaPositiva = 0.1; float WindowExercicios::escalaNegativa = -0.1; int quantidadeTriangulos = 0; bool aumentandoEscala = false; int contadorEscala = 1; int contador...
/* * Copyright 2019 Xilinx, 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...
/* ------------------------------------------------------------------------------- This file is part of Extense ------------------------------------------------------------------------------- Copyright (c) 2018 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this soft...
// ------------------------------------------------------------------- // Copyright (c) 2015 <NAME>. All Rights Reserved. // // This file is provided to you 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 t...
/*! ***************************************************************************** * @file: CN0391.cpp * @brief: * @version: $Revision$ * @date: $Date$ *----------------------------------------------------------------------------- * Copyright (c) 2016-2017 Analog Devices, Inc. All rights reserved. Redistr...
#include "global.h" #include "NotesWriterDWI.h" #include "NoteTypes.h" #include "NoteData.h" #include "RageUtil.h" #include "RageLog.h" #include "RageFile.h" #include "NoteDataUtil.h" #include "RageFile.h" /* Output is an angle bracket expression without angle brackets, eg. "468". */ CString NotesWriterDWI::NotesToDWI...
// -*- C++ -*- // // Package: FastSimulation/CTPPSFastTrackingProducer // Class: CTPPSFastTrackingProducer // /**\class CTPPSFastTrackingProducer CTPPSFastTrackingProducer.cc FastSimulation/CTPPSFastTrackingProducer/plugins/CTPPSFastTrackingProducer.cc Description: [one line class summary] Implementation: [N...
/******************************************************************************* * nemesis. an experimental finite element code. * * Copyright (C) 2004-2011 F.E.Karaoulanis [http://www.nemesis-project.org] * * ...
#include <iostream> #include <fstream> #include <string.h> #include <stdio.h> #include "gbmem.h" #include "gbz80cpu.h" //Needed for CLOCK_GB using namespace std; GBMem::GBMem(Platform systemType){ m_mem[ADDRESS_IF] = 0; m_mem[ADDRESS_VBK] = 0; m_wRamBank = 1; m_vRamBank = 0; //Work ram banks need to be dynami...
/* Copyright (c) 2015 Convey Computer Corporation * * This file is part of the OpenHT toolset located at: * * https://github.com/TonyBrewer/OpenHT * * Use and distribution licensed under the BSD 3-clause license. * See the LICENSE file for the complete license text. */ #include <boost/foreach.hpp> #include <bo...
// StripRich.cpp // // Copyright (c) 1994-2000 by QUALCOMM, Incorporated /* Copyright (c) 2016, Computer History Museum All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the follow...
/* * 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) 2017, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The Astrobee platform is licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with t...
/*! * @file HardwareBridge.cpp * @brief Interface between robot code and robot hardware * * This class initializes the hardware of both robots and allows the robot * controller to access it */ #include <sys/mman.h> #include <unistd.h> #include <cstring> #include <thread> #include "Configuration.h" #include "stri...
/**************************************************************************** * * Copyright (c) 2017-2019 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. Red...
/******************************************************/ // THIS IS A GENERATED FILE - DO NOT EDIT // /******************************************************/ #include "Particle.h" #line 1 "/Users/pedrodanielsanchez/Documents/IoT/Smart-Bluetooth-Controller/SmartBluetoothGateway/src/SmartBluetoothGateway.in...
#include "index.hpp" #include <random> constexpr const char basic_vert[] = R"(#version 330 layout(location = 0) in vec3 vertex; layout(location = 2) in vec3 inColor; uniform mat4 u_mvp; out vec3 color; void main() { gl_Position = u_mvp * vec4(vertex.xyz, 1); color = inColor; ...
// trigonometry.cpp: test suite runner for trigonometric functions (sin/cos/tan/atan/acos/asin) // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/utility/directives.hpp> // use ...
#include <stddef.h> #include <vector> #include "llvm/ADT/StringSet.h" #include "llvm/IR/CFG.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/IR/Module.h" #include "llvm/IR/Operator.h" #include "llvm/Support/raw_ostream.h" #define Py_BUILD_C...
/* Copyright (c) 2002-2004,2006,2008 Apple Inc. * * sslSubjName.c * * Verify comparision of app-specified host name vs. various * forms of hostname in a cert. * */ #include <utilLib/common.h> #include <utilLib/cspwrap.h> #include <clAppUtils/clutils.h> #include <clAppUtils/certVerify.h> #include <clAppUtils/Blo...
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
/* * Copyright (C) 2020 <NAME> * * 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 is distribute...
/* =========================================================================== 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) 2014-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 <chrono> #include <condition...
/* The MIT License (MIT) * * Copyright (c) 2017 by <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
/* * DEBUG: section 93 ICAP (RFC 3507) Client */ #include "squid.h" #include "acl/FilledChecklist.h" #include "adaptation/icap/Config.h" #include "adaptation/icap/Launcher.h" #include "adaptation/icap/Xaction.h" #include "base/TextException.h" #include "comm.h" #include "comm/Connection.h" #include "comm/ConnOpen...
#include "../binstream/filestream.h" #include "../binstream/txtstream.h" #include "../binstream/enc_base64stream.h" #include "../metastream/metagen.h" #include "../metastream/fmtstreamcxx.h" #include "../dir.h" #include "../intergen/ifc.h" #include "../hash/hashkeyset.h" #include "ig.h" //debug string: // [inputs] $...
// MIT License // Copyright (c) 2021 <NAME> // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, p...
/* pattern_search_plugin.cpp * finding substructure in a whole neuron with certain morpological pattern. * 2017-6-29 : by <NAME> */ #include "v3d_message.h" #include <vector> #include "basic_surf_objs.h" #include <iostream> #include "pattern_search_plugin.h" //#include "pattern_match.h" #include "sort_swc.h" #def...
// Author: <NAME> // License: BSD 2-clause // Last Change: Thu Apr 28, 2022 at 02:35 PM -0400 // // Description: unfolding weights applyer (A) #include <iostream> #include <regex> #include <string> #include <tuple> #include <vector> #include <Math/Vector3D.h> #include <Math/Vector4D.h> #include <Math/VectorUtil.h> #i...
/* * Copyright 1993-2010 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and related...
#include "tensor_search_helpers.h" #include "calc_score_cache.h" #include "mvs.h" #include <catboost/libs/data_new/objects.h> #include <catboost/libs/helpers/restorable_rng.h> #include <catboost/libs/options/catboost_options.h> #include <library/threading/local_executor/local_executor.h> #include <util/generic/mayb...
/* * Copyright 2020 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkCanvas.h" #include "include/core/SkColor.h" #include "include/core/SkImage.h" #include "include/core/SkPaint.h" #include "include/core/SkRect.h" #inclu...
#include "GLPointLight.h" #include <cmath> #include <QtMath> #include <QDebug> GLPointLight::GLPointLight(QWidget *parent) : QOpenGLWidget(parent) { connect(&timer,&QTimer::timeout,this,[this](){ rotate+=1; if(isVisible()){ update(); } }); timer.setInterval(50); } G...
#include <common/logger.hpp> #include "graphsync_acceptance_common.hpp" #include <boost/program_options.hpp> #include <libp2p/multi/multibase_codec/multibase_codec_impl.hpp> #include <libp2p/log/configurator.hpp> #include <libp2p/log/logger.hpp> #include <iostream> // logger used by these tests static std::shared_ptr...
#include "digit_numbers.h" #include "Mathematic\Vector2f.h" using namespace EyeStereo; const float Digit_W = 5.0; const float Digit_H = 10.0; const float Digit_width = 1.0; float digit_numbers::distanceShiftDot(float x, float y) { Vertex* number = ver[ChoosedNumber]; Vector2f pos(x, y); for (UINT i = 0; i < digi...
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2019, ITU/ISO/IEC * All rights reserve...
#include "Utils/Allocator/FlexBitSet.h" #include "Utils/Allocator/HostAllocator.h" #include "Utils/Allocator/IntrusiveArenaAllocator.h" #include <FEXCore/Utils/Allocator.h> #include <FEXCore/Utils/LogManager.h> #include <algorithm> #include <array> #include <cassert> #include <cstdint> #include <errno.h> #include <lis...
#include <algorithm> #include <boost/program_options.hpp> #include <boost/algorithm/string/predicate.hpp> #include <cmath> #include <iomanip> #include <iostream> #include <limits> #include <random> #include <vector> enum returnID { success_help = -1, success = 0, overd_err = 1, underd_err = 2, zero_err = 3, gen...
/* Copyright 2005-2010 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks 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 Foundat...
#include "ArduCastControl.h" #include "cast_channel.pb.h" #include "authority_keys.pb.h" #include "logging.pb.h" #include "pb_common.h" #include "pb.h" #include "pb_encode.h" #include "string.h" const char CC_SOURCEID[] = "sender-0"; const char CC_MAIN_DESTIID[] = "receiver-0"; const char CC_NS_CONNECTION[] = "urn...
#include <microhttpd.h> #include <cstdlib> #include <cstring> #include <cstdio> #include <string> #include <iostream> #include <map> #include "gmsData.hpp" #include "gmsApi.hpp" #include "biomaps.hpp" #include "annotator.hpp" #include "utils.hpp" #define PAGE "<html><head><title>libmicrohttpd demo</title>"\ ...