text
stringlengths
5.71k
33.7k
// File: vscpmulticast.cpp // // Receiving multicast frames (VSCP Works) // // This file is part of the VSCP (https://www.vscp.org) // // The MIT License (MIT) // // Copyright © 2000-2020 <NAME>, <NAME>is AB // <<EMAIL>> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this softw...
/* * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All Rights reserved * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this software, * associated documentation and/or data (collectivel...
#include <glog/logging.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "server/messages.h" #include "server/master.h" #include "server/worker.h" #include "tools/cycle_timer.h" #include <map> #include <string> #define TICK_PERIOD 2 #define PROJECT_IDEA_THRESHOLD 3600 #define OTHER_THRESHOLD 2400...
#include <unistd.h> #include <getopt.h> #include <fstream> #include <iostream> #include <unordered_set> #include <cassert> #include <algorithm> #include <sys/stat.h> #include "rgfa-split.hpp" #include "pafcoverage.hpp" using namespace std; void help(char** argv) { cerr << "usage: " << argv[0] << " [options]" << end...
#import "SimpleWiFiScanner.hpp" #include <WiFiClient.h> /* client_state enum WiFIClientState { unknown, wifi_off, none_available, scanning, filtering_aps, selecting_ap, connecting_ap, getting_ip_ap, full_available, }; server_state enum WiFIServerState { unknown, wifi_off...
// // Copyright © 2018 Sandcastle Software Ltd. All rights reserved. // // This file is part of 'Oaknut' which is released under the MIT License. // See the LICENSE file in the root of this installation for details. // #include <oaknut.h> #define INVALID_GLYPHS 1 #define INVALID_LINES 2 #define INVALID_POSITIO...
// Generated from /POI/java/org/apache/poi/ss/usermodel/ShapeTypes.java #pragma once #include <fwd-POI.hpp> #include <org/apache/poi/ss/usermodel/fwd-POI.hpp> #include <java/lang/Object.hpp> struct default_init_tag; class poi::ss::usermodel::ShapeTypes : public virtual ::java::lang::Object { public: typede...
// wordcount.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <stdio.h> #include "mpi.h" #include <malloc.h> #include <string.h> #include <sys/stat.h> //#include <io.h> #include <sys/types.h> #include <ctype.h> #include <map> #include <vector> #include <string> #include <dirent.h> #define WORD_MAX_LEN 1024 #define ...
/* This is klsupport.cpp Coxeter version 3.0 Copyright (C) 2002 <NAME> See file main.cpp for full copyright notice */ #include <coxeter/klsupport.h> /* This module contains code for the operations that can be "factored out" amongst the various k-l tables : the ordinary one, the inverse one, and the one...
#include "Graph.h" using namespace std; Graph::Graph() : WEIGHT_STRAIGHT(90), WEIGHT_DIAGO(63) { nodes = new std::array<Node*, 1986>; for (int i=0; i<(1984+2); ++i) { nodes->at(i) = new Node(i); } resetCosts(); } Graph::~Graph(){ for (int i=0; i<(1984+2); ++i) { delete nodes->at(i); } delete nodes; } ...
#include <iostream> #include <stdio.h> #include <CL/cl.h> #include <sstream> #include <string.h> #include "corewarV3_opencl.h" #include <stdlib.h> //#include "redcode_fileio.h" const int ARRAY_SIZE = 1; //using namespace std; cl_context CreateContext(void) { cl_int errNum; cl_uint numPlatforms; cl_platfo...
#include <fstream> #include "Configuration.hpp" #include "yaml-cpp/yaml.h" #include "Logger.hpp" #include "InvalidConfigException.hpp" using namespace std; using namespace uipf; // loads a configuration from a given .yaml file /* filename the path to the .yaml file */ void Configuration::load(string filename){ //ba...
#pragma once #include <cstdlib> #include <cstdint> #include <cstdio> extern "C" { #include "siphash-ref-impl/siphash.c" } FILE* admin_pkt; uint64_t admin_buf = 0; uint8_t admin_buf_bits_clean = 64; uint64_t admin_buf_key[2] = {0xdecaface1eadf1a9UL, 0x1713440219990927UL}; size_t admin_buf_data_ptr = 0; uint64_t adm...
#include "func/syntax.hpp" // interpreter stuff static std::string boolToAtom(bool b) { return b ? "true" : "false"; } const Expr *assignAtomExpressions(GCMain &gc, Environment &env, const Expr *thisExpr, const Expr *lhs, const Expr *rhs) { // Atom constructor (pattern matching) // Evaluate rhs and check ...
#include "gtest/gtest.h" extern "C" { #include "dynamic.h" } TEST(Data, Initaialization){ char* str; dyn_c test; DYN_INIT(&test); dyn_set_bool(&test, 0); ASSERT_EQ(BOOL, test.type ); ASSERT_EQ(0, dyn_get_bool (&test)); ASSERT_EQ(0, dyn_get_int (&test)); ASSERT_EQ(0.0, ...
/* Author: @anarcheuz script to find kernel attack surface on Android, superSU must be present on device ! */ #include <cstdio> #include <cstdlib> #include <cerrno> #include <dirent.h> #include <unistd.h> #include <sys/wait.h> #include <sys/types.h> #include <sys/xattr.h> #include <sys/types.h> #include <sys/stat.h>...
// This contains the meta-type used by PyQt. // // Copyright (c) 2021 Riverbank Computing Limited <<EMAIL>> // // This file is part of PyQt6. // // This file may be used under the terms of the GNU General Public License // version 3.0 as published by the Free Software Foundation and appearing in // the file LICENSE i...
// start a telnet connection with a local instance of VICE #include "stdafx.h" #include "winsock2.h" #include <ws2tcpip.h> #include <inttypes.h> #include "machine.h" #include "MainFrm.h" #include "Step6502.h" #include "Expressions.h" #include "Sym.h" class ViceConnect { public: enum { RECEIVE_SIZE = 4096 }; ViceCon...
#include "main.h" void setup() { pinMode(LIGHTSENSORPIN, INPUT); pinMode(SOUNDSENSORPIN, INPUT); pinMode(VOLUMEPIN, INPUT); pinMode(BUTTONPIN, INPUT); pinMode(BG96_RESETPIN, OUTPUT); pinMode(LED_BUILTIN, OUTPUT); pinMode(LEDPIN, OUTPUT); digitalWrite(BG96_RESETPIN, HIGH);//modem reset u8x8.begin(); ...
#include <cstdlib> #include <iostream> #include <cassert> #include <map> #include <set> #include <vector> #include "error.h" #include "execution.h" #include "xml.h" #include "alphabet.h" #include "expr.h" #include "execution2alphabet.h" #include "tag.h" #include "projected_executions.h" #include "ssa_map.h" void...
/** * \file QryWdbeTrgList.cpp * job handler for job QryWdbeTrgList (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #ifdef WDBECMBD #include <Wdbecmbd.h> #else #include <Wdbed.h> #endif #include "QryWd...
/* * Copyright (C) 2018-2019 Intel Corporation * * SPDX-License-Identifier: MIT */ #include <algorithm> #include <cassert> #include <chrono> #include <cmath> #include <fstream> #include <iostream> #include <utility> #include <vector> #define DAAL_DATA_TYPE double #include "CLI11.hpp" #include "common.hpp" #includ...
#include <iostream> #include <string> #include <climits> #include <cstring> #include <cstdlib> using namespace std; bool shortValidation(string); int BitCount(uint64_t); bool Addition_Is_Safe(uint64_t, uint64_t, const int); bool short_Addition_Is_Safe(short, short); void addAnCharacter(char *, int, char); char* Conv...
//-*-mode: C++; c-basic-offset: 2; -*- /* Copyright 2013-2014 * Authors: <NAME> and <NAME> * * This is an interface to General Broken Lines * * Version: 6 -------------------------------------------------------------- * - complete rewrite to GblFitter using GblFitterInfo and GblFitStatus * - mathematics sh...
#include "mesh.h" #include "common.h" #include "bunny.h" using glm::normalize; using glm::vec2; using glm::vec3; using glm::vec4; #define PI 3.14159265358979323846264338327950f Mesh UtilMesh::MakeBunnyMesh() { Mesh mesh = {}; mesh.isTexturable = false; mesh.vertexCount = 0; mesh.vertices = (Vertex *)malloc(2092 ...
#include <algorithm> #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <map> #include <memory> #include <chrono> #include <cstring> using std::cout; using std::cerr; using std::endl; using std::shared_ptr; struct Cell { enum CellType { Symbol, Int, List, Nil } type; int as_i...
// Copyright(c) 2021, Intel Corporation // // 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 ...
// TnzCore includes #include "tsystem.h" #include "tundo.h" #include "tpalette.h" // TnzLib includes #include "toonz/toonzscene.h" #include "toonz/txshcell.h" #include "toonz/txshsimplelevel.h" #include "toonz/levelset.h" #include "toonz/hook.h" #include "toonz/levelproperties.h" #include "toonz/txshlevelhandle.h" #...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2020 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
/* * CardScanner.cpp * * Created on: 18/10/2014 * Author: magnus */ #include "CardScanner.h" #include <opencv2/opencv.hpp> #include <opencv2/core/core.hpp> #include <mysql++.h> #include <ssqls.h> #include <iostream> #include <vector> #include <algorithm> #include <cmath> CardScanner::CardScanner() : m_...
/* MIT License Copyright (c) 2021 Forschung<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 t...
/** * * Created by 公众号:字节流动 on 2022/4/18. * https://github.com/githubhaohao/NDK_OpenGLES_3_0 * 最新文章首发于公众号:字节流动,有疑问或者技术交流可以添加微信 Byte-Flow ,领取视频教程, 拉你进技术交流群 * * */ #include <gtc/matrix_transform.hpp> #include "PortraitStayColorExample.h" #include "../util/GLUtils.h" PortraitStayColorExample::PortraitStayColorExam...
/* * Copyright (c) 2013-2017,2019 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of...
#include "SMXDeviceConnection.h" #include "Helpers.h" #include <string> #include <memory> using namespace std; using namespace SMX; #include <hidsdi.h> #include <SetupAPI.h> SMX::SMXDeviceConnection::PendingCommandPacket::PendingCommandPacket() { } SMXDeviceConnection::PendingCommand::PendingCommand() { memset(...
/********************************************************************** Copyright (c) 2016 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...
// // bouncing_particles2D.cpp // BOUNCING_PARTICLES2D // // Created by <NAME> on 8/27/17. // // #include <png.h> #include <GLFW/glfw3.h> #include <stdlib.h> #include <stdio.h> #include <sys/stat.h> #include <cmath> #include <vector> #include <string> #include <random> #include <iostream> #include <sstream> #incl...
// Copyright 1996-2021 Cyberbotics Ltd. // // 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 agr...
/** * @file * @brief Monster attitude changing due to religion. **/ #include "AppHdr.h" #include "attitude-change.h" #include <sstream> #include "act-iter.h" #include "branch.h" #include "coordit.h" #include "database.h" #include "env.h" #include "godabil.h" #include "godcompanions.h" #include "godpassive.h" // p...
/* This is the child process that is spawned by a log writer. Here we consume log messages from the ring buffer, and write them into the log file. */ #ifdef _WIN32 #define _CRT_SECURE_NO_WARNINGS #ifndef NOMINMAX #define NOMINMAX #endif //#define UNICODE #include <windows.h> #include <io.h> #include <fcntl.h> #include ...
/* * \file L1TRate.cc * * \author <NAME>, <NAME> * */ // L1TMonitor includes #include "DQM/L1TMonitor/interface/L1TRate.h" #include "DQM/L1TMonitor/interface/L1TOMDSHelper.h" #include "DQMServices/Core/interface/DQMStore.h" #include "DataFormats/Common/interface/ConditionsInEdm.h" // Parameters associated to R...
/* pxCore Copyright 2005-2018 <NAME> 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 writing, software...
#include "../inc/helper_functions.hpp" #include "../inc/phi_BLR.hpp" using namespace Rcpp; // [[Rcpp::depends(RcppArmadillo)]] // [[Rcpp::export]] arma::vec log_BLR_gradient(const arma::vec &beta, const arma::vec &y_labels, const arma::mat &X, ...
// This is brcv/shp/dbsk2d/dbsk2d_ishock_arcarc_thirdorder.cxx //: // \file #include <vcl_cstdio.h> #include "dbsk2d_ishock_arcarc_thirdorder.h" #include "dbsk2d_ishock_bpoint.h" dbsk2d_ishock_arcarc_thirdorder:: dbsk2d_ishock_arcarc_thirdorder (int newid, double stime, dbsk2d_ishoc...
#include "pd_position_controller_simple.h" bool PIDParams::load_from_rosparams(const ros::NodeHandle &nh) { bool found = true; found = found && nh.getParam("kp_x", kp_x); found = found && nh.getParam("kp_y", kp_y); found = found && nh.getParam("kp_z", kp_z); found = found && nh.getParam("kp_yaw", ...
//#include "cnn_cfg.hpp" #include "vgg16.hpp" template<typename data_type, int FIN, int FOUT, int Kernel> void init_weights(data_type *m, int addr, data_type *weights, data_type *bias) { for(int i=0; i<FOUT; i++){ bias[i] = m[addr+ FIN*FOUT*Kernel*Kernel + i]; for(int j=0; j<FIN; j++){ ...
#if defined __GNUC__ || defined __clang__ #pragma GCC diagnostic ignored "-Wunused-variable" #pragma GCC diagnostic ignored "-Wunused-function" #endif extern char buffer[1024]; extern "C" { int foobar0(); } static int foobar0_fake() { return -1; } int foobar1(int a); static int foobar1_fake(int a) { return -...
// Copyright (c) 2012, <NAME> (jet47) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // * Redistributions of source code must retain the above copyright // notice, this list of cond...
/** \class StandAloneTrajectoryBuilder * Concrete class for the STA Muon reco * * \author <NAME> - INFN Torino <<EMAIL>> * \author <NAME> - INFN Legnaro * \author <NAME> - INFN Torino <<EMAIL>> * * Modified by <NAME> * Modified by <NAME> */ #include "RecoMuon/StandAloneTrackFinder/interface/StandAloneT...
/* Copyright 2014 DoNothingBox 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 agreed to in writing, software d...
#include <tdme/os/filesystem/ArchiveFileSystem.h> #include <string.h> #include <algorithm> #include <cassert> #include <fstream> #include <string> #include <vector> #include <ext/sha256/sha256.h> #include <ext/zlib/zlib.h> #include <tdme/math/Math.h> #include <tdme/os/filesystem/FileNameFilter.h> #include <tdme/os/...
#include <gmi_mesh.h> #include <gmi_null.h> #include <apfMDS.h> #include <apfMesh2.h> #include <apfConvert.h> #include <apfNumbering.h> #include <apfShape.h> #include <apf.h> #include <PCU.h> #include <pcu_util.h> #include "MeshSim.h" #include "MeshSimAdapt.h" #include "SimDiscrete.h" #include "SimMessages.h" #include...
/***************************************************************************************** * Copyright (c) 2007 Hewlett-Packard Development Company, L.P. * 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 ...
#include "RecoLocalCalo/CastorReco/interface/CastorSimpleRecAlgo.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "CalibCalorimetry/CastorCalib/interface/CastorTimeSlew.h" #include "DataFormats/METReco/interface/HcalCaloFlagLabels.h" #include <algorithm> // for "max" #include <math.h> constexpr do...
//===- CIndexHigh.cpp - Higher level API functions ------------------------===// // // 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 // //===---------------------------...
/* This file is a part of NNTL project (https://github.com/Arech/nntl) Copyright (c) 2015-2021, Arech (<EMAIL>; https://github.com/Arech) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redi...
// krazy:excludeall=doublequote_chars (UStrings aren't QStrings) /* * This file is part of the KDE libraries * Copyright (C) 1999-2000 <NAME> (<EMAIL>) * Copyright (C) 2003 Apple Computer, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gen...
/******************************************************************** * * LIL Is a Language * * AUTHORS: <NAME> * * COPYRIGHT: ©2020-today: All Rights Reserved * * LICENSE: see LICENSE file * * This file is responsible for coordinating a build * ************************************...
#include <iostream> #include "support.h" #include "cgmath.h" // slee's simple math library #include "trackball.h" #include "mesh.h" #include "light.h" #include "Planet.h" #include <vector> #include <cmath> //******************************************************************* // index variables for OpenGL o...
/* Copyright 2020 The TensorFlow Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
#include <sstream> #include <utility> #include <thread> #include "Tools/Documentation/documentation.h" #include "Tools/Math/utils.h" #include "Factory/Simulation/BFER/BFER.hpp" using namespace aff3ct; using namespace aff3ct::factory; const std::string aff3ct::factory::BFER_name = "Simulation BFER"; const std::stri...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
#include "ExampleVehicleStateMachine.hpp" using namespace std; using namespace Offboard; ExampleVehicleStateMachine::ExampleVehicleStateMachine() { _name = "INVALID"; _id = 0; _flightStage = StageWaitForStart; _lastFlightStage = StageComplete; _systemLatencyTime = 0; _vehicleIsReadyForProgramToExit = fa...
#include <iostream> #include <string> using namespace std; string database[][2] = { {"admin12345", "wisdom123"}, {"ellejohn", "<PASSWORD>"}, {"test", "pp"} }; string username, password; int pageNum; bool loggedIn = false; string Pages[7] = { "Front Page", "Headline", "News Articles", "Entertainment", "Spo...
// Copyright (c) 2012 CIYAM Pty. Ltd. ACN 093 704 539 // Copyright (c) 2012-2021 CIYAM Developers // // Distributed under the MIT/X11 software license, please refer to the file license.txt // in the root project directory or http://www.opensource.org/licenses/mit-license.php. #ifdef PRECOMPILE_H # include "precompile...
// Magic Software, Inc. // http://www.magic-software.com // http://www.wild-magic.com // Copyright (c) 2004. All Rights Reserved // // The Wild Magic Library (WML) source code is supplied under the terms of // the license agreement http://www.magic-software.com/License/WildMagic.pdf // and may not be copied or ...
#include <cppurses/painter/detail/extended_char.hpp> #include <map> #include <limits> #include <ncurses.h> namespace { const std::map<wchar_t, chtype> extended_chars { {L'┌', ACS_ULCORNER}, {L'┍', ACS_ULCORNER}, {L'┎', ACS_ULCORNER}, {L'┏', ACS_ULCORNER}, {L'╒', ACS_ULCORNER}, {L'╓', ACS_ULCORNER}, ...
#include <cstdlib> #include <vector> #include <iostream> #include <sstream> #include <YapInterface.h> #include "ParfactorList.h" #include "FactorGraph.h" #include "LiftedVe.h" #include "VarElim.h" #include "LiftedBp.h" #include "CountingBp.h" #include "BeliefProp.h" #include "ElimGraph.h" #include "BayesBall.h" u...
/* Copyright (c) 2013, <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, sublice...
#include <SFML/Graphics.hpp> #include <iostream> #include <fstream> #include <ctime> #include <iomanip> #include "Ball.h" #include "Paddle.h" #include "Block.h" #include "Menu.h" #include <sstream> /* stringstream*/ /* * Created by Rafaello166 * https://github.com/rafaello166 */ using namespace std; using nam...
#include "speciesTransport.hpp" #include "finiteVolume/compressibleFlowFields.hpp" #include "utilities/mathUtilities.hpp" ablate::finiteVolume::processes::SpeciesTransport::SpeciesTransport(std::shared_ptr<eos::EOS> eosIn, std::shared_ptr<fluxCalculator::FluxCalculator> fluxCalcIn, ...
#include "plugin.h" #include "..\injector\assembly.hpp" #include "CStreaming.h" #include "IniReader/IniReader.h" #include "CIplStore.h" #include "extensions/ScriptCommands.h" #include "CMessages.h" #include "CTimer.h" #include "CPopCycle.h" #include "CAnimManager.h" #include <vector> using namespace plugin; using name...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #include <windows.h> #include <io.h> #include <sys/stat.h> #include <vgui/isystem.h> #include "min_footprint_files.h" #include "filesystem_tool...
// google test docs // wiki page: https://code.google.com/p/googletest/w/list // primer: https://code.google.com/p/googletest/wiki/V1_7_Primer // FAQ: https://code.google.com/p/googletest/wiki/FAQ // advanced guide: https://code.google.com/p/googletest/wiki/V1_7_AdvancedGuide // samples: https://code.google.com/p/googl...
//===-- CommandObjectExpression.cpp -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include <usb/usb.hpp> #include "stm32f0xx.h" #include <algorithm> #include <cstdio> #include <usb/utils.hpp> #include <usb_desc/usb_desc_struct.h> #include <usb_desc/usb_desc.h> #include <usb/usb_struct.h> #define printf(...) /* Pointer Notation * - type = uintptr_t : This is an pointer for PMA. * ...
// Copyright (c) 2010 <NAME> // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2019 The PIVX developers // Copyright (c) 2018-2021 Netbox.Global // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensour...
#include "pyxelcore.h" #include "pyxelcore/audio.h" #include "pyxelcore/graphics.h" #include "pyxelcore/image.h" #include "pyxelcore/input.h" #include "pyxelcore/music.h" #include "pyxelcore/resource.h" #include "pyxelcore/sound.h" #include "pyxelcore/system.h" #include "pyxelcore/tilemap.h" #define IMAGE reinterpret...
#include <algorithm> #include "TextureUtils.h" #include "../Assets/ArenaTextureName.h" #include "../Math/Rect.h" #include "../Media/TextureManager.h" #include "../Rendering/Renderer.h" #include "../UI/ArenaFontName.h" #include "../UI/FontLibrary.h" #include "../UI/Surface.h" #include "../UI/TextAlignment.h" #include "...
#include "stdafx.h" #include <stdio.h> #include "stdafx.h" #include <windows.h> #include <winuser.h> #include <iostream> #include <conio.h> #include <tchar.h> #include <cstdlib> #include <wingdi.h> #include <string> #include <atlstr.h> #include <vector> using namespace std; class Button { public: voi...
/* * Copyright (c) 2010 Jice * 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...
#define GL_LITE_IMPLEMENTATION #include "gl_lite.h" #include <GLFW/glfw3.h> #include <stdio.h> GLFWwindow* window = NULL; int gl_width = 1080; int gl_height = 720; float gl_aspect_ratio = (float)gl_width/gl_height; float gl_fullscreen = false; #include "GameMaths.h" #include "Input.h" #include "Camera3D....
#include "stdhdr.h" #include "classtbl.h" #include "digi.h" #include "sensors.h" #include "simveh.h" #include "missile.h" #include "object.h" #include "sensclas.h" #include "Entity.h" #include "team.h" #include "Aircrft.h" /* 2001-03-15 S.G. */#include "campbase.h" /* 2001-03-21 S.G. */#include "flight.h" /* 2001-03-21...
/* * libcluster -- A collection of hierarchical Bayesian clustering algorithms. * Copyright (C) 2013 <NAME> (<EMAIL>) * * This file is part of libcluster. * * libcluster 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 ...
/********************************************************* Konami 054539 PCM Sound Chip A lot of information comes from Amuse. Big thanks to them. *********************************************************/ #include "driver.h" #include "k054539.h" #include <math.h> /* Registers: 00..ff: 20 bytes/channel, 8 ch...
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version Oct 26 2018) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "AbsGui.h" ////////////...
#include "auto_f2c.h" #include "auto_c.h" int AUTO_main(int argc,char *argv[]); #ifdef WIN32 /* @@edc: added for windows getopt */ extern char *optarg; int getopt(int nargc, char * const *nargv, const char *ostr); #endif #ifdef FLOATING_POINT_TRAP #include <fpu_control.h> /* This is a x86 specific function only us...
#include <iostream> #include <string> #include <fstream> #include <vector> #include <cstdlib> #include <ctime> #include <sstream> #include <map> #include <chrono> #include <sys/wait.h> #include "cInstance.hpp" #include "simpleXMLParser.hpp" using namespace std; typedef struct { double GvR; // Original Green v...
/* * MIT License * * Copyright (c) 2020 <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, m...
#include <chrono> #include <cmath> #include <cstdint> #include <sstream> #include <stdexcept> #include <string> #include <thread> #include "SDL.h" #include "Game.h" #include "Options.h" #include "PlayerInterface.h" #include "../Assets/CityDataFile.h" #include "../Interface/Panel.h" #include "../Media/FontManager.h" #...
#define GLFW_INCLUDE_NONE #include "GLFW/glfw3.h" #include "camera.hpp" #include "framebuffer.hpp" #include "glbinding/gl/gl.h" #include "glbinding/glbinding.h" #include "imgui/imgui.h" #include "imgui/imgui_impl_glfw.h" #include "imgui/imgui_impl_opengl3.h" #include "input.hpp" #include "mesh.hpp" #include "preetham....
/////////////////////////////////////////////////////////////////////////////// // File: ZdcSD.cc // Date: 03.01 // Description: Sensitive Detector class for Zdc // Modifications: /////////////////////////////////////////////////////////////////////////////// #include "SimG4CMS/Forward/interface/ZdcSD.h" #include "FWC...
/****************************************************************************//* * Copyright (C) 2021 <NAME> * * Creative Commons Legal Code * * CC0 1.0 Universal * * CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE * LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN *...
/* * (c) 2018-2019 <NAME> * SPDX-License-Identifier: Apache-2.0 */ #include <cstdbool> #include <cstdio> #include <cstdlib> #include <cstring> #include <cstdint> #include <cfenv> #include <fcntl.h> #include <set> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <unordered_set> /* See paper...
// TODO(Faruk): Seems there might be an issue with the gaussian kernel's // symmetry and size corresponding to what is written in CLI // TODO(Renzo): make the vicinity direction specific vinc_x, vinc_y, vinc_z #include "../dep/laynii_lib.h" int show_help(void) { printf( "LN2_LAYER_SMOOTH : Layering algorith...
/************************************************************** * * 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 "text_render.h" //#include "scope_guard.h" #include "math.h" #include "rlgl.h" #include <assert.h> #include <ft2build.h> #include FT_FREETYPE_H #include FT_OUTLINE_H //#define TEXT_USE_SHADER #include <algorithm> #include <cstdlib> #include <cstdio> #if defined(PLATFORM_DESKTOP) #define GLSL_VERSION ...
#include "PFsLib.h" //Set to 0 for debug info #define DBG_Print 1 #if defined(DBG_Print) #define DBGPrintf Serial.printf #else void inline DBGPrintf(...) {}; #endif //------------------------------------------------------------------------------ #define PRINT_FORMAT_PROGRESS 1 #if !PRINT_FORMAT_PROGRESS #define write...
/* Copyright (c) 2010 <NAME> assigned to Benegon Enterprises LLC * See the file LICENSE for full license information. */ #include <cstring> #include <cstdio> #include <climits> #include <assert.h> #include "pull.hh" enum { /* Parse remaining date in buffer. */ PARSE_ST, /* Pull Parser depth lags C parser depth. ...
/** * Copyright by <NAME> * Research Group Applied Systems Biology - Head: Prof. Dr. <NAME> * https://www.leibniz-hki.de/en/applied-systems-biology.html * HKI-Center for Systems Biology of Infection * Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Insitute (HKI) * Adolf-Reichwei...
// Copyright (c) 2010 <NAME> // Copyright (c) 2009-2014 The Bitcoin Core developers // Copyright (c) 2017-2019 The MassGrid developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "consensus/...