text
stringlengths
8.71k
38.4k
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
#include "intro_sequence.h" #include "allegro_compatibility.h" #include "battle_sequence.h" #include "mapping_joy.h" #include "menuhandler.h" #include <algorithm> #include <allegro5/allegro_primitives.h> #include <stdio.h> const int IntroSequence::mini = 150; const int IntroSequence::maxi = 400; enum CONT...
#include "accumulation.h" #include "commons.h" #include "utils.h" #include <opencv/cv.h> #include <opencv2/core/eigen.hpp> #define QD_BUFFER 5000 bool PointAccumulation::CreateOutputDir(){ printf("Output directory: %s\n", outputPath); return _mkdir(outputPath); } bool PointAccumulation::LoadTransformatio...
/* main Copyright 2012 <NAME> - http://tomdalling.com/ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
#include "api_kinect_cv.h" #include <iostream> #include <opencv2/imgproc.hpp> #include "openni2.h" #include "../openni2/Singleton.h" #include <unistd.h> #include "../sign_detection/SignDetection.h" #include <chrono> #include "signsRecognizer.h" #include "extractInfo.h" #include <stdlib.h> #include "multilane.h" #includ...
#include <list> #include <cmath> #include <time.h> #include <gsl/gsl_statistics.h> #include <CGAL/Simple_cartesian.h> #include <CGAL/Search_traits_2.h> #include <CGAL/Kd_tree.h> #include <CGAL/Fuzzy_sphere.h> #include "common.hpp" /*-------------------------------- IMPORTED VARIABLES ------------------------------...
// This file is a part of nla3d project. For information about authors and // licensing go to project's repository on github: // https://github.com/dmitryikh/nla3d #include "FEReaders.h" #include <unordered_map> #include <algorithm> using std::ifstream; using std::vector; using std::string; using std::map; using std...
/*************************************************************************/ /* export.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/** ****************************************************************************** * @file voodoospark.cpp * @author <NAME> * @version V2.3.1 * @date 1-June-2014 * @brief Exposes the firmware level API through a TCP Connection initiated * to the spark device ***************************...
int QMt//wCK ,s9CY8,G8O , g7 ,QUNoFCb/*Eh*/, yDQVw0 ,oB8G , Lb,kI ,menN , Qt3 , ybu2 , V2x, Gef8, KwBh,VJCL , m4, KwR , P4 , a,uQvm, zL7 /*X3Py*/,uPw, X , ub4,eBC ,XdQE ,UEcU0F, NAe , gjT1//N , aWz , T, hlXt,//Am i ,LwI , jZ, //gN pzkKJf ,neG,/*vb*/AOl , CR , tt ,W, D8 , lc , oW, Les ,...
// // EntityMotionState.cpp // libraries/entities/src // // Created by <NAME> on 2014.11.06 // Copyright 2013 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 <glm/gtx/norm.hpp> #inclu...
/* * * Copyright (C) 2000 Silicon Graphics, Inc. All Rights Reserved. * * 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 opti...
/** * Copyright (c) 2017-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. */ #include "logdevice/server/rebuilding/RebuildingReadStorageTask.h" #include <gtest/gtest.h> #include "log...
//===- llvm/unittest/ADT/StringRefTest.cpp - StringRef unit tests ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include "debug.h" #include <SDL2/SDL.h> #include "cpu.h" #include <iostream> #include <vector> #include <sstream> #include <iomanip> #include "lodepng.h" #include "button.h" #include "checkbox.h" #include "textbox.h" #include "dis.h" #include "apu.h" #include "gpu.h" #include "joypad.h" #include <fstrea...
/* ** Filename: test_simple.cpp ** ** Test simplification. */ #include "boolexprtest.hpp" class BX_Simple_Test: public BoolExpr_Test {}; // Test simplification on atoms TEST_F(BX_Simple_Test, Atoms) { ops[0] = BX_Simplify(&BX_Zero); EXPECT_EQ(ops[0], &BX_Zero); ops[1] = BX_Simplify(&BX_One); EXPE...
/* Minetest Copyright (C) 2010-2013 celeron55, <NAME> <<EMAIL>> Copyright (C) 2013 Kahrl <<EMAIL>> This program 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 you...
#include "common.h" #include <pybind11/stl.h> const int SkCodec::kNoFrame; const int SkCodec::kRepetitionCountInfinite; namespace { std::unique_ptr<SkCodec> MakeFromData(py::buffer b) { auto info = b.request(); size_t size = (info.ndim) ? info.strides[0] * info.shape[0] : 0; auto codec = SkCodec::MakeFro...
/* * Copyright 2020 WebAssembly Community Group participants * * 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...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> #include <string.h> #include <unistd.h> #include <arpa/inet.h> #include <net/if.h> #include <map> #include <set> #include <vector> #include <fcntl.h> #include <sys/epoll.h> #include <thread> #include <mutex> #include <atomic> #include...
/* rx211.cpp: Implementation of the RX211 controller Copyright (c) 2021, <NAME> <EMAIL>, www.retrocmp.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 witho...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RemoveInterfacePass.h" #include "Creators.h" #include "DexStoreUtil.h" #include "DexUtil.h" #include "PassManager.h" #in...
// // RenderablePolyVoxEntityItem.cpp // libraries/entities-renderer/src/ // // Created by <NAME> on 5/19/15. // Copyright 2015 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 <QByteAr...
/*********************************************************************************** * Copyright (C) 2008, 2009 by <NAME> * * * * Terms and conditions for using this software in any form are prov...
#include "RenderDriverRTE.h" #pragma warning(disable:4996) // for wcsncpy to be ok #include <iostream> #include <queue> #include <string> #include <vector> #include <string> #include "HDRImageLite.h" HDRImageLite::HDRImageLite() : m_width(0), m_height(0), m_channels(4) { } HDRImageLite::HDRImageLite(int w, int h, ...
/************************************************************************* * Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved. * Modifications Copyright (c) 2019-2021 Advanced Micro Devices, Inc. All rights reserved. * * See LICENSE.txt for license information **************************************...
#include <dynamicbitstring.h> #include <staticbitstring.h> #include <iostream> #include <fstream> #include <array> #include <string> #include <sstream> static bool allPass = true; using Test = std::array<unsigned int, 2>; static std::ofstream nullOut; // intentionally unopened template < typename _ChkType1, typen...
#include <map> #include <vector> #include <chrono> #include <string> #include <cmath> #include "math.h" #include <complex> #include <iostream> #include "ChebTools/ChebTools.h" /// Raise a CheyshevExpansion to a power template <typename NType> auto pow(const ChebTools::ChebyshevExpansion &ce, NType n){ std::functi...
#include <iostream> #include "Tarot.hpp" #include <algorithm> Tarot::Tarot(Deck *pDeck) : Game(pDeck), index_of_attacker{-1}, goal_of_the_attacker{56}, strategy_of_attacker{-1}, coefficient_contrat{1}, gagnantDuPli{getAttacker()}{ joueurs.push_back(new Player("Djamel", vect...
//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: <NAME> <<EMAIL>> //------------------------------------------------------------------------------ #include "DynamicLookup.h" #include "ASTUtils.h" #include "cling...
/* Sirikata * TCPSpaceNetwork.cpp * * Copyright (c) 2010, <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 copyrig...
/* * Copyright (c) 2004-2005 Massachusetts Institute of Technology. * All Rights Reserved. * * MIT grants permission to use, copy, modify, and distribute this software and * its documentation for NON-COMMERCIAL purposes and without fee, provided that * this copyright notice appears in all copies. * * MIT provid...
// Copyright 2013 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/renderer_host/input/web_input_event_builders_gtk.h" #include <gdk/gdk.h> #include <gdk/gdkkeysyms.h> #include <gtk/gtk.h> #inc...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include <winsock2.h> #include "vmpi_filesystem_internal.h" #include "threadhelpers.h" #include "zlib.h" #define NUM_BUFFERED_CHUNK_ACKS ...
//--------------------------------------------------------------------// // gpvulc // // GPV's Utility Library Collection // // by <NAME>', 2015-2021 // //-----------------------------------------...
/** * @file * @author <NAME> <<EMAIL>> * @version 0.1 * * @section LICENSE * * * MIT License * * Copyright (c) 2017 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software wit...
#include "Theme.h" #include <plugin/zip/zip.h> Value StringToObject(const String& s, const String& file = "") { Vector<String> v = Split(s, ' '); if (v.GetCount() == 0) return Null; if (v[0] == "png") { Image im = PNGRaster().LoadFileAny(file); ImageBuffer img; img = im; if (img.IsEmpty()) ...
#include "force_field.h" #include "../utilities/constants.h" double ForceField::BeadsEnergy(Bead& bead1, Bead& bead2, vector<Molecule>& mols, int current_len, int delete_id) { double energy = 0; double pair_e = 0; double ewald_e = 0; double pair_e1 = 0; double pair_e2 = 0...
#include "producer.h" #include "consumer_2_producer.h" #include "outBoundary.h" #include "producer_2_consumer.h" #include <algorithm> #include <assert.h> #include <fstream> #include <functional> #include <iostream> #include <memory> #include <paradem/object_deleter.h> #include <queue> using namespace std; void Produ...
#include "ServerSaveActivity.h" #include "graphics/Graphics.h" #include "gui/interface/Label.h" #include "gui/interface/Textbox.h" #include "gui/interface/Button.h" #include "gui/interface/Checkbox.h" #include "gui/dialogues/ErrorMessage.h" #include "gui/dialogues/SaveIDMessage.h" #include "gui/dialogues/ConfirmPromp...
/* * https://stackoverflow.com/questions/57336940/how-to-glutdisplayfunc-glutmainloop-in-glfw */ // Includes -------------------- #include <iostream> #ifdef IMGUI_IMPL_OPENGL_LOADER_GLEW #include "GL/glew.h" #elif IMGUI_IMPL_OPENGL_LOADER_GLAD #include "glad/glad.h" #endif #include "GLFW/glfw3.h" #include "glm/gl...
/* * Copyright 2019 Xilinx 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 ...
int c1r ,KUKT1, M ,//ici DXL , qdAN ,/*j*/sIyr , AHv ,MSg , eoU , HCu//dxu ,ln/*iSm1*/ ,IfW2n/**/,eFgSg/*Y*/ ,Hm3F,dWn ,//o aoen , S6on , uYKTi, c ,M1Z , ZDE ,//Fu hwgZ ,pNWuO7,RMpKp , fE, r2zn ,Cy3XH6, Otx, El ,//SYv A5 , xMC//t ,HLs,XRloeu ,/*y*/ GmqS/*O*/, HGP, JX , kSwg, sER, Bj , ZYT, NH...
/* * Copyright (C) 2010 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 app...
/* Open Sensor Platform Project * https://github.com/sensorplatforms/open-sensor-platform * * Copyright (C) 2013 Sensor Platforms 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 ...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
#include "quaternion.h" #include "tools.h" #include <stddef.h> // cutoff for sine near zero static float ms_fEpsilon = 1e-03; void DestroyQuaternion(Quaternion **theQuat) { if (theQuat == NULL) return; Quaternion *thisQuat = *theQuat; if (!thisQuat) return; free (thisQuat); *theQuat = NULL; } Quaternion *Create...
/* * Copyright 2020 <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...
/* FLUIDS v.1 - SPH Fluid Simulator for CPU and GPU Copyright (C) 2008. <NAME>, http://www.rchoetzlein.com ZLib license 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. ...
/* * Copyright 2003-2004 <NAME>. All rights reserved. * Copyright 2017 Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. */ #include "DialUpView.h" #include "DialUpAddon.h" #include <cstring> #include "InterfaceUtils.h" #include "MessageDriverSettingsUtils.h" #include "TextReques...
/**************************************************************/ /* NAME: <NAME> */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: EvalLoiter.cpp */ /* DATE: January 6th, 2016 */ /****...
#include "dsp/digital.hpp" #include "moDllz.hpp" #include "dsp/filter.hpp" /* * XBender */ namespace rack_plugin_moDllz { struct XBender : Module { enum ParamIds { XBEND_PARAM, XBENDCVTRIM_PARAM, XBENDRANGE_PARAM, BEND_PARAM, BENDCVTRIM_PARAM, AXISXFADE_PARAM, ...
#include <math.h> #include <stdio.h> #include <GL/glut.h> #include "skating.h" GLUquadricObj *defquad = NULL; // the position the camera points to double center_x = 0.0, center_y = 0.0, center_z = 0.0; // the position of the camera double cam_x = DEF_CAM_X, cam_y = DEF_CAM_Y, cam_z = DEF_CAM_Z; // control variable to...
#include <fstream> #include <iostream> #include <sstream> #include <string> #include <stdio.h> #include <stdlib.h> #include "actor.h" #include "misc.h" #include "globals.h" using namespace std; monsterFramePair animations[44] = { {0,2}, // devourer 0 {27,28}, // thief {72,73}, // assassin {98,99}, ...
// // Created by find on 16-7-19. // Cache architect // memory address format: // |tag|组号 log2(组数)|组内块号log2(mapping_ways)|块内地址 log2(cache line)| // #include "CacheSim.h" #include <cstdlib> #include <cstring> #include <cmath> #include <cstdio> #include <time.h> #include <climits> #include "map" #include <fstream> #incl...
#include <algorithm> #include <cctype> #include <functional> #include <fstream> #include <iostream> #include "CreateDocs.h" #include "CruxApplicationList.h" #include "util/FileUtils.h" #include "util/Params.h" #include "util/StringUtils.h" #include "xlink/xlink_assign_ions.h" #include "xlink/xhhc_score_peptide_spectr...
int I , FT0, SUR,VMAc , saS,Dpz5, ocdy,V,p0IqO ,t5N,Qg,nI3tE , dSr0J , CBos, QCnV,Smj , aZ6 //3 , o6P,TYAE/*Kri*/, /*Zs*/Gc , WG, dh ,CIGp ,f , W ,oCWl ,UkkK ,V8osxY, f9 , fSW5 ,GZ, //we9 kPFn , L6Z , /**/L5 ,V1j , vtJ ,z2,MqF; void f_f0 (){ ;{volatile int dD , VmC, c, kQe; if( true ){ vola...
/* * Copyright (c) 2017-2019, Carnegie Mellon University and * Los Alamos National Laboratory. * 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 mus...
/* Pengo arcade machine emulator Copyright (c) 2006 <NAME> */ #include "pengo.h" // Output flip-flops enum { FlipScreen = 0x01, InterruptEnabled = 0x08, SoundEnabled = 0x10, CoinLockout = 0x20, CoinMeter1 = 0x40, CoinMeter2 = 0x80 }; // Har...
//***************************************************************************** // FILE: ossimRpcModel.h // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // // AUTHOR: <NAME> // //***************************************************************************** // $Id: ossimRpc...
/* ************************************************************************ * Copyright (c) 2020-2022 Advanced Micro Devices, Inc. * ************************************************************************ */ #pragma once #include "clientcommon.hpp" #include "lapack_host_reference.hpp" #include "norm.hpp" #include ...
#include "../system.hpp" #include "../text.hpp" #include "decoder.hpp" #include "kargs.hpp" #include "spirv_decoder.hpp" #include <iomanip> #include <map> #include <sstream> #include <string> #include <utility> #include <unordered_map> using namespace cls; using namespace cls::k; struct kndr {uint32_t dim[3];}; st...
#include "pch.h" const int c_maxVertices = 10000; const int c_maxFaces = 1000; const int c_cbBfr = 512; const int c_ellipse = 0x01; const int c_oneHull = 0x02; const int c_writeHull = 0x04; const int c_writeMesh = 0x08; const int c_startMesh = 0x10; const int c_endMesh = 0x20; bool x2pl(cons...
#include <iostream> #include <cstdlib> #include <stdexcept> #include <vector> #include <string> #include <tclap/CmdLine.h> #include <tinyxml.h> #include <itkTransform.h> #include <itkDisplacementFieldTransform.h> #include <itkStationaryVelocityFieldTransform.h> #include <itkGeneralTransform.h> #include <itkImageIOBas...
//===--- RuntimeDyldChecker.cpp - RuntimeDyld tester framework --*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===--- SimplifyInstruction.cpp - Fold instructions ----------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include "stdafx.h" #include "WavePlay.h" #include <avrt.h> #include "MainDlg.h" #include "Utility\CodeConvert.h" #pragma comment(lib, "Avrt.lib") using namespace CodeConvert; // ============================================= WavePlay::WavePlay() { ::CoInitialize(NULL); } WavePlay::~WavePlay() { Term(); ::C...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2020-2021 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 * * ...
#include <ros/ros.h> #include <ros/console.h> #include <serial/serial.h> #include <string> #include <sstream> #include <ctime> #include <std_msgs/Float32.h> #include <std_msgs/Bool.h> #include <geometry_msgs/Twist.h> #include <sensor_msgs/BatteryState.h> /* * TODO: * * closed loop / open loop switch * * setting PID...
/* Copyright (c) 2015, Missing Box Studio 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 followi...
// This is free and unencumbered software released into the public domain. // // Anyone is free to copy, modify, publish, use, compile, sell, or // distribute this software, either in source code form or as a compiled // binary, for any purpose, commercial or non-commercial, and by any // means. // // In jurisdictions ...
#include <QUuid> #include <set> #include <map> #include <memory> #include "maplayer.h" #include "project.h" using namespace std; bool MapLayer::SmartTileContext::Empty(int x, int y) { if ((x < -2) || (x > 2) || (y < -2) || (y > 2)) return false; return !tile[x + 2][y + 2]; } bool MapLayer::SmartTileContext::Fi...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
#include "L1Trigger/TrackFindingTracklet/interface/TrackletProcessor.h" #include "L1Trigger/TrackFindingTracklet/interface/Settings.h" #include "L1Trigger/TrackFindingTracklet/interface/Globals.h" #include "L1Trigger/TrackFindingTracklet/interface/AllStubsMemory.h" #include "L1Trigger/TrackFindingTracklet/interface/Ut...
#include "AzureIoTLiteClient.h" #if defined(RISCV) #include "wifi/DxWiFi.h" #include "rtc.h" #endif #include <assert.h> #include "iotc_json.h" #include "IotcUtils.h" #include "TimeUtils.h" #define MUST_CALL_AFTER_CONNECT(mqttClient) \ if (mqttClient == NULL) { \ ...
// Module1.cpp: implementation of the Module1 class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "EQ.h" #include "Module1.h" //zelf bijgezet #include <math.h> #include <iostream.h> #include <stdio.h> #include <stdlib.h> #include <process.h> //#inc...
#include "vbomesh.h" #include <cstdlib> #include <iostream> using std::cout; using std::cerr; using std::endl; #include <fstream> using std::ifstream; #include <sstream> using std::istringstream; /*VBOMesh::VBOMesh ( const char* _filename, bool _reCenterMesh, bool _loadTexture, bool _genTangents ) : reCenterMesh ( _...
// [[Rcpp::depends(RcppArmadillo)]] // [[Rcpp::plugins(cpp11)]] // [[Rcpp::depends(RcppParallel)]] // [[Rcpp::depends(RcppGSL)]] #define ARMA_DONT_PRINT_ERRORS #include "density_list.hpp" #include "include/adaptive_step.hpp" #include "include/sample_batch.hpp" #include "include/reweight.hpp" #include <RcppParallel....
// Project includes #include "globals.h" #include "hardware.h" #include "map.h" #include "graphics.h" #include "speech.h" #include "SDFileSystem.h" #include "mbed.h" // Functions in this file int get_action (GameInputs inputs); int update_game (int action); void draw_game (int init); void init_main_map1 (...
#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <arpa/inet.h> #include <linux/ip.h> #include <linux/if.h> #include <linux/if_tun.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <stdio.h> #include <unistd.h> #include <signal.h> #include <iostream> #include <sstream> #include <iomanip>...
// SPDX-FileCopyrightText: 2014 <NAME> // // SPDX-License-Identifier: MIT /** \file sim_main.cpp * * Defines the "vg sim" subcommand, which generates potential reads from a graph. */ #include <omp.h> #include <unistd.h> #include <getopt.h> #include <list> #include <fstream> #include <algorithm> #include <regex> ...
#include "InputManager.h" #include "OVR_CAPI.h" #include "Common.h" #include <openvr.h> #include <Windows.h> #include <Xinput.h> bool InputManager::m_bHapticsRunning; float InputManager::m_Deadzone; float InputManager::m_Sensitivity; revGripType InputManager::m_ToggleGrip; float InputManager::m_ToggleDelay; HapticsB...
/* * bdpt.cpp * * Created on: 2017年5月7日 * Author: zhuqian */ #include "bdpt.h" #include "geometry.h" #include "sampler.h" #include "paramset.h" #include "filters/box.h" #include "logging.h" //临时修改某个指针内的值的Helper类 template<typename type> class ScopedAssignment { private: type* _target; //目标指针 type _backup;...
#include "codegen.hh" #include "bool.hh" #include "float.hh" #include "code.hh" #include "debug.hh" #include "error.hh" #include "function.hh" #include "int.hh" #include "interpreter.hh" #include "module.hh" #include "null.hh" #include "program.hh" #include "str.hh" #include <iostream> #include <unordered_set> // TODO...
/** 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 2021 <NAME> #include <actionlib/server/simple_action_server.h> #include <motion_primitives/graph_search.h> #include <motion_primitives/utils.h> #include <kr_planning_msgs/PlanTwoPointAction.h> #include <kr_planning_msgs/SplineTrajectory.h> #include <kr_planning_msgs/Trajectory.h> #include <kr_planning_msgs...
/* -*- c-file-style: "bsd"; c-basic-offset: 2; indent-tabs-mode: nil -*- */ #include <stdlib.h> #include "lua.hpp" //#include "lua.h" //#include "lauxlib.h" //#include "lualib.h" #ifdef _OPENMP #include <omp.h> #endif #include "PhysicalConstants.hpp" #include "SystemParameters.hpp" #include "mixing.hpp" #include "L...
/**************************************************************************** Copyright (C) 2002-2013 <NAME>. All rights reserved. This file is part of the QGLViewer library version 2.5.1. http://www.libqglviewer.com - <EMAIL> This file may be used under the terms of the GNU General Public License versions 2....
/******************************Module*Header*******************************\ * Module Name: palette.cxx * * Palette processing functions * * Adapted from tk.c * * Copyright (c) 1996 Microsoft Corporation * \**************************************************************************/ #include <stdio.h> #incl...
/** * sdbf_core.c: Similarity digest calculation functions. * authors <NAME>, <NAME> */ #include <boost/thread/thread.hpp> #include <boost/math/special_functions/round.hpp> #include <boost/interprocess/sync/interprocess_semaphore.hpp> #include <vector> #include "sdbf_class.h" #include "sdbf_defines.h" #include <...
// // // The MIT License (MIT) // // 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, ...
#include <codecvt> #include <iomanip> #include <sstream> #include <fstream> #include <cmath> #include <chrono> #define MATH_PI 3.14159265358979323846264338327950288 struct vmc2bvh_traverse_state { bool loaded; bool vrm_received; std::uint32_t channels_count; std::uint8_t indent; std::ofstream* ...
#include <iostream> #include <chrono> #include "cuda_runtime_api.h" #include "logging.h" #include "common.hpp" #include <math.h> #include "clipper.hpp" #define USE_FP16 // comment out this if want to use FP32 #define DEVICE 0 // GPU id #define EXPANDRATIO 1.5 #define BOX_MINI_SIZE 5 #define SCORE_THRESHOLD 0.3 #defi...
/* * DCA encoder * Copyright (C) 2008 <NAME> * 2010 <NAME> * 2011 <NAME> * * This file is part of FFmpeg. * * FFmpeg 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;...
/* * Copyright 2011 Aevum Software aevum @ aevumlab.com * * 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 b...
int lO , hps,R , r5 ,JyVw , Vb ,q ,//m FC/*SyM*/ , Eo/**/ , qLbM , //06u xkvm , Xf,V, CE13W7,//6 m , FT4,Zy, hr0C, qIMg, IhDU3 ,oCpAT , kOk,cQbUd , WezO ,sJWW,QXf, kR ,H5 ,aUsu//m7xk ,h, zCW, JeD , hL4qc/*ik*/ , kmS,/*uR*/Kj,AWbD , N2z ,Y ,El5 , vZ ,vns;void f_f0 () {for(int i=1 //hTL ; i<1 ;++i )...
//****************************************************************************** // // Copyright (c) Microsoft. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR...
/* Copyright (c) 2005, 2018, 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 as published by the Free Software Foundation; version 2 of the License. This program is distributed i...
/* * file: ContourForestsTree.cpp * description: ContourForestsTree processing package. * author: <NAME> * date: Aout 2015 */ #include <iterator> #include <list> #include "ContourForests.h" using namespace std; using namespace ttk; using namespace cf; ...
/* UNDERWORLD EXPORTER conversations.cpp Functions for implementing conversations in UW1&2 */ #include "utils.h" #include "main.h" #include "Conversations.h" void ExtractConversations(int game) { //UW1&2 //Pulls info outo cnv.ark //At the moment just trying to understand the problems of implement...