text
stringlengths
8.71k
38.4k
//************************************************************************** // Práctica 4 // // <NAME> 2013-2016 // // GPL //************************************************************************** #include "stdlib.h" #include "stdio.h" #include <GL/glut.h> #include <ctype.h> #include "objeto3D.h" #include "revoluci...
#include "ReadAlign.h" #include "SequenceFuns.h" #include "ErrorWarning.h" #include "IncludeDefine.h" # include "BAMfunctions.h" #include <type_traits> void ReadAlign::samAttrNM_MD (Transcript const &trOut, uint iEx1, uint iEx2, uint &tagNM, string &tagMD) { tagNM=0; tagMD=""; char* R=Read1[trOut.roStr==0...
// -*- C++ -*- // Package: SiStripObjects // Class : SiStripDetCabling // Original Author: dkcira // Created: Wed Mar 22 12:24:33 CET 2006 #include "FWCore/Utilities/interface/typelookup.h" #include "CalibFormats/SiStripObjects/interface/SiStripDetCabling.h" #include "FWCore/MessageLogger/interface/M...
#include "rlibm-fast.h" polynomial* rlibm_solve_with_soplex(psample_data* sintervals, size_t ssize, int** power, int* power_size, int termsize){ SoPlex mysoplex; mysoplex.setBoolParam(SoPlex::RATFACJUMP,true); mysoplex.setIntParam(SoPlex::SOLVEMODE,2); mysoplex.setIntParam(SoPlex::CHECKMODE,2); m...
#include "utils/others.hpp" #include <cassert> #include <algorithm> #include <cstdint> #include <cstdio> #include <string> #include "huajiao_config.hpp" #include "huajiao.hpp" #include "utils/md5.hpp" #include "utils/rc4.hpp" #include "utils/gzip.hpp" #include <json11/json11.hpp> #include "utils/log.hpp" bool platform...
/* STK500.cpp Created: 08-12-2017 19:47:27 Author: JMR_2 */ #include "JTAG2.h" #include "JICE_io.h" #include "NVM.h" #include "NVM_v2.h" #include "crc16.h" #include "UPDI_hi_lvl.h" #include "dbg.h" // *** Writeable Parameter Values *** uint8_t JTAG2::PARAM_EMU_MODE_VAL; JTAG2::baud_rate JTAG2::PARAM_BAUD_R...
/* $Id: attack_prediction_display.cpp 49294 2011-04-21 00:05:36Z espreon $ */ /* Copyright (C) 2006 - 2011 by <NAME> <<EMAIL>> wesnoth playturn Copyright (C) 2003 by <NAME> <<EMAIL>> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it ...
/* * Copyright (c) 2018-2019, <NAME> * All rights reservd. * * 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 co...
void print_vector(const LaVectorComplex& vector, const string name){ cout << name << ":" << endl << vector << endl; }//working void generate_cofactor_matrix(const int matrix_size, const LaGenMatComplex& matrix, const int element, LaGenMatComplex& cofactorMatrix){ for(int r = 1; r < matrix_size; r++){ // skip fi...
/* * (c) Copyright 2019 Xilinx, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
// Copyright (c) 2007-2009 Google Inc. // Copyright (c) 2006-2007 Jaiku Ltd. // Copyright (c) 2002-2006 <NAME> and <NAME> // // This software is licensed at your choice under either 1 or 2 below. // // 1. MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software ...
// -*- C++ -*- /*! * @file KinectFace.cpp * @brief Image on Kinect * @date $Date$ * * @author 名城大学 * ロボットシステムデザイン研究室 * * $Id$ */ #define ERROR_CHECK( ret ) \ if ( (ret) != S_OK){\ std::stringstream ss;\ ss << "failed " #ret " " << std::hex << ret << std::endl;\ throw std::runtime_error(s...
// // Test.cpp // // Created by <NAME> on 2 Nov 2017. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "Test.h" #include <assert.h> #include <QtCore/QTextStream> #inclu...
#include<iostream.h> #include<stdio.h> #include<graphics.h> #include<process.h> #include<string.h> #include<fstream.h> #include<conio.h> void menu(int j); int gd=DETECT,gm; class element { int period,group; float atmmass,mp,bp; char atmno[4],nm[20],cat[10],ec[50],symbol[5],oxistate[10]; public: void dp(int a) { ...
/* // Copyright (C) 2018-2020 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 l...
/* fwdmodel_asl_grase.cc - Implements the dual echo GRASE resting state ASL model <NAME>, FMRIB Image Analysis Group Copyright (C) 2007 University of Oxford */ /* CCOPYRIGHT */ #include "fwdmodel_asl_grase.h" #include "fabber_core/inference.h" #include "fabber_core/tools.h" #include "miscmaths/miscprob.h" #...
// this software is distributed under the MIT License (http://www.opensource.org/licenses/MIT): // // Copyright 2018-2020, CWI, <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 S...
/* * Copyright (C) 2017 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...
/**TODO: Add copyright*/ #include <SmartPeak/ml/PopulationTrainerDefaultDevice.h> #include <SmartPeak/ml/ModelTrainerDefaultDevice.h> #include <SmartPeak/ml/ModelReplicator.h> #include <SmartPeak/ml/ModelBuilder.h> // Input only #include <SmartPeak/ml/ModelBuilderExperimental.h> #include <SmartPeak/ml/Model.h> #inclu...
#include <string.h> #include "kdtree.h" #include "u_file.h" #include "u_algorithm.h" #include "u_misc.h" #include "u_zlib.h" #include "u_log.h" ///! triangle m::vec3 kdTriangle::getNormal(const kdTree *const tree) { if (m_plane.n.isNull()) generatePlane(tree); return m_plane.n; } void kdTriangle::ge...
// // Created by bkg2k on 07/12/2019. // #include <EmulationStation.h> #include <utils/Strings.h> #include <utils/os/system/Thread.h> #include "ScreenScraperApis.h" #include <utils/Log.h> std::string ScreenScraperApis::BuildUrlCommon(ScreenScraperApis::Api api) { // Url std::string result("https://www.screenscrap...
#include "testApp.h" static const ofColor cyanPrint = ofColor::fromHex(0x00abec); static const ofColor magentaPrint = ofColor::fromHex(0xec008c); static const ofColor yellowPrint = ofColor::fromHex(0xffee00); // NO texture coords or normals // use ofGetIcoSphere(radius, 0) // 0 iterations will return Icosahedron // ...
/** * -==== usermaps.cpp * * MART Multi-Language LLVM Mutation Framework * * This file is distributed under the University of Illinois Open Source * License. See LICENSE.TXT for details. * * \brief Define the class UserMaps which is used to map operation name (as * string) with the correspon...
// Copyright 2014 BitPay Inc. // Copyright (c) 2020-2021 The Bitcoin developers // Copyright (c) 2021 <NAME> <<EMAIL>> // Distributed under the MIT software license, see the accompanying // file COPYING or https://opensource.org/licenses/mit-license.php. #include "univalue.h" #include "univalue_internal.h" #include <...
/* 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 ...
#include <map> #include <string> using namespace std; extern map<string,int> name2id; extern map<int,string> id2name; void id_init() { name2id["decl"]= 0; id2name[0]= "decl"; name2id["declspecs_sc_nots_sa_noea"]= 1; id2name[1]= "declspecs_sc_nots_sa_noea"; name2id["declspecs_sc_ts_nosa_noea"]= 2; id2name[2]= "decl...
// The contents of this file are licensed under the MIT license. // See LICENSE.txt for more information. /* This program takes an XML metadata file produced by bearface or imglab and outputs a set of face chips for each listed image. The steps are: - align each face based on the landmarks - crop the face...
#include <shared/scheduler.h> #include <simpleServer/abstractService.h> #include <shared/stdLogFile.h> #include <algorithm> #include <iostream> #include "../server/src/simpleServer/abstractStream.h" #include "../server/src/simpleServer/address.h" #include "../server/src/simpleServer/http_filemapper.h" #include "../ser...
/* * Copyright (c) Intel Corporation 2001. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fpdfapi/edit/cpdf_pagecontentgenerator.h" #include <map> #incl...
// Chemfiles, a modern library for chemistry file reading and writing // Copyright (C) <NAME> and contributors -- BSD license #include <cstdint> #include <cassert> #include <array> #include <string> #include <vector> #include <memory> #include <exception> #include <mmtf/errors.hpp> #include <mmtf/structure_data.hpp> ...
#include <gdal.h> #include <gdal_version.h> #include <gdal_alg.h> #include <gdal_priv.h> // GDALDriver #include <ogr_api.h> #include <ogr_geometry.h> #include <ogr_srs_api.h> #include <ogr_spatialref.h> #include <cpl_conv.h> #include <cpl_string.h> #include <stdlib.h> // atoi #include <string.h> #include <Rcpp.h> #i...
// // Copyright 2015 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Texture upload format tests: // Test all texture unpack/upload formats for sampling correctness. // #include "common/mathutil.h" #include ...
#include "burnint.h" #include "burn_sound.h" #include "upd7759.h" #define FRAC_BITS 20 #define FRAC_ONE (1 << FRAC_BITS) #define FRAC_MASK (FRAC_ONE - 1) static INT32 SlaveMode; /* chip states */ enum { STATE_IDLE, STATE_DROP_DRQ, STATE_START, STATE_FIRST_REQ, STATE_LAST_SAMPLE, STATE_DUMMY1, STATE_ADDR...
/* Copyright (c) <2020> <doug gray> 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, distrib...
/*************************************************************************** Sega G-80 Raster game sound code Across these games, there's a mixture of discrete sound circuitry, speech boards, ADPCM samples, and a TMS3617 music chip. 08-JAN-1999 - MAB: - added NEC 7751 support to Monster Bash 05-DEC-1998 ...
// Implemented features: // [X] User texture binding. Cast 'GLuint' OpenGL texture identifier as void*/ImTextureID. Read the FAQ about ImTextureID in imgui.cpp. #include <stdio.h> #include <stdlib.h> #include <vitaGL.h> #include <math.h> #include "imgui.h" #include "imgui_impl_vitagl.h" #include "imgui_vita_touch.h" ...
#include "physics.h" /** * Get the current transformation (position / rotation) of * an object from the physics simulation. Bullet includes * a special 'getOpenGLMatrix' method on its 'btTransform' * class, so it's easy to get a pointer to 16 scalar values * configured as a 4x4 matrix. */ void basic_motion_state...
/* nc_apps.h - Header for the NymphCast Apps module header. Revision 0 Features: - Notes: - 2021/05/30, <NAME> */ #include "nc_apps.h" #include <Poco/URI.h> #include <Poco/Net/HTTPClientSession.h> #include <Poco/Net/HTTPSClientSession.h> #include <Poco/Net/HTTPRequest.h> #include <Poco/Net/HT...
#include "ContentManager.h" #include "Debug.h" #include "Fade_Screen.h" #include "FileMan.h" #include "GameInstance.h" #include "HImage.h" #include "Input.h" #include "Local.h" #include "Logger.h" #include "RenderWorld.h" #include "Render_Dirty.h" #include "Timer.h" #include "Timer_Control.h" #include "Types.h" #includ...
/* * Copyright (C) 2015 The Scorpion Programming Language * * 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 ...
/* Copyright ©2013 The Regents of the University of California (Regents). All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement, is hereby granted, provided tha...
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com /** * File: PnlAction.cpp * Author: kan * * Created on 2015.11.11 * @lastupdate 2018.05.18 */ #include <map> #include <list> #include <v...
/////////////////////////////////////////////////////////////////////////////// // SOFTWARE COPYRIGHT NOTICE AGREEMENT // // This software and its documentation are copyright (2013) by the // // Broad Institute. All rights are reserved. This software is supplied // ...
#include <iostream> //#include <sstream> #include <process/defer.hpp> #include <process/dispatch.hpp> #include <process/future.hpp> #include <process/http.hpp> //#include <mesos/state/log.hpp> // #include <stout/check.hpp> // #include <stout/duration.hpp> // #include <stout/exit.hpp> // #include <stout/flags.hpp> //...
/* File: drvSIS3801.cpp * Author: <NAME>, University of Chicago * Date: 22-Apr-2011 * * Purpose: * This module provides the driver support for the MCA asyn device support layer * for the SIS3801 and SIS3801 multichannel scalers. This is the SIS3920 class. * * Acknowledgements: * This driver module is ...
#include <cstring> #include <errno.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include "util.h" #include "gnuatomic.h" #include "bitshelper.h" #include "logger.h" #include "sys.h" #include "metrics.h" #include "luactx.h" #include "filereader.h" #define NL '\n' #define MAX_LINE_LE...
#include "CondFormats/RunInfo/interface/LHCInfo.h" #include "CondFormats/Common/interface/TimeConversions.h" #include <algorithm> #include <iterator> #include <vector> #include <stdexcept> //helper function: returns the positions of the bits in the bitset that are set (i.e., have a value of 1). static std::vector<unsi...
// Copyright(c) Microsoft Corporation.All rights reserved. // Licensed under the MIT license. // // A C++ implementation for mlperf inference benchmarks using onnxruntime // #include <chrono> #include <exception> #include <fstream> #include <functional> #include <future> #include <iostream> #include <map> #include <m...
/* Copyright (C) 2006 Imperial College London and others. Please see the AUTHORS file in the main source directory for a full list of copyright holders. Prof. <NAME> Applied Modelling and Computation Group Department of Earth Science and Engineering Imperial College London <EMAIL> ...
int J/**/ ,wUVT , XZYu ,w1 , oj5,zU, n6, A//VI4F ,gB , KD , qZ , MTJ , WiAF, wQgd, A7 ,lRf /*XY*/ , S6P ,qsZ , EnoH,ZI ,cn ,gRfvrkq/**/ ,cU, N, N33,NR , LWg ,IpO0 ,fwj,/*Nnq*/ tlelN ,VnQu ,SuRO,//G Y76M ,FK, LLY4 , NM , ril , Fq , u , xiaX; void /*0a*/ f_f0/*t*/ (){ {for (int i=1 ; i< 1;+...
#include "Pokitto.h" #include <File> #include "gfx.h" #include "physics.h" using PC = Pokitto::Core; using PD = Pokitto::Display; using PB = Pokitto::Buttons; static const uint8_t BTN_MASK_UP = 1 << UPBIT; static const uint8_t BTN_MASK_DOWN = 1 << DOWNBIT; static const uint8_t BTN_MASK_LEFT = 1 << LEFTBIT; static con...
// PointSystem2d.cpp // // Copyright 2011 <NAME> <<EMAIL>> // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // ...
/* Author: <NAME> Ph.D. Candidate at the University of Michigan - Ann Arbor*/ #include <memory> #include <omp.h> #include <iostream> #include <string> #include <thread> #include <unistd.h> #include <grpc++/grpc++.h> #include "lookup_service/service/helper_files/client_helper.h" #include "mid_tier_service/service/...
/* --------------------------------------------------------------------------- * * Autonomous Navigation and Perception Lab (ANPL), * Technion, Israel Institute of Technology, * Faculty of Aerospace Engineering, * Haifa, Israel, 32000 * All Rights Reserved * * See LICENSE for the license information * * -----...
/* _______________________________________________________________________ DAKOTA: Design Analysis Kit for Optimization and Terascale Applications Copyright 2014 Sandia Corporation. This software is distributed under the GNU Lesser General Public License. For more information, see the README file in t...
/* ************************************************************************ * Copyright 2020-2021 Advanced Micro Devices, Inc. * ************************************************************************ */ #pragma once #include "clientcommon.hpp" template <bool FORTRAN, typename T, typename U> void gesv_checkBadArg...
#include "pch.h" #include "RSARInstrSet.h" static float GetFallingRate(uint8_t DecayTime) { if (DecayTime == 0x7F) return 65535.0f; else if (DecayTime == 0x7E) return 120 / 5.0f; else if (DecayTime < 0x32) return ((DecayTime << 1) + 1) / 128.0f / 5.0f; else return ((60.0f) / (126 - DecayTime)) ...
#include "mainwindow.h" #include "qmath.h" #include <QPainter> #include <QKeyEvent> #include "consts.h" MainWindow::MainWindow(bool isLeftEye, QWidget *parent) : QWidget(parent), m_isLeftEye(isLeftEye), m_publishPixmap(false), m_c(QPointF(160,120)), m_R(125.0), m_relR8(0.6), m_alpha(0.0), m_...
// // Created by <NAME> on 3/23/17. // #include "enums.h" std::map<std::string, BootstrapTrait> BootstrapTraitString = boost::assign::map_list_of ("Discount",DiscountString) ("ZeroRate",ZeroRateString) ("FwdRate",FwdRateString) ("InterpolatedFwd",InterpolatedFwdString) ("Interp...
#include "ofApp.h" void ofApp::setup(){ ofBackground(0); serial.listDevices(); vector <ofSerialDeviceInfo> deviceList = serial.getDeviceList(); int baud = 115200; #ifdef TARGET_RASPBERRY_PI serial.setup(0, baud); //open the first device #else serial.setup("/dev/tty.usbmodem186853...
#include <xx_three/xx_three.h> #include <gfx-pbr/Api.h> #include <stl/vector.hpp> using namespace two; // @author meatbags / <EMAIL>, github/meatbags // RGB Halftone shader for three.js. enum class HalftoneShape { None, Dot, Ellipse, Line, Square }; enum class HalftoneBlend { None, Linear, Multiply, Add, Lighter, D...
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
#include <iostream> #include <cstdlib> #include <windows.h> #include <string> #include <conio.h> using namespace std; int t=0; int co=0; string newblanks[20]; string explanations [20]; double newdif[20]; string newwords[20]; int newlength[20]; int z=0; int c=0; int r=0; int C=0; // defult words string ready[20] = {"umb...
#include "world.h" #include <stdlib.h> #include <algorithm> #include <time.h> #include <fstream> #include <iostream> #include <queue> #include <cstdio> #include <QFileInfo> using namespace std; const double PI = 3.1415926; World::World(int nLeftParticles, int nRightParticles, double rParticle, double vInit, double ...
/* OpenSceneGraph example, osgspheresegment. * * 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, ...
/* * slowrx - an SSTV decoder * * * * * * * * * * * * * * * * Copyright (c) 2007-2013, <NAME> (OH2EIQ [at] sral.fi) */ #include "sstv.h" void sstv_video_once(sstv_chan_t *e) { e->image = (image_t *) malloc(sizeof(image_t)); assert(e->image != NULL); } void sstv_video_init(sstv_chan_t *e, SSTV_REAL rate...
/* ############################################################################### # # # WS2812-RPi # # ========== ...
//===--- DeadFunctionElimination.cpp - Eliminate dead functions -----------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include <iostream> #include <fstream> #include <cmath> #include <chdl/chdl.h> #include <chdl/cassign.h> #include <chdl/ag.h> #include <chdl/cassign.h> #include "testify-module.h" TESTIFY_VERSION("2014-11-12"); namespace chdl { // At some point, we need to introduce signed integer types and maybe even // some 1...
/******************************************************************************* / / File: SoundConsumer.cpp / / Description: Record sound from some sound-producing Node. / / Copyright 1998-1999, Be Incorporated, All Rights Reserved / *******************************************************************************/ ...
//===- TapirLoopInfo.cpp - Utility functions for Tapir loops --------------===// // // 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 // //===---------------------------...
//Student name: <NAME> //Let's get to work //Project name: Peak Health Spa //date started: sometime in december //date ended: not yet #include <iostream> #include <string> #include <fstream> #include <string> #include <stdio.h> #include <conio.h> // declaring functions void password(); void fileread(); void filewrit...
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ #include <sct_assert.h> #include ...
/************************************************************** * * 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...
#include "stereo_tracker_bfm.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> //#define TRACK_LEFT 90 // 90 for kitti, 30 - 60 for bb2 //#define TRACK_RIGHT 90 //#define TRACK_UP 90 //#define TRACK_DOWN 90 #define EPIMATCH_LEFT ...
/************************************************************************************ * Copyright (C) 2007 by the members of PG 510, University of Dortmund: * * <EMAIL> * * <NAME>, <NAME>, <NAME>, <NAME>, * * <NAME>, <NAME>, <NAME>, <NAME>...
/* * File: main.cpp * Author: mashaya1 * * Created on October 13, 2011, 10:52 PM */ #include <cstdlib> #include <math.h> #include <iostream> #include <fstream> #include <stdio.h> #include <sstream> #include <votca/csg/nblistgrid.h> #include "csg_reupdate.h" #include <votca/tools/linalg.h> /* * */ int main(int...
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2013 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; e...
#include <string> #include <arbor/arbexcept.hpp> #include <arbor/fvm_types.hpp> #include <arbor/mechanism.hpp> #include <arbor/mechcat.hpp> #include <arbor/mechinfo.hpp> #include "common.hpp" using namespace std::string_literals; using namespace arb; // Set up a small system of mechanisms and backends for testing, ...
/* * Copyright (c) 2017-9, Ubiquity Robotics * 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...
#include "../environment.h" #include "image_moments.h" ImageMomentsFeature::ImageMomentsFeature() : FeatureMethod("ImageMomentsFeature") { provide_features({ SPAT_MOMENT_00, SPAT_MOMENT_01, SPAT_MOMENT_02, SPAT_MOMENT_03, SPAT_MOMENT_10, SPAT_MOMENT_11, ...
/* * Provide registration of all codecs, parsers and bitstream filters for libavcodec. * Copyright (c) 2002 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software...
#include <flop/Flop.h> #include <FlopContext.hpp> #include <Image.hpp> #include <VkGlobals.hpp> #include "Preview.hpp" #include "UI.hpp" #define GLFW_INCLUDE_VULKAN #include <GLFW/glfw3.h> #undef APIENTRY #include <CLI/CLI.hpp> #include <backends/imgui_impl_glfw.h> #include <backends/imgui_impl_vulkan.h> #include <c...
#include "JsonImportPrivatePCH.h" #include "SkeletalMeshBuilder.h" #include "MeshBuilder.h" #include "MeshBuilderUtils.h" #include "UnrealUtilities.h" #include "Runtime/Engine/Public/Rendering/SkeletalMeshModel.h" #include "Developer/MeshUtilities/Public/MeshUtilities.h" #include "JsonImporter.h" #include "JsonObjects/...
#include <string> #include <iostream> #include <fstream> #include <thread> #include <csignal> #include <arpa/inet.h> #include <boost/program_options.hpp> #include <dmtr/libos.h> #include <dmtr/libos/persephone.hh> #include "PspWorker.hh" #include "common.hh" #include "logging.h" template <typename T> static void a...
// // AvatarMixerSlave.cpp // assignment-client/src/avatar // // Created by <NAME> on 2/14/2017. // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "AvatarMixerSlave.h" ...
//////////////////////////////////////////////////////////////////////////////// // Crude 2D Lattice Boltzmann Demo program // C version // <NAME> - Oct 2008 // // f6 f2 f5 // \ | / // \ | / // \|/ // f3---|--- f1 // /|\ // / | \ and f0 for the rest (zero) v...
/******************************************************************************\ | OpenGL 4 Example Code. | | Accompanies written series "Anton's OpenGL 4 Tutorials" | | Email: anton at antongerdelan dot net ...
/* Copyright (c) <2003-2019> <<NAME>, 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, *...
// SignerInfo.cpp: implementation of the CSignerInfo class. // ////////////////////////////////////////////////////////////////////// #include "SignerInfo.h" #include "ASN1OptionalField.h" #include "ASN1Exception.h" #include "RSAPublicKey.h" #include "../RSA/rsaeuro.h" #include "../RSA/rsa.h" #include "CertS...
#define TINYOBJLOADER_IMPLEMENTATION // define this in only *one* .cc #include "tiny_obj_loader.h" #include "pbrtParser/Scene.h" #include "scene.hpp" #include "progressview.hpp" #include "utils.h" #include "bxdf_types.h" #include <set> Scene::Scene() { // Init default material Material def; ...
#include "detectors.h" using namespace cv; /* The class SphereDetector is the visual front end that provides the pixel locations of spheres in the given frame. This can be replaced by any other class so long as it generates information for the structureFromMotion object in a compatible format. */ // perhaps this cla...
#include "ICBM.hpp" #include <raylib.h> //------------------------------------------------------------------------------------------ // Game Module Functions Definition //------------------------------------------------------------------------------------------ // Initialize game variables (start new game) void InitG...
// Copyright 2020 Makani Technologies 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
// iop.cpp -- Definition of CIOP // (c) Copyright Schlumberger Technology Corp., unpublished work, created // 2000. This computer program includes Confidential, Proprietary // Information and is a Trade Secret of Schlumberger Technology Corp. All // use, disclosure, and/or reproduction is prohibited unless author...
/***** BEGIN LICENSE BLOCK ***** BSD License Copyright (c) 2005-2015, NIF File Format Library and Tools All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the...
#include <iostream> #include <fstream> #include <cstring> #include <string> #include <vector> #include <map> #include <sstream> #include "../../WICWIU_src/Tensor.hpp" #include "../../WICWIU_src/DataLoader.hpp" #include "../../WICWIU_src/Dataset.hpp" using namespace std; template<typename DTYPE> class T...
/* * Adplug - Replayer for many OPL2/OPL3 audio file formats. * Copyright (C) 1999 - 2007 <NAME>, <<EMAIL>>, et al. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * vers...
#include "Mesh.h" #include "tiny_obj_loader.h" #include <unordered_map> #include "Material.h" #include <fstream> Vec3 palette[256]; Mesh::Mesh(const std::string& filename) { auto pal = std::ifstream("textures/colormap.pcx", std::ios::binary); pal.seekg(-768, pal.end); for (int i = 0; i < 256; i++) { ...