text
stringlengths
8.71k
38.4k
/** * Copyright 2007 Deutsches Forschungszentrum fuer Kuenstliche Intelligenz * or its licensors, as applicable. * Copyright 2008-2015 <NAME> * * You may not use this file except under the terms of the accompanying license. * * Unless required by applicable law or agreed to in writing, software * distributed un...
#include <iostream> #include <sstream> #include <unordered_map> #include <list> #include <gtkmm.h> #include <GL/gl.h> #include <GL/glu.h> #include <lcm/lcm-cpp.hpp> #include <bot_core/camtrans.h> #include <bot_param/param_client.h> #include <bot_param/param_util.h> #include <image_utils/jpeg.h> #include <lcmtypes/bot...
#include "build_version.h" #include "ispc_texcomp.h" #pragma warning(push,3) #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #pragma warning(disable:4702) // unreachable code #define STB_IMAGE_RESIZE_IMPLEMENTATION #define STBI_MALLOC(sz) malloc(sz) #define STBI_REALLOC(p,newsz) realloc(p,newsz) ...
/**************************************************************************************************** * * Program name: CS162 Final Project * * Author: <NAME> * * Date: 03/03/2019 * * Description: This is Game.cpp file for CS162 Final Project * * This project implements text-based game. * * A user(you) need to fi...
#include <windows.h> #include <cstdio> #include <vector> #include <set> #include <string> #include <direct.h> #include "CoffObjectLoader.h" #include "CoffLibraryLoader.h" #include "HunkList.h" #include "Hunk.h" #include "Crinkler.h" #include "CmdLineInterFace/CmdLineInterface.h" #include "Log.h" #include...
#include "NavMesh.h" #include "Gizmos.h" #include "Utilities.h" #include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/ext.hpp> #include <unordered_map> #define DEFAULT_SCREENWIDTH 1280 #define DEFAULT_SCREENHEIGHT 720 NavMesh::NavMesh() { } NavMesh::~NavMesh() { } bool NavMesh::onCreate(int a_argc, char* a_a...
// Copyright (c) 2006-2008 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 <windows.h> #include <shellapi.h> #include <algorithm> #include "base/command_line.h" #include "base/file_util.h" #include "base/gfx/v...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (C) 2011 The Autonomous Systems Lab (ASL), ETH Zurich, * <NAME>, <NAME> and <NAME>. * Copyright (c) 2009, <NAME>, Inc. * All rights reserved. * * Redistribution and...
/* * Software License Agreement (BSD License) * * Copyright (c) 2018, CNRS-LAAS. * 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 retai...
// $Id$ // This program reads a set of contigs from a bank then reports // regions where mate-pair information indicates a problem #include "foundation_AMOS.hh" #include <getopt.h> #include <map> #include <set> #include <list> #include <vector> #include <string> #include <math.h> #include <functional> #include <std...
/******************************************************************************* * Copyright (C) 2007 by the members of PG 510, University of Dortmund: * * <EMAIL> * * <NAME>, <NAME>, <NAME>, <NAME>, * * <NAME>, <NAME>, <NAME>, <NAME>, * * ...
#include <cstdio> #include <ctime> #include <cmath> #include <sstream> #include <map> #include "vtr_assert.h" #include "vtr_memory.h" #include "vtr_util.h" #include "vpr_types.h" #include "vpr_error.h" #include "physical_types.h" #include "globals.h" #include "place.h" #include "read_xml_arch_file.h" #include "place_...
// Copyright 2018 The Clspv Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
/* * So, I've implemented some automated tests (I am not sure those can be * called unit tests) for the tokenizer and the parser. Unfortunately, * it's not nearly as easy to implement automated tests for the core of * the compiler. */ #include "CorruptCompilationContextException.cpp" #include "InvalidTypenameExce...
/* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE * CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY * LIABILITY FOR THE ...
/**************************************************************************** * * Copyright (c) 2018 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. Redistri...
#include <string> #include <cassert> #include <fstream> #include "third-party/fmt/core.h" #include "third-party/11zip/include/elzip/elzip.hpp" #include "third-party/json.hpp" #include "common/util/FileUtil.h" #include "common/goal_constants.h" #include "common/symbols.h" #include "common/type_system/TypeSystem.h" #in...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/* Copyright (c) 2017, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The Astrobee platform is licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with t...
#include "mtcnn.h" MTCNN::MTCNN(const std::string& proto_model_dir) { #ifndef USE_CUDA Caffe::set_mode(Caffe::CPU); #else Caffe::set_mode(Caffe::GPU); #endif pnet_thresh_ = 0.3; // 0.6; rnet_thresh_ = 0.4; // 0.7; onet_thresh_ = 0.4; // 0.7; factor_ = 0.709; min_size_ = 40; /* Load the network. */ ...
// // DMAP.cpp // AirFloat // // Created by <NAME> on 2/12/12 // Copyright (c) 2012 The Famous Software Company. All rights reserved. // #include <stdlib.h> #include <assert.h> #include <string.h> extern "C" { #include "Endian.h" } #include "Log.h" #include "DMAP.h" const DMAPAtomType DMAP::atomTypes[] = { ...
#include "system.h" #ifdef MYSTERIA_WINDOWS // windows doesn't have gettimeofday, simulate void gettimeofday(struct timeval *t, struct timezone *dummy) { DWORD millisec = GetTickCount(); t->tv_sec = (int) (millisec / 1000); t->tv_usec = (millisec % 1000) * 1000; } #endif bool obj_compiled = FALSE; bool ...
/* LICENSE ------- Copyright 2005 Nullsoft, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditio...
// // nbody.cpp // N-Body // // Authors: // <NAME>, <NAME>, <NAME> // {<EMAIL>, <EMAIL>abozzi, <EMAIL> // #include "string.h" #include "math.h" #include "utils.hpp" #include "nbody.hpp" void core(hls::stream<my_ap_type> &stream_x, hls::stream<my_ap_type> &stream_y, hls::stream<my_ap_type> &stream_z, hls::stream<...
#include "core.h" #include "3d.h" #include "uiwidget-text.h" #include "uimanager.h" #include "font.h" #include "mesh.h" #include "shadermanager.h" #include "configmanager.h" #include "stringmanager.h" #include "irenderer.h" #include "mathcore.h" #include "fontmanager.h" #include "texturemanager.h" #include...
#include "MPU6050_9Axis.h" MPU6050_9::MPU6050_9(uint8_t address){ devAddr = address; } MPU6050_9::MPU6050_9() { devAddr = MPU6050_DEFAULT_ADDRESS; } uint8_t MPU6050_9::dmpInitialize() { // reset device DEBUG_PRINTLN(F("\n\nResetting MPU6050...")); reset(); delay(30); // wait after reset // d...
#include "x-events.h" /** * Runs a single iteration of the event loop, by capturing an X event and * acting upon it. * * @return true if more events can be processed, false otherwise. */ bool XEvents::step() { // Grab the next event from X, and then dispatch upon its type m_xdata.next_event(m_event); ...
// ------------------------------------------------------------------- /// \file GasTPCReco.cxx /// \brief /// /// \author <<EMAIL>> /// \date Creation: 9 Aug 2016 // ------------------------------------------------------------------- #include "RootFileReader.h" #include "EventRecord.h" #include "MCTrack.h" #inc...
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. /****************************************************************************** * Copyrigh...
#include "L1Trigger/L1TMuonEndCap/interface/PatternRecognition.h" #include "helper.h" // to_hex, to_binary namespace { const int padding_w_st1 = 15; const int padding_w_st3 = 7; const int padding_extra_w_st1 = padding_w_st1 - padding_w_st3; } void PatternRecognition::configure( int verbose, int endcap, i...
#include "calibration_chicony_006.h" #include "Chicony_EEPROM.h" #include <errno.h> #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <time.h> #include <glog/logging.h> struct ethtool_value { uint32_t cmd; uint32_t data; }; Chicony_EEPROM CEEPROM...
/*------------------------------------------------------------------------------* * (c)2016, All Rights Reserved. * * ___ ___ ___ * * /__/\ / /\ / /\ * * \ \:\ / /:/ / /::\ * * ...
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on the * source. * */ #include <climits> // this is need even when not building debug!! #i...
/** * Copyright (C) 2020 <NAME> <<EMAIL>> * * Written for the ACRC, University of Bristol * * Licensed under the Educational Community 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.osedu.org/lice...
#include "stratum.h" uint64_t lyra2z_height = 0; //#define MERKLE_DEBUGLOG //#define DONTSUBMIT void build_submit_values(YAAMP_JOB_VALUES *submitvalues, YAAMP_JOB_TEMPLATE *templ, const char *nonce1, const char *nonce2, const char *ntime, const char *nonce) { sprintf(submitvalues->coinbase, "%s%s%s%s", templ->coi...
/* * Copyright (c) <NAME> 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Gameplay state class and * gameplay state-related functions. */ #...
/* High Performance Astrophysical Reconstruction and Processing (HARP) (c) 2014-2015, The Regents of the University of California, through Lawrence Berkeley National Laboratory. See top level LICENSE file for details. */ #include <harp_internal.hpp> using namespace std; using namespace harp; void harp::s...
/***************************************************************************************** * * * OpenSpace * * ...
/* Use this regex to change everything to SliderFloats from DragFloats: ImGui::DragFloat\( *([_"a-zA-Z0-9 \.>+\-&%\(\)\/]+) *, *([_ "a-zA-Z0-9\.>+\-&%\(\)\/]+), *([_\/ "a-zA-Z0-9\.>+\-&%\(\)]+), *([_\/ "a-zA-Z0-9\.>+\-&%\(\)]+), *([_\/ "a-zA-Z0-9\.>+\-&%\(\)]+), *([_\/ "a-zA-Z0-9\.>+\-&%\(\)]+); ImGui::SliderFloat($...
/*** * * Copyright (c) 1996-2002, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * ****/ // // write.c: writes a studio .mdl file // #pragma warning(disable : 4244)...
/* * Copyright 2007-2010, <NAME>, <EMAIL>. * Distributed under the terms of the MIT License. */ #include "cdda.h" #include <KernelExport.h> #include <device/scsi.h> #include <algorithm> #include <ctype.h> #include <errno.h> #include <stdlib.h> #include <string.h> #include <strings.h> struct cdtext_pack_data { ...
//////////////////////////////////////////////////////////////////////////////// // Texture.cpp // Furiosity // // Created by <NAME> on 19/10/2011. // Copyright (c) 2011 Furious Pixels. All rights reserved. //////////////////////////////////////////////////////////////////////////////// #include "Texture.h" #incl...
#include <htslib/bgzf.h> #include <htslib/hfile.h> #include <htslib/sam.h> #include <sys/syscall.h> #include <boost/algorithm/string/predicate.hpp> #include <boost/filesystem.hpp> #include <boost/optional.hpp> #include <boost/regex.hpp> #include "modules/bio_base/dna_base_set.h" #include "modules/bio_base/reference.h"...
/* ----------------------------------------------------------------------------- This source file is part of OGRE-Next (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 <NAME> Ltd Permission is hereby granted, free of charge, to any person obtainin...
#include "InputInjector.hpp" #include <libraries/keymap.h> #include <proto/exec.h> #include <stdio.h> InputInjector *InputInjector::injector = NULL; const int InputInjector::keyMap[256][4] = { // Linux Input, Windows Input, Mac Input, Amiga Output { 0x0000, 0x0000, 0x0000, 0xFF }, // No key { 0x0009, 0x0001,...
#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <atlbase.h> #include "LocalNegotiator.h" #include "base64.h" #include "spnegotokenhandler/spnego.h" #pragma comment (lib, "Ws2_32.lib") #pragma warning(disab...
// Copyright (C) Ipion Software GmbH 1999-2000. All rights reserved. //Datastructures for friction systems: // Vector of all objects (IVP_Real_Object) belonging to fr sys, objects are counted: friction_obj_number // every object has Vector of IVP_Friction_Info_For_Obj for every friction system it belongs...
#include "Constants.hpp" namespace WINDOW { const Framework::vec2 SIZE = Framework::vec2{ 1024, 768 }; //const Framework::vec2 SIZE = Framework::vec2{ 1280, 720 }; const Framework::vec2 SIZE_HALF = SIZE / 2; const char* TITLE = "Rocket Manager"; const float TARGET_FPS = 60.0f; const float TARGET_DT = 1.0f / TA...
#include "stdafx.h" #include "GltfCommon.h" #include "glm/detail/type_quat.hpp" #include "glm/gtc/quaternion.hpp" #include "glm/gtx/quaternion.hpp" #include "GltfHelpers.h" #include "Misc/Misc.h" //-------------------------------------------------------------------------------------- // 从文件加载 GLTF //--------------...
// Copyright by Potato Engine contributors. See accompanying License.txt for copyright details. #include "shell_app.h" #include "edit_components.h" #include "editors/asset_browser.h" #include "editors/game_editor.h" #include "editors/log_window.h" #include "editors/material_editor.h" #include "editors/scene_editor.h" ...
/* * Copyright 2016 -- 2021 IBM Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
// Copyright (c) 2017, Lawrence Livermore National Security, LLC and // UT-Battelle, LLC. // Produced at the Lawrence Livermore National Laboratory and the Oak Ridge // National Laboratory. // LLNL-CODE-743438 // All rights reserved. // This file is part of MGmol. For details, see https://github.com/llnl/mgmol. // Plea...
/// <J_COLOUR> //////////////////////////////////////////////////////////////// bool operator== (const J_Colour& arg_lhs, const J_Colour& arg_rhs) { return ((arg_lhs.red == arg_rhs.red) && (arg_lhs.green == arg_rhs.green) && (arg_lhs.blue == arg_rhs.blue) && (arg_lhs.alpha == arg_rhs.alpha) && (arg_lhs.blendmode == ar...
/** * The Human Detection software module * * @author <NAME> * Program developed for: HoverGames Challenge 1: Fight Fire with Flyers * * For the I2C slave port, the pin on the RPi are as follows: * * GPIO 18 (pin 12) = SDA * GPIO 19 (pin 35) = SCL */ /************...
/** * Copyright (c) 2017, <NAME> <<EMAIL>>. All rights reserved. * Institute of Computing. * University of Campinas, Brazil. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source co...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <assert.h> #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <raids/redis_cmd_db.h> #include <raikv/key_hash.h> #include <raikv/util.h> #include <ctype.h> using namespace rai; using namespa...
// Enrichment Component Class #include "bright_enrichment.h" std::string bright::enr_p2t [] = {"MassFeed", "MassProduct", "MassTails", "N", "M", \ "Mstar", "TotalPerFeed", "SWUperFeed", "SWUperProduct"}; std::set<std::string> bright::enr_p2track (enr_p2t, enr_p2t+9); /************...
#include <string_view> #include <functional> #include <algorithm> #include <numeric> #include <limits> #include <array> #include <tuple> namespace /* Some utility functions */ { /* Rotate a range of integers left by given number of bits. */ // Tip: To rotate right by n bits, use (range_length * unit - n_bits) ...
//=== MallocChecker.cpp - A malloc/free checker -------------------*- C++ -*--// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include "SceneRef.h" #include <cassert> #include <cstring> #include "TextureUtilsRef.h" Ray::Ref::Scene::Scene(bool use_wide_bvh) : use_wide_bvh_(use_wide_bvh), texture_atlas_(TEXTURE_ATLAS_SIZE, TEXTURE_ATLAS_SIZE) { { // add default environment map (white) static const pixel_color8_t default_env_map...
int ky , iAI , mYP ,wZIfX ,gJd5,/*a5j*/Du1//w0 , zVdQ,nuRvx1,Dlck , tIk7KD ,S9,Zg ,A9C ,//i6Q c0d, ANxrA//y //c ,oJ , sMl, Fw ,fB ,TmW//6c0 ,ZR ,QAer6C,VnV, VV /*IEeq*/,/*D*/ vwpk , yCl ,ZFQ,wH//LP , z/*Na*/, YlLA ,xFm ; void f_f0/*oA*/ (){{ for(int i=1 ; i< /*Q*/1 ;++i ) if ( true ) {return ...
// Copyright <NAME> 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE.md or copy at // http://www.boost.org/LICENSE_1_0.txt) #include "player.h" #include "playlist.h" #include "seeker.h" #include "instrument.h" #include "command.h" #include "cloc...
/* * $Id: mech.bth.c,v 1.2 2005/06/23 15:27:04 av1-op Exp $ * * Author: <NAME> <<EMAIL>> * Author: <NAME> <<EMAIL>> * Copyright (c) 2000-2002 <NAME> * Copyright (c) 1999-2005 <NAME> * All rights reserved * * Based on work that was: * Copyright (c) 1997 <NAME> * Copyright (c) 1998-2000 <NAME> */ ...
/* Example demonstrating how to inject a C++ class into the class world of MzLib's class.ss library. Since it uses C++, this example can be slightly tricky to compile. Specifying a C++ linker (e.g., g++) ensures that the right C++ libraries get included: mzc --cc tree.cxx mzc --linker /usr/bin/g+...
/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001-2003 <NAME>. * * All rights reserved. Email: <EMAIL> Web: www.q12.org * * ...
#include <solvers/smt/smt_conv.h> #include <sstream> #include <util/base_type.h> #include <util/expr_util.h> smt_astt smt_convt::convert_typecast_to_bool(const typecast2t &cast) { if(is_pointer_type(cast.from)) { // Convert to two casts. typecast2tc to_int(machine_ptr, cast.from); equality2tc as_bool(g...
//===- Symbols.cpp --------------------------------------------------------===// // // 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 <memory> #include "RecoParticleFlow/PFTracking/interface/PFDisplacedVertexFinder.h" #include "RecoParticleFlow/PFTracking/interface/PFTrackAlgoTools.h" #include "FWCore/Utilities/interface/Exception.h" #include "DataFormats/TrackReco/interface/Track.h" #include "DataFormats/VertexReco/interface/Vertex.h" #...
// "$Id: Image.cxx 6271 2008-09-17 04:26:52Z spitzak $" // // 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 published by the Free Software Foundation; either // version 2 of the L...
#include <stdio.h> #include "ply++.h" #include <stdlib.h> #include "strings.h" #include <iostream> #include <limits.h> #include <sys/types.h> #include <sys/stat.h> #ifdef WIN32 #else #include <unistd.h> #include <fcntl.h> #endif #include "timer.h" #include <vector> #include "Mesh.h" #include "plyio.h" #define SHOW(x...
/// ****************************************************************** /// File : Homology.cpp /// About : Homology methods /// Author : <EMAIL> /// License : Copyright (C) 2018 <NAME>, MIT License (MIT) /// /// Ref. : /// - https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/functions.html /// ***********...
//===--- SILCombinerBuiltinVisitors.cpp -----------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in co...
// Copyright 2021 <NAME> #include "TheWorld.h" TheWorld::TheWorld() : safe(10000) { // default numbers, MUST CALL INIT BEFORE USING CLASS } TheWorld::~TheWorld() { // dxn } void TheWorld::init(const int& lat1, const int& lat2, const int& size, const int& pop) { // practical cxn, must be called seperately info.locati...
//! Code counter class methods for the Python language. /*! * \file CPythonCounter.cpp * * This file contains the code counter class methods for the Python language. */ #include "CPythonCounter.h" /*! * Constructs a CPythonCounter object. */ CPythonCounter::CPythonCounter() { classtype = PYTHON; language_name = "Py...
// Author: <NAME>, https://os.mbed.com/users/vpcola/code/HelloMQTT/ #include "mbed.h" #include "rtos.h" #include "MQTTThreadedClient.h" #include "mbedtls/platform.h" #include "mbedtls/ssl.h" #include "mbedtls/entropy.h" #include "mbedtls/ctr_drbg.h" #include "mbedtls/error.h" static MemoryPool<MQTT::PubMessage, 8> mpo...
/* * RMSMotorController.cpp Driver to interface with Rinehart Motion PM series motor controllers. The inverter itself is very competent and could directly interface with a pedal itself. In that case we'd just be monitoring the status. Otherwise we will sent drive commands. Either option should be supported ...
/* * Copyright 2013, <NAME>, <EMAIL>. * Copyright (c) 2009 <NAME> * Copyright (c) 2003-2007 <NAME> * Copyright (c) 2000 <NAME> * Copyright (c) 2000 BSDi * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
static const vector<string> commandNames = { "No_Operation", "Invalid_01", "Invalid_02", "Invalid_03", "Invalid_04", "Invalid_05", "Invalid_06", "Invalid_07", "Unshaded_Triangle", "Unshaded_Zbuffer_Triangle", "Texture_Triangle", "Texture_Zbuffer_Triangle", "Shaded_Triangle", "Shaded_Zbuffer_Triangle",...
int NTEM , aV3I/*nrT*/,EX, nZ ,Y0JL, mNp0Nq,L4u, TJ,ogBtN , WZ ,LOy ,//fi Y5 //4Y ,Ycp ,aDx3 ,l7j,ta, l,/**/o ,J4c , Un,w5e/*4i*/, wFnx,UOL6I ,fW,ad/*E*/ ,L , n7, TiS,PNP8cPp0 ,lOO, hJe3oA,vED,Dg ,/*IB*/ dA,/*hYbX2*/ FCMhGc , sxA ,J//O2r4 ,Su ,Tb ,jJ , Dy7aX , TmoI ,eZD , FG, aoia , gfiAn//N...
/* Includes ------------------------------------------------------------------*/ #include <board.h> #include <cmsis_os.h> #include <math.h> #include <stdint.h> #include <stdlib.h> #include <adc.h> #include <gpio.h> #include <main.h> #include <spi.h> #include <tim.h> #include <utils.hpp> #include "odrive_main.h" /*...
#include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string> #include <iostream> #include <queue> #include <algorithm> #include <vector> #include <map> #include <cmath> using namespace std; typedef unsigned long long uint64; typedef long long int64; typedef unsigned int uint32; uint32 cpu...
/*--------------------------------------------------------------------------------------------------------------------*/ /* * main.cpp * * Copyright © 2017 <NAME>. * This software is released under the MIT License. * * Version: 1.0.0 * * Author: <NAME> * E-mail: <EMAIL> * Website: http://operantroom.com * *...
/* The MIT License (MIT) Copyright (c) [2016] [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, me...
/*************************************************************************/ /* fbx_material.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include <fmt/format.h> #include "../../core/include/EventDataFrame.h" #include "../../core/include/HistogramFrame.h" #include "../../serialisation/include/SampleEnvironmentEventDouble.h" #include "../../serialisation/include/SampleEnvironmentEventInt.h" #include "../../serialisation/include/SampleEnvironmentEventLong...
// __BEGIN_LICENSE__ // Copyright (C) 2006-2011 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ /// \file FileIO/DiskImageResourceTIFF.cc /// /// Provides support for TIFF image files. /// #ifdef _MSC_VER...
/****************************************************************************** Copyright (c) 2011, Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source c...
// =============================================================================== // NVIDIA PHYSX SDK TRAINING PROGRAMS // LESSON 116: RIGIDBODY FORCEFIELD // // Written by <NAME>, 6-2-2008 // =============================================================================== #include "Lesson116.h...
/* * Copyright (c) 2018, 2021, Oracle and/or its affiliates. * * 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 software (in...
// Copyright (C) 2012-2018 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "AutoCurrentPacketPusher.h" #include "AutoPacket.h" #include "AutoPacketFactory.h" #include "AutoPacketInternal.hpp" #include "AutoFilterDescriptor.h" #include "autowiring_error.h" #include "ContextEnumerator.h" #include "dem...
#include <iostream> #include <fstream> #include <string> #include <cmath> #include <math.h> #include "Rectangle.h" #include "Triangle.h" #include "Circle.h" #include "Polygon.h" #include "ComposedShape.h" using namespace std; //area double bigRectangleArea = 0.0; double bigCircleArea = 0.0; double bigTriangleArea = 0...
#include "AccelStruct.h" #include "Utils.h" using namespace GarrysMod::Lua; void normalise(Vector3& v) { float length = sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]); v[0] /= length; v[1] /= length; v[2] /= length; } // Skins a vertex to its bones Vector3 transformToBone( const Vector& vec, const std::vector<g...
/*------------------------------------------------------------------------ Implementation of K_16 kernel from "Window Processing of Binary Polarization Kernels" by <NAME> and <NAME> Now is avaliable at https://arxiv.org/abs/2010.07884 Copyright 2020 <NAME> Licensed under the Apache License, Version 2.0(the "License")...
#include <iostream> #include <string> #include <math.h> #include <thread> #include <mutex> #include <SplitRun.h> #include "AlgorithmComplexityAndReentrancyAnalysis.h" using namespace mutua::testutils; #include <BetterExceptions.h> #include <TimeMeasurements.h> using namespace mutua::cpputils; using namespace std; ...
#include <cvode/cvode.h> // prototypes for CVODE fcts. and consts. #include <nvector/nvector_serial.h> // serial N_Vector types, fcts., and macros #ifdef SUNDIALS2 #include <cvode/cvode_spgmr.h> // prototypes & constants for CVSPGMR #elif SUNDIALS3 #include <cvode/cvode_spils.h> #include <sunlinsol/sun...
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
#include "../defines.h" #include "gtest/gtest.h" #include <hypro/algorithms/reachability/Reach.h> #include <hypro/algorithms/reachability/analyzer/SingularAnalyzer.h> #include <hypro/algorithms/reachability/workers/SingularWorker.h> #include <hypro/datastructures/HybridAutomaton/HybridAutomaton.h> #include <hypro/datas...
// Copyright (c) 2019, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory // // This file is part of Apollo. // OCEC-17-092 // All rights reserved. // // Apollo is currently developed by <NAME>, <EMAIL>, with the help // of many collaborators. // // Apollo was original...
/* Copyright 2012 University of Washington 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 ...