text
stringlengths
5.71k
33.7k
#include <iostream> #include <iomanip> #include <fstream> #include <cstdint> #include <string> #include <vector> #include <algorithm> #include <ctime> uint64_t xorshift(uint64_t x) { x = x ^ (x << 7); return x = x ^ (x >> 9); } uint32_t str2id(const std::string &str) { uint32_t id = 0; for(int i = 0; i < ...
#include "nsruler.h" #define NS_RULER_COLOR 0x00808080 #define NS_RULER_CTRL_WIDTH 7 #define NS_RULER_CTRL_HALF_WIDTH 3 #define NS_RULER_CTRL_HEIGHT NS_RULER_CTRL_WIDTH #define NS_RULER_CTRL_HALF_HEIGHT NS_RULER_CTRL_HALF_WIDTH #define NS_RULER_CTRL_TOLERANCE NS_RULER_...
#include "lib_shared_inverter.h" #include "lib_util.h" #include <algorithm> SharedInverter::SharedInverter(int inverterType, size_t numberOfInverters, sandia_inverter_t * sandiaInverter, partload_inverter_t * partloadInverter, ond_inverter * ondInverter) { m_inverterType = inverterType; m_numInverters = numberOfInv...
/* Copyright 2021 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...
/* * Copyright (c) 2017 Sprint * * 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,...
/* Copyright (c) 2017-2018 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
#include <export_libwsjcppcli_py.h> #include <iostream> #include <iomanip> #include <algorithm> #include <websocketserver.h> #include <employees.h> #include <sys/types.h> #include <sys/stat.h> #include <memory> #include <iostream> #include <fstream> #include <iomanip> // put_time #include <ctime> #include <sstream> /...
// readfile.cpp /* --------------------------------------------------------- standard libraries --------------------------------------------------------- */ // #include <stdio.h> #include <stdlib.h> // strtod?, stod // #include <assert.h> #include <string.h> // #include <string> #include <iostream> #include <str...
/************************************************************************* * Copyright (c) 2016-2021, NVIDIA CORPORATION. All rights reserved. * Modifications Copyright (c) 2019-2021 Advanced Micro Devices, Inc. All rights reserved. * * See LICENSE.txt for license information **************************************...
#include "spriteBank.h" #include "objectBank.h" #include "animationBank.h" #include "transitionBank.h" #include "categoryBank.h" #include "soundBank.h" #include "minorGems/io/file/File.h" #include "minorGems/system/Thread.h" #include "minorGems/game/game.h" #include "minorGems/util/MinPriorityQueue.h" #include "min...
/* * C++ Mandelbrot with threads. * * Usage: ./build/C++/mandelbrot_cpp_async <image width> <image height> <max iterations> <repetitions (1+)> <center x> <center y> <section height> <gradient filename> <output filename> * Example: ./build/C++/mandelbrot_cpp_async 800 600 200 1 -0.8 0.0 2.2 gradients/benchmark.gradi...
/* This class is used to check the header fields for any intersecting nicknames on the Boss Protector list and warn the user accordingly */ #include "stdafx.h" #include "resource.h" #include "headervw.h" #include "BossProtector.h" #include "doc.h" #include "nickdoc.h" #include "address.h" #include <QCUtils.h> #incl...
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories <NAME>, <EMAIL> Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with San...
#include "Variane_core_avalon.h" #include "verilated.h" #if VM_TRACE #include <verilated_vcd_c.h> #endif #include <fstream> #include <iostream> #include <iomanip> #include <cstdint> #include <vector> #include <unistd.h> #include "socket_packet_utils.h" struct RVFI_DII_Execution_Packet { std::uint64_t rvfi_order :...
#include "../include/Debugger.h" #include <SDL.h> #include <glad/glad.h> #include <sstream> #include <fstream> #include "../lib/imgui/examples/imgui_impl_sdl.h" #include "../lib/imgui/examples/imgui_impl_opengl3.h" uint32_t global = 0xaaffaa; Debugger::Debugger(std::string fileName) : cpu(MMU) { Debugger(); std::...
// Copyright 2020 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 "components/lookalikes/lookalike_url_util.h" #include <utility> #include "base/bind.h" #include "base/callback.h" #include "base/macros.h" #inc...
#include <iostream> #include <cassert> #include "pigpio.h" using namespace std; #define GPIO_7 (7) #define GPIO_8 (8) #define GPIO_9 (9) #define GPIO_10 (10) #define GPIO_11 (11) #define SPI_0_MOSI (GPIO_10) #define SPI_0_MISO (GPIO_9) #define SPI_0_SCLK (GPIO_11) #define SPI_CE0_N (GPIO_8) #def...
/* This file is part of the Pinocchio automatic rigging library. Copyright (C) 2007 <NAME> (<EMAIL>) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of ...
///////////////////////////////////////////////////////////////////////////// // // // *** Autorska prava (C) 2005 <NAME> <<EMAIL>> *** // // // // MaMa specifikacija...
#include "wphmm_ungapped.h" WPHMM_UNGAP::WPHMM_UNGAP(const char* _s, const char* _m, bool _debug, bool* _b, bool _c) { debug = _debug; if (_c && (_b != nullptr)) { expanding_motif(_m, _b); } else { motif = new Motif_fuzzy_binary(_m); if (_b != nullptr) { motif->set_indic...
/* Copyright (c) 2015, Project OSRM, <NAME>, others 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...
// -*- C++ -*- // // Package: SiStripQualityStatistics // Class: SiStripQualityStatistics // /**\class SiStripQualityStatistics SiStripQualityStatistics.h CalibTracker/SiStripQuality/plugins/SiStripQualityStatistics.cc Description: <one line class summary> Implementation: <Notes on implementation> */ /...
/* <NAME> N12725403 Implementation Project Application Security Professor Lum */ #include <iostream> #include <string> #include <fstream> #include <stdio.h> #include <vector> #include <iomanip> #include <sstream> #include <openssl/aes.h> #include <openssl/rand.h> using namespace std; //Please change the directory ...
// Copyright 2012 Viewfinder. All rights reserved. // Author: <NAME>. #include "ImagePipeline.h" #include "Logging.h" #include "MathUtils.h" #include "STLUtils.h" #include "Timer.h" namespace { void GaussianBlurWeights(vector<float>* v, double stddev) { const float stddev_sqr = stddev * stddev; float sum = 0; ...
/* $NoKeywords: $ */ /* // // Copyright (c) 1993-2011 <NAME> & Associates. All rights reserved. // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert // McNeel & Associates. // // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. // ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PART...
#include "Physics_ProjectApp.h" #include "GameObject.h" #include "Sphere.h" #include "Plane.h" #include "Box.h" #include "Spring.h" #include "Texture.h" #include "Font.h" #include "Input.h" #include "glm\ext.hpp" #include <Gizmos.h> #include <random> #include <iostream> Physics_ProjectApp::Physics_ProjectApp() { RED ...
#include <iostream> #include <fstream> #include <sstream> #include <cstring> #include <string> #include <random> #include <time.h> #include <map> #include <omp.h> using namespace std; #define ASCII_a 97 // DON'T CHANGE (ASCII character a = 97) #define MAX_GENS 50 // Number of generations #define POP_SIZE 250 // Num...
#define _USE_MATH_DEFINES // need this for visual studio to find M_PI #include <cmath> #include <iostream> using std::cerr; using std::endl; using std::ios; #include <fstream> using std::ofstream; using std::ifstream; #include <cstdlib> using std::exit; #include <GL\glut.h> // needed for GLU.h inclusion #include <GL\GL...
#include <unity2vsg/ShaderUtils.h> #include <glslang/SPIRV/GlslangToSpv.h> #include <glslang/Public/ShaderLang.h> #include "glsllang/ResourceLimits.h" #include <algorithm> #include <iomanip> using namespace unity2vsg; #if 1 # define DEBUG_OUTPUT std::cout #else # define DEBUG_OUTPUT \ if (false) std:...
#include "Presets.h" #if !defined(TSF_POW) || !defined(TSF_POWF) || !defined(TSF_EXPF) || !defined(TSF_LOG) || !defined(TSF_TAN) || !defined(TSF_LOG10) || !defined(TSF_SQRT) # include <math.h> # if !defined(__cplusplus) && !defined(NAN) && !defined(powf) && !defined(expf) && !defined(sqrtf) # define powf (float)...
#include <iostream> #include <cstdio> #include <cstdlib> #include <fstream> #include <istream> #include <vector> #include <string> #include <stdlib.h> #include <algorithm> #include <utility> #include <array> #include <tuple> #include <queue> #include <memory> #include <stack> #include <functional> #include <cstring> #i...
// STL #include <iostream> #include <unordered_set> #include <climits> #include <chrono> #include <thread> #include <filesystem> // OpenGL #include <GL/glew.h> #include <GLFW/glfw3.h> // TCLAP #include <tclap/CmdLine.h> // OpenCV #include <opencv2/opencv.hpp> // Ours #include "ShaderProgram.h" #include "MathUtil.h"...
/* * CiderPress * Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved. * See the file LICENSE for distribution terms. */ /* * The "MacPart" DiskFS is a container class for multiple ProDOS and HFS * volumes. It represents a partitioned disk device, such as a hard * drive or CD-ROM. */ #include...
#include <Rulomi.h> #include"RulomiCore/EntryPoint.h" #include "Platform/OpenGL/OpenGLShader.h" #include "glm/glm.hpp" #include "imgui/imgui.h" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" class Exmplayer :public Rulomi::Layer { public: //�������õ��ĸ�Ԫ���� ��������� ����λ�� //��ʼ�� ����sha...
//////////////////////////////////////////////////////////////////////// // <NAME> (<EMAIL>) // // license: LGPLv3 // FLAGS: -g -std=c++11 `pkg-config opencv --cflags --libs` -lboost_system -pthread -lturbojpeg -lboost_system -lboost_program_options -O2 -Wno-inline #include <opencv2/opencv.hpp> #include <boost/progra...
//////////////////////////////////////////////////////////// // // Bouge - Modern and flexible skeletal animation library // Copyright (C) 2010 <NAME> (<EMAIL>) // // 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 t...
#include <iostream> #include <iomanip> #include <map> #include <set> #include <string> #include <sstream> #include <stdexcept> #include <atomic> using namespace std; #include <cstring> #include <cerrno> #include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <net/if.h> #include <linux/if_packet...
#include "acmacs-base/date.hh" #include "acmacs-whocc-data/labs.hh" #include "seqdb-3/seqdb.hh" #include "acmacs-py/py.hh" // ---------------------------------------------------------------------- namespace acmacs_py { inline static std::string fix_date(std::string_view source) { return source.empty()...
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*- /* * Copyright 2010-2011 ZXing 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.apa...
/* DMDA/KSP solving a system of linear equations. Poisson equation in 2D: div(grad p) = f, 0 < x,y < 1 with forcing function f = -cos(m*pi*x)*cos(n*pi*y), Neuman boundary conditions dp/dx = 0 for x = 0, x = 1. dp/dy = 0 for y = 0, y = 1. Contributed by <NAME> <<EMA...
/* -------------------------------------------------------------------------- * * OpenSim: WISCO_IdealMuscle.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
/* @file=espADC.cpp Provides ADC Readings for each channel add following to the setup() in your main.cpp espADC::setup(); add following to the loop in you main.cpp espADC:readADCChannel(channel); @dependency= */ // #include <SPI.h> // SPI mySpi; #include <Adafruit_MCP3008.h> Adafruit_M...
#include <iostream> #include "gpu_func.h" #include <sys/time.h> #include <vector> #include <RcppEigen.h> class Cox_GPU { uint32_t N; // Number of observations uint32_t K; // Number of responses, after removing some responses uint32_t p; // Number of variables uint32_t K0; // Number of responses at th...
#include "common.h" #include "cmath" #include "vector" #include "string" #include "random" #include "OpenSimplexNoise.h" #include "cstdlib" bool Init(); void CleanUp(); void Run(); void PrintVector(vector<vector<double>> mat); double ScaleNum(double n, double minN, double maxN, double min, double max); vector<vector<...
/////////////////////////////////////////////////////////////////////////////// // File: HFShowerParam.cc // Description: Parametrized version of HF hits /////////////////////////////////////////////////////////////////////////////// #include "SimG4CMS/Calo/interface/HFShowerParam.h" #include "SimG4CMS/Calo/interface/...
#include "globals.h" #include "flags.h" #include "sector.h" #include "sectorset.h" #include "imagereader/imagereader.h" #include "lib/config.pb.h" #include "fmt/format.h" #include <algorithm> #include <iostream> #include <fstream> static unsigned int getModulationandSpeed(uint8_t flags, bool *mfm) { switch (flags) ...
/* * RFC 1321 compliant MD5 implementation, * by <NAME> <<EMAIL>>; * this program is licensed under the GPL. */ #include "md5.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #define GET_UINT32(n,b,i) \ { ...
#include "lang/seq.h" using namespace seq; using namespace llvm; types::FuncType::FuncType(std::vector<types::Type *> inTypes, types::Type *outType) : Type("function", BaseType::get()), inTypes(std::move(inTypes)), outType(outType) {} unsigned types::FuncType::argCount() const { r...
/////////////////////////////////////////////////////////////////////////////// //FILE: 'kinematics.cpp' //Contains 'kinematics' module of class 'Flat6' // //011128 Created from FORTRAN code SRAAM6 by <NAME> //030319 Upgraded to SM Item32, PZi ////////////////////////////////////////////////////////////////////////////...
#include "host/wasi_crypto/ctx.h" #include "wasi_crypto/api.hpp" #include "gtest/gtest.h" #include <cstdint> using namespace WasmEdge::Host::WASICrypto; using namespace std::literals; namespace { WasmEdge::Span<uint8_t const> operator"" _u8(const char *Str, std::size_t L...
// // HousePower MiniBMS Cell Module // OpenSource Replacement Firmware // Copyright 2021 <NAME> // // See LICENSE file. // #include <Arduino.h> #include <avr/power.h> #include <avr/wdt.h> #include <avr/sleep.h> ////////////////////////////////////////////////////////////////////////// // If the CALIBRATION_MODE fla...
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetVerticalSync(true); int w = ofGetWidth(); int h = ofGetHeight(); node.setup("192.168.1.55", "255.255.255.0", "192.168.1.200"); node.setUseFramerate(false); node.setSourceName(...
/* * iDataAgent * * PrivacyGuard Project (2018), Virginia Tech CNSR Lab */ #include <stdio.h> #include <string.h> //strlen #include <stdint.h> // #include <ctime> //time() #include <sys/time.h> #include <sys/socket.h> #include <arpa/inet.h> //inet_addr #include <unistd.h> //write #include <iostream> #in...
// car.cpp // implementazione dei metodi definiti in car.h #include <stdio.h> #include <math.h> #include <GL/gl.h> #include <GL/glu.h> #include <vector> // la classe vector di STL #include "car.h" #include "point3.h" #include "mesh.h" // var globale di tipo mesh Mesh carlinga((char *)"ape_mod.obj"); // chiama il ...
#include "vix_all.h" #include <maya/MFnCamera.h> #include <maya/MFnLight.h> #include <maya/MFnNonAmbientLight.h> #include <maya/MFnSpotLight.h> #include <maya/MAnimUtil.h> meConvNode::meConvNode(const MDagPath& mpath) : meConvObj(mpath) { ParentIsJoint = false; Animation = NULL; } /*! * @fn meConvObj* meConvNode:...
/* * Copyright 1999-2001, <NAME> <<EMAIL>>. All rights reserved. * Distributed under the terms of the MIT License. */ #include "NewsBeMainWindow.h" #ifndef NNTP_H #include "NNTP.h" #endif #ifndef _CONSTANTS_H #include "constants.h" #endif #include "ReplyWindow.h" //--------------- // constructor //-------------...
// // Created by Kazem on 3/1/19. // #include <string> #include <fstream> #include <sstream> #include <iostream> #include <cassert> #include <cfloat> #include <types.h> #include <chrono> #include <cmath> #include <mkl_service.h> #include "stdio.h" #include <mp_format_converter.h> #include <osqp.h> #include <Util.h> #i...
/* ------------------------------------------------------------------------- * * knl_usync.cpp * File synchronization management code. * * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents...
// -*- compile-command: "g++ -std=c++11 -Wall -Werror -Weffc++ -pedantic -pthread -ggdb -D_DEBUG -DINCLUDE_ADB_MAIN -o adbranch adbranch.cpp" -*- /** @file adbranch.cpp */ #include "adbranch.hpp" #include "datastack.hpp" /** * @brief List of values what will be judged as @em true. * @ingroup ab_handle_Bool_Testing...
/** * \file se2_localization_ukfm.cpp * * Created on: Dec 10, 2018 * \author: artivis * * --------------------------------------------------------- * This file is: * (c) 2021 <NAME> * * This file is part of `manif`, a C++ template-only library * for Lie theory targeted at estimation for robotics. ...
/* * Copywrite 2021 <NAME> */ #include <functional> #include <map> #include <queue> #include "Containers/DynamicArray.h" #include "Math/Vector.h" #include "Window/Window.h" namespace { static int const c_menuWidth = 3; static int const c_width = 80; static int const c_height ...
#include "VlkUIRendererBackend.hpp" #include <string> #include <engine/render/imgui/ImGuiViewportPlatformData.hpp> #include <engine/render/imgui/vlk/spirv/vlk_imgui_shaders_spirv.h> #include <engine/render/vlk/VlkDebug.hpp> #include <engine/render/vlk/VlkDevice.hpp> #include <engine/render/vlk/VlkFrameCommandBuffer.h...
#include "YODA/ReaderYODA.h" #include "YODA/Histo1D.h" #include <iostream> #include <regex> #include <unordered_map> #include <functional> #include "Eigen/Dense" #include "boost/multi_array.hpp" #define H5_USE_BOOST #define H5_USE_EIGEN #include <highfive/H5Easy.hpp> #include <highfive/H5DataSet.hpp> #include <highfi...
#include "wayspid/trajectory.h" geometry_msgs::PoseStamped local_attitude; void dynamicReconfigureCallback(wayspid::setTrajectoryConfig &config, uint32_t level) { std::cout << "[Trajectory] setTrajectoryConfig is running..." << std::endl; last_yaw = config.yaw_d / 180 * M_PI; trajectory_type = config.trajectory; i...
#include <cstdlib> #include <list> #include "jvmti.h" #include <iostream> #include <string> //extern "C" { static jclass ClassAssertionError; static jclass ClassClass; static jclass ClassMethod; static jclass ClassThread; static jclass ClassIllegalArgumentException; static jclass ClassNoSuchElementException; static j...
#include "Misc.h" #include <chrono> // Split function for command line argument parser std::vector<std::string> Split(std::string line, char mark) { std::vector<std::string> returnValue; std::size_t lastFound = 0; std::size_t found = 0; while (found != std::string::npos) { found = line.find_first_of(mark, lastFo...
/* descriptor.cpp Copyright (c) 2015, <NAME>. All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license....
/************************************************************************** * Copyright(c) 1998-2018, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
#include"initProg.h" //void genPoints(vec2 *a, vec2 C[]); int m = 0; //Modes switching vec2 *N; //Stores Click Positions list<Circle> c; list<Line> l; list<Rect> r; list<Poly> p; Poly pp; bool ren; bool d; vec2 currPos; /////Temp vars to edit pos Line *tl; int lind; Circle *tc; Rect *tr; Poly *tp; ///// i...
#include "pico_zense_manager.hpp" using namespace std; PicoZenseManager::PicoZenseManager() { for (int deviceIndex = 0; deviceIndex < MAX_DEVICECOUNT; deviceIndex++) { deviceState_[deviceIndex] = DeviceClosed; serialNumber_[deviceIndex] = ""; isWDR_[deviceIndex] = false; isRGB_[deviceIndex] = false;...
#include "html_to_xml.hpp" #include "make_array.hpp" #include <utility> #include <cctype> #include <numeric> #include <string> #include <cstring> #include <cstdint> #include <algorithm> #include <cwctype> #include <cwchar> #include <iostream> #include <fstream> #include <codecvt> #include <boost/optional.hpp> #includ...
// C++ std #include <cstddef> #include <cstdint> #include <iostream> #include <vector> #include <unordered_set> // SFML #include <SFML/System.hpp> #include <SFML/Graphics.hpp> // this project #include "random.hpp" #include "utils.hpp" namespace app { class Sprite: public sf::Drawable, public sf::Transformable { p...
#include "DRRgenerator.h" #include <algorithm> #include <iterator> #include <sstream> #include "niftireader.h" /* in the constructor, we define the camera parameter * it should be changed according to your needs *it supposed that the CT coordinate system is centered on the CT center */ DRRgenerator::DRRgenerator(f...
#include "keycode.hpp" #include "keycodedef.hpp" #include "util/debug.hpp" #include "util/string.hpp" #include <windows.h> #include <array> #include <cctype> #include <initializer_list> #include <limits> #include <string> #include <unordered_map> #include <unordered_set> #define SHIFTED_SHIFT (0x0100) #define SHI...
#include "DetectorConstruction.hh" #include "DetectorMessenger.hh" #include "G4Material.hh" #include "G4NistManager.hh" #include "G4Box.hh" #include "G4LogicalVolume.hh" #include "G4PVPlacement.hh" #include "G4UnionSolid.hh" #include "G4GeometryManager.hh" #include "G4PhysicalVolumeStore.hh" #include "G4LogicalVolum...
/****************************************************************************** Shaga library is released under the New BSD license (see LICENSE.md): Copyright (c) 2012-2021, SAGE team s.r.o., <NAME> All rights reserved. *******************************************************************************/ #include <gtest/...
// Copyright 2019 The Fuchsia 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 <fuchsia/ui/app/cpp/fidl.h> #include <fuchsia/ui/gfx/cpp/fidl.h> #include <fuchsia/ui/input/cpp/fidl.h> #include <fuchsia/ui/scenic/cpp/fidl.h> #i...
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-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 Soft...
/*! * @copyright * Copyright (c) 2015-2017 Intel Corporation * * @copyright * 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 * * @copyright * http://www.apache.org/licenses/LICENSE-...
/* * \copyright Copyright 2015 All Rights Reserved. * \license @{ * * 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...
// 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 "sandbox/linux/services/broker_process.h" #include <fcntl.h> #include <signal.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys...
// Copyright (C) 2015-2017 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <gtest/gtest.h> #include <asiolink/...
/* * ================================================= * Mockifer License * ================================================= * * MIT License * * Copyright (c) 2017 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (th...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2021 <NAME> and <NAME> //LIC// //LIC// This lib...
#include "../../common/taskLib/ct_file.h" #include "../../common/taskLib/TaskGraph.hpp" #include <algorithm> #include <iostream> #include <map> #include <queue> #include <deque> #include <string> using namespace std; using namespace contech; #define MAX_THREADS 1024 typedef struct _ctid_harmony_state { bool bloc...
// 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 "core/fxge/dib/cfx_imagetransformer.h" #include <math.h> #include <...
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAM...
// Copyright (c) 2018-2019 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "blockrelay/graphene_set.h" #include "bloom.h" #include "hashwrapper.h" #include "iblt.h" #include "random.h" #...
/* * @HEADER * * *********************************************************************** * * Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring * Copyright 2012 Sandia Corporation * * Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, * the U.S. Govern...
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2020, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
/** * @file methods/linear_svm/linear_svm_main.cpp * @author <NAME> * * Main executable for linear svm. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD license along with mlpack. If not, ...
// Copyright 2014 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 "volume.h" #include <cstring> #include <sstream> #include "request.h" #include "volume_archive_libarchive.h" #include "volume_reader_javascr...
// Copyright (c) 2018 Baidu.com, Inc. All Rights Reserved // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
/* * Software License Agreement (BSD License) * * Copyright (c) 2013-, <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 ret...
// // params.cpp // // Copyright © 2020 by Blockchain Commons, LLC // Licensed under the "BSD-2-Clause Plus Patent License" // #include <memory.h> #include <argp.h> #include <assert.h> #include <iostream> #include <stdexcept> #include <bc-crypto-base/bc-crypto-base.h> #include "params.hpp" #include "formats-all.h...
/** * asp_therm - implementation of real gas equations of state * * * Copyright (c) 2020 <NAME> * * This library is distributed under the MIT License. * See LICENSE file in the project root for full license information. */ #include "asp_db/db_connection_manager.h" #include "asp_db/db_queries_setup.h" #include "...
#include <SDL2/SDL.h> #include <SDL2/SDL_mixer.h> #include <SDL2/SDL_opengl.h> #include "BitmapFont.hpp" #include "Game.hpp" #include "Globals.hpp" #include "Map.hpp" #include "MapState.hpp" #include "Rendering.hpp" #include "TransitionState.hpp" #include "World.hpp" MapState::MapState() : GameState(true), node(0),...
/* * Copyright 2015-2019 Autoware Foundation. 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...
//@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2014) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this software...
/* * Copyright (C) 2018 CFS Engineering * * Created: 2018 <NAME> <<EMAIL>> * * 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 requir...