text
stringlengths
5.71k
33.7k
int hnnB6 ,WD , xZ, Z6SG7 ,MMz8Un , Pi, /**/ Tqej , Ih,wOF, FC/**//**/ , hTW// , uhPeHQV, fHF/*tf*//*b*/ ,cb , vIF6,hMLwy , Cn1 , SLKaFw , LJyWf ,a7 , lgS,A43jz , T73 , n, RbN , Di ,//eRQho lp8//Ls ,/*3G*/ OYC ,ePh/**/,V3PR, kctCb,v7, bnRe, Vg , Gg2 /*arz*/,//qrj oS96x , FSY ,sXot2C,Sb1VKN, Ke ,N...
// // Created by lifan on 2/27/17. // #include "utils.h" #include "ModelRepresentation.h" #include "LidarPointCloudHandler.h" #include <math.h> void findCurbObject(CloudPointer laserCloudSrc, CloudPointer laserCloudRef, std::vector<float> transformMatrix, std::string folderName, vector<double> ...
#include "SDMMCHelpers.h" static struct MMCResponse responses[64] = { /* 0 */ {MMC_RSP_NONE, 0, 0, false, false, false}, /* 1 */ {MMC_RSP_R3, 32, 5, false, false, false}, /* 2 */ {MMC_RSP_R2_CID, 128, 5, false, false, false}, /* 3 */ {MMC_RSP_R1, 32, 64, false, false, false}, /* 4 */ {MM...
#include "stdafx.h" #include "Level.h" #include "Level_Bullet_Manager.h" #include "xrserver.h" #include "xrmessages.h" #include "game_cl_base.h" #include "PHCommander.h" #include "net_queue.h" #include "MainMenu.h" #include "space_restriction_manager.h" #include "ai_space.h" #include "script_engine.h" #incl...
// // Lexer implementation // // Based on the LLVM Compiler Infrastructure // (distributed under the University of Illinois Open Source License. // See Copying/LLVM.txt for details). // // Modifications copyright (C) 2009 <NAME> // // Redistribution and use in source and binary forms, with or without // modification, ...
/* Author: @karngyan */ #include <bits/stdc++.h> using namespace std; int key[64]={ 0,0,0,1,0,0,1,1, 0,0,1,1,0,1,0,0, 0,1,0,1,0,1,1,1, 0,1,1,1,1,0,0,1, 1,0,0,1,1,0,1,1, 1,0,1,1,1,1,0,0, 1,1,0,1,1,1,1,1, 1,1,1,1,0,0,0,1 }; class Des { public: int keyi[16][48], total[64], left[32]...
//===-- ArchiveReader.cpp - Read LLVM archive files -------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * Copyright (c) 1991,1993 Regents of the University of California. * 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 above copyright ...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2017 ArangoDB GmbH, Cologne, Germany /// /// 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...
//===- DivergenceAnalysis.cpp --------- Divergence Analysis Implementation -==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
#pragma warning (disable : 4018) #pragma warning (disable : 4244) #define STRINT(x, y) (*(int*)(&(x)[(y)])) #define STR16(x, y) (*(uint16_t*)(&(x)[(y)])) #include "stdafx.h" #include "Player_Info.h" #include <string> #include <vector> #include <fstream> #include "json.hpp" using namespace std; using js...
// Copyright 2021 The WebNN-native Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
#include <string> #include <cstring> #include <vector> #include <unordered_map> #include <unordered_set> #include <tclap/CmdLine.h> #include "my_sort.hpp" #include "timers.hpp" using namespace std; void readGoldEdges(string goldListFile,std::unordered_set<string> *allRegulators, std::unordered_set<string> *allTargets...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #include "pch.h" #include "GLTFTextureCompressionUtils.h" #include "GLTFTexturePackingUtils.h" #include "GLTFLODUtils.h" #include "GLTFSDK/GLTF.h" #includ...
#pragma comment(lib,"winmm.lib") #pragma comment(lib,"wsock32.lib") #include "rtklib/rtklib.h" #include <Eigen/Dense> #include "utilities.h" #include "WeightLeastSquare.h" #include "SelectEphemeris.h" #include "shadowMatching.h" //#define TARGETWEEK 1997 //#define STARTTIME 218012 //#define ENDTIME ...
//************************************************************************************************************************ // A6lib.cpp // Creation date: June, 2017 // Author: <NAME> // Forked repository: https://github.com/skorokithakis/A6lib //**************************************************************************...
#include "initial_sfm.h" GlobalSFM::GlobalSFM(){} // 对单个feature进行三角化 void GlobalSFM::triangulatePoint(Eigen::Matrix<double, 3, 4> &Pose0, Eigen::Matrix<double, 3, 4> &Pose1, Vector2d &point0, Vector2d &point1, Vector3d &point_3d) { Matrix4d design_matrix = Matrix4d::Zero(); design_matrix.row(0) = point0[0] * ...
/* Copyright 2001, 2019 IBM Corporation * * 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 * following d...
// libs #pragma comment(lib, "D3D11.lib") #pragma comment(lib, "mfplat.lib") #pragma comment(lib, "mf.lib") #pragma comment(lib, "evr.lib") #pragma comment(lib, "mfuuid.lib") #pragma comment(lib, "Winmm.lib") // std #include <iostream> #include <string> // Windows #include <windows.h> #include <atlbase.h> // DirectX #i...
/* Southside Variations - Effect14 Description: The aardbei logo, build of some moving 2D sprites */ #include "Main.h" #include "Effect14.h" #pragma pack(1) struct Logo01Sprite { float x, y; float w, h; }; #define LOGO01_DISTANCE1 0 #define LOGO01_DISTANCE2 18 #define LOGO01_DIST...
/* Copyright (c) <2009> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * inclu...
// // Created by <NAME> on 16.06.2021. // #include <QDateTime> #include <QDebug> #include <QDir> #include <QFile> #include <QHash> #include <QProcess> #include <cassert> #include <memory> #include <random> #include <stdexcept> struct TTournamentConfig { enum EType { ONE_VS_ONE_ALL = 0, FREE_FOR_A...
//////////////////////////////////////////////////////////////////////////////// // // // This file is part of NCrystal (see https://mctools.github.io/ncrystal/) // // ...
#include "communication.h" void Communication_Receive_Interrupt() { // check interrups are enabled if(!interruptsEnabled) { return; } // set flag dataReceived = true; } void Communication_Change_Modem() { // check interrups are enabled if(!interruptsEnabled) { return; } // set flag switc...
/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: $RCSfile: NeuroLibGenericSliceWindow.cxx,v $ Language: C++ Date: $Date: 2004/12/03 20:57:17 $ Version: $Revision: 1.1 $ Copyright (c) 2003 Insight Consortium...
// Copyright (c) 2012-2013 The PPCoin developers // Copyright (c) 2015-2018 PIVX Developers // Copyright (c) 2018-2020 The Merge Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of....
// // curve.cpp // ofxOceanode // // Created by <NAME> on 25/05/21. // // #include "curve.h" #include "imgui.h" #include "glm/gtx/closest_point.hpp" void curve::setup() { color = ofColor::white; addParameter(input.set("Input", {0}, {0}, {1})); addParameter(showWindow.set("Show", true)); addOutputParam...
/*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...
/* * ColourParser.cpp * * Copyright (C) 2009 by VISUS (Universitaet Stuttgart). * Alle Rechte vorbehalten. */ #include "mmcore/utility/ColourParser.h" #include "stdafx.h" #include "vislib/String.h" #include "vislib/StringTokeniser.h" #include "vislib/UnsupportedOperationException.h" #include "vislib/math/mathfunc...
#include "MarkovChannel.hpp" #include <sstream> #include <stdlib.h> #include <limits.h> std::string proto_parse(std::string line){ int pos = line.find(":"); int i = 0; while(std::isspace(line[i])) i++; std::string parsed = line.substr(i,pos-1); return parsed; } std::string var_parse(std::string line){ ...
// // Created by James.Balajan on 11/05/2021. // #include <atomic> #include <cstdint> #include <fmt/core.h> #include <mio.hpp> #include <string> #include <system_error> #include <unistd.h> #include <vector> #include "graph_serializer.hpp" #define BITS_IN_A_BYTE 8u #define CEIL_DIV(x, y) (((x) / (y)) + ((x) % (y) != ...
// @HEADER // ************************************************************************ // // Digital Image Correlation Engine (DICe) // Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. ...
/* Copyright (C) 2012 by <NAME> (<EMAIL>) and <NAME> (<EMAIL>) This file is part of the project SolarSystemSimulation. SolarSystemSimulation 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...
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <array> #include <cstddef> #include <limits> #include "DataStructures/DataVector.hpp" #include "DataStructures/Tensor/Tensor.hpp" #include "DataStructures/Tensor/TypeAliases.hpp" #include "Evolution/Systems/NewtonianEuler/Sou...
#include <Arduino.h> #include <IRremote.h> #include <TimerOne.h> #include <CircularBuffer.h> #include <FastLED.h> #include "hex_codes.h" #include "colors.h" #define IR_RECEIVE_PIN 4 #define LED_PIN 6 #define LED_NUM 60 #define DEFAULT_MODE 4 #define BRIGHTNESS_STEP 15 #define DEFAULT_CO...
/*************************************************************************** * Copyright (C) 2008 by <NAME> * * <EMAIL> * * * * This program is free software; you can ...
/* Name: <NAME> Date: 2014-02-11 Homework #: 03 Source File: Homework 03.cpp Class: C-201 MW 1000 Action: */ #include <iostream> #include <ctime> #include <cctype> #include <conio.h> #include <algorithm> //Included to enable the sort() function. #include <iomanip> using namespace std; char ShowMenu...
/* * Copyright (c) 2015 <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...
#include <stdio.h> #include <iostream> #include "vapor/VAssert.h" #include <cmath> #include <cfloat> #include <vapor/utils.h> #include <vapor/StretchedGrid.h> #include <vapor/KDTreeRG.h> #include <vapor/vizutil.h> using namespace std; using namespace VAPoR; void StretchedGrid::_stretchedGrid( const vector <double> &...
/** * \brief Example Scene 2 implementation * \file */ #include <cassert> #include "assignment2.h" /** * \brief Create cube with texture coordinates and face indices. */ void Assignment2::createFlag() { flag.clear(); flagIndices.clear(); float gridSize = 0.2f; int n = 0; for (int y = 0; y < 5; y++) { for (...
/************************************************ Copyright (c) 2016, Xilinx, 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 above copyright noti...
/****************************************************************************** 版权所有 (C), 2017-2027, 福州晴川科技有限公司 ****************************************************************************** 文 件 名 : lora_server.cpp 版 本 号 : 初稿 作 者 : zenghi 联系方式 : <EMAIL> 生成日期 : 2019-04-18 功能描述 : lora se...
#include <GL/glut.h> #include <Procedural.h> #include <GeometricPrimitives.h> #include <Coordinates.h> #include <Object.h> #define FPS 60 #define W 1920 #define H 1080 #define SHOW_VERTICES #define SHOW_TOPOGRAPHY //#define SHOW_COLLISION //#define SHOW_NORMALS using namespace MEGA; typedef enum { MEGA_TRIAN...
/* * File: main.cpp * -------------------- * * This program is a demo application of 2Dpoly_to_3D * You can generate a 3D model by drawing a 2D polygon * * Author: Matyalatte * Last updated: 2021/09/25 */ #include "openglHandler.hpp" #include "mouseLogger.hpp" #include "2dpoly_to_3d/2dpoly_to_3d.hpp" #incl...
/* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
//------------------------------------------------------------------------------ // OrbSaver.cc //------------------------------------------------------------------------------ #include <algorithm> #include "OrbSaver.h" #include "ExportUtil/Log.h" #include "ExportUtil/VertexCodec.h" #include <glm/glm.hpp> #include <s...
// This file is part of snark, a generic and flexible library for robotics research // Copyright (c) 2011 The University of Sydney // 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. Redistr...
// nnet3bin/nnet3-ctc-train.cc // Copyright 2015 Johns Hopkins University (author: <NAME>) // Copyright 2016 VoiceLab.ai (author: <NAME>) // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in com...
/* * Copyright (c) 2019 <NAME> * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "delfem2/vec3.h" #include "glad/glad.h" // gl3.0+ #if defined(__APPLE__) && defined(__MACH__) // Mac #include <OpenGL/gl.h> #elif defined(_WI...
/* * Copyright (c) 2019 Opticks Team. All Rights Reserved. * * This file is part of Opticks * (see https://bitbucket.org/simoncblyth/opticks). * * 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 ...
#include "utils/constants.h" #include "transforms/interpolation.h" #include <cmath> #include <iostream> #include <tuple> // #pragma once using namespace std; Interval BilinearInterpolation(Coordinate<float_t> coord, const ImageImpl& img){ return BilinearInterpolation({{coord.x, coord.x}, {coord.y, coord.y}, coord....
/** * correlation.c: This file is part of the PolyBench/GPU 1.0 test suite. * * * Contact: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU */ #include <cassert> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <s...
//============================================================================= // // Adventure Game Studio (AGS) // // Copyright (C) 1999-2011 <NAME> and 2011-20xx others // The full list of copyright holders can be found in the Copyright.txt // file, which is part of this source code distribution. // // The AGS sourc...
#define TWO_D #define _DIM 2 #define MAX_LOOPS 10000 #define PLOT_RESOLUTION 6 #define BASIS_P //#define USED_SAVED_RHS //#define SAVE_RHS #define RHS_QUADRATURE_GRANULARITY 1 #include <fstream> #include <iostream> #include <time.h> #ifdef BASIS_DS #include <interval/ds_basis.h> #define BASIS_NAME "ds" #endif #if...
//////////////////////////////////////////////////////////////////////// // Copyright (c) 2010-2015, University of Washington and Battelle // Memorial Institute. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following cond...
#include "qglViewerTest.h" #if QT_VERSION >= 0x040000 #include <QKeyEvent> #endif using namespace qglviewer; using namespace std; // See: // - https://slideplayer.com/slide/15311230/ // Constructor must call the base class constructor. qglViewerTest::qglViewerTest(QWidget *parent) : QGLViewer(parent) { // Rest...
#include "StdAfx.h" #include "MovementBoxDynamicActivate.h" #include "ExtendedGeom.h" #include "MathUtils.h" #include "Physics.h" #include "ph_valid_ode.h" #include "MathUtilsOde.h" #include "IPhysicsShellHolder.h" #include "PHCharacter.h" #include "xrEngine/GameMtlLib.h" ObjectContactCallbackFun* saved_callback = 0...
/* This file is part of Cloudy and is copyright (C)1978-2019 by <NAME> and * others. For conditions of distribution and use see copyright notice in license.txt */ #include "cddefines.h" #include "trace.h" #include "iso.h" #include "freebound.h" #include "opacity.h" #include "dense.h" #include "mesh.h" void t_mesh::...
/* ** Name: AFSIMPLE.CPP ** Description: ** Contains a very simple flight model for AI and autopilot aircraft ** control. */ #include "stdhdr.h" #include "airframe.h" #include "aircrft.h" #include "otwdrive.h" #include "simdrive.h" #include "camp2sim.h" #include "Graphics\Include\tmap.h" #include "Graphics\Include\rv...
#include <iostream> #include <fstream> #include <ctime> #include <Box2D/Box2D.h> #include "states.h" using namespace std; /* 1. Ground is static 2. Player is dyanamic. Horizontal(x) position does not change. Vertical(y) position changes on jump. 3. Obstacles are kinematic. They force the player to retreat on colli...
/* * NarfBlock world renderer * * Copyright (c) 2013-2015 <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 *...
// Copyright (c) 2013, <NAME> <<EMAIL>> // // Permission to use, copy, modify, and distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
/** Example 017 Helloworld mobile This example show Hello World for Windows mobile. It compiles on other platform too. The only differences between the original examples are. You need a GUI, because otherwise you can't quit the application. You need a Filesystem, which is relative based to your executable. */ #inc...
/****************************************************************************** * * Copyright (C) 2014 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://ww...
/******************************************************************************** * Copyright 2009 The Robotics Group, The <NAME>-<NAME>ler Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except i...
#include <math.h> #include "../rover_util/delayed_execution.h" #include "../rover_util/utils.h" #include "../rover_util/serial_command.h" #include "../constants.h" #include "../rover_util/logging.h" #include "testing_sequence.h" #include "navigating_sequence.h" #include "navigating_sequence_constant.h" //#include "clos...
/* Copyright (c) 2020, 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 certain soft...
/* * Copyright © Microsoft Corporation * * 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, publ...
/**************************************************************************** * * Copyright (c) 2013 Estimation and Control Library (ECL). All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
#include <bits/stdc++.h> #define REP(i, n) for(int i = 0; i < n; i++) #define INF (1<<30) using namespace std; // top-down SPLAY podle http://digital.cs.usu.edu/~allan/DS/Notes/Ch22.pdf int id_cnt = 0; // Each Node has a unique ID (for debugging purpouses) struct Node{ Node *left, *right, *parent; Node *...
/***************************************************************** * HMMER - Biological sequence analysis with profile HMMs * Copyright (C) 1992-2003 Washington University School of Medicine * All Rights Reserved * * This source code is distributed under the terms of the * GNU General Public License. See the f...
/* Copyright 2018 <NAME> This file is part of RWRP/RedWolf Recovery Project TWRP is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later versio...
#define _IRR_STATIC_LIB_ #include <iostream> #include <irrlicht.h> #include "../source/Irrlicht/COpenGLExtensionHandler.h" #include "../source/Irrlicht/COpenGLBuffer.h" #include "../source/Irrlicht/COpenGLDriver.h" #include "../source/Irrlicht/COpenGLTextureBufferObject.h" using namespace irr; using namespace core; b...
/***************************************************************************************** * * * OpenSpace * * ...
/**********************************************************************/ // A now optimized Multigrid Solver for the Heat Equation // // Course Material for HPCSE-II, Spring 2019, ETH Zurich // // Authors: <NAME>, <NAME> // // License: Use if you like, but give us credit....
/* Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
#include "DataFormats/DetId/interface/DetId.h" #include "DataFormats/MuonDetId/interface/MuonSubdetId.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "Geometry/DTGeometry/interface/DTLayer.h" #include "Geometry/DTGeometry/interface/DTTopology...
// 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 "device_controller_connection.h" #include <fuchsia/device/c/fidl.h> #include <fuchsia/io/llcpp/fidl.h> #include <lib/zx/vmo.h> #include <zircon/s...
// // LicenseManagerClient.cpp // ~~~~~~~~~~ // // Copyright (c) 2003-2008 <NAME> (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include <boost/asio.hpp> #include <boost/bind.hpp...
/* pbrt source code Copyright(c) 1998-2010 <NAME> and <NAME>. This file is part of pbrt. pbrt 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...
/** * \file JobWzskActLaser.cpp * job handler for job JobWzskActLaser (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #ifdef WZSKCMBD #include <Wzskcmbd.h> #else #include <Wzskd.h> #endif #include "JobW...
#include "../basic-abstract-game.h" #include "../assetgen.h" #include <set> #include <queue> const std::string NAME = "bossfight"; const int COMPLETION_BONUS = 10.0f; const int POSITIVE_REWARD = 1.0f; const int PLAYER_BULLET = 1; const int BOSS = 2; const int SHIELDS = 3; const int ENEMY_BULLET = 4; const int LASER_...
/* * \copyright Copyright 2013 Google Inc. 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 * * ...
#include "xAODAnaHelpers/HelperFunctions.h" #include <AsgTools/MessageCheck.h> #include "xAODBase/IParticleContainer.h" // samples #include <SampleHandler/SampleGrid.h> #include <SampleHandler/MetaFields.h> #include <SampleHandler/MetaObject.h> // jet reclustering #include <fastjet/PseudoJet.hh> #include <fastjet/Cl...
/* LilyGo Ink Screen Series - Created by <NAME> , Last updated 3/16/2021 */ // According to the board, cancel the corresponding macro definition // #define LILYGO_T5_V213 // #define LILYGO_T5_V22 // #define LILYGO_T5_V24 // #define LILYGO_T5_V28 #include <SD.h> #include <FS.h> #include <SPIFF...
#include "ofxVimbaGrabber.h" using namespace ofxVimba; ofxVimbaGrabber::ofxVimbaGrabber() : logger("ofxVimbaGrabber"), system(ofxVimba::System::getInstance()) { deviceID = DISCOVERY_ANY_ID; // = "" pixelFormat = OF_PIXELS_RGB; bMulticast = false; bReadOnly = false; bVerbose = false; bInited = false; ...
// Scintilla source code edit control /** @file LexCmake.cxx ** Lexer for Cmake **/ // Copyright 2007 by <NAME> <cristian [dot] adam [at] gmx [dot] net> // based on the NSIS lexer // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> #i...
// // AddressManager.cpp // libraries/networking/src // // Created by <NAME> on 2014-09-10. // Copyright 2014 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <QApplication> #include <Q...
//gcc -shared csmacdmaclayer.cc channel.o csmacdmacdownstreamqueue.o -lACE -lemane -lstdc++ -o libcsmacdmaclayer.so #include "csmacdmaclayer.h" #include "emane/emaneconfigurationrequirement.h" #include "emaneutils/parameterconvert.h" #include "emaneutils/spawnmemberfunc.h" #include <ace/OS_NS_time.h> #include <sstre...
// Copyright 2014 The Galactic Bloodshed Authors. All rights reserved. // Use of this source code is governed by a license that can be // found in the COPYING file. /* survey.c -- print out survey for planets */ import gblib; import std; #include "gb/commands/survey.h" #include "gb/GB_server.h" #include "gb/buffers...
/* * Copyright (C) 2013 by <NAME> (<EMAIL>) * Copyright (C) 2012-2019 by UCSC Computational Genomics Lab * * Released under the MIT license, see LICENSE.txt */ #include "halLodGraph.h" #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <limits> using namespace std; using namespa...
/* MIT License Copyright (c) 2021 Jesper 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,...
/* * 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...
#include "height_map_brush.h" #include "utility.h" HeightMapBrush::HeightMapBrush() { _opacity = 1; _radius = 0; _shape_sum = 0; _mode = MODE_ADD; _flatten_height = 0; _texture_index = 0; _color = Color(1, 1, 1, 1); } void HeightMapBrush::set_mode(Mode mode) { _mode = mode; // Different mode might affect oth...
#include <bits/stdc++.h> #include <fmt/format.h> #include <fmt/ostream.h> using namespace std; using namespace fmt; // ***** #define MAXD 1000 #define MAXP 2000 #define MAXW 20 #define MAXH 2000 ifstream fin; ofstream fout; struct int2 { int r, c; }; enum cmd_t : char { LOAD = 'L', UNLOAD = 'U', DELIVER = 'D',...
/******************************************************************************* The content of this file includes portions of the AUDIOKINETIC Wwise Technology released in source code form as part of the SDK installer package. Commercial License Usage Licensees holding valid commercial licenses to the AUDIOKINETIC W...
#include <stl_aeplanner/multi_robot_collision.h> robot_tracker::robot_tracker(const Eigen::Vector3f &pt1, const Eigen::Vector3f &pt2, const ros::Time &stamp) : keep_alive_(0.2) { pt1_ = pt1; pt2_ = pt2; stamp_ = stamp; } //Checks if the input path is the same of the one in this class //if it is, updates the time ...
// --- Including header-files #include <iostream> #include <SxCLI.h> #include <SxString.h> #include <SxFile.h> #include <SxFSAction.h> #include <SxFileIO.h> #include <SxTime.h> #ifdef WIN32 # include <io.h> # include <fcntl.h> # include <iosfwd> # include <string> # include <sstream> # include <iostream> #endif ...
// CLASSIFICATION: UNCLASSIFIED /***************************************************************************/ /* RSC IDENTIFIER: AZIMUTHAL EQUIDISTANT * * ABSTRACT * * This component provides conversions between Geodetic coordinates * (latitude and longitude in radians) and Azimuthal Equidistant * projecti...