text
stringlengths
5.71k
33.7k
#include "../Includes/includes.h" /* <------------------------------> Settings START <------------------------------> */ #define SPECIAL_RC4_KEY "Imagination is more important than knowledge." #define SPECIAL_STRING_1 "<KEY>" #define SPECIAL_STRING_2 "<KEY>" #define SPECIAL_STRING_3 "Pts7o0Ox-qU4JhzyK-QnYlZC`yqpgz4j...
#include "ClientConnection.hpp" #include "CryptoHandler.hpp" #include "Headers.hpp" #include "LogHandler.hpp" #include "ParseConfigFile.hpp" #include "PortForwardHandler.hpp" #include "PortForwardSourceHandler.hpp" #include "RawSocketUtils.hpp" #include "ServerConnection.hpp" #include "SshSetupHandler.hpp" #include "Tc...
#include "enclave.h" Arg arg_enclave; // configuration parameters for the enclave int num = 0; // global variable used to give every thread a unique ID sgx_thread_mutex_t global_num_mutex; // synchronizes access to num sgx_thread_mutex_t *queue_mutex; // synchronizes access to the job queue sgx_thread_...
#include "LeetCode.h" #include <dbg.h> #include <cassert> #include <array> #include <stack> #include <fmt/format.h> #include <folly/Range.h> #include <unordered_map> #include <TreeAlgo.h> using std::string; void LeetCode::fib() { constexpr auto answer = [] { constexpr int n = 3; constexpr auto fi...
/* ############################################################################## # # Optimize MARA model parameters (find maximum likelihood estimates) # # AUTHOR: Maciej_Bak # AFFILIATION: University_of_Basel # AFFILIATION: Swiss_Institute_of_Bioinformatics # CONTACT: <EMAIL> # CREATED: 20-01-2020 # LIC...
#include <iostream> #include "arvoreb2.h" using namespace std; /* tipo enumerado que serve como direcionamento de uma página, sendo Externa ou Interna */ enum Tipo { INT, /* página marcada como INT será tratada como interna e armazenará apenas a chave de um registro */ EXT /* página marcada como EXT será tra...
// Copyright 2021, Autonomous Space Robotics Lab (ASRL) // // 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 appli...
#include <stdio.h> #include "pico/stdlib.h" #include "hardware/dma.h" #include "hardware/spi.h" #include "hardware/clocks.h" #include "ArduCAM.h" #include "hardware/irq.h" #include "ov2640_regs.h" #include <cstdlib> #define BMPIMAGEOFFSET 66 const uint8_t bmp_header[BMPIMAGEOFFSET] = { 0x42, 0x4D, 0x36, 0x58, 0x02,...
// Copyright 2017 Google 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...
/* Copyright (c) 2012, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
/* ================================================================ * * AtlasWerks Project * * Copyright (c) <NAME>, <NAME>, <NAME>, * <NAME>. All rights reserved. See Copyright.txt or for details. * * This software is distributed WITHOUT ANY WARRANTY; without even the * implied warranty of MERCHANTABILITY or ...
// *********************************************************************** // // Vite: A C++ library for distributed-memory graph clustering // using MPI+OpenMP // // <NAME> (<EMAIL>) // <NAME> (<EMAIL>) // <NAME> (<EMAIL>) // Pacific...
#include "drawing.h" #include <cmath> #include <iomanip> #include <sstream> #include <nanovg.h> #include "gui_sizes.h" #include "sockets.h" #include "util_area.h" #include "util_enum.h" #include "util_vector.h" #include "wrapper_nvg_func.h" void cse::Drawing::draw_button( NVGcontext* const draw_context, const Flo...
/* * IMSHalgorithm.cpp * * Created on: Aug 24, 2016 * Author: franz */ #include"../head.h" #include<bitset> extern DisjointPathPair *AlgorithmResult; extern GraphTopo *p_graph; //reverse edge and get the shortest path's array from destination node to every other node void ReverseEdgeGetSSP(GraphTopo const *p...
#include "ukf.h" #include "tools.h" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter */ UKF::UKF() { is_initialized_ = false; // if this is false, laser measurements will be ignored (except...
// Copyright 2019 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2018-2020 <NAME>, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any person obtaining ...
/* The MIT License (MIT) Copyright (c) [2019] [BTC.COM] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #include <Eigen/Core> #include <Eigen/SVD> #include <vector> #include <unordered_set> #include <numeric> #include <iterator> #include <queue> #include <iostream> template <int _Dims> class Optimize { public: typedef Eigen::Array<float,_Dims,1> vars_type; typedef std::function<float(vars_type)> fun...
#include <utility> #include <cstdlib> #include <string> #include <limits> #include <vector> #include <cmath> #include "../include/tgaimage.h" #include "../include/model.h" #include "../include/gl_soft.h" #include "../../shaders/v_Basic.cpp" #include "../../shaders/f_Phong.cpp" #include "../../shaders/f_Gouraud.cpp" #...
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2009 <NAME> 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 the License, or (at your o...
#include "getstart.h" std::vector<double> linspace ( double xmin, double xmax, unsigned int n ) { double dummy; if ( xmin>xmax ) { // make sure that xmin is really less than xmax dummy = xmin; xmin = xmax; xmax = dummy; } unsigned int i; double xstep ( (xmax-xmin)/(n-1) ); std::vector<double> out (n); ou...
/* Copyright (c) 2013, Trail of Bits 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 following ...
#include "Dmsl.h" #include "DMSLElf.h" #include <iostream> #include <array> #include "DMSLCompiler.h" #include <cstring> //#define _OUT_ASM #pragma warning(disable:4244) #pragma warning(disable:4267) #define DVASSERT(x) if(!(x)) Crash(L"DmslVM Crashed.") using namespace std; using namespace Dmsl; std::stack<DmslUni...
/* * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
// // syntax.cpp // // (C) Copyright 2000-2002 by <NAME>. // All Rights Reserved. // #include "bcc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif // Constructor. SyntaxPage::SyntaxPage() { // Setup icon. m_nIcon = IDI_SYNTAX; } // Destructor. SyntaxPage::~S...
#include <regex> #include <algorithm> #include "TexturePool.h" #include "third-party/fmt/core.h" #include "third-party/imgui/imgui.h" #include "common/util/Timer.h" #include "common/log/log.h" #include "game/graphics/pipelines/opengl.h" #include "common/util/Assert.h" #include "game/graphics/texture/jak1_tpage_dir.h"...
#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" using namespace std; // for convenience using json = nlohmann::json; ...
//---------------------------------*-C++-*-----------------------------------// /*! * \file track/HexArrayTracker.cc * \brief HexArrayTracker class definitions * \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC. */ //-------------------------------------------------------------------------...
/** * Copyright (c) 2017 Melown Technologies SE * * 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...
#include <Riostream.h> #include <TDirectory.h> #include <TFile.h> #include <TROOT.h> #include <TStyle.h> #include <TKey.h> #include <TH1.h> #include <TH2.h> #include <TH2D.h> #include <TCanvas.h> #include <TGraph.h> #include <TPaveStats.h> #include <TText.h> #include <TLegend.h> #include <cstring> #include <utility> #i...
#include <bits/stdc++.h> #define N 26 struct engine { int k[3]; // unknown int sel[3]; // unknown char p[N]; // unknown char r[N]; // known char s[5][N]; // known engine() { // exchange for (int j = 0; j < N; ++j) p[j] = j; // for (int i = 0; i < 10; ++i) { // int x = rand() % N, y = rand() % N; /...
#include "parse_data.h" imuparse::imuparse(ros::NodeHandle nh, ros::NodeHandle private_nh) { private_nh.param<int>("baudRate", baudRate_, 115200); private_nh.param<std::string>("serialPort", serialPort_, "/dev/ttyUSB0"); private_nh.param<int>("loopFrep", loopFrep_, 50); private_nh.param<bool>("deDug", d...
// // Created by 王耀 on 2017/10/14. // #include <cstdlib> #include <fstream> #include <iostream> #include <sstream> #include "utils.h" #include "macro.h" #include "instrlookup.h" #include "parser.h" Parser::Parser() { lexer = new Lexer(); functions = new FuncTable(); symbols = new SymbolTable(); labels...
#include <dirent.h> #include <pwd.h> #include <cstdio> #include <algorithm> using namespace std; #include "StMessMgr.h" #include "TString.h" #include "EemcTrigUtil.h" // ----------------------------------------------------------------------------------------------------- // // pp2006 run period http://drupal.star.b...
#include <random> #include <algorithm> #include <cmath> #include <iostream> #include <cuda_runtime.h> #include <cuda.h> #include "neural_net_gpu.h" #include "layers_gpu.h" #include "gpu_matrix.h" #include "gpu_scalar.h" #include "cuda_utility.h" #include "e_matrix.h" GPUMemoryPool::GPUMemoryPool() { ...
// Sha160.cpp : implementation file // ///////////////////////////////////////////////////////////////////////////////////////////// // // // SHA1 - Implementation of the Secure Hash Algorithm. ...
#include "DCCDataMapper.h" /*--------------------------------------------*/ /* DCCTBDataMapper::DCCTBDataMapper */ /* class constructor */ /*--------------------------------------------*/ DCCTBDataMapper::DCCTBDataMapper(DCCTBDataParser *myParser) : parser_(myParser) { dccField...
/*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) 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 "content/browser/download/download_resource_handler.h" #include <string> #include "base/bind.h" #include "base/logging.h" #include "base/me...
// Copyright (c) 2012-2014 <NAME>, <NAME>, <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, m...
/* See LICENSE file for copyright and license details. */ #include "graphicsnode.hpp" #include <QColorDialog> #include <QDebug> #include <QGraphicsDropShadowEffect> #include <QGraphicsProxyWidget> #include <QGraphicsScene> #include <QGraphicsSceneMouseEvent> #include <QGraphicsTextItem> #include <QGraphicsView> #incl...
//************************************************************/ // // Grid Corrections Implementation // // Implements the SPXGridCorrections class, which stores the // corrections for each grid in a String-Double Vector map // // @Author: <NAME>, <NAME>, <NAME> - CERN // @Date: 26.11.2014 // @Email: <EMAIL> // //*...
// Copyright 2017 UBC Sailbot #include "planet/HexPlanet.h" #include "common/ProgressBar.h" #include <cmath> #include <algorithm> #include <iostream> #include <sstream> #include <fstream> #include "logic/StandardCalc.h" HexPlanet::HexPlanet(const std::string& stored_planet_filename) { std::filebuf fb; if (fb.op...
/* ------------------------------------------------ * * The MIT License (MIT) * Copyright (c) 2020 <EMAIL> * ------------------------------------------------ */ #include <iostream> #include <vector> #include <fstream> #include <sstream> #include <algorithm> #include <numeric> #include <cmath> #include "detect_postpr...
/****************************************************************************** * T H E R M I N A T O R * * THERMal heavy-IoN generATOR * * version 1.0 * ...
#include "skybox.h" #include "glm/gtc/matrix_transform.hpp" Skybox::Skybox(Shader _shader, const std::string& map) :shader(_shader), conversionShader("/shaders/cubemap_vs.glsl", "/shaders/cubemap_fs.glsl"), irradianceShader("/shaders/cubemap_vs.glsl", "/shaders/convolution_fs.glsl"), prefilter...
#include "ftgrid.h" #include <imgui.h> #include "imguifilebrowser.h" #include <math/math.h> #include <utils/stringutils.h> #include <utils/assert.h> #include <core/input.h> #include <graphics/renderstate.h> #include "sdfgen.h" using namespace engine; using namespace utils; using namespace graphics; using namespace ...
#include <Eigen/Core> #include <Eigen/Dense> #include <Eigen/Geometry> #include <Eigen/SVD> #include <Eigen/StdVector> #include <cmath> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <set> #include <sstream> #inc...
#include <iostream> using namespace std; #include <string.h> #include "Party.h" #include "Plane.h" #include "ReadChars.h" #include "ReadInteger.h" enum Commands {ALFA, BRAVO, LOUNGE, ARRIVE, FLY, SHUTDOWN, INVALID, LIST, HELP}; char * CmdNames [] = {"ALFA <size>", "BRAVO <size>", "LOUNGE <size>", "ARRIVE <airplane> ...
// Copyright 2020 Google 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 applicable...
#include "Hooks.h" #include "ImGUI\imgui.h" #include "ImGUI\imgui_internal.h" #include "ImGUI\imgui_impl_dx9.h" extern LRESULT ImGui_ImplDX9_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); namespace Hooks { HINSTANCE hThisModule; void FreeMemory() { FreeLibraryAndExitThread(hThisModule, NULL)...
/* encrypt.c - Encrypt a message * Copyright (C) 2001, 2003, 2004, 2007, 2008, * 2010 Free Software Foundation, Inc. * * This file is part of GnuPG. * * GnuPG 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 S...
#include <common/components/RegistrationDatagramListener.h> #include <program/Program.h> #include <toolkit/FsckTkEx.h> #include <csignal> #include <syslog.h> #define APP_WORKERS_DIRECT_NUM 1 #define APP_SYSLOG_IDENTIFIER "beegfs-fsck" App::App(int argc, char** argv) { this->argc = argc; this->argv = argv...
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "LazyDecodeBitmap.h" #include "CopyTilesRenderer.h" #include "SkBitmap.h" #include "SkDevice.h" #include "SkCommandLineFlags.h" #include "SkGraphics.h" #include "SkIm...
/** * Copyright (C) 2020-2022 Xilinx, Inc * Copyright (C) 2022 Advanced Micro Devices, 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. A copy of the * License is located at * * http://www.apache...
//======================================================================================== // Athena++ astrophysical MHD code // Copyright(C) 2014 <NAME> <<EMAIL>> and other code contributors // Licensed under the 3-clause BSD License, see LICENSE file for details //=====================================================...
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "core/fpdfapi/font/cpdf_font.h" #include <limits> #include <memory> ...
#include "condor_common.h" #include <set> #include "MyString.h" #include "condor_sockaddr.h" #include "condor_netdb.h" #include "condor_config.h" #include "condor_sockfunc.h" #include "ipv6_hostname.h" #include "ipv6_addrinfo.h" #include "my_hostname.h" static condor_sockaddr local_ipaddr; static condor_sockaddr local...
/** This is free and unencumbered software released into the public domain. The authors of ISIS do not claim copyright on the contents of this file. For more details about the LICENSE terms and the AUTHORS, you will find files of those names at the top level of this repository. **/ /* SPDX-License-Identifier: CC0-1.0...
/* * Copyright (C) 2014 The Android Open Source Project * * 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...
/* * @Author: HowsenFisher * @Date: 2021-08-14 15:27:32 * @LastEditors: HowsenFisher * @LastEditTime: 2021-08-14 19:29:37 * @Description: */ /* * @Author: HowsenFisher * @Date: 2021-07-24 19:10:52 * @LastEditors: HowsenFisher * @LastEditTime: 2021-07-29 19:10:03 * @Description: the main func to create an wi...
/*******************************************************************\ Module: Unit test utilities Author: <NAME>. \*******************************************************************/ #include "require_goto_statements.h" #include <testing-utils/use_catch.h> #include <goto-programs/goto_functions.h> #include <jav...
// SPDX-License-Identifier: BSD-3-Clause // Copyright Contributors to the OpenEXR Project. #include <errno.h> #include <iomanip> #include <iostream> #include <stdlib.h> #include <string.h> #include <time.h> #include <chrono> #include <set> #include <string> #include <vector> #include <IlmThreadPool.h> #include <ImfC...
#include "Config.h" #include "SpeakerType.h" #include "CrossoverType.h" #include "JsonNode.h" #include <algorithm> //find #include "WinDSPLog.h" #include "Channel.h" #include "Input.h" #include "FilterGain.h" #include "FilterBiquad.h" using std::make_shared; using std::make_unique; using std::move; #define PHANTOM_CE...
/* * Copyright (C) 2010 - 2013 ProjectSkyfire <http://www.projectskyfire.org/> * * Copyright (C) 2011 - 2013 ArkCORE <http://www.arkania.net/> * Copyright (C) 2008 - 2013 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/> * * This program is free software; you can ...
// Copyright 2014 BVLC and contributors. // This program converts a set of images to a leveldb by storing them as Datum // proto buffers. // Usage: // convert_imageset [-g] ROOTFOLDER/ LISTFILE DB_NAME RANDOM_SHUFFLE[0 or 1] \ // [resize_height] [resize_width] // where ROOTFOLDER is the root folde...
/* * ----------------------------------------------------------------- * COMPANY : Ruhr University Bochum * AUTHOR : <NAME> (<EMAIL>) * DOCUMENT: https://doi.org/10.46586/tches.v2021.i1.305-342 * ----------------------------------------------------------------- * * Copyright (c) 2020, <NAME>, <NAME> * * All rights res...
/* * Starfish.cpp * nebulosity * * Created by <NAME> on 12/20/06. BSD 3-Clause License Copyright (c) 2021, <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: 1. Redistributions of so...
// -*- mode: c++; indent-tabs-mode: nil; -*- // // Copyright (c) 2010-2015 Illumina, Inc. // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source code must retain the ab...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <assert.h> #include "preliminaries.h" // An ugly, but generic way of printing an array of in-built data types void print_array(void *x,int nElems,enum data_types dt) { printf("\n"); for(int i = 0 ; i < nElems ; i++) { swit...
#include "gb-include.h" #include "Vector.h" #include "Words.h" #include "sort.h" #include "Sections.h" // this is used to sort the word hashes in setPairHashes() int cmp ( const void *h1 , const void *h2 ) ; Vector::Vector ( ) { reset(); } void Vector::reset ( ) { //m_init = false; //m_numRemoteLinks =...
#include "ukf.h" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; const double EPS = 0.0001; /** * Initializes Unscented Kalman filter * This is scaffolding, do not modify */ UKF::UKF() { // if this is false, laser measurements will ...
#include "game/game_core.hpp" #include "game/player_mgr.hpp" #include "utils/noise.hpp" #include "ai_algo.hpp" #include "ai_drone.hpp" // debug output #include "client/presenter.hpp" void room_radio_flood(GameCore& core, vec2i pos, int max_depth, bool random_dirs, bool always_visit_adjacent, c...
#include <iosfwd> #include <pinocchio/codegen/cppadcg.hpp> #include "segment_segment_distance.cpp" using namespace CppAD; using namespace CppAD::cg; template<typename Scalar> Scalar segmentSegmentDistance_scalar(Scalar x10, Scalar y10, Scalar z10, ...
//===- BytesOutputStyle.cpp ----------------------------------- *- C++ --*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
#include "includes.h" float penetration::scale( Player* player, float damage, float armor_ratio, int hitgroup ) { bool has_heavy_armor; int armor; float heavy_ratio, bonus_ratio, ratio, new_damage; static auto is_armored = []( Player* player, int armor, int hitgroup ) { // the player has no armor. if( armo...
/**************************************************************************** * * Copyright (C) 2013-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...
#include "lintermodule.hpp" #include "thirdparty/json.hpp" #include "thirdparty/subprocess.h" #include <algorithm> #include <eepp/graphics/text.hpp> #include <eepp/system/filesystem.hpp> #include <eepp/system/iostreamstring.hpp> #include <eepp/system/luapattern.hpp> #include <eepp/ui/uitooltip.hpp> #include <random> u...
/* * MIT License * * Copyright (c) 2021 <NAME> (dpacbach) * * 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 re- * striction, including without limitation the rights to use, *...
/* ------------------------------------------------------------------------------- Name: FPL-Demo | GameTemplate Description: Simple c++ template containing a basic skeleton for a game. Requirements: - C++ Compiler - Final Framework Author: <NAME> License: Copyright (c) 2017-2020 <NAME> MIT License (See LICE...
#include "Core/Application.h" #include "Animation/Spritesheet.h" #include "Gui/Button.h" #include <unordered_map> #include <iomanip> int grid_x = 0; int grid_y = 100; const int square_width = 32; const int square_height = 32; const int width = 16; const int height = 16; const int MINE_ID = -2; int percentage_of_min...
#include <stan/math/prim/mat.hpp> #include <math/prim/mat/fun/expect_matrix_eq.hpp> #include <gtest/gtest.h> #include <vector> using Eigen::Dynamic; using Eigen::Matrix; using stan::math::to_array_1d; using stan::math::to_array_2d; using stan::math::to_matrix; using stan::math::to_row_vector; using stan::math::to_vect...
/* License: New BSD (found in root of github directory.) Creation Date: 12-6-2013 Description: Library that sets up Muxer settings for Beagle Bone Black. Also Library allows the ability to send bits to the GPIO ports. Tested on: Beagle Bone Black revision A4 running default Angstrom OS Will Only Compile follo...
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #define BOOST_TEST_MODULE MapFusionTest #include "poplar/Engine.hpp" #include "poplar/IPUModel.hpp" #include "poplibs_test/Util.hpp" #include "poputil/exceptions.hpp" #include <poplibs_support/TestDevice.hpp> // codelets #include "popnn/codelets.hpp" #include "...
/* * ::718604! * * Copyright(C) November 20, 2014 U.S. Food and Drug Administration * Authors: Dr. <NAME> (1), Dr. <NAME> (2), et al * Affiliation: Food and Drug Administration (1), George Washington University (2) * * All rights Reserved. * * The MIT License (MIT) * * Permission is hereby granted, free...
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * * 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 v...
///====================================================================================== /* Athena++ astrophysical MHD code * Copyright (C) 2014 <NAME> <<EMAIL>> * * This program is free software: you can redistribute and/or modify it under the terms * of the GNU General Public License (GPL) as published by the F...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2018 Couchbase, 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 * * ...
/** * \class L1GtfeWord * * * Description: L1 Global Trigger - GTFE words in the readout record. * * Implementation: * <TODO: enter implementation details> * * \author: <NAME> - HEPHY Vienna * * */ // this class header #include "DataFormats/L1GlobalTrigger/interface/L1GtfeWord.h" // system include file...
#include <colorer/common/UStr.h> #include <colorer/parsers/TextParserImpl.h> TextParser::Impl::Impl() { CTRACE(spdlog::trace("[TextParserImpl] constructor")); cache = new ParseCache(); clearCache(); } TextParser::Impl::~Impl() { clearCache(); delete cache; } void TextParser::Impl::setFileType(FileType* typ...
/* Copyright 1986-1996 by Abacus Research and * Development, Inc. All rights reserved. */ /* Forward declarations in QuickDraw.h (DO NOT DELETE THIS LINE) */ #include <base/common.h> #include <QuickDraw.h> /* ack */ #include <WindowMgr.h> #include <CQuickDraw.h> #include <EventMgr.h> #include <OSEvent.h> #include ...
/********************************************************************* Copyright (c) 2018 Audi Autonomous Driving Cup. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code m...
/*========================== begin_copyright_notice ============================ Copyright (C) 2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ #include "JointMatrixFuncsResolutionPass.h" #include "IGC/common/StringMacros.hpp" #inc...
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 <NAME> * * This application is open source and may be redistributed and/or modified * freely and without restriction, both in commericial and non commericial applications, * as long as this copyright notice is maintained. * * This application is distribut...
#include "../include/baxter.hpp" baxter::Baxter::Baxter(void) { this->L = 278e-3; this->h = 64e-3; this->H = 1104e-3; this->L0 = 270.35e-3; this->L1 = 69e-3; this->L2 = 364.35e-3; this->L3 = 69e-3; this->L4 = 374.29e-3; this->L5 = 10e-3; this->L6 = 368.3e-3; this->q_...
#include <iostream> #include <vector> #include <algorithm> #include <cstdlib> #include <string> #include <fstream> #include <map> #include <climits> #include <cstring> #include <mpi.h> using namespace std; string processorZerosWork(const string MotifChunk, const string Sequences, const int NumberOfSequences, const int...
// // CloverGrabCut.cpp // opencv_test // // Created by vk on 15/9/6. // Copyright (c) 2015年 clover. All rights reserved. // #include "CloverGrabCut.h" CloverGrabCut::CloverGrabCut() { } CloverGrabCut::~CloverGrabCut() { } void CloverGrabCut::setImage(cv::Mat imgMat) { _srcImgMat = imgMat.clone(); pr...
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2013, ITU/ISO/IEC * All rights...
#include <iostream> #include <iomanip> #include <thread> #include <boost/program_options.hpp> #include "mp/feature_computation.hpp" #include "mp/metrics.hpp" #include "mp/tracing_data.hpp" #include "mp/parser.hpp" #include "../common/feature_file.hpp" #include "../common/parser.hpp" #include "../common/util.hpp" us...