text
stringlengths
5.71k
33.7k
/* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with cer...
// Copyright (c) 2009 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 "languages/public/languages.h" #include "base/string_util.h" #include "encodings/compact_lang_det/win/cld_basictypes.h" Language default_l...
#include <getopt.h> #include <signal.h> #include <stdlib.h> #include "common.h" #include "event_loop.h" #include "global_scheduler.h" #include "global_scheduler_algorithm.h" #include "net.h" #include "state/db_client_table.h" #include "state/local_scheduler_table.h" #include "state/object_table.h" #include "state/tabl...
/// /// \file AliFemtoCoulomb.cxx /// #include "AliFemtoCoulomb.h" #include "AliFemtoPair.h" #include "AliFemtoParticle.h" #include <TH1D.h> #include <TH3D.h> #include <cstdio> #include <cassert> //#include "PhysicalConstants.h" const double fine_structure_const = 0.00729735; #ifdef __ROOT__ /// \cond CLASSIMP ...
/* * Copyright 2020, Offchain Labs, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met : 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
// Copyright 1997-2000, University of Notre Dame. // Authors: <NAME>, <NAME>, <NAME>, and // <NAME> // // This file is part of the Notre Dame C++ bindings for MPI. // // You should have received a copy of the License Agreement for the Notre // Dame C++ bindings for MPI along with the software; see the file /...
#include <natus/application/global.h> #include <natus/application/app.h> #include <natus/format/global.h> #include <natus/format/future_items.hpp> #include <natus/format/natus/natus_module.h> #include <natus/io/database.h> #include <natus/device/global.h> #include <natus/gfx/camera/pinhole_camera.h> #include <natu...
#include "realm/db.hpp" #include "realm/sync/history.hpp" #include "realm/sync/instruction_applier.hpp" #include "realm/sync/impl/clamped_hex_dump.hpp" #include "realm/sync/noinst/client_history_impl.hpp" #include "realm/sync/protocol.hpp" #include "realm/sync/transform.hpp" #include "realm/sync/changeset_parser.hpp" #...
/* * Software License Agreement (BSD License) * * Copyright (c) 2011, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the...
auto Cartridge::loadBoard(Markup::Node node) -> Markup::Node { string output; auto region = node["game/region"].text(); auto board = node["game/board"].text(); board.trimLeft("SHVC-", 1L); board.trimLeft("SNSP-", 1L); board.trimLeft("MAXI-", 1L); board.trimLeft("MJSC-", 1L); board.trimLeft("EA-", 1L); ...
// GLSLShaderProgram.cpp // created on 2021/3/31 // author @zoloypzuo #include "ZeloPreCompiledHeader.h" #include "GLSLShaderProgram.h" #include "Renderer/OpenGL/GLUtil.h" #include "Core/LuaScript/LuaScriptManager.h" using namespace Zelo::Core::RHI; using namespace Zelo::Core::LuaScript; struct shader_file_extension ...
#include <gtest/gtest.h> #include <yaml-cpp/yaml.h> #include "UaParser.h" #include "internal/AlternativeExpander.h" #include "internal/Pattern.h" #include "internal/ReplaceTemplate.h" #include "internal/SnippetIndex.h" #ifdef WITH_MT_TEST #include <future> #endif // WITH_MT_TEST namespace { const std::string UA_COR...
/* * Developed by <NAME> - (https://github.com/KareemSkinner/The_Cellular_Automata) * This program generates elementary cellular automata and Conway's Game of Life. * Inspired by <NAME>'s book - "A New Kind of Science" */ #include <chrono> #include <future> #include <iostream> #include <memory> #include <vector> // A...
/* * This is a demo of Nana C++ Library * Author: Jinhao * The demo requires Nana 1.0 and C++11 compiler * Screenshot at http://sourceforge.net/projects/stdex */ #include <memory> #include <vector> #include <map> #include <nana/deploy.hpp> #include <nana/gui/wvl.hpp> #include <nana/gui/place.hpp> #include <nana/g...
/* ------------------------------------------------------------------------------- Copyright (C) 1999-2007 id Software, Inc. and contributors. For a list of contributors, see the accompanying CONTRIBUTORS file. This file is part of GtkRadiant. GtkRadiant is free software; you can redistribute it and/or m...
#include "../include/progressive/constants.h" #include "../include/progressive/incremental.h" #include "../include/util/binary_search.h" #include "../include/util/hybrid_radix_insert_sort.h" using namespace std; #define RADIXSORT_MSD_BYTES 8 //! total amount of relevant bytes in the data set //! this is ceil(log2(MAX...
// // Created by <NAME> on 14/3/16. // #include "OniReader.h" #include <stdexcept> #include <fstream> #include <map> #include <vector> #include <jpeglib.h> template <typename T> T read(std::istream& stream){ T value; stream.read(reinterpret_cast<char*>(&value), sizeof(T)); return value; } std::string ...
/* * This file is part of * llreve - Automatic regression verification for LLVM programs * * Copyright (C) 2016 Karlsruhe Institute of Technology * * The system is published under a BSD license. * See LICENSE (distributed with this file) for details. */ #include "ModuleSMTGeneration.h" #include "Compat.h" ...
#include <stdio.h> #include <stdlib.h> #include <sstream> #include <string.h> #include <string> #include <cmath> #include <fstream> #include <time.h> #include <iostream> #include <iomanip> #include <vector> //#include "../utils_cpp/lib_includes.h" //#include "../classes/classes.h" //#include "../scf_main/scf_classes.h...
#include "drive_ros_localize_visual_odometry/simple_visual_odometry.h" #include "drive_ros_localize_visual_odometry/vo_features.h" SimpleVisualOdometry::SimpleVisualOdometry(const ros::NodeHandle n, const ros::NodeHandle p): nh(n), pnh(p), it(p) { // reset parameters currentPosition.create(3,1,CV_64F); cu...
//************************************ bs::framework - Copyright 2018 <NAME> **************************************// //*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********// #include "Input/BsGamepad.h" #include "Input/BsInput.h" #include "Private/Win...
#include "cmd_line.h" #include <library/grid_creator/binarization.h> #include <util/system/info.h> #include <util/string/vector.h> static yvector<int> ParseIndicesLine(const TString& indicesLine) { yvector<int> result; for (TStringBuf s : splitStroku(indicesLine, ":")) { int from = FromString<int>(s.B...
#include "Application.h" // Standard library. #include <iostream> #include <iomanip> #include <time.h> // External. #define GLEW_STATIC #include <GL/glew.h> #include <GLFW/glfw3.h> // Internal. #include "Scene\Scene.h" #include "Scene\ScenePack.h" #include "Graphic\Graphics.h" #include "Graphic\Mater...
// Include standard headers #include <stdio.h> #include <stdlib.h> #include <string> #include <fstream> #include <iostream> #include <cstdlib> //rand #include <chrono> #include <vector> #include <cstring> #include <sstream> #include <glm/glm.hpp> //using namespace glm; using namespace std; typedef std::chrono::time_p...
#include <StdInc.h> #include "Settings.h" #include "VersionInfo.h" #include "Nest/Api/Compiler.h" #include "Nest/Utils/CompilerSettings.hpp" #include "Nest/Utils/CompilerStats.hpp" #ifdef _MSC_VER #pragma warning(disable : 4512) #pragma warning(disable : 4239) #endif #include <boost/program_options.hpp> #include <bo...
#include "ofApp.h" //===============functions for face tracker================ // Used to extract eye rectangles. from ProCamToolkit GLdouble modelviewMatrix[16], projectionMatrix[16]; GLint viewport[4]; void updateProjectionState() { glGetDoublev(GL_MODELVIEW_MATRIX, modelviewMatrix); glGetDoublev(GL_PROJECT...
///////////////////////////////////////////////////////////// // // // Copyright (c) 2003-2017 by The University of Queensland // // Centre for Geoscience Computing // // http://earth.uq.edu.au/centre-geoscience-computing // // ...
/* Copyright Statement: * * This software/firmware and related documentation ("MediaTek Software") are * protected under relevant copyright laws. The information contained herein * is confidential and proprietary to MediaTek Inc. and/or its licensors. * Without the prior written permission of MediaTek inc. and/or ...
#include <glad/glad.h> #include "cuda_globals.hpp" #include <glm/glm.hpp> // vec3, vec4, ivec4, mat4 #include <glm/gtc/type_ptr.hpp> // value_ptr #include <glm/gtc/matrix_transform.hpp> // ortho, rotate, scale, perspective #include <GLFW/glfw3.h> #include <iostream> #include <fstream> #include <string> #include <th...
//////////////////////////////////////////////////////////////////////////// /* This file is a part of an interpreter for Tao, a high level object-oriented computing and scripting language. Copyright (C) 2004-2005, <NAME>. Contact: <EMAIL>, <EMAIL> This program is free softwar...
#include "wave_form_collapse.h" const int WaveFormCollapse::DIRECTIONS_X[4] = { 0, -1, 1, 0 }; const int WaveFormCollapse::DIRECTIONS_Y[4] = { -1, 0, 0, 1 }; // Normalize a vector so the sum of its elements is equal to 1.0f void WaveFormCollapse::normalize(Vector<double> &v) { double sum_weights = 0.0; int size = v...
#include "bmc/bmc_loop_pass.h" #include "bmc/bmc_ds.h" char bmc_aggr_pass::ID = 0; bmc_aggr_pass::bmc_aggr_pass( options& o_, z3::context& z3_, value_expr_map& def_map_, bmc& b_) : bmc_pass(o_,z3_,b_), llvm::FunctionPass(ID), def_map(def_map_) {} bmc_aggr_pass::~bmc_aggr_pass() { //...
#include "GravityInertiaSystemStatus.h" #include "RoveBoard.h" #include "../RoveMotionUtilities.h" #include <stdint.h> const float FootPoundToNewtonMeter = 1.36; GravityInertiaSystemStatus::GravityInertiaSystemStatus(ArmModel model, void* armModelConstants) : Model(model), ArmModelConstants(armModelConstants) { } ...
//Analysis Task to find the thermal photon distribution. Made By <NAME>, Aug 26, 2014. //#include "AliAnalysisTaskSE.h" #include "AliESDEvent.h" #include "AliAODEvent.h" //#include "AliTriggerAnalysis.h" #include "AliMultiplicity.h" #include "TH1F.h" #include "TH2F.h" #include "TH3F.h" #include "TF1.h" #include <io...
#include <cmath> #include <iostream> #include <random> #include <string> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> void display_welcome(); void make_deck(std::vector<std::pair<std::string, std::string>> *deck); int get_CPU_num(); void hand_out_cards( int player_num, ...
/* Copyright (C) 2011 by <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, subli...
#include "xspx_parser.h" #include <xenon/recref.h> elem_type merge_elems(const elem_type &base, const elem_type &b) { elem_type dest = base; dest.tag = b.tag; dest.isa = b.isa; // mark all the dest attributes as hidden so they don't show in docs // merge the attributes auto dest_atts = b.attri...
#include <Arduino.h> #include <DS18B20.h> void DS18B20::upload() { if(uploadFunc==0 || retCode < 1 ) return; if( uploadFunc(id, temp, timeStamp ) > 0) { syncTimer = millis() + syncInterval ; prevTemp = temp; //available = 0; } else { syncTimer = millis() + id ; } } void DS18B20::loop(void) // 0 w...
#include "DriveController.h" DriveController::DriveController() { fastVelPID.SetConfiguration(fastVelConfig()); fastYawPID.SetConfiguration(fastYawConfig()); slowVelPID.SetConfiguration(slowVelConfig()); slowYawPID.SetConfiguration(slowYawConfig()); constVelPID.SetConfiguration(constVelConfig())...
// // "$Id: UpBox.cxx 6132 2008-05-29 23:09:01Z TobiasFar $" // // Box drawing code for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2006 by <NAME> and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as publish...
#include<iostream> #include<cmath> #include<cstring> #include "TrackingFilter.h" #include<list> TrackingFilter::TrackingFilter(const ALGORITHM_PARAMETERS& p, const HITS* h, NEW_SEG_BANK* sb[N_SEG_BANKS]) : m_params(p), m_hits(h), m_debug(false) { for(int i=0;i<N_SEG_BANKS;i++) m_segBank[i] = sb[i]; } float Tra...
/** * @file basic_buff.hpp * @author WCJ (<EMAIL>) * @brief 能量机关 * @date 2021-08-24 * * @copyright Copyright (c) 2021 GUCROBOT_WOLF * */ #pragma once #include <fmt/color.h> #include <fmt/core.h> #include <algorithm> #include <string> #include <vector> #include "abstract_center_r.hpp" #include "abstract_ta...
#include <vector> #include <algorithm> #include <cassert> #include <fstream> #include "mpi.h" #include "omp.h" #include "types.hpp" #include "fftwmpi.hpp" #include "particle.hpp" #include "interp.hpp" #include "core.hpp" int pic_fft(int argc, char* argv[]) { // Temp test params assert(argc==4); const int nt ...
// system includes #include <algorithm> #include <cstring> #include <functional> #include <iomanip> #include <iostream> #include <set> #include <sstream> #include <unordered_map> #include <vector> #include <unistd.h> #include <utility> // library includes #include <boost/filesystem.hpp> // local includes #include "fs...
#include "ros/ros.h" #include "drive_ros_msgs/VehicleEncoder.h" #include "nav_msgs/Odometry.h" #include "tf/tf.h" #include "tf/transform_broadcaster.h" #include "eigen3/Eigen/Dense" #include "std_srvs/Trigger.h" #include <rosbag/bag.h> #include <rosbag/view.h> #include <boost/foreach.hpp> #include "drive_ros_localize_...
#include <ros/ros.h> #include <ros/time.h> #include <sensor_msgs/point_cloud_conversion.h> #include <geometry_msgs/Point.h> #include <visualization_msgs/MarkerArray.h> #include <visualization_msgs/Marker.h> #include <pcl_ros/point_cloud.h> #include <tf2_ros/transform_listener.h> #include <geometry_msgs/TransformStamp...
/* ** ClanLib SDK ** Copyright (c) 1997-2020 The ClanLib Team ** ** 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 a...
/* * \class TMatacq * * \author: <NAME> - CEA/Saclay */ #include <CalibCalorimetry/EcalLaserAnalyzer/interface/TMatacq.h> #include <iostream> #include <cmath> #include "TVectorD.h" #include <CalibCalorimetry/EcalLaserAnalyzer/interface/TMarkov.h> using namespace std; //ClassImp(TMatacq) void TMatacq::init() ...
//===-- CSKYAsmBackend.cpp - CSKY Assembler Backend -----------------------===// // // 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 // //===---------------------------...
//********************************************************// // CUDA SIFT extractor by <NAME> aka Celebrandil // // celle @ c<EMAIL> // //********************************************************// #include <iostream> #include <cmath> #include <iomanip> #include <opencv2/cor...
/* <NAME> * <NAME> */ #include <iostream> #include <fstream> #include <string> #include <vector> #include <sstream> #define FALSE 0 #define TRUE 1 using namespace std; int getTokenNumbersPerLine(string current); void displayProductions(vector < vector <string > >, int, int); void generateFirstSet(vector < vector...
/** @file FluxAlg.cxx @brief declaration and definition of the class FluxAlg $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/FluxSvc/src/FluxAlg.cxx,v 1.110.22.1 2011/04/18 18:40:17 heather Exp $ */ // Include files // Gaudi system includes #include "GaudiKernel/MsgStream.h" #include "GaudiKernel/AlgFactory...
// *HAJ 020* - Jed // Re-worked class for team select menu. Based on Valve's original teammenu.cpp #include "cbase.h" #include "haj_teammenu.h" #include "haj_teaminfo.h" #include "haj_gamerules.h" #include "haj_player_c.h" #include "haj_modelpanel.h" // needed for model panels #include "c_team.h" #include "c_playerre...
/* * Adplug - Replayer for many OPL2/OPL3 audio file formats. * Copyright (C) 1999 - 2006 <NAME>, <<EMAIL>>, et al. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * vers...
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * This file contains original code and/or modifications of original code. * Any modifications made by VoltDB Inc. are licensed under the following * terms and conditions: * * This program is free software: you can redistribute it and/or modi...
#include <iostream> #include <fstream> #include <algorithm> #include <vector> #include <tuple> #include <cmath> #include <cassert> #include "delaunay.hpp" namespace dl = delaunay; namespace delaunay { template <typename T> Point2D<T> operator-(Point2D<T> const &lhs, Point2D<T> const &rhs) { return Point2D...
/*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...
#include "StdAfx.h" #include "ColorBasedPF_xyVxVy.h" ColorBasedPF_xyVxVy::ColorBasedPF_xyVxVy(void /* param giong setParamsAndInit */) { } ColorBasedPF_xyVxVy::~ColorBasedPF_xyVxVy(void) { delete[] objHistogram; delete[] particles; } void ColorBasedPF_xyVxVy::setParamsAndInit(int numParticles, int hx, i...
#include "MySystem.h" #include <sstream> #include <iostream> #include <Lmcons.h> // UNLEN #include <VersionHelpers.h> #include <iphlpapi.h> MySystem::MySystem() : OneGB(1024 * 1024 * 1024) { // Fix localtime GetLocalTime(&stLocal); // Fix systime GetSystemTime(&stSystem); // System information (...
#include "srkwin32app.h" #include "sonork.rh" #include "srkappstr.h" #pragma hdrstop #include "srkdbmaintwin.h" #include "srk_file_io.h" /* Sonork Messaging System Portions Copyright (C) 2001 Sonork SRL: This program is free software; you can redistribute it and/or modify it under the terms of the S...
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
/**************************************************************************** * * Copyright (c) 2019-2020 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Red...
#include "PlaneDetection.h" #include <omp.h> #include "CommonFunctions.h" #include "Timer.h" PlaneDetection::PlaneDetection() : init_resolution_(0.0) , lowest_resolution_(0.0) , angle_threshold_(0.0) , dist_threshold_(0.0) , res_threshold_(0.0) , min_valid_points_(...
#include <iostream> #include "PhaseSpace.h" #include <math.h> #include <vector> #include "statistics.h" //#include "data_processing.h" //#include "using_gnuplot.h" //#include "cpp_dec_float.hpp" //#include "gnuplot_i.hpp" //#include "gnuplot-iostream.h" //#include <boost/tuple/tuple.hpp> using namespace std; PhaseSpac...
/* * Copyright (c) 2017 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * 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...
#define STRICT #define D3D_OVERLOADS #include <math.h> #include "D3DTextr.h" #include "D3DUtil.h" #include "D3DMath.h" //----------------------------------------------------------------------------- // Declare the application globals for use in WinMain.cpp //-------------------------------------------------...
#include "TestRely.h" #include "XCompCommon.h" #include "OpenCLUtil/OpenCLUtil.h" #include "OpenCLUtil/oclNLCL.h" #include "OpenCLUtil/oclNLCLRely.h" #include "OpenCLUtil/oclKernelDebug.h" #include "SystemCommon/ConsoleEx.h" #include "SystemCommon/StringConvert.h" #include "common/Linq2.hpp" #include "common/StringLinq...
#include "solver.h" #include "analytical_solutions.h" #include "common/sphere.h" #include "globaltimers.h" using namespace std; template <Debug_Level DEBUG_LEVEL, GInt NDIM, LPTType P> void LPTSolver<DEBUG_LEVEL, NDIM, P>::init(int argc, GChar** argv) { m_exe = argv[0]; // NOLINT(cppcoreguidelines-pro-bounds-pointe...
/* BME280.cpp This code records data from the BME280 sensor and provides an API. This file is part of the Arduino BME280 library. Copyright (C) 2016 <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 Founda...
#include <iostream> #include <fstream> #include <string> #include <cmath> // Other classes #include "point.h" #include "point.cpp" #include "ray.h" #include "ray.cpp" #include "camera.h" #include "camera.cpp" #include "color.h" #include "color.cpp" #include "cube.h" #include "cube.cpp" using namespace std; bool writ...
#include "Skydome.h" CSkyDome::CSkyDome() { // values set according to gpu gems Samples = 4; // number of sample rays to use in integral equation Kr = 0.0030f; // Rayleigh scattering constant Km = 0.0015f; // Mie scattering constant ESun = 16.0f; // Sun brightness constant g = -0.98f; // The Mie phase asymmetry...
#include "geometrycentral/numerical/linear_algebra_utilities.h" // saveMatrix #include "geometrycentral/surface/integer_coordinates_intrinsic_triangulation.h" #include "geometrycentral/surface/manifold_surface_mesh.h" #include "geometrycentral/surface/meshio.h" #include "geometrycentral/surface/signpost_intrinsic_trian...
/****************************************************************************** ** Copyright (C) 2007 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.0 ** ** Author: <NAME> ** ** Date: 14/06/2007 ** ** File: MR1D1D...
//===- tools/seec-trace-view/StreamStatePanel.cpp -------------------------===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// /// /// \file ///...
#include <cstring> #include <cstdio> #include <vector> #include <iostream> #include <math.h> #include <GL/glut.h> #include "Archivo.h" #include "Obj.h" #include "Cara.h" #include "Vertice.h" const GLdouble pi = 3.1415926535897932384626433832795; using namespace std; //Cargar información de los .OBJ Archivo cargaArchiv...
// AUTO GENERATED by vnxcppcodegen #include <mmx/package.hxx> #include <mmx/address_info_t.hxx> #include <mmx/addr_t.hpp> #include <mmx/uint128.hpp> #include <vnx/vnx.h> namespace mmx { const vnx::Hash64 address_info_t::VNX_TYPE_HASH(0xbafe22d4f9e3d761ull); const vnx::Hash64 address_info_t::VNX_CODE_HASH(0xb732c...
//===- odla_tf.cc ---------------------------------------------------------===// // // Copyright (C) 2019-2022 Alibaba Group Holding Limited. // // 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 ...
/* Copyright (c) 2018-2019 IDEA Lab, Iowa State University Copyright (c) 2018-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 righ...
//===-- AsmPrinterInlineAsm.cpp - AsmPrinter Inline Asm Handling ----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include "Box.h" #include <iostream> //Constructor, calculates moment, local x and y, points Box::Box(glm::vec2 position, glm::vec2 velocity, float rotation, float mass, glm::vec2 size, glm::vec4 colour) : Rigidbody(ShapeType::BOX, position, velocity, rotation, mass), m_extents(size), m_colour(colour) { m_moment = 1....
#include <myrt/sfml/sfml.hpp> #include <myrt/sfml/gl.hpp> #include <thread> #include <source_location> #include <rnu/math/math.hpp> #include <mutex> #include <myrt/sfml/utils.hpp> extern "C" { #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> #include <libswscale/swscale.h> } class ffmpeg_error : std:...
// Copyright 2008-present Contributors to the OpenImageIO project. // SPDX-License-Identifier: BSD-3-Clause // https://github.com/OpenImageIO/oiio/blob/master/LICENSE.md ///////////////////////////////////////////////////////////////////////// // Tests related to ImageInput and ImageOutput ////////////////////////////...
/**************************************************************************************** Copyright (C) 2015 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accompanies this software...
#include "../include/TriaxialLog.h" #include "../include/TriaxialParamsJsonParser.h" #include <iostream> #include <string> #include <vector> #include <cstring> #include <cassert> #include <time.h> #include "H5Cpp.h" using namespace H5; void triaxial::out::HdfLogger_impl::generate_unique_h5fname() { H5_FNAME = ...
#include "lambdamart.h" #include <cfloat> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <functional> #include <set> #include <map> #include <vector> #include <utility> namespace { bool second_double_greater_than( const std::pair<int, double> &a, const...
#include <string> #include <functional> #include <opencv2/opencv.hpp> #include <stdlib.h> #include <regex> #include "loadgen.h" #include "query_sample.h" #include "query_sample_library.h" #include "test_settings.h" #include "system_under_test.h" #include "bindings/c_api.h" #include "dataset_ov.h" #include "sut_ov.h" ...
/* * See header file for a description of this class. * * \author <NAME> - INFN Torino * * threadsafe version (//-) oct/nov 2014 - WATWanAbdullah ncpp-um-my * */ #include <DQM/DTMonitorClient/src/DTSegmentAnalysisTest.h> // Framework #include <FWCore/Framework/interface/Event.h> #include "DataFormats/Common...
/* ********************************************************************** ** md5.c ** ** RSA Data Security, Inc. MD5 Message Digest Algorithm ** ** Created: 2/17/90 RLR ** ** Revised: 1/91 SRD,AJ,BSK,...
/* * Copyright 2012-2013, <NAME> <<EMAIL>> * All rights reserved. */ #include "TextToolConfigView.h" #include <stdio.h> #include <CheckBox.h> #include <LayoutBuilder.h> #include <ScrollView.h> #include <SeparatorView.h> #include <Slider.h> #include <StringView.h> #include <TextControl.h> #include <TextView.h> #i...
#include <algorithm> #include <frg/optional.hpp> #include <frg/manual_box.hpp> #include <frg/vector.hpp> #include <eir/interface.hpp> #include <thor-internal/arch/cpu.hpp> #include <thor-internal/fiber.hpp> #include <thor-internal/kernel_heap.hpp> #include <thor-internal/main.hpp> #include <thor-internal/acpi/acpi.hpp>...
/* * Copyright 2010-2011, Haiku, Inc. All Rights Reserved. * Copyright 2008-2009, <NAME>. All Rights Reserved. * Copyright 2004-2008, <NAME>. All Rights Reserved. * Copyright 2004-2007, <NAME>. All Rights Reserved. * Distributed under the terms of the MIT License. * * Authors: * <NAME>, <EMAIL> * <NAME>, <EM...
/** * @file app.cpp * @date 10/2020 * @author <NAME> <<EMAIL>> * @brief C++ client for helloworld smart contract. * @version 0.1 */ // I followed some instructions from: https://github.com/EOSIO/eos/issues/5341 // #include "gperftools/profiler.h" #include <fstream> #include <iomanip> #include <iostream> #includ...
// 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 "extensions/common/url_pattern.h" #include <ostream> #include "base/strings/pattern.h" #include "base/strings/string_number_conversions.h" ...
#include "SimulationCore_pcp.h" #include <cmath> #include "Step_S2D_ME_MPM_s_GIMP.h" Step_S2D_ME_MPM_s_GIMP::Step_S2D_ME_MPM_s_GIMP() : Step(&solve_substep_S2D_ME_MPM_s_GIMP), h_elem_raio(0.05), h_pcl_ratio(0.1), model(nullptr) {} Step_S2D_ME_MPM_s_GIMP::~Step_S2D_ME_MPM_s_GIMP() {} int Step_S2D_ME_MPM_s_GIMP::i...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <algorithm> #include <map> #include <regex> #include <string> #include <utility> #include <vector> // clang-format off #include <samples/args_helper.hpp> #include <samples/common.hpp> #include <samples/slog.hpp> #include ...
// Copyright 2016, National University of Defense Technology // Authors: <NAME> <<EMAIL>> #include <vector> #include <string.h> #include "common.h" #include "bfs.h" #include <timer.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <CL/opencl.h> #define BFS_VARIANT "ocl_base" cl_platform_id cpPlatfor...
#include <stdlib.h> #include <string.h> #include "heatshrink_decoder.h" /* States for the polling state machine. */ typedef enum { HSDS_TAG_BIT, /* tag bit */ HSDS_YIELD_LITERAL, /* ready to yield literal byte */ HSDS_BACKREF_INDEX_MSB, /* most significant byte of index */...
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the Licens...
// // Controller.cpp // Flocking // // Created by <NAME> on 4/26/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #include "cinder/app/AppBasic.h" #include "cinder/gl/Gl.h" #include "cinder/Rand.h" #include "Controller.h" using namespace ci; using namespace std; Controller::Controller( int ma...