text
stringlengths
8.71k
38.4k
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distribute...
// Copyright (c) 2020 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "CollisionStage.h" #define MAX(__a, __b) ((__a) > (__b) ? (__a) : (__b)) namespace c...
#include <internet/imap4Lib.h> #include <internet/pop3Lib.h> /*---------------------------------------------------------------------------*/ EXC_TYPE EncodeIMAP4ExtAcc (const IMAP4ACCOUNTDEF *pAccDef, LPTSTR lpszEnc, const UINT32 ulMaxLen) { LPTSTR lsp=lpszEnc; UINT32 ulRemLen=ulMaxLen; ...
/* * deBGA_index.cpp * * Created on: 2021年3月15日 * Author: fenghe */ #include "deBGA_index.hpp" #define POS_N_MAX 1000 #define POS_N_MAX_LEVEL2 8000 #define RANDOM_NUM 500 #define KMER_LEN_FIRST_LEVEL 14 #define UPPER_PART_SHIFT ((LEN_KMER - KMER_LEN_FIRST_LEVEL) << 1) //(20 - 14)X 2 = 12 #define LOWER_PAR...
/* DarkHelp - C++ helper class for Darknet's C API. * Copyright 2019-2021 <NAME> <<EMAIL>> * MIT license applies. See "license.txt" for details. */ #include <DarkHelp.hpp> #include <fstream> #include <iomanip> #include <thread> #include "json.hpp" #include "filesystem.hpp" std::vector<std::string> messages; nl...
/** * @file QReader.cpp * @brief File which has the definitions of QReader class methods * * @author RajendraMayavan * @author <NAME> * * @copyright BSD-3-Clause License * Copyright (c) 2018, Mayavan, <NAME> * * Redistribution and use in source and binary forms, with or without * modification, ar...
//#include <bits/stdc++.h> #include <algorithm> #include <chrono> #include <fstream> #include <iomanip> #include <iostream> #include <numeric> #include <vector> #include "time.h" #include <Eigen/Dense> #include <Eigen/Core> #include <Eigen/LU> #include <Eigen/SVD> #include <Eigen/QR> #include <Spectra/SymEigsSolver....
#include "tcp_server.h" #include "cast.h" #include "consumer_queue.h" #include "sample.h" #include "send_buffer.h" #include "socket_utils.h" #include "stream_info_impl.h" #include <boost/asio/io_context.hpp> #include <boost/asio/ip/host_name.hpp> #include <boost/asio/ip/tcp.hpp> #include <boost/asio/placeholders.hpp> #...
#include "bus/vicky.h" #include <chrono> #include <functional> #include <thread> #include "bus/int_controller.h" #include "bus/vicky_def.h" #include "system.h" #include "vicky.h" #if TARGET_OS_MAC #include <OpenGL/gl.h> #else #include <GL/gl.h> #endif namespace { constexpr uint8_t kColsPerLine = 80; constexpr uint...
// // RESTportMgr.cpp // Coop2 // /***************************************************************************** MIT License Copyright (c) 2020 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in th...
/* * Copyright (c) 2014, 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...
# 1 "AES_decrypt.cpp" # 1 "AES_decrypt.cpp" 1 # 1 "<built-in>" 1 # 1 "<built-in>" 3 # 155 "<built-in>" 3 # 1 "<command line>" 1 # 1 "/tools/Xilinx/Vivado/2019.1/common/technology/autopilot/etc/autopilot_ssdm_op.h" 1 # 157 "/tools/Xilinx/Vivado/2019.1/common/technology/autopilot/etc/autopilot_ssdm_op.h" extern "C"...
/******************************************************************************* * Copyright (c) 2015-2017 Vanamco AG, http://www.vanamco.com * * The MIT License (MIT) * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
#include <chrono> #include "common.h" #include "relocalizer.h" #include "delaunator.hpp" Relocalizer::Relocalizer(const std::vector<Eigen::Vector3d> &vMapPoints, unsigned int minValidMatchesThre, unsigned int minPnPMatchesNb, int img_width, ...
#include "ViewerRenderer.hh" #include <glow-extras/vector/fonts.hh> #include <glow-extras/vector/graphics2D.hh> #include <glow/common/non_copyable.hh> #include <glow/common/scoped_gl.hh> #include <glow/glow.hh> #include "Scene.hh" #include "view.hh" namespace { std::string sDefaultFontPath; // TODO: Add viewer-glob...
// ================================================================================================= // ADOBE SYSTEMS INCORPORATED // Copyright 2002-2008 Adobe Systems Incorporated // All Rights Reserved // // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms // of the Adob...
// Copyright (c) 2018, Smart Projects Holdings Ltd // All rights reserved. // See LICENSE file for license details. #include <ugcs/vsm/log.h> #include <ugcs/vsm/debug.h> #include <ugcs/vsm/cucs_processor.h> #include <ugcs/vsm/request_context.h> #include <ugcs/vsm/timer_processor.h> #include <ugcs/vsm/transport_detecto...
// -*- C++ -*- // // Package: SiPixelGainCalibrationAnalysis // Class: SiPixelGainCalibrationAnalysis // /**\class SiPixelGainCalibrationAnalysis SiPixelGainCalibrationAnalysis.cc CalibTracker/SiPixelGainCalibrationAnalysis/src/SiPixelGainCalibrationAnalysis.cc Description: <one line class summary> Implementa...
/*! \file \brief Testdriver for MemRefExpr hierarchy \authors <NAME> \version $Id: mretest.cpp,v 1.3 2005/01/18 21:13:16 mstrout Exp $ Copyright (c) 2002-2005, Rice University <br> Copyright (c) 2004-2005, University of Chicago <br> Copyright (c) 2006, Contributors <br> All rights reserved. <br> Se...
/* * Copyright 2020 GoPro Inc. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
int trky /*6y*/,SqT,VAe,LH4 ,NoJE, Vma,IdJ// ,W0I, P , ro , ArVB,cOi0 , Ix ,WkNz//faa , GNO , Q ,J,Iaa ,// pV7, MU6,IGB,A1Bow, Vq,T,U6d ,sj38Afx , hRa , PT ,bQK/**/ , SgTBD , vcmz, WbUFMe, IA3, VT100 ,/**/ rS,x7a, y, MvTm, inE1hM , xDDR, JIy , mj ,Ylf ,nTK , Zzx6; void f_f0 ()// { {{ v...
#include "MESIHandler.hpp" MESIHandler::MESIHandler(Context* context) { myContext = context; } MESIHandler::~MESIHandler() { } void MESIHandler::sendMsgToNode(int dstId, uint64_t addr, MessageType MessageType) { myContext->incNumSentMsgs(); int myId = myContext -> getContextId(); Message* outMsg = new Messag...
#include "whitted_style_ray_tracer.h" #include <vector> #include <iostream> using namespace lh2core; constexpr float kEpsilon = 1e-8; constexpr float bias = 0.0001; constexpr float refractiveIndexGlass = 1.5168; constexpr float refractiveIndexAir = 1.0; void RandomDirection(float3&N) { N.x = ((float)rand() / RAND_...
#include <sge_app.hh> #define UPDATE_STORAGE_BUFFER_DELAY 0.2f struct PUSH { float time; bool no_change; bool operator == (const PUSH& push) const { return sge::math::is_zero(time - push.time) && no_change == push.no_change; } bool operator != (const PUSH& push) const { return...
#include <bee/Convert/ConvertError.h> #include <bee/Convert/DirectSpreader.h> #include <bee/Convert/SceneConverter.h> #include <bee/Convert/fbxsdk/Spreader.h> #include <fmt/format.h> constexpr static auto defaultEplislon = static_cast<fbxsdk::FbxDouble>(1e-6); bool isApproximatelyEqual(fbxsdk::FbxDouble fro...
int nPk3 , JT , xvlS ,Hlo, C6,iI,MtZ ,u5K,vLV ,xdt6T , Xl , dzdn /*L*/, kQzN , dq, fEB , Vv//PJuX , V , t8 , pn, Bk , iNC ,ZGU ,S3Db9 ,o//KLm , QrYNK,tGxuD , Y3gB3 ,h2sR, sd079, muW , ar , uSC ,FLV ,u , Jot/*6x*/ ,g /*cx*/ ,ou/*7M*/,// MBPs,jHlB , /*l79*/X1vA, TN,/*BZ*/ v5kKe, S9, zq, ZR9g//F ...
// Generated from JavadocLexer.g4 by ANTLR 4.9.3 #include "JavadocLexer.h" using namespace antlr4; JavadocLexer::JavadocLexer(CharStream *input) : Lexer(input) { _interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA, _sharedContextCache); } JavadocLexer::~JavadocLexer() { delete _interpreter;...
#include "MyRigidBody.h" using namespace Simplex; //Allocation void MyRigidBody::Init( void ) { m_pMeshMngr = MeshManager::GetInstance(); m_bVisibleBS = false; m_bVisibleOBB = true; m_bVisibleARBB = false; m_fRadius = 0.0f; m_v3ColorColliding = C_RED; m_v3ColorNotColliding = C_WHITE; ...
/* This file contains the definition of all global variables */ #include "myGlobals_definition.h" #include "pin_definitions.h" #include "i2c_definitions.h" #include "Utils/Utils.h" WiFiClient espClient; /************************* MQTT *********************************/ PubSubClient MQTTclient(espClient); int g_...
int JRK49/*E*/, NPzB ,uemTI ,j8 , /*ok*/ Vy , //FLNj8 uO ,WBLq, j ,u,i ,NzOGJp , L1Jw //S ,SUR ,E48XWV ,GNrM, oA, Qaf,Irxl ,/*ctn*/hha , Ooq// ,RZU, Xa, KXN , C, gnIy, G, NIc, ptn,xIy7Zq , Nd, USxRd,MF9Rj , Sf/*r3ew*/, OxL, sc , /*I*/ MbFkzn ,HZ18 // , iH,mW,X0eY ,Z3/*NR*/, EGD, K ,zun/**/ , WB ...
/* ************************************************************************ * Copyright (c) 2019-2022 Advanced Micro Devices, Inc. * ************************************************************************ */ #pragma once #include "lapack_device_functions.hpp" #include "rocblas.hpp" #include "rocsolver.h" /* * ==...
// <interpreter_inst> -*- C++ -*- /*! * \file interpreter_inst.cpp * \brief Instantiates python interpreter instance */ #include <cstdio> #include <thread> #include <boost/bind.hpp> #include <boost/ref.hpp> #include "sparta/sparta.hpp" // For global defines #include "sparta/utils/SpartaAssert.hpp" #include "spar...
/* * Copyright 2020-2021 Hewlett Packard Enterprise Development LP * Copyright 2004-2019 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with...
/*----------------------------------------------------------------- Copyright (C) 2005 - 2013 Michael "Chishm" Chisholm Dave "WinterMute" Murphy Claudio "sverx" 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 Soft...
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrCCCoverageProcessor.h" #include "GrMesh.h" #include "glsl/GrGLSLVertexGeoBuilder.h" // This class implements the coverage processor with vertex shaders. class Gr...
/* * Get External IP address by STUN protocol * * Based on project Minimalistic STUN client "ministun" * https://code.google.com/p/ministun/ * * This program is free software, distributed under the terms of * the GNU General Public License Version 2. See the LICENSE file * at the top of the source tree. * * S...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/socket/ssl_server_socket_nss.h" #if defined(OS_WIN) #include <winsock2.h> #endif #if defined(USE_SYSTEM_SSL) #include <dlfcn.h> #endif...
// The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt /* This is an example illustrating the use of the deep learning tools from the dlib C++ Library. I'm assuming you have already read the dnn_introduction_ex.cpp, the dnn_introduction2_ex.cpp and the dnn_introduction3...
/* I was unable to find good information on how the PLL dividers work in the ECP5 PLL Design and Usage Guide, so I ran several frequencies through Lattice's clarity designer, and was surprised with what I found: | Input | Output | refclk | feedback | output | fvco | | 12 | 48 | 1 | 4 | 12 | 576 ...
/* --- Day 18: Snailfish --- You descend into the ocean trench and encounter some snailfish. They say they saw the sleigh keys! They'll even tell you which direction the keys went if you help one of the smaller snailfish with his math homework. Snailfish numbers aren't like regular numbers. Instead, every snailfish nu...
// [[Rcpp::depends(RcppArmadillo)]] // [[Rcpp::depends(RcppProgress)]] #include "BMA_header.h" // -----------------------GS update to give initial values--------------------------------- // //' Initial values for image-on-scalar regression //' //' @param data an R list object that contains the data //' @param init...
// // Copyright 2018 gRPC 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 agreed t...
#include <iostream> #include <fstream> #include <string> #include <cassert> #include <seqan/index.h> #include <seqan/sequence.h> #include <seqan/file.h> #include <getopt.h> #include "assert_helpers.h" #include "endian_swap.h" #include "ebwt.h" #include "formats.h" #include "sequence_io.h" #include "tokenize.h" #include...
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
/* Copyright (c) 2011-2018, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
/* * 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 ...
/*! * \file output_adj_flow_comp.cpp * \brief Main subroutines for flow discrete adjoint output * \author <NAME> * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, SU2 Co...
#include "ControlNet.h" #include <string> #include <iostream> #include <sstream> #include <ctime> #include <QList> #include <QSet> #include <QString> #include <QVector> #include "ControlCubeGraphNode.h" #include "ControlMeasure.h" #include "ControlMeasureLogData.h" #include "ControlNet.h" #include "ControlPoint.h" #...
#include <cstdint> #include <gtest/gtest.h> #include <vector> #include <libiop/algebra/fields/gf32.hpp> #include <libff/algebra/curves/edwards/edwards_pp.hpp> #include <libiop/algebra/fft.hpp> //#include <libiop/algebra/fields/gf64.hpp> #include <libiop/algebra/field_subset/subspace.hpp> #include <libiop/algebra/utils....
/* * trace-energy-and-temp-msr.cc: Runs a command and produces both a energy and temperature trace of the execution. * * This tool is based on trace-energy-v2. * It uses the MSR driver directly. * * Compilation: g++ -Wall -Wextra -O2 -g -o trace-energy-and-temp-msr trace-energy-and-temp-msr.cc util.cc -lpapi -lrt...
/*! \file EKF_15state.c * \brief 15 state EKF navigation filter * * \details 15 state EKF navigation filter using loosely integrated INS/GPS architecture. * Time update is done after every IMU data acquisition and GPS measurement * update is done every time the new data flag in the GPS data packet is set. Desig...
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include "base/logging.h" #include "cmn/agent_cmn.h" #include "ksync/ksync_index.h" #include "oper/interface.h" #include "oper/inet4_ucroute.h" #include "oper/mirror_table.h" #include "ksync/interface_ksync.h" #include "services/dhcp_proto.h" #in...
// Definitions. #define GLFW_INCLUDE_NONE #define STB_IMAGE_IMPLEMENTATION #define STB_IMAGE_WRITE_IMPLEMENTATION #define TINYGLTF_IMPLEMENTATION // Disabled warnings. #pragma warning(disable : 4005 4996) // Local headers. #include <agl/standard/all.hpp> #include <local/all.hpp> #include "engine/data/all.hpp" #inc...
/* * * @file GlastRandomSvc.cxx * * @brief Implementation file for GlastRandomSvc * * gets adresses * of CLHEP random number engines used in Gleam shared libraries * and sets seeds for them based on run and particle sequence * number obtained from the MCHeader * * $Header: /nfs/slac/g/glast/ground/cvs/Gla...
// Copyright 2017 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
/* The MIT License Copyright (c) 2014 <NAME> <<EMAIL>> 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, pu...
#include <stdlib.h> #include <string.h> #include <avr/io.h> #include <avr/pgmspace.h> #include <avr/interrupt.h> #include <util/delay.h> #include <uart.h> #include <SSD1306.h> #include <DHT22_AM2302_v3.h> class SSegmentRender { public: SSegmentRender(uint8_t width, uint8_t pages) : width(width), pages(pages) ...
// BSD 2-Clause License, see github.com/ma16/rpio #include "../invoke.h" #include <chrono> #include <cstring> // memset #include <deque> #include <iomanip> #include <iostream> #include <thread> // this_thread::sleep_for #include <Neat/cast.h> #include <Neat/stream.h> #include <Rpi/ArmTimer.h> #include <Rpi/Register.h>...
#include "main.h" #include "ball.h" #include "timer.h" #include "semic.h" #include "magnet.h" #include "enemies.h" #include "sevenseg.h" #include "rectangle.h" using namespace std; GLMatrices Matrices; GLuint programID; GLFWwindow *window; // Game objects Ball ball1; Ball coins[10]; Ball powerup[2]; vector <Ball>...
// P2PHost.cpp // UDP hole punching using STUN for the RocketPlugin plugin. // // Author: Stanbroek // Version: 0.6.4 24/12/20 // // References: // https://en.wikipedia.org/wiki/UDP_hole_punching // https://www.ietf.org/rfc/rfc3489.txt // https://www.ietf.org/rfc/rfc5389.txt #include "Networking.h" #incl...
#include <exception> #include <fstream> #include <initializer_list> #include <iostream> #include <map> #include <memory> #include <sstream> #include <thread> #include <typeinfo> #include <vector> #include "Bool.hpp" #include "Keyword.hpp" #include "LazySeq.hpp" #include "Numbers.hpp" #include "RT.hpp" #include "Set.h...
#include <glad/glad.h> #include <glad/glad_glx.h> #include <X11/Xlib.h> #include <X11/extensions/Xcomposite.h> #include <pthread.h> #include <algorithm> #include <vector> #include <obs-module.h> #include <graphics/vec4.h> #include <util/platform.h> #include "xcompcap-main.hpp" #include "xcompcap-helper.hpp" #include...
/* The MIT License (MIT) Copyright (c) 2014 <NAME> http://vertexarray.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...
//=---------------------------------------------------------------------= // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this // file except in compliance with the License. The License is available // in AAFSD...
/* Copyright (c) 2018-2019 DATUMFLUX CORP. 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, distri...
int Xnv ,nwn , AWn6t , ALvj, Pd , c , W ,//x6z z5T/*d*/,s, A0A, xk5Gs,YZYYZ,YI6 , YE,JQPL, AP47q,// QK6,/*Kj*/fiy ,ri8NO , Kb, //wv LT , li ,gWpDlr, n7 , a , fCpGU ,A9 ,z1tl56h ,// ves0, DUvcL, LY , dTg2 , ti3Y , Dm,/*m*/Ipx//IOrfM ,KAVe, VA ,rXl,JxJ, DY , OOK ,//kP8c Dq//s , l7 , rd, Rp /*...
// @doc INTERNAL // @com This file implements the module test for CAAFContentStorage //=---------------------------------------------------------------------= // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this...
#include <netdb.h> // for gethostbyname, hostent #include <netinet/in.h> // for sockaddr_in, in_addr #include <signal.h> // for signal, SIGPIPE, SIG_IGN #include <stdlib.h> // for atoi, rand, srand #include <string.h> // fo...
extern "C" { #include "esp_log.h" } #include <algorithm> #include <fstream> #include <random> #include "cpu.hpp" #include "keyboard.hpp" struct BCD_t { uint8_t MSB; uint8_t MidB; uint8_t LSB; }; // static defines static constexpr const char *FILE_TAG = "CPU"; // Mask function to get the first Nibble 0xN000 //...
#include <cstring> #include "map/Octree.h" Octree::Octree() { // initialize the the buffers to 0's descriptor_buffer = new uint64_t[buffer_size](); attachment_lookup = new uint32_t[buffer_size](); attachment_buffer = new uint64_t[buffer_size](); } void Octree::Generate(char* data, sf::Vector3i dimensions) { o...
// Copyright (c) <NAME> // Licensed under the MIT License // ============================================================== // ORBITER MODULE: ShuttleA // Part of the ORBITER SDK // // adiball.cpp // Panel interface ADI ball // ==========================================================...
/** * @file camera.cpp * @copyright Copyright (c) 2020 University of Turku, MIT License * @author <NAME> * @author <NAME> */ #include "camera.hpp" #include "statistics.hpp" #include "../views/camera3d.hpp" #include <ftl/rgbd/capabilities.hpp> #include <ftl/streams/renderer.hpp> #include <chrono> #include <ftl/ut...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2019 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
#pragma once #include "../../JObject.hpp" class JByteArray; class JFloatArray; class JIntArray; class JBooleanArray; class JString; namespace java::nio { class Buffer; } namespace java::nio { class FloatBuffer; } namespace java::nio { class IntBuffer; } namespace android::opengl { class GLES20 : public JObject ...
/* Copyright © 2016 Forschungszentrum Jülich GmbH All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted under the GNU General Public License v3 and provided that the following conditions are met: 1. Redistributions of source code must retain the above c...
#include <DummyGame.h> #include <SceneVisitor.h> #include <dx12lib/CommandList.h> #include <dx12lib/CommandQueue.h> #include <dx12lib/Device.h> #include <dx12lib/GUI.h> #include <dx12lib/Helpers.h> #include <dx12lib/Mesh.h> #include <dx12lib/PipelineStateObject.h> #include <dx12lib/RootSignature.h> #include <dx12lib/...
//-------------------------------------------------------------------------- // Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved. // Copyright (C) 2007-2013 Sourcefire, Inc. // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public...
// proxy.cpp // NOTE: This is a generic file. Actual unit tests are located in // unit_tests.cpp. // By <NAME> for CS 225 spring 2011 // For strsignal: #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <sys/types.h> #include <sys/wait.h> #include <sys/time.h> #include <algorithm> #include <cmath> #inclu...
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #include <fcntl.h> #include <fstream> #include <stack> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <algorithm> #include <string> #include <ve...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
/*----------------------THE GEORGE WASHINGTON UNIVERSITY----------------------- author: <NAME> <EMAIL> dynamics.cpp Moby plugin -----------------------------------------------------------------------------*/ ///* #include <stdio.h> #include <errno.h> #include <sys/time.h> #...
/****************************************************************************** * $Id$ * * Project: GRC/GRD Reader * Purpose: Northwood Format basic implementation * Author: <NAME> * ****************************************************************************** * Copyright (c) 2007, Waypoint Information Tec...
#include "GPUSceneJson.h" #include "RayLib/SceneIO.h" #include "RayLib/Types.h" #include "RayLib/Log.h" #include "RayLib/SceneNodeI.h" #include "RayLib/SceneNodeNames.h" #include "RayLib/StripComments.h" #include "TracerLogicI.h" #include "GPUAcceleratorI.h" #include "GPUPrimitiveI.h" #include "GPUEventEstimatorI.h" ...
/* * Copyright 2010-2015, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
/*************************************************************************/ /* Xania (M)ulti(U)ser(D)ungeon server source code */ /* (C) 1995-2000 Xania Development Team */ /* See the header to file: merc.h for original code copyrights */ /* ...
/* #if defined(WIN32) #include <EGL/egl.h> #include <GLES2/gl2.h> #include <GLES2/gl2ext.h> //#include <GLES2/gl2extimg.h> #elif ( defined(TARGET_OS_IPHONE) || defined(TARGET_IPHONE_SIMULATOR) ) #include <OpenGLES/ES2/gl.h> #include <OpenGLES/ES2/glext.h> //#include <OpenGLES/ES2/glextimg.h> #elif ( defined(__ANDROID__...
#include <stdlib.h> // For seeding random and rand() #include <time.h> // For grabbing time (to seed random) #include "Game.h" #include "Vertex.h" #include "Input.h" #include "WICTextureLoader.h" #include "ImGui/imgui.h" #include "ImGui/imgui_impl_dx11.h" #include "ImGui/imgui_impl_win32.h" // Needed for...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
#include "ix3do.h" UI::UI() { w1= w2= null; } UI::~UI() { delData(); } void UI::delData() { } void UI::init() { /// fonts and font styles fnt1_10= ix.pr.loadFont("montserrat.fnt", 10); fnt1_12= ix.pr.loadFont("montserrat.fnt", 12); fnt1_15= ix.pr.loadFont("montserrat.fnt", 15); fnt1_20=...
#include <SDL_image.h> #include <SDL_ttf.h> #include "common.h" #include "DungeonMaster.h" #include "GarbageGobbler.h" #include "minigames/Fuck.h" /////////////////////////////////////////////////////////////////////////////// // CONSTANTS /////////////////////////////////////////////////////////////////////////////...
/* The MIT License (MIT) This file is part of the Phoenard Arduino library Copyright (c) 2014 Phoenard 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 limit...
//===--- SSADestroyHoisting.cpp - SSA-based destroy hoisting --------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/* * PathPlanner.cpp * * Created on: May 26, 2018 * Author: <NAME> / Udacity */ #include "PathPlanner.h" #include "spline.h" #include <vector> #include <math.h> #include <iostream> using namespace std; // For converting back and forth between radians and degrees. constexpr double pi() { return M_PI; } double...
/** @file MergeAdjacentText.hpp @author <NAME> @date 2018/12/04 @date 2020/05/10 Change for ANLpy. Enabled to modify parameters. @version 1.0 **/ #include "MergeAdjacent.hpp" #include <iostream> using std::cout; using std::endl; #include <ANLmanager.hpp> // using namespace anlcross; #include <TDirect...
// use code from: // https://github.com/zhangzhensong/arap // http://www.dgp.toronto.edu/~rms/software/Deform2D/ #include "meshlab/Igarashi05.h" namespace { void ExtractSubMatrix(Eigen::MatrixXd& mFrom, int nRowOffset, int nColOffset, Eigen::MatrixXd& mTo ) { int nRows = mTo.rows(); int nCols = mTo.cols(); for ...
/// @file StokesVFlagger.cc /// /// @copyright (c) 2012-2014 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping NSW 1710, Australia /// <EMAIL> /// /// This file is part of the ASKAP software distribution. /// /// The ASK...
#include "mdx.h" #define MDLX_TAG 0x584c444d #define GEOS_TAG 0x534f4547 #define SEQS_TAG 0x53514553 #define LAYS_TAG 0x5359414c #define TXAN_TAG 0x4e415854 #define GEOA_TAG 0x414f4547 #define LITE_TAG 0x4554494c #define ATCH_TAG 0x48435441 #define PREM_TAG 0x4d455250 #define PRE2_TAG 0x32455250 #define RIBB_TAG 0x424...
/* * Copyright (C) 2006-2009 Tsinghua University. All Rights Reserved. */ /* * Copyright 2002, 2003, 2004 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the ter...
#include <ros/ros.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/image_encodings.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <iostream> #include <vector> #include <math.h> #include <std_msgs/String.h> #include <sstream...