text
stringlengths
5.71k
33.7k
#pragma once #include <stdio.h> #include "user_defined_functions.h" #include <Windows.h> #define STATUS_HIBERNATE 0x00 #define STATUS_SLEEP 0x20 #define STATUS_ON 0x40 #define STATUS_POWER 0x60 extern char ACK[5]; extern char NACK[10]; // both of these have been defined in the initACKNACK.cppS extern HANDLE hSerial; /...
#include "lib.h" enum TOKEN_TYPE { COMMA, COLON, SEMICOLON, ARROW, OPEN_PAR, CLOSE_PAR, OPEN_BRACKET, CLOSE_BRACKET, INT, FLOAT, SYMBOL, STRING, WHATEVER }; union VALUE { int64 integer; double floating; uint16 symb_idx; struct { const char *ptr; uint32 length; } string; };...
#include <iostream> #include <string> #include <vector> #include <algorithm> #include <GLFW/glfw3.h> #include <GLAD/glad.h> #include <KTX/ktx.h> const static char* shader_compute = "#version 450 core \n" " \n" "uniform float _Roughness; \n" "unifor...
#include <algorithm> #include <cctype> #include <cstdlib> #include <fstream> #include <iostream> #include <memory> #include <string> #include <unordered_map> #include <vector> #define PHF_DEBUG 2 #include "phf/builder.h" #include "public-suffix-types.h" // Require libidn for handling international domain names. #incl...
/* * Copyright (c) 2009-2011 Intel Corporation. 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 app...
/* BAREOS® - Backup Archiving REcovery Open Sourced Copyright (C) 2000-2011 Free Software Foundation Europe e.V. Copyright (C) 2016-2016 Bareos GmbH & Co. KG This program is Free Software; you can redistribute it and/or modify it under the terms of version three of the GNU Affero General Public Lice...
#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 <shader.h> #include <filesystem.h> #include <iostream> using namespace std; void on_size_changed(GLFWwindow*, int, int); void processInput(GLFWwi...
//---------------------------------------------------------------------------- // Implementation of the KFParticle class // . // @author S.Gorbunov, I.Kisel // @version 1.0 // @since 13.05.07 // // Class to reconstruct and store the decayed particle parameters. // The method is described in CBM-SOFT note 2007-003, ...
#include "crypt/hmac.h" #include "crypt/sha1.h" #include <regex> #include <alibabacloud/credential.hpp> #include <boost/any.hpp> #include <boost/lexical_cast.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_generators.h...
/* * Copyright 2019 Rockchip Electronics Co. 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 a...
#include <dirent.h> #include <errno.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <wait.h> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include "../../include/AppStandards.hpp" #include "../../include/BloomFilter.hpp" #include "../../include/DataManipula...
/****************************************************************************** * * Project: Generic common data format * Purpose: Packages PNG into a NetCDF file * Author: <NAME> (KNMI) * Date: 2017-08-08 * ****************************************************************************** * * Copyright 2...
/* * parameters.cpp * * */ // This file contains a veriaty of functions that are not used in the final tests. //e.g. exact test, approaximations, KL divergence, different bounds on the number of param. #include <iostream> #include <fstream> #include <cstdlib> #include <cmath> #include <random> #include "paramet...
// Fill out your copyright notice in the Description page of Project Settings. #include "UE4VoxelTerrain.h" #include "UnrealSandboxTerrain.h" #include "TerrainController.h" #include "SandboxTerrainGenerator.h" #include "SandboxObject.h" #include "DrawDebugHelpers.h" //#define USBT_ZONE_SIZE 1000.f ...
#define GLM_ENABLE_EXPERIMENTAL 1 #include <Eigen/Dense> #include <Eigen/Geometry> #include <Halide.h> #include <fstream> #include <glm/ext.hpp> #include <glm/glm.hpp> #include <halide_image_io.h> #include <iostream> #include <stdio.h> #include <fstream> #include <sstream> #include <string> #include <vector> #include <...
/* PDBCluster - k-medoids and k-centers clustering of molecular structures. Copyright (C) 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 version 3 of the License, o...
/* ___________________________________________________________ * ____________<<<___#_R_V_C_G_E_E_K_S___>>>__________________ * CREATED BY #RVCGEEKS @PUNE for more <EMAIL> * * #RVCGEEKS TCP CLIENT ... only connects with rvcchats-server * created on 12.05.2019 * */ #include <cstdio> #include <iostream> #include <...
#include "mgnss/state_estimation/odometry_v2.h" #include <iomanip> mgnss::state_estimation::OdometryV2::OdometryV2(mwoibn::robot_class::Robot& robot, std::string config_file, std::string name) : mgnss::modules::Base(robot), _wheels_ph("ROOT", _robot) { _...
#include <iostream> #include <GL.hpp> #include <GLFW.hpp> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <logger.hpp> #include <types.hpp> #include <readers.hpp> #include "Subsystems/Rendering/Resources/shaders.hpp" #include "Subsystems/Rendering/Resources/ge...
#include "platform.hpp" // third-party libraries #include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> // standard C++ libraries #include <cassert> #include <stdexcept> #include <iostream> #include <vector> // tdogl classes #include "tdogl/Program.h" #include "t...
const CPG cpgDatabaseMin = 256; // File Size - cpgDBReserved (ie. true db min = cpgDatabaseMin+cpgDBReserved) const PGNO pgnoSystemRoot = 1; const OBJID objidSystemRoot = 1; const CHAR szOn[] = "on"; const CHAR szTempDir[] = "temp"szPathDelimiter; const CHAR szPatExt[] = ".pat"; //...
// Copyright 2010-2013 RethinkDB, all rights reserved. #include "serializer/log/metablock_manager.hpp" #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include "errors.hpp" #include <boost/crc.hpp> #include "arch/arch.hpp" #include "arch/runtime/coroutines.hpp" #include "concurrency/cond_var.hpp" #i...
/**************************************************************************** * * (c) 2021 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ********************************************...
/***************************************************************************** spngcoloimetry.cpp Ok, so I have to do this myself, why? This is stuff which should be in Windows but isn't. What is worse it ain't clear at all whether this stuff is right, what is clear is that doing nothing is wrong. Assu...
#pragma once #include <immintrin.h> #include <nonstd/expected.hpp> #include "bencode/detail/parser/parsing_error.hpp" #include "bencode/detail/parser/from_chars.hpp" /// @file Parsing routines for bencoded data for AVX2 instruction set architecture namespace bencode::detail::sse41 { using row = std::array<std::uin...
/*****************************************************************************/ /* ECLC.C 敵の行動制御言語のデータコンバータ */ /* */ /*****************************************************************************/ #define ECL...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
/* 100% free public domain implementation of the SHA-1 algorithm by <NAME> <<EMAIL>> Web: http://www.dominik-reichl.de/ See header file for version history and test vectors. */ // If compiling with MFC, you might want to add #include "StdAfx.h" #define _CRT_SECURE_NO_WARNINGS #include "DR_SHA1.h...
// reads selected info from an MSTS wag file // /* Copyright © 2021 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy...
/* * Copyright (c) 2009-2011 Intel Corporation. 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 app...
#include <image_noise_mixer/image_noise_mixer.h> #include <cv_bridge/cv_bridge.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <random> #include <chrono> using Eigen::MatrixXd; using image_noise_mixer::ImageNoiseMixer; using state_estimate_filter_ros::StateEstimateFilter; usin...
#include <fstream> #include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "json.hpp" #include "spline.h" // Parameters for the path planning #define NUM_LANES 3 #define WIDTH_LANES 4 // m...
#include "Level.h" #include "ErrorHandler.h" #include "Base.h" #include "Game.h" #include "Player.h" #include "EntityRenderer.h" #include "TileRegistry.h" #include "RoguelikeMath.h" #include <fstream> #include <sstream> #include <ctime> std::mt19937 Level::m_randomEngine(time(0)+1024); Level::Level() ...
#include <stdio.h> #include <string.h> #include "cpu.hpp" #include "kernel.hpp" #include "opcodes.hpp" #include "system.hpp" // KERNEL is a global object extern KERNEL kernel; BOOLEAN CPU::read_byte(ADDRESS addr, char *value) { // read memory location if (!pagetable->read_byte(addr, value)) { // call kernel with ...
#include <iostream> #include <algorithm> #include <cmath> #include <cstdio> #include <map> #include <vector> #include <cstring> #include <istream> #include <complex> using namespace std; struct Point { double x, y; Point (double x = 0, double y = 0):x(x),y(y) { } }; typedef Point Vector; struct Car {...
/****************************************************************** CqOctree.CPP Performing Color Quantization using Octree algorithm The 2 functions for global use is HPALETTE CreateOctreePalette (HBITMAP hImage, UINT nMaxColors, UINT nColorBits) HPALETTE CreateOctreePalette (LPSTR lpDIB, UINT nMaxColors,...
#include<iostream> #include<map> #include<vector> #include<cmath> #include <fstream> #include "networks.h" using namespace std; #define pi 3.1415926535897932384626433832795 // 控制参数 int ArgPos(char *str, int argc, char **argv) { int a; for (a = 1; a < argc; a++) if (!strcmp(str, argv[a])) { if (a ...
/****************************************************** Copyright (c) 2011-2013 Percona LLC and/or its affiliates. The xbstream utility: serialize/deserialize files in the XBSTREAM format. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publ...
/* Copyright 2012 <NAME> <<EMAIL>> */ #include "lchase.hpp" #include "sgpp/rand.hpp" #include <assert.h> #include <cstdio> #include <cstring> #include <cstdlib> using namespace LD24; #define CHEAT 1 void LChase::Board::clear() { std::memset(tiles, 0, sizeof(tiles)); } static const char *const LCHASE_TIPS[7] = { ...
/** * @file test_traj_opt_node.cpp * @author <NAME> (<EMAIL>) * @brief * @version 1.0 * @date 2021-12-07 * * @copyright Copyright (c) 2021 * */ #include <geometry_msgs/Point.h> #include <geometry_msgs/PoseArray.h> #include <nav_msgs/Path.h> #include <quadrotor_msgs/PositionCommand.h> #include <ros/ros.h> #inc...
#include "pixelstick.h" #define ARRAY_SIZE(A) (sizeof(A) / sizeof((A)[0])) extern CRGB leds[]; extern CRGBPalette16 SnowColours; extern CRGBPalette16 Incandescent; extern const TProgmemRGBPalette16 RedGreenWhite_p; extern const TProgmemRGBPalette16 Holly_p; extern const TProgmemRGBPalette16 RedWhite_p; extern const T...
#include <uWS/uWS.h> #include <fstream> #include <iostream> #include <string> #include <vector> #include <cmath> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" #include "json.hpp" #include "planner.hpp" #include "spline.h" // for convenience using nlohmann::json; usin...
#include "renderer.h" #include "stb_truetype.h" #include "stb_image.h" #include "util.h" #include <SDL2/SDL_ttf.h> #include <assert.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #define MAX_GLYPHSET 256 #define RENDER_MODE 2 // #define USE_SDL_TTF // better quality (doesn't support glyphsets) void c...
typedef std::complex<double> rsComplexDbl; // get rid //inline double rsAbsFast(double x) //{ // static const unsigned long long mask = 0x7FFFFFFFFFFFFFFFULL; // binary: 011111... // unsigned long long tmp = *(reinterpret_cast<unsigned long long*>(&x)) & mask; // return *(reinterpret_cast<double*>(&tmp)); //} ////...
/* Copyright (C) 2010 Ion Torrent Systems, Inc. All Rights Reserved */ #include <armadillo> #include <iostream> #include <vector> #include <string> #include "IonErr.h" #include "Image.h" #include "Mask.h" #include "OptArgs.h" #include "SampleQuantiles.h" using namespace arma; using namespace std; #define D '\t' #defi...
#include "ADTPac.h" #include "LayarPac.h" #include "PetaPac.h" #include "ItemPac.h" #include "musik.h" #include "menuawal.h" #include "LevelUp.h" void time(int *m, int *s,int *ms); int random=0; void leftBoard(char *player); void click2start(bool &isKlik); void input(char *player, int *win); void tembok()...
// @HEADER // ************************************************************************ // // Intrepid Package // Copyright (2007) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use of this work by or on behalf of the ...
// RPGEngine.cpp : Defines the entry point for the console application. // #include "stdafx.h" ALLEGRO_EVENT_QUEUE* aEventQueue; ALLEGRO_TIMER* aTimer; ALLEGRO_DISPLAY* aDisplay; ALLEGRO_FONT* font; ALLEGRO_TEXTLOG *txtLog; ALLEGRO_BITMAP* gameLogo; ALLEGRO_BITMAP* actor; std::ifstream gameConfig; gameState_e gameS...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, SRI International * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
// AUTHOR: <NAME> (https://github.com/seanmarks) #include "WhamDriver.h" #include <functional> #include "Bootstrap_F_x.hpp" #include "Bootstrap_BiasingFreeEnergies.hpp" #include "BiasedDistributions.hpp" #include "ManuallyUnbiasedDistributions.hpp" #include "RebiasedDistributions.hpp" #include "WhamStatistics.hpp" ...
// $Id$ #include <iostream> #include <string> #include <fstream> #include <sstream> #include <vector> #include <map> #include <iomanip> #include <cstdlib> #include <cmath> const string dat_path = "/windows/g/Programme/Ciel/cat/bsc5/"; struct star { int hd, hr; double rectascension, declination; double ...
//////////////////////////////////////////////////////////////////////////////// //3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 // // lowfat - an "engine" for natural document viewing for free desktop-systems // // copyright (c) 2007 <NAME> // // lowfat is free software; you can red...
/* OneLoneCoder.com - Upgraded Command Line First Person Shooter (FPS) Engine "Bricks and Lamps people, bricks and lamps..." - @Javidx9 License ~~~~~~~ One Lone Coder Console Game Engine Copyright (C) 2018 Javidx9 This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to re...
/* * Standard Streamer Plugin for Mod Loader * Copyright (C) 2014 LINK/2012 <<EMAIL>> * Licensed under the MIT License, see LICENSE at top level directory. * */ #include <stdinc.hpp> #include "streaming.hpp" using namespace modloader; /* * PerformDirectoryRead * Reads a CD Directory (abstract or real)...
// WebCDCovers.cpp: implementation of the CWebCDCovers class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "CdCoverCreator2.h" #include "WebCDCovers.h" #include "HttpReqSocket.h" #include "HttpRequest.h" #include "wcc_data.h" #include "..\3rdPar...
#include <stdlib.h> #include <string.h> #include <stdio.h> #include <iostream> #include <cmath> #include <Eigen/Core> #include <Eigen/Geometry> #include <Eigen/Eigenvalues> #include <Eigen/LU> // this file implements the class defined in: #include "calibration/Calibration.h" using namespace Eigen; using namespace cal...
/* * Copyright (c) 2011-2021, The DART development contributors * All rights reserved. * * The list of contributors can be found at: * https://github.com/dartsim/dart/blob/main/LICENSE * * This file is provided under the following "BSD-style" License: * Redistribution and use in source and binary forms, wit...
//===- NewPMDriver.cpp - Driver for opt with new PM -----------------------===// // // 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 // //===---------------------------...
/* * libcpu: function.cpp * * Create the master function and fill it with the helper * basic blocks */ #include <vector> #include "llvm/IR/CallingConv.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Instructions.h" #include "llvm/ExecutionEngine/ExecutionEngine.h" #include "llvm/IR/Module.h" #include "llvm/I...
#include <mntGrid.h> #include <vtkCellData.h> #include <vtkUnstructuredGridWriter.h> #include <fstream> #include <netcdf.h> #include <string> #include <cstring> #include <cmath> #include <algorithm> #include <array> #include "mntUgrid2D.h" /** * Fix the longitude by adding/subtracting a period to reduce the edge dist...
/************************************************************** * * 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...
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may no...
// // core.cpp // TraceRay // // Created by LazyLie on 15/6/21. // Copyright (c) 2015年 LeonardXu. All rights reserved. // #include "core.h" #include "opencv2/opencv.hpp" const char RECT = 'r'; const char BALL = 'b'; const char OBJ = 'o'; const int KDT_DEP = 14; const int BUFSIZE = 100; Ray::Ray() {inside = 0; } A...
/* * Copyright (C) 2018, Xilinx Inc - All rights reserved * Xilinx SDAccel Media Accelerator API * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LIC...
// std #include <iostream> #include <exception> // Boost #include <boost/program_options.hpp> #include <boost/filesystem.hpp> #include <boost/format.hpp> #include <boost/regex.hpp> #include <boost/timer/timer.hpp> // OpenCV #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> // ...
/* * Copyright (c) 2020, NVIDIA CORPORATION. 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 requi...
#include <CLI/CLI.hpp> #include <spdlog/spdlog.h> #include <spdlog/fmt/fmt.h> #include <yaml-cpp/yaml.h> #include "mirror.hpp" #include "mirrors/oci.hpp" #include "mirrors/s3.hpp" #include "url.hpp" #include "utils.hpp" #include "downloader.hpp" using namespace powerloader; enum KindOf { kHTTP, kOCI, kS3 ...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/importer/toolbar_importer.h" #include <limits> #include "base/bind.h" #include "base/rand_util.h" #include "base/string_num...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
/**************************************************************************** * * Copyright (c) 2018-2019 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Red...
/* Copyright (c) <2003-2011> <<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, *...
// Copyright 2017 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 <algorithm> #include <utility> #include "xfa/fgas/localization/fgas_...
#include <vcl\vcl.h> #pragma hdrstop #include "Main.h" //--------------------------------------------------------------------------- #pragma link "Grids" #pragma link "SortGrid" #pragma link "ZIPBuilder" #pragma package(smart_init) #pragma resource "*.dfm" TMainForm *MainForm; String ExtractDir; bool ExpandDirs, O...
/*@ Copyright (c) 2013-2021, <NAME> <EMAIL> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* *********************************************************************************************************************** * * Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
#include "LymphCentral.h" #include "Tumor.h" #include "../../core/GlobalUtilities.h" #include <fstream> // shorthands // get raw value (original units) #define GET_PARAM_RAW(x) _QSP_model.getSystem()->getParameterVal(x, true) #define SET_PARAM_RAW(x, y) _QSP_model.getSystem()->setParameterVal(x, y, true) #define GET_...
/* * Copyright (c) 2008-2013 <NAME> <<EMAIL>>, * <NAME> <<EMAIL>>, * <NAME> <<EMAIL>>, * <NAME> <<EMAIL>>. * All rights reserved. * * This program is a free software; you can redistribute it and/or modify * it under ...
/*************************************************************************/ /* heatmap.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include "NvInfer.h" #include "cuda_runtime_api.h" #include "common.h" #include <fstream> #include <iostream> #include <map> #include <sstream> #include <vector> #include <chrono> // stuff we know about the network and the input/output blobs static const int INPUT_H = 224; static const int INPUT_W = 224; static const ...
#include <iostream> #include <iomanip> #include <key.h> #include <pubkey.h> #include <uint256.h> #include <script/standard.h> #include <script/script.h> // 打印n个x字符 void print_line(int n, char x){ std::cout<<std::endl<<std::setw(n); std::cout<<std::setfill(x)<<" "<<std::endl; } /** * 测试密钥对 * ...
/* Copyright 2019 <NAME>, <NAME>, <NAME> * <NAME>, <NAME>, <NAME> * <NAME>, <NAME>, levinem * * This file is part of WarpX. * * License: BSD-3-Clause-LBNL */ #include "WarpX.H" #include "Diagnostics/MultiDiagnostics.H" #include "Particles/MultiParticleContainer.H" #include "Particles/WarpXParticleContainer.H" #...
/*****************************************************************************\ Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. This file is licensed under the Snes9x License. For further information, consult the LICENSE file in the root directory. \*************************...
//===- unittests/exchange/test_compilation.cpp ----------------------------===// //* _ _ _ _ * //* ___ ___ _ __ ___ _ __ (_) | __ _| |_(_) ___ _ __ * //* / __/ _ \| '_ ` _ \| '_ \| | |/ _` | __| |/ _ \| '_ \ * //* | (_| (_) | | | | | | |_) | | | (_| | |_| | (_) |...
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ...
/* Copyright (c) 2012, <NAME>) Yudelson 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 f...
/* * All of the documentation and software included in the * Alchemy Software is copyrighted by <NAME>, Parag * Singla, <NAME>, <NAME>, Marc <NAME>, <NAME>, and <NAME>. * * Copyright [2004-07] <NAME>, <NAME>, Matthew * Richardson, <NAME>, <NAME>, Hoifung * Poon, and <NAME>. All rights reserved. * * Contact:...
/* * Copyright (c) 2017 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl. * * Change Date: 2025-04-28 * * On the date above, in accordance with the Business Source License, use * of this software will be gov...
/* * splicigar.hpp * splicigar * * Created by <NAME> on 10.03.10. * Copyright 2010 Université de Lausanne. All rights reserved. * */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <vector> #include <fstream> #include <iostream> #include <iomanip> #include <map> #include <assert.h> #inclu...
/****************************************************************************** SCL3300.cpp SCL3300 Arduino Driver <NAME> Version 3.3.0 - September 13, 2021 https://github.com/DavidArmstrong/SCL3300 Resources: Uses SPI.h for SPI operation Development environment specifics: Arduino IDE 1.8.15 This code i...
#include "GUIML.h" #include "Files\Files.h" #include "String\StringAPI.h" std::vector<GUIML::GUIMLCSSStyle> GUIML::_currentCSSStyles; std::vector<GUIML::GUIMLCSSFont> GUIML::_currentCSSFonts; Color GUIML::RGBToCol(std::string text) { if (text.find("rgb(") != std::string::npos || text.find("rgba(") != std::string::np...
// Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
/* Copyright 2018 The TensorFlow Authors. 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 applicable law or a...
/*ckwg +29 * Copyright 2014-2017 by Kitware, 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 li...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2017-2018, Hamburg University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <uxtheme.h> #include <vssym32.h> #include <dwmapi.h> #pragma comment(lib, "user32.lib") #pragma comment(lib, "gdi32.lib") #pragma comment(lib, "uxtheme.lib") #pragma comment(lib, "dwmapi.lib") #include <stdbool.h> static LRESULT win32_custom_title_bar_example_w...
/* Copyright (c) <2003-2011> <<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, *...
#include <iostream> #include <cstdio> #include <boost/program_options.hpp> #include <harp.hpp> #include <specex_message.h> #include <specex_image_data.h> #include <specex_fits.h> #include <specex_stamp.h> #include <harp_plugin_specex.h> #include <specex_serialization.h> using namespace std; namespace popts = bo...
#include <opencv2/imgproc/imgproc.hpp> #include<opencv2/opencv.hpp> #include <opencv2/highgui/highgui.hpp> #include <stdio.h> #include <stdlib.h> #include <iostream> #include <string> #include "myImage.hpp" #include "roi.hpp" #include "handGesture.hpp" #include <vector> #include <cmath> #include "main.hpp" #include <li...
/* * Copyright (c) 2008, <NAME>, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
#include "mcPhysicsCharged.h" #include "mcRng.h" #include "mcDefs.h" #include <math.h> #include <float.h> mcPhysicsCharged::mcPhysicsCharged(void) { } mcPhysicsCharged::~mcPhysicsCharged(void) { } void mcPhysicsCharged::MoliereScatter(mcRng& rng , double scaledLittleB , double chi_cc , geomVector3D& u , double e...