text
stringlengths
5.71k
33.7k
////////////////////////////////////////////////////////////////////////////////////////////////// // // file: SkyBox_shader.cxx // // Author <NAME> (Neill3d) // // GitHub page - https://github.com/Neill3d/MoPlugs // Licensed under BSD 3-Clause - https://github.com/Neill3d/MoPlugs/blob/master/LICENSE // //////////////...
#include <getopt.h> #include <fstream> #include <iomanip> #include <iostream> #include <streambuf> #include <string> #include <cstring> #include <random> #include "microcanonical_sampler/main.h" #include "microcanonical_sampler/microcanonical_sampler.h" #include "microcanonical_sampler/sampler_particletype_list.h" #i...
/*************************************************************** * * Copyright (C) 1990-2015, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
/* -------------------------------------------------------------------------- * * OpenSim: ForwardTool.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
#include "ShapeState.h" #include "AssesmentState.h" #include <iostream> #include <algorithm> // std::random_shuffle #include <vector> // std::vector #include <ctime> // std::time #include <cstdlib> // std::rand, std::srand #include <QtGui> #include <QtCore> #include <random> #include <QFile> #inc...
#include <uWS/uWS.h> #include <fstream> #include <iostream> #include <string> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" #include "json.hpp" #include "spline.h" // for convenience using nlohmann::json; using std::string; using std::vector; #def...
/* * Program to calculate the global and local efficiency of * RPC chambers using a software autotrigger and * a linear reconstruction of tracks. * * Author: <NAME> - Bari University */ #include "RPCRecHitReader.h" #include <memory> #include <fstream> #include <iostream> #include <string> #include <cmath...
#include <algorithm> #include <filesystem> #include <fstream> #include <string> #include <vector> #include <logger.hpp> #include <lyra/arguments.hpp> #include <lyra/lyra.hpp> #include <nlohmann/json.hpp> #include <vili/node.hpp> #include <vili/writer.hpp> struct TiledIntegrationArgs { std::string input_file; ...
// // // #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <vfw.h> #include "AudioSourceAC3.h" #define MAX_SEARCH_SIZE (512*1024) // byte swapping routine #define SWAP_ENDIAN32(x) ((((uint_8*)&x)[0] << 24) | \ (((uint_8*)&x)[1] << 16) | \ (((uint_8*)&x)[2] << 8) | \ ((uint_8*)&x)[3]) ...
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * 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....
//--------------------------------------------------------------------------- // www.GPGPU.org // Sample Code //--------------------------------------------------------------------------- // Copyright (c) 2004 <NAME> and GPGPU.org // Copyright (c) 2004 3...
/* * Copyright (c)2013-2015 <NAME>, <NAME>, <NAME> * Britton Chance Center for Biomedical Photonics, Huazhong University of Science and Technology * All rights reserved. */ #include "treewriter.h" #include "../../ngtypes/tree.h" #include <stdio.h> #include <stdlib.h> #include <QString> #ifdef _WIN32 #...
#pragma warning( disable: 4996 ) /* *************** License:************************** Oct. 3, 2008 Right to use this code in any way you want without warrenty, support or any guarentee of it working. BOOK: It would be nice if you cited it: Learning OpenCV: Computer Vision with the OpenCV Library by <...
/* * Copyright © 2012, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed * under the Apache License, Version 2.0 (the "License"); * you may not use t...
#include "sdl_example.h" // http://lazyfoo.net/tutorials/SDL/39_tiling/index.php namespace SDL39ExampleNamespace { //Screen dimension constants const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; //The dimensions of the level const int LEVEL_WIDTH = 1280; const int LEVEL...
#include "engine/engine.h" #include "assets/explorer.h" #include "assets/dialog.h" #include "assets/importer.h" #include "assets/info.h" #include "editor.h" #include "core/io/logger.h" #include <thread> #include "engine/vfs.h" #include "graphics/assets/assets.h" #include "graphics/assets/model.h" #include "graphics/ass...
// // nGame.cpp // evoNik // // Created by <NAME> on 4/13/12. // Copyright (c) 2012 California Institute of Technology. All rights reserved. // #include "nGame.hpp" bool nGame::isValid(){ // if a valid playGround exists return m_playGround->isValid(); } void nGame::updatePlayGround(nMaze& maze){ m_p...
#include "runner.hh" #include "lib/types.hh" #include "lib/bit.hh" #include "isr_base.hh" #include "isr_extend.hh" #include "hal/adc.hh" #include "hal/core.hh" #include "hal/dma.hh" #include "hal/exti.hh" #include "hal/gpio.hh" #include "hal/pwr.hh" #include "hal/rcc.hh" #include "hal/rtc.hh" #include "hal/tim.hh" #...
/* This file forms part of hpGEM. This package has been developed over a number of years by various people at the University of Twente and a full list of contributors can be found at http://hpgem.org/about-the-code/team This code is distributed using BSD 3-Clause License. A copy of which can found below. Copyr...
/* * Use of this source code is governed by the MIT License (MIT). * See the LICENSE file for details. * * Copyright (c) 2016 <NAME> <<EMAIL>> */ /** * \file pfc.cpp * \brief The source file which implements the methods of the PFC class * \author <NAME> * \copyright The MIT License (MIT) */ #include "includ...
// Copyright 2020 <NAME>. All rights reserved. // Use of this source code is governed by the MIT license that can be found in // the LICENSE file. #include "Special.hpp" #include <smk/Input.hpp> #include <smk/Shape.hpp> #include <smk/Sound.hpp> #include <smk/Text.hpp> #include "game/Lang.hpp" #include "game/Level.hp...
#include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <iostream> #include <string> #include <algorithm> #include <vector> #include <map> using namespace cv; using namespace std; const float VALID_RATIO_THRESHOLD = .5f; const float WINDOW_S...
//===- SyntheticSections.cpp ---------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------...
#include <Windows.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <gl/glut.h> #include <gl/glaux.h> #include <gl/glu.h> #define M_PI 3.1415 GLuint wallpaper, woodpanel, plaster, chess, wood; GLuint RoomList = 1, MirrorRoomList = 2; float px = 5, py = 0, pz = 2.5; float cx = 0, cy...
#include "utils.h" #include "ui.h" #include "camera.h" #include "world.h" #include "character.h" #include "particle.h" #include "synth.h" #include <cmath> #include <algorithm> #include <vector> #include <string> World* World::instance = NULL; std::vector<Vector2> mortifagos; std::vector<Vector2> survivors; void ren...
#include "net/websockets/WsSession.hpp" // IWYU pragma: associated #include "algo/DispatchQueue.hpp" #include "algo/NetworkOperation.hpp" #include "log/Logger.hpp" #include "net/NetworkManager.hpp" #include "net/websockets/WsServer.hpp" #include <algorithm> #include <boost/asio.hpp> #include <boost/assert.hpp> #include...
// Copyright (c) 2019-2020 Simons Foundation // // 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.txt // // Unless required by applicable l...
// Copyright 2021 SAMURAI TEAM. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include <math.h> #include <vector> #include <fstream> #include <cxxopts.hpp> #include <spdlog/spdlog.h> #include <xtensor/xio.hpp> #include <samurai/samurai.h...
#include <iostream> #include <windows.h> #include <bits/stdc++.h> #include <GLFW/glfw3.h> #include <neptune_core.h> #include <neptune_math.h> #include <layer_manager.h> extern "C" { #include <atlas.h> } #define TOOL_COUNT 2 #define PEN_TOOL 0 #define SELECT_TOOL 1 using namespace std; Sh...
#include "common.h" #include <iomanip> #include <unordered_map> #include <vector> #include <cmath> using namespace std; // Creates the necessary directories void make_analyze_dir() { make_dir_rooted(STAT_DIR); make_dir_rooted(KCORE_DIR); make_dir_rooted(DEGREE_DIR); make_dir_rooted(CURVE_...
#include "rand.h" #include <stdio.h> #include <stdlib.h> // // // // // // // // // // // // // // // // // // // // // // // // // // // // Portable Random Number Kernel // // This random number kernel is designed to provide a v...
#include <iostream> #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #define GLM_DEPTH_ZERO_TO_ONE #include <glm/glm.hpp> #include <glm/gtc/constants.hpp> #include <glm/gtc/matrix_transform.hpp> #include "Daxa.hpp" class GimbalLockedCameraController { public: void processInput(daxa::Window& window, f32 dt) ...
///////////////////////////////////////////////////////////////////////// /// /// /// /// /// This Academic Free License applies to any software and associated /// /// documentation (the "...
// // formatted_text_editor.cpp - formatted text editor implementation // // lecui user interface library, part of the liblec library // Copyright (c) 2019 <NAME> (alecmus at live dot com) // // Released under the MIT license. For full details see the // file LICENSE.txt // #include "formatted_text_editor.h" #include ...
#include "include/FS.h" #ifndef RELEASE using std::cerr; using std::endl; #endif const auto standerizeLBA = [](const LBA_t& x) -> LBA_t { return x & ((1ULL << ACTUAL_LBA_BITS) - 1); }; FS::FS() : writeStackSize(0) { } void FS::fsInfo() const { printf("FileSystem Size: %ullBytes\n", HAL.deviceSize()); } void...
#include <vector> #include <functional> #include <string> #include <stdexcept> #include <vector> #include <unordered_map> #include <cstdint> #include <sstream> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include "midgard/logging.h" #include "midgard/constants.h" #include "b...
// csafmt_comments.cpp -*-C++-*- #include <clang/Basic/Diagnostic.h> #include <clang/Basic/SourceLocation.h> #include <clang/Basic/SourceManager.h> #include <csabase_analyser.h> #include <csabase_config.h> #include <csabase_diagnostic_builder.h> #include <csabase_location...
// Copyright 2018 The Chromium OS 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 "vm_tools/notificationd/notification_shell_client.h" #include <sys/file.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <memory> #...
/*** xrkmonitor license *** Copyright (c) 2019 by rockdeng 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 appl...
#include "tf1dtexturecanvas.h" #include "tf1dmappingcanvas.h" #include <memory> #include <QDebug> #define OPENGL_ERROR_MSG \ { \ GLenum error; \ while ((error = glGetError()) != GL_NO_ERROR) \ { \ std::cout<<error; \ } \ } \ namespace { const c...
/** * Branch and bound algorithm to find the minimum of continuous binary functions * using interval arithmetic. * * OpenMP/MPI version * * Authors: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * v. 4.1, 2016-04-08 */ #define TM_EXTRA_DEPTH 1 #define TM_MAX_DOUBLE_SIZE 16 #defi...
#include "stdafx.h" #include "OpcClient.h" #include "ClientCommon.h" using namespace std; using namespace SoftingOPCToolboxClient; OpcClient* instance = NULL; OpcClient* getOpcClient(void) { return instance; } // end getOpcClient void createOpcClient(void) { if (instance == NULL) { instance = new OpcClient(); ...
/* * interface.cpp * * Created on: 5. 5. 2020 * Author: ondra */ #include <sstream> #include "interface.h" #include <openssl/evp.h> #include <openssl/hmac.h> #include <cmath> #include <imtjson/object.h> #include <simpleServer/http_client.h> #include "../isotime.h" #include <imtjson/operations.h> #include ...
/************************************************************************* * JLP_wxGseg_Canvas Class (for curves) * Routines to plot curves * * JLP * Version 09/02/2016 **************************************************************************/ #include "jlp_splot_def.h" // BITMAP_WIDTH, etc #include "jlp_cgdev.h" #in...
/** * \file QryBrlyRlyList.cpp * job handler for job QryBrlyRlyList (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 11 Jan 2021 */ // IP header --- ABOVE #ifdef BRLYCMBD #include <Brlycmbd.h> #else #include <Brlyd.h> #endif #include "QryBr...
#include "GLTFImporter.hpp" #include <Engine/Hymn.hpp> #include <Utility/Log.hpp> #include <Engine/Util/FileSystem.hpp> #include <Engine/Entity/World.hpp> #include <Engine/Entity/Entity.hpp> #include <Engine/Component/Mesh.hpp> #include <Engine/Component/Material.hpp> #include <Engine/Manager/Managers.hpp> #include <E...
/* * Parameters.cpp * * Contains all parameter values. * * These will eventually be loaded in from an external file, so they can be * modified automatically, and without requiring recompilation. * * Created on: 11 Jan 2010 * Author: db434 */ #include "Parameters.h" #include "Arguments.h" #include "Logg...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for more information #include <iostream> #include <iomanip> #include <fstream> #include <Mferror.h> #include <mfidl.h> #include <mfreadwrite.h> #include <mfapi.h> #include <win...
/******************************************************************************* * Copyright (c) 2007, 2008, CerroKai Development * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribu...
#include "util/global.hpp" #include "convergence/davidson.hpp" #include "util/iterative.hpp" #include "operator/2eoperator.hpp" #include "operator/st2eoperator.hpp" #include "operator/excitationoperator.hpp" #include "operator/denominator.hpp" using namespace aquarius::op; using namespace aquarius::input; using names...
#include <cmath> #include <stdio.h> #include <cstring> #include <vector> #include <fstream> #include "vegas.h" #define MAX(a,b) (a > b ? a : b) #define MIN(a,b) (a > b ? b : a) void vegas::init() { if (s == 0) s = new state(); if (r == 0) r = new MT19937<double>(0, 1); s->xi = new double[(MAXBINS + 1)*dim]; me...
// GrownBiomeGenVisualiser.cpp // Implements the main app entrypoint #include "Globals.h" #include <iostream> #include <fstream> #include <random> #define PROT_INT_BUFFER_SIZE (130 * 130) #include "Generating/ProtIntGen.h" #include "fmt/printf.h" typedef int Color[3]; // Color is an array of 3 ints // Forw...
/*************************************************************************//** * @file * * @mainpage prog4 - Harp Heroine * * @section M001 Computer Science 1 * * @author <NAME> * * @date 12-4-2017 * * @par Professor: * <NAME> * * @par Course: * CSC-150-M001-10AM * * @par Location: * ...
#include <fstream> #include "redis_proxy.h" #include "strategy.h" #include "config.h" #include "loadconfig.h" #include <libmilk/var.h> #include <libmilk/yaml1.h> #include <libmilk/json.h> #include <libmilk/log.h> #include <libmilk/dict.h> #include <libmilk/stringutil.h> #include <libmilk/setproctitle.h> #include <libmi...
#include "Backend/CPUBackend.hpp" #include "Backend/PTXBackend.hpp" #include "Frontend/PikoAction.hpp" #include "pikoc.hpp" #include "PikocOptions.hpp" #include "PikocParams.hpp" #include "PikoSummary.hpp" #include <fstream> #include <iostream> #include <limits> #include <stdio.h> #include <unistd.h> #include <nvvm.h...
/* SISL - SINTEF Spline Library version 4.4. */ /* Definition and interrogation of NURBS curves and surface. */ /* Copyright (C) 1978-2005, SINTEF ICT, Applied Mathematics, Norway. */ /* This program is free software; you can redistribute it and/or */ /* modify i...
// Apparently utilities.h is needed first... #include "vendor/glog/src/utilities.h" #include "modules/io/io.h" #include "modules/io/stopwatch.h" #include "modules/io/track_mem.h" #include "base/base.h" #include "modules/io/log.h" #include "modules/io/make_unique.h" #include "modules/io/utils.h" #include <sys/mman.h>...
/* Copyright 2011 - 2015 Occam Robotics Inc - All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and th...
////Trigger Primitive Converter //// ////Takes in raw information from the TriggerPrimitive class(part of L1TMuon software package); ////and outputs vector of 'ConvertedHits' //// #include <cassert> #include <iostream> #include <fstream> #include "FWCore/ParameterSet/interface/FileInPath.h" #include "L1Trigger/L1TMu...
int D, vW55i/*UlvU*/, En1aG, ig , hTb , GR,h/*nyA*/ , w , CvU,QYiNF ,Ik,aQ2,pFB ,GMMkAx ,PL,/*T2o*/qZr, gw , vq, DT2r, uHR , wLu , tp3M, uWSy , QwvA, ggXA,i4XCc, Xsiq , //Mr Pj,ok , kR0Lj ,o2lkO , wP1 , oP, //EJO elp , hbD8 , GStuTre /**/, j, //9 pN , c6 ,iOc9T// ,z2sUG5H , SZ9U ;//y void f_f0()...
/******************************************************************************* Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of so...
/************************************************************************************************* * Copyright 2019 FieldComm Group, 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 ...
/****************************** Author: <NAME> Date: 2013 ******************************/ #include "skipcts.hpp" #include "fastmath.hpp" #include <boost/random.hpp> // adaptive KT estimator parameters static const bool UseDiscounting = true; static const count_t Gamma = 0.02f; stat...
#include <algorithm> #define protected public #define private public #include "ARWrapper/VideoSource.h" #undef protected #undef private #include "ARemController.h" #include "VideoSourceFactory.h" bool ARemController::startRunning(const char *vconf, const char *cparaName, const char *cparaBuff, ...
int Xu ,hw,c ,//y Ng4B ,C4zd , o , va , //7X OAw//x8f ,K0k ,/*W4A*/ i1t ,B//AX ,DgAl,QavM//6BO , G3x,J , xac , mM92 ,Xwv , hKpU , QR,//c ybnsv, FsTQL , OQ /**/, h7 , fi , m6XY ,/*t*/ y5B3;void f_f0/*p*/ () {/*4CN*/volatile int vLw ,A ,UVe ,Zn1IX , fwj //qFQH ,Ns9p ; ;y5B3= Ns9p +vLw + A + UVe ...
// // // MIT License // // Copyright (c) 2017 Stellacore Corporation. // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to ...
/****************************************************************************** * * GPL LICENSE SUMMARY * * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License...
/* Copyright (c) 2018 - present Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us...
#include <iostream> #include <vector> #include <iomanip> #include <math.h> #include </usr/local/include/eigen3/Eigen/Dense> #include </usr/local/include/eigen3/Eigen/Geometry> #include </usr/include/GL/glut.h> using namespace std; using namespace Eigen; static int x_coord = 30; static int y_coord = 30; static int z_c...
/* * unscramble.cpp - Read in an Amanzi Restart file, returns an unpermutated * restart file * * Usage: unscramble restartfile.hdf5 new_filename.hdf5 * * Created: <NAME> Thursday May 3, 2012 * Modified: * */ #include <string> #include <vector> #include <iostream> #include <sstream> #includ...
// This file is part of snark, a generic and flexible library for robotics research // Copyright (c) 2016 The University of Sydney // 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. Redistr...
/* File Prologue Name: <NAME> Project: SNMP Link Utilization Date: 2014-11-11 Description: This project will calculate link utilization from two SNMP Walks. A great deal of information about OIDs can be found here: http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en I declare that the following source code wa...
#include "Matrix4x4.h" #include "Quaternion.h" #include "MathFunctions.h" #include <algorithm> const Matrix4x4 Matrix4x4::Zero { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }; const Matrix4x4 Matrix4x4::One { 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0...
/* * XMail by <NAME> ( Intranet and Internet mail server ) * Copyright (C) 1999,..,2004 <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 ...
#include <iostream> // GLEW #define GLEW_STATIC #include <GL/glew.h> // GLFW #include <GLFW/glfw3.h> // Other Libs #include "SOIL2/SOIL2.h" #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> // Other includes #include "Shader.h" // Window dimensions const GLuint WIDTH =...
// This file is fully generated by running scannergen v1.6.0 #include "StrLiteralScanner.h" namespace { using namespace bux; // ASCII TABLE: // 0: \x00\x01\x02\x03\x04\x05\x06\a\b\t\n\v\f\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f // 20: !\"#$%&\'()*+,-./0123456789:;<=>? // 40: @ABC...
/* Rijndael Block Cipher - aes.c Written by <NAME> 21st April 1999 <EMAIL> Permission for free direct or derivative use is granted subject to compliance with any conditions that the originators of the algorithm place on its exploitation. */ //#include <stdio.h> //#include <stdlib.h> #include <str...
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
// Common code and functions used by all variants of fs123export7d_*.cpp #include "fs123p7exportd_common.hpp" #include "fs123/httpheaders.hpp" #include "fs123/acfd.hpp" #include <core123/exnest.hpp> #include <core123/syslog_number.hpp> #include <core123/sew.hpp> #include <core123/http_error_category.hpp> #include <core...
#include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <string> #include <iostream> #include <sstream> #include "player.h" #include "font.h" #include "display.h" #include "game.h" #include "misc.h" #include "items.h" #include "shop.h" // extern Player plyr; // extern sf::RenderWindow App; extern clothingIt...
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifdef HAVE_CONFIG_H #include <chromium-bsu-config.h> #endif #include "gettext.h" #include "Global.h" ...
/*****************************************************************************/ #include "config.h" #include "version.h" /*****************************************************************************/ ///////////////////////////////////////////////// /// @file config.cpp /// @brief Holds all of the functions for the Co...
/** * @file solver.cc * @brief Source file for class \ref solver */ #include "solver.h" #include "domain.h" #include <sstream> #include <string> #include <iomanip> #include <numeric> //accumulate /////////////////////////////////////////////////////////////////////////////// /** solver initialization function * ...
#define _USE_MATH_DEFINES #include <fstream> #include <iostream> #include <iomanip> // std::setw #include <omp.h> #include <cmath> #include <cstdio> #include <chrono> #include <string> #include <armadillo> #include <vector> #include "wignerSymbols.h" //#include "wigner/gaunt.hpp" using namespace std; using namespace...
/******************************************************************************* Tree Container Library: Generic container library to store data in tree-like structures. Copyright (c) 2006 <NAME> This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable fo...
#include <glad/glad.h> #include <GLFW/glfw3.h> #include "stb_image.h" #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <iostream> #include <fstream> #include <vector> #include <string> // Callback functions void framebufferSizeCallback(GLFWwindow *window, int w...
//@COPYRIGHT@// // // Copyright (c) 2011, <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, th...
/* Copyright 2022 <NAME> */ #include <unistd.h> #include <algorithm> #include <ctime> #include <experimental/filesystem> #include <filesystem> #include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include <vector> using namespace std; // used in the add_color function to...
// // lexer_stage.cpp // Parse // // Created by <NAME> on 21/08/2011. // // Copyright (c) 2011-2012 <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 restric...
// // lr_lalr_general.cpp // Parse // // Created by <NAME> on 02/05/2011. // // Copyright (c) 2011-2012 <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 res...
//------------------------------------------------- // // Class: DTTFFEDReader // // L1 DT Track Finder Raw-to-Digi // // // // Author : // <NAME> UAM Madrid // //-------------------------------------------------- #include "EventFilter/DTTFRawToDigi/interface/DTTFFEDReader.h" #include "DataFormats/Common/int...
/**************************************************************************** * * Copyright (c) 2020 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistri...
// CameraManager.cpp: implementation of the CCameraManager class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "igame_level.h" #include "igame_persistent.h" #include "Environment.h" #include "CameraBase.h" #include "CameraManager.h" #include "Effector.h" #incl...
#include <mpi.h> #include <omp.h> #include <cassert> #include <cmath> #include <cstdio> #include <fstream> #include <iostream> #include <memory> #include <vector> #include "chrono_distributed/collision/ChCollisionModelDistributed.h" #include "chrono_distributed/physics/ChSystemDistributed.h" #include "chrono_distrib...
/* *** sumpix.cpp *** ------------------------------------------------------------------------ Copyright 1998-2014 <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 vers...
#include "program.h" #include "stdlib.h" #include "interrupt.h" #include "asm_utils.h" #include "stdio.h" #include "thread.h" #include "os_modules.h" #include "tss.h" #include "os_constant.h" #include "process.h" const int PCB_SIZE = 4096; // PCB的大小,4KB。 char PCB_SET[PCB_SIZE * MAX_PROGRAM_AMOUNT]; /...
#include "render_optix.h" #include <algorithm> #include <array> #include <chrono> #include <cstring> #include <iostream> #include <numeric> #include <cuda.h> #include <cuda_gl_interop.h> #include <cuda_runtime_api.h> #include <optix.h> #include <optix_function_table_definition.h> #include <optix_stubs.h> #include "opti...
/* Copyright (c) 2018-2019, tevador <<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 conditions and the...
// 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/parser/cpdf_hint_tables.h" #include <limits> #include...
/* * Copyright (c) 2010-2017 OTClient <https://github.com/edubart/otclient> * * 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...