text
stringlengths
8.71k
38.4k
#include "ExpandShortTermConfigFile.hpp" #include "conf/NetworkPrinter.hpp" #include "conf/SimulationInfoPrinter.hpp" #include "entities/amodController/AMODController.hpp" #include "entities/BusController.hpp" #include "entities/BusControllerST.hpp" #include "entities/fmodController/FMOD_Controller.hpp" #include "entit...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * 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/. */ /* * PR time code. */ #ifdef SOL...
/* Lookup.cpp Created on: Jan 3, 2020 Author: 5561 This file contains functions related to lookup and interpolation. */ #include "Const.hpp" #include <math.h> /****************************************************************************** * Function: LookUp1D_Table * * Description: Single dimension...
#include <iostream> #include <vector> #include <set> #include <iterator> #include <math.h> #include <cmath> #include <stdexcept> #include <chrono> #include <exception> #include <queue> #include <cstdlib> #include <rapidcsv.h> #include <boost/math/distributions/normal.hpp> #include <sys/time.h> #include <ecotools/roi_ho...
#include "ProgramFile.h" // ERR() List: // 0x50 - Unknown system error // 0x51 - Cannot open Program File (either for open or write) // 0x52 - Cannot open backup file for write - most likely it is SD card problem // 0x53 - Cannot find next backup file - not enough file names // 0x54 - Corrupted Program File - wrong fo...
/* 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 ...
// Copyright (C) 2017-2019 <NAME> <<EMAIL>> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #include "parse_functions.hpp" #include <cctype> #include <cppast/cpp_array_type.hpp> #include <cppast/cpp_decltype_type.hpp> #include <cppast/cpp_exp...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
//===-- ProfileGenerator.cpp - Profile Generator ---------------*- C++ -*-===// // // 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 // //===---------------------------...
//===-- SymbolFileBreakpad.cpp ----------------------------------*- C++ -*-===// // // 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 // //===---------------------------...
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
// dear imgui: standalone example application for GLFW + OpenGL 3, using programmable pipeline // If you are new to dear imgui, see examples/README.txt and documentation at the top of imgui.cpp. // (GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, ...
#include "soc/timer_group_reg.h" #include "soc/timer_group_struct.h" #include <WiFi.h> #include <Arduino.h> #include <NeoPixelBus.h> #include <DallasTemperature.h> #include <FastLED.h> #include <FastLED_GFX.h> #include <LEDMatrix.h> #include <arduinoFFT.h> #include <esp32-hal-cpu.h> #include <string> const bool DEBUG ...
//------------------------------------------------------------------------------------------------------- // The MIT License (MIT) // // 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"), t...
#include <exception> #include <iostream> #include <string> #include <fstream> #include <stdio.h> #include <sstream> #include <stdlib.h> #include "index.h" #include "SStd.h" #include "SRGen.h" #include "configuration.h" #include "sim_foundation.h" #include "mess_queue.h" extern "C" { #include "SIM_power.h" #include "SIM...
#include "./geom.h" using std::vector; using std::logic_error; using std::swap; using std::cout; using std::endl; floatn centroid(const float_seg& s) { return (s.a() + s.b()) / 2; } floatn closest(const floatn& p, const float_seg& s) { if (s.is_degenerate()) return s.a(); static const float EPSILON = 1e-6;...
/***************************************************************************************** * * * OpenSpace * * ...
/* Copyright (C) 2005-2011, <NAME> <<EMAIL>> 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 co...
#include "drops.hpp" #include "memory.hpp" #include "search.hpp" #include <iostream> using namespace std::string_literals; std::vector<DropEntry> drop_entries{ {"ALTAR_DICE_CLIMBINGGLOVES", "\xBA\x0D\x02\x00\x00\xEB\x05"s, VTABLE_OFFSET::NONE, 0, 1}, {"ALTAR_DICE_COOKEDTURKEY", "\xBA\x06\x02\x00\x00\xEB\x0C"...
int BbML , WoYu /*bq*/,T2 ,q6ls , CqeeAC, cAl , cjM , FmM , F, HY, x77z , SXp , ukH,i82 , I2s ,/*AGfM*/nAf ,VXC , GDFv ,CfP2 /*sKL*/, Bpv , nIT,k ,qC ,//wsND kM ,hQo6 /**/,//5 xk ,uQCk , UO,VP ,b1dfR /*w*/ , Gh9z ,FJy/*I5t*/ ,/*t*/Db, Aq0 , //4B po,/*I*/ kq,CXlF ,qyPeU,q0ic, gA , Qcy ,zS, ...
int IrUA7 , /**/N3K , Aj ,Spx,iJ ,eu , //HtMr xJ, Dg3 , // n8e,GC8/*Ba*/, R ,/*b7b*/c9,p6oP , uaHf, zQ,BxUy7, u6ib ,i ,/*MkE*/ oH ,xT,GD ,AUJb,tZQZP,HyFVK, Kwuqxs ,/*Bs*/BKL,aX2GAa/*R*/ , yMJ , St1A , alCA , sY ,KD1t1 , mW , p5pDW,p ,//W tm,E , IPU9 ,cjJW ,W;void f_f0() { for (int i=1 ;i...
/* BSD 3-Clause License Copyright (c) 2021, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of ...
// // Created by tomer on 10/24/19. // #include "Header.h" Header::Header(size_t m, size_t f, size_t l) : capacity(0), max_capacity(f), size(get_initialize_size(m, f)) { if (HEADER_BLOCK_SIZE != (8 * sizeof(HEADER_BLOCK_TYPE))) { assert(false); } H = new HEADER_BLOCK_TYPE[size](); } Header::Heade...
#include <nnpack/fft.h> #include <ref/fft/complex-ref.h> void nnp_fft8_real__ref(const float* t, size_t t_stride, float* f, size_t f_stride) { /* Load inputs */ std::complex<float> w0 = std::complex<float>(t[0 * t_stride], t[1 * t_stride]); std::complex<float> w1 = std::complex<float>(t[2 * t_stride], t[3 * t_stri...
#include <omp.h> #include <stdio.h> #include <iostream> #include <algorithm> #include <numeric> #include <functional> #include <fstream> #include <iterator> #include <ctime> #include <cmath> #include <string> #include <sstream> #include <random> #include <iomanip> //#include "overridenew.h" #include "../utility.h" #i...
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2019 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 person obtaining ...
#include "PressureSampler.h" #include "utils/matmath.h" #include <vector> #include <algorithm> // sort #include <math.h> #include <stdlib.h> /* srand, rand */ #include <iostream> using namespace std; typedef std::vector<float> vectype; struct idxentrypair{ // For sort and obtain the indices int idx; float...
/** License 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, publish, distribute, sublicense, and/or sell c...
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version Jul 28 2019) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "ShipDrivergui.h" /////...
///////////////////////////////////////////////////////////////////////////////////////////// // Copyright 2017 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 // // htt...
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include <fstream> #include <iostream> #include <sstream> using std::cout; us...
#include "ls.hh" #include "repr.hh" #include "rep_lib.hh" #include <map> #include <iostream> #include <string> #include <vector> #include <fstream> #include <strstream> #include <algorithm> #include <functional> #include <list> #include <cmath> #include<iomanip> #include<sys/types.h> #include<dirent.h> #include <sys/st...
#include "ocr.h" #include <queue> #include <regex> #include <algorithm> #define CRNN_LSTM 1 char *readKeysFromAssets(AAssetManager *mgr) { //LOGI("readKeysFromAssets start..."); if (mgr == NULL) { LOGE(" %s", "AAssetManager==NULL"); return NULL; } char *buffer; /*获取文件名并打开*/ ...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/extensions/extension_process_bindings.h" #include <map> #include <set> #include <string> #include <vector> #include "base/...
#include <vector> #include <algorithm> #include "CMakeJSONTimeSeries.h" #include "CImageDataWriter.h" const char *CMakeJSONTimeSeries::className = "CMakeJSONTimeSeries"; // #define CMakeJSONTimeSeries_DEBUG #define CMakeJSONTimeSeries_MAX_DIMS 255 class UniqueRequests { private: DEF_ERRORFUNCTION(); public: bo...
#include <Arduino.h> #include <Adafruit_ST7735.h> #include "serial_handling.h" // Global constants static const uint8_t TFT_CS = 6; // TFT pin static const uint8_t TFT_DC = 7; // TFT pin static const uint8_t TFT_RST = 8; // TFT pin // Arduino analog input pin for the horizontal on the joystick. static const uint8_t J...
// PBRT.cpp: 定义应用程序的入口点。 // #include <omp.h> #include <time.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/opencv.hpp> #include "rtweekend.h" #include "color.h" #include "hittable_list.h" #include "sphere.h" #include "triangle.h" #include "camera.h" #include "materi...
// [MPSL-Test] // MathPresso's Shading Language with JIT Engine for C++. // // [License] // Zlib - See LICENSE.md file in the package. // [Dependencies] #include "./mpsl.h" #include "./mp_utils.h" #include <math.h> #include <stdio.h> #include <stdlib.h> // ============================================================...
/*---------------------------------------------------------------- Raven Library Source Code Copyright (c) 2008-2018 the Raven Development Team ----------------------------------------------------------------*/ #include "RavenInclude.h" #include "StateVariables.h" #include "Transport.h" //--Initialize St...
#include <Arduino.h> // #include <ESP.h> // Display driver #include <SPI.h> #include <TFT_eSPI.h> #define FS_NO_GLOBALS // Avoid conflict with SD library File type definition #include <FS.h> #include "WebResource.h" // Download manager, OTA updates etc #include <ESP8266WiFi.h> #include <ArduinoOTA.h> #include <ESP826...
// Avisynth v2.5. Copyright 2002 <NAME>-Gould et al. // http://www.avisynth.org // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option)...
/* the self functions for Schprel */ /* <NAME>, 2001 */ // precompiled header include MUST appear as the first non-comment line #include "arPrecompiled.h" #include "Self.h" #include "SpecialRelativityMath.h" #define highquality 0 Self::Self(void) { /* head: */ self[0][0] = -.2347; self[0][1] = 5.5432; self[0][2] ...
/* * 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 2017 UBC Sailbot #include <fstream> #include <iostream> #include <memory> #include <thread> #include <chrono> #define GLFW_INCLUDE_GLCOREARB #ifndef __APPLE__ #include <GL/glew.h> // GLEW before OpenGL #endif #include <GLFW/glfw3.h> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp...
#include "ofApp.h" #include "setup.h" using namespace std; using namespace cv; //-------------------------------------------------------------- void ofApp::setup() { // DEBUG mDebug = true; ofLog(OF_LOG_NOTICE) << "Debuging: " << mDebug << std::endl; ofSetBackgroundAuto(false); ofBackground(0); setupVa...
#include <cstdio> #include <cstdlib> #include <cstring> #include <cmath> #include <queue> #define MSG_SIZE 20 #define TIMEOUT 40 #define TIMEOUT_ACK 25 #define BUFFER_SIZE 8 #define MAX_QUEUE_SIZE 50 #define A 0 #define B 1 using namespace std; float time = 0.000; /* *********************************************...
#include "stdafx.h" /* * All questions regarding the software should be addressed to * * Prof. <NAME> * Purdue University * School of Electrical and Computer Engineering * 1285 Electrical Engineering Building * West Lafayette, IN 47907-1285 * USA * +1 765 494 0340 * +1 7...
#include <imgui.h> #include "mvApp.h" #include "mvStyleWindow.h" #include "Core/mvInput.h" #include "mvPythonTranslator.h" #define IM_MIN(A, B) (((A) < (B)) ? (A) : (B)) #define IM_MAX(A, B) (((A) >= (B)) ? (A) : (B)) // Helper to display a little (?) mark which shows a tooltip when hovered. // ...
/************************************************************** * * 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...
int uV ,CPLC,Qo,UY ,em,TM8,Rw , S7 , d1,K ,//mf MyaK , c,wRe ,lFl , Gj,c05D , J98uo , NdTW7 , LF , qnuy/*y4f*/ ,q8, tTh ,Sejzs ,VZH//kXf , b,Mnm ,HS ,nar, T2M,A90 ,CN , dj9 ,iWw/**/ ,A1r2D /*6RF*/, w419 , L2, iqd , e3JM//EeC ;void f_f0() {volatile int ig/*48gf*/,B,//5jP7 lJwl//rH ,...
/*! \mainpage Arduino ENC28J60 EtherShield Library \section Introduction This library is derived from original code by <NAME> and <NAME>, and hence licensed as GPL2. See http://www.gnu.org/licenses/gpl.html It comprises a C++ class wrapper and a number of C files. It still follows pretty much the same structure as t...
#include <math.h> #include <stdio.h> #include <time.h> #include "agg_math.h" #include "agg_rendering_buffer.h" #include "agg_conv_transform.h" #include "agg_conv_stroke.h" #include "agg_conv_clip_polyline.h" #include "agg_scanline_p.h" #include "agg_renderer_scanline.h" #include "agg_rasterizer_outline_aa.h" #include "...
/* * Publishes LCM messages to over an Xbee to the groundstation. * * Author: <NAME>, <<EMAIL>> 2013 * */ #include <iostream> using namespace std; #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <signal.h> #include <time.h> #include <sys/time.h> #include <stdexcept> // std::invalid_arg...
/* The MIT License (MIT) Copyright (c) [2016] [BTC.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 without limitation the rights to use, copy, modify, me...
/* Copyright 2020 Google LLC 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, sof...
// // svm-predict.cpp // bilab // // Created by <NAME> on 2013/12/06. // Copyright (c) 2013年 <NAME>. All rights reserved. // #include <cstddef> #include "svm-predict.h" #define PROCESS_DEBUG 1 #if defined(PROCESS_DEBUG) #include <cassert> #define CW_ASSERT(condition) \ { \ if(!(condition)) \ { \ std::cerr << __F...
/* community.cpp * Copyright (C) (2011) <NAME>, <NAME>, <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. ...
#include <cmath> #include <fstream> #include <iomanip> #include <sstream> #include <string> #include "global_definitions.h" #include "Fluid2D.h" Fluid2D& Fluid2D::Initialize(Int32 size_x, Int32 size_y, Real xmin, Real xmax, Real ymin, Real ymax, Real gamma, std::function<void (...
// // Copyright (c) 2012 Regents of the SIGNET lab, University of Padova. // 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...
/* Copyright (c) <2003-2016> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
/***********[SumManager.cc] Copyright (c) 2019, <NAME>, <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, me...
void _check_gl_error(const char* file, int line); #define check_gl_error() _check_gl_error(__FILE__,__LINE__) namespace texture { void init(Texture2D& t, const void* data, int w, int h, GLint internalFormat, GLenum format, GLenum type, GLenum minFilter, GLenum magFilter, GLenum wrapS, GLenum wrapT, bool generateMip...
/* * Copyright 2010-2011, Sikuli.org * Released under the MIT License. * */ #include <iostream> #include <fstream> #include <sstream> #include <string> #include <stdlib.h> #include "tessocr.h" #include "sikuli-debug.h" using namespace std; using namespace sikuli; #ifdef WIN32 #include "baseapi...
#include "config.h" #include "bnn-library.h" #include "weights.hpp" #include "activations.hpp" #include "interpret.hpp" #include "mvau.hpp" static BinaryWeights<L0_SIMD, L0_PE, L0_WMEM> weights0; static BinaryWeights<L1_SIMD, L1_PE, L1_WMEM> weights1; static BinaryWeights<L2_SIMD, L2_PE, L2_WMEM> weights2; static ...
/* * GCTA: a tool for Genome-wide Complex Trait Analysis * * Implementations of functions for estimating the genetic relationship matrix * * 2010 by <NAME> <<EMAIL>> * * This file is distributed under the GNU General Public * License, Version 2. Please see the file COPYING for more * details */ ...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2022 <NAME> and <NAME> //LIC// //LIC// This lib...
#include "plugin.hpp" #include "dsp/math.hpp" #include "filter.h" //Based on 21Khz PalmLoop sine fm engine //https://github.com/21kHz/21kHz-rack-plugins //Envs are simpler Rampage channels //https://github.com/VCVRack/Befaco //Included filter taken from Vult language basic examples //https://github.com/modlfo...
// author : cgnitash, joryschossau // Loader.cpp contains implementation of population loading scripting language #include "Loader.h" #include "Filesystem.h" #include "CSV.h" #include <fstream> #include <iostream> #include <map> #include <numeric> #include <random> #include <regex> #include <sstream> #include <string...
/* * 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 <GroupsockHelper.hh> // for "gettimeofday()" #include <stdint.h> #include <time.h> #include <boost/interprocess/containers/deque.hpp> #include <ctime> #include <thread> #include <chrono> #include <iomanip> #include "config.h" #include "H264NALUSource.hpp" std::mutex H264NALUSource::triggerEventMutex; std::ve...
/********************************************************************** * file: pp_profile.cc * license: Artistic License, see file LICENCE.TXT or * http://www.opensource.org/licenses/artistic-license.php * descr.: protein pattern search extension * authors: <NAME> * * date | author | cha...
#include "tau/Frontend/Clang/AIRGenerator.h" #include "tau/AIR/AirDialect.h" #include "tau/AIR/AirOps.h" #include "tau/AIR/AirTypes.h" #include <clang/AST/ASTContext.h> #include <clang/AST/Decl.h> #include <clang/AST/Expr.h> #include <clang/AST/OperationKinds.h> #include <clang/AST/StmtVisitor.h> #include <clang/AST/...
// // Created by <NAME> on 22.10.18. // #include "KillingFusion.h" #include "SDF.h" #include "Timer.h" using namespace std; KillingFusion::KillingFusion(DatasetReader datasetReader) : m_datasetReader(datasetReader), m_canonicalSdf(nullptr) { // Create a canonical SDF int w = m_datasetReader.getDepthWidt...
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condit...
#include "thing.h" #include "geometry.h" #include "state.h" #include "ship.h" #include "bullet.h" #include "shard.h" #include "exhaust.h" #include "explosion.h" GLuint Ship::displayList = 0; Model_3DS Ship::model; const XYZ& Ship::getAxis() { return axis; } void Ship::fire(bool start) { if (!start) {...
#include <iostream> #include <sstream> #include <tinyxml2.h> #define TINYOBJLOADER_IMPLEMENTATION #include <tiny_obj_loader.h> #include "util.h" #include "ModelLoader.h" using namespace glm; using namespace std; using namespace tinyxml2; // simple OBJ loader void loadOBJ( string path, vector<ve...
/* Headers */ #include "mathematical_constants.h" /* Simulation parameters */ PS::F64 eps_grav; // gravitational softening PS::F64 mass_avg; // average mass of SPH particles PS::F64 SCF_smth = 1.0; // scale factor for smoothing length PS::F64 dt_max = 0.0; // maximum allowance of timestep const PS::F64 specific_heat_r...
#include "MaixButton.h" // Button class /* static */ std::vector<Button*> Button::instances; Button::Button(int16_t x_, int16_t y_, int16_t w_, int16_t h_, bool rot1_ /* = false */, const char* name_ /* = "" */, ButtonColors off_ /*= {NODRAW, NODRAW, NODRAW} */, ButtonCol...
/* * Copyright (C) 2007-2014 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 b...
/** * MIT License * * Copyright (c) 2019 <NAME>, https://github.com/ilwoong * * 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 limita...
/* * Copyright (c) 2012 The Trustees of University of Illinois. * All rights reserved. * * Author(s): <NAME> <<EMAIL>> * */ /* * Created on: Dec 22, 2011 * Author: <NAME> */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <assert.h> #include <signal.h> #include <s...
#include "Models.h" #include "GPU-Includes.h" // #define TINYOBJLOADER_IMPLEMENTATION // define this in only *one* .cc #include <external/tiny_obj_loader.h> #include <external/loguru.hpp> #include <float.h> std::string warn; std::string err; #include <fstream> #include "serialize.hpp" #include "model.hpp" #include...
/*============================================================================|| || __ ___ _______ ___ ____ __ ___ || || / \/ /_/__ __/_ _/ __\/_/ \/ / _____/ \ || || / /\_/ / ___/ / __ `/ / __/ __/ \ / ___/ `_/ ...
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
#include <stdio.h> #include <string.h> #include <libxml/parser.h> #include <libxml/tree.h> #include "sQtRenderer.h" #include "../../simpleUI.h" #include "../../sXforms.h" //#include "../sQtCallbacks/sQt_Cb.h" #include "../../sCallbackData/sCallbackData.h" #include "../../xml/sXml.h" const char *int2str[] = {"0","1","2...
#include "Network.hpp" #include <cstdio> #include <cassert> #include <cstdlib> #include <boost/numeric/ublas/matrix.hpp> void Network::loadNetwork(const char *filename) { // Unused variables unsigned short A; fern_real massExcess; fern_real pf; fern_real Y; FILE *file = fopen(filename, "r"); // Exit if the fi...
// Copyright (c) 2005 - 2015 <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
/* --- --- --- * Copyright (C) 2008--2010 Idiap Research Institute (.....<EMAIL>) * 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 abov...
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010, <NAME>, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are ...
#include "mustela.hpp" #include <stdlib.h> #include <iostream> #include <algorithm> #include <memory> #include <unistd.h> // sleep using namespace mustela; std::string DB::lib_version(){ return "0.02"; } // TODO - detect R/O filesystem DB::DB(const std::string & file_path, DBOptions options): readonly_fs(os::file_...
/* exechelp-w32.c - Fork and exec helpers for W32. * Copyright (C) 2004, 2007, 2008, 2009, * 2010 Free Software Foundation, Inc. * * This file is part of GnuPG. * * This file is free software; you can redistribute it and/or modify * it under the terms of either * * - the GNU Lesser General Publ...
/***************************************************************************** * * * PLAST : Parallel Local Alignment Search Tool * * Version 2.3, released November 2015 * * ...
// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator. // Copyright (C) 1999-2003 Forgotten // Copyright (C) 2005-2006 Forgotten and the VBA development team // 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 // ...
//===- SubtargetEmitter.cpp - Generate subtarget enumerations -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* Copyright (C) 2011 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, copy, modify, merge, publish, distribute,...
// Copyright (c) 2010 by BBNT Solutions LLC // All Rights Reserved. #include <boost/algorithm/string.hpp> #include "Generic/common/leak_detection.h" // This must be the first #include #include "Generic/theories/Parse.h" #include "Generic/theories/RelMention.h" #include "Generic/theories/RelMentionSet.h" #inc...
#include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgcodecs.hpp> #include <iostream> #include <fstream> #include <math.h> #include <opencv/cv.hpp> #include "geomTools.h" #include "parameters.h" #include "guidedfilter.h" // A4 paper sheet parameters in mm #define A4_WIDTH 210 #de...
#include "Precompiled.h" #include "InputManager.h" #include "Mesh2D.h" #include "Transform2D.h" #include "GameObject2D.h" #include "Quadtree.h" #include "Camera2D.h" #include "Mesh.h" #include "Transform.h" #include "GameObject.h" #include "Camera.h" #include "GameEngine.h" #include <random> bool GameEngine::Init(c...
//===--- SemaAPINotes.cpp - API Notes Handling ----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * Copyright (c) 2012-2013, Thingsquare, http://www.thingsquare.com/. * Copyright (c) 2016, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code m...