text
stringlengths
5.71k
33.7k
// Magic Software, Inc. // http://www.magic-software.com // http://www.wild-magic.com // Copyright (c) 2004. All Rights Reserved // // The Wild Magic Library (WML) source code is supplied under the terms of // the license agreement http://www.magic-software.com/License/WildMagic.pdf // and may not be copied or ...
/*****************************************************************/ /* NAME: <NAME> */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: XYFormatUtilsSegl.cpp */ /* DATE: May 18th, 2009 (Reworked from XYBuildUtils.h) ...
// // clientlib-common.cpp // // Parts of clientlib that are common to both clientlib.cpp and // clientlib-local.cpp // /* Copyright (c) 2015-2016 VMware, Inc All rights reserved. Written by <NAME> MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software...
#include <gtest/gtest.h> #include "../ssc/core.h" #include "../ssc/vartab.h" #include "../ssc/common.h" #include "../input_cases/weather_inputs.h" #include "cmod_pvwattsv7_test.h" ///Default PVWattsV7, but with TMY2 instead of TMY3 TEST_F(CMPvwattsV7Integration_cmod_pvwattsv7, DefaultNoFinancialModel_cmod_pvwattsv7...
/////////////////////////////////////////////////////////////////////////// // Inastemp - <NAME> MPCDF - 2016 // Under MIT Licence, please you must read the LICENCE file. /////////////////////////////////////////////////////////////////////////// // // // This file ask the cpuid to get access to CPU properties. // The ...
/* * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
#include "GalavantUnreal.h" #include "TestPolyVoxChunk.h" #include "Utilities/ConversionHelpers.h" #include "PolyVoxCore/CubicSurfaceExtractorWithNormals.h" #include "PolyVoxCore/MarchingCubesSurfaceExtractor.h" #include "PolyVoxCore/SurfaceMesh.h" #include "PolyVoxCore/SimpleVolume.h" #include "util/Loggi...
/*************************************************************************** * * localedef.cpp * * $Id: //stdlib/dev/source/stdlib/util/localedef.cpp#248 $ * *************************************************************************** * * Copyright (c) 1994-2005 Quovadx, Inc., acting through its Rogue Wave * ...
//#include <Adafruit_GFX.h> //#include <Adafruit_GrayOLED.h> //#include <Adafruit_SPITFT.h> //#include <Adafruit_SPITFT_Macros.h> //#include <gfxfont.h> // 中文字取代 E:\UNO_D1R2\scripts\libraries\U8g2_for_Adafruit_GFX\src\u8g2_fonts.c // 底下在 line 78354 ~ 78807 的 chinese1 陣列資料 (包括大小) // const uint8_t u8g2_font_unifo...
#include "mm.h" #include <jtk/concurrency.h> #include <jtk/file_utils.h> #include <jtk/qbvh.h> #include <jtk/geometry.h> #include <iostream> #include <hdf5.h> #include "hdf5aux.h" #include "mesh.h" namespace { bool read_morphable_model_basel(hid_t group_id, jtk::morphable_model& mm, const char* filename) { ...
#include "BoundingBox.hxx" #include "DepositsSummaryTreeReader.hxx" #include "StopConfigTreeReader.hxx" #include "GetUsage.hxx" #include "ROOTUtility.hxx" #include "StringParserUtility.hxx" #include "TFile.h" #include "TH2D.h" #include "TMath.h" #include "TTree.h" #include <string> #include <vector> std::string Inp...
#include <cstdlib> #include <iostream> #include <set> #include <map> #include <fstream> #include <chrono> #include <iomanip> #include "External/args.hxx" // argument parsing #include "Ranker-general.h" #include "Compl-config.h" #include "Complement/Options.h" #include "Complement/BuchiAutomatonSpec.h" #include "Algor...
int VDH3//t3x ,K0Hy,r ,//hrW ujA , cp , pATZCD//Yrd ,H5,nvWOC, G2, bl7r ,aw0c ,bte ,hX, N2,zcJO , B/*R5*/,DU,v, nFp , hMF, LwohEZo ,EmDj ,wet , pHJZ, lVLl ,hbx6/*H*/ ;void f_f0 (){ return ; ; { volatile int toU , t1 //Ie , ZRp , Dso41/*iY*/ ; hbx6 = Dso41 +toU+t1+ ZRp;/*q*/ {volatile int FZ , j...
#include "stdafx.h" #include "QtMainWindow.h" #include <ExperimentMonitoringAndStatus/ColorBox.h> #include <qdesktopwidget.h> #include <PrimaryWindows/QtScriptWindow.h> #include <PrimaryWindows/QtAndorWindow.h> #include <PrimaryWindows/QtAuxiliaryWindow.h> #include <PrimaryWindows/QtMakoWindow.h> #include <PrimaryWindo...
#include "GameObject.h" #include "ComponentMaterial.h" #include "Component.h" #include "ModuleCamera.h" #include "ModuleRender.h" #include "ModuleTextures.h" #include "ComponentMesh.h" #include "ComponentTransform.h" #include "Application.h" #include "ModuleMenu.h" #include "ComponentCamera.h" #include "ModuleModelLoad...
#include <iostream> #include <fstream> #include <sstream> #include <limits> #include <string> #include <vector> #include <bitset> #include <locale> #include <map> // A Huffman tree node may be an internal node or a leaf node. Internal nodes // represent a connection between two Huffman tree nodes, and leaf nodes // re...
//======== ======== ======== ======== ======== ======== ======== ======== /// \file /// /// \copyright /// 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 the Softw...
#include <UI/CodeTextEdit/Lexers/CPPLexer.h> #include <regex> #include <QDebug> namespace { // Functions reserved for this TU's internal use // Detects if a token is a whitespace or newline character bool isWhitespace(const QChar c) { if (c == ' ' || c == '\n' || c == '\r' || c == '\t') return true; ...
#include <iostream> #include <fstream> #include <string> #include <vector> #include <cstdlib> #include <ctime> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> #include <cfloat> #include "time_bench.hpp" #include <boost/numeric/ublas/matrix.hpp> #include <boost/numeric/ublas/vector.hpp> #include <boos...
// // patch.cpp // superjxsyxtool // // Created by <NAME>. on 2017/Oct/20. // Copyright © 2017 Ten by Ten. All rights reserved. // #include "patch.h" #include <stdint.h> #include <stdio.h> #include <iomanip> #include <iostream> namespace { namespace Offset { enum { a_b_balance = 18, dual_detune, up...
#define NOMINMAX #include "AsioDevice.h" #include <atomic> #include <deque> #include "asio.h" #include "asiodrivers.h" #include "WinDSPLog.h" #include "Error.h" #include "SpinLock.h" #include "Config.h" using std::deque; using std::atomic; using std::make_unique; using std::exception; using std::to_string; using std::...
int c9, /*6BgB*//*O*/h,XEK7T , MZA , L3SrI, Nxt ,tjl, He , Ny68pO , qR , uKAe ,/*p*/ cNo6 , B , cK, C6 , pG ,SU88W ,LUBtF, WFB, Ku //B ,/**///2Y2 yyGw, kq3, ZMRm , x3D//uoO ,Vn8J , qqEd/*7*/ , MHA, g55I0/*T2o*/ ,m3e; void f_f0 () { { ; { volatile int Jz0Z ,gAc7//fH /*foW0*/, //kBt0 ocy/*...
// Copyright (C) 2010 - 2014 by <NAME>, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2008 - 2009 by <NAME>, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, University of Heidelberg, // and Th...
// Std. Includes #include <string> // GLEW #define GLEW_STATIC #include <GL/glew.h> // GLFW #include <GLFW/glfw3.h> // GL includes #include "Headers/shader.h" #include "Headers/camera.h" #include "Headers/model.h" // GLM Mathemtics #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/ty...
#include <cstdio> #include <cmath> #include <cfloat> #include <cstdarg> #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <map> #include <Eigen/Dense> #include <unsupported/Eigen/CXX11/Tensor> #include <boost/filesystem.hpp> #include <omp.h> #include <H5Cpp.h> #include "timer/timer.h...
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAME>....
/** * This file is part of Fast-Planner. * * Copyright 2019 <NAME>, Aerial Robotics Group, Hong Kong University of Science and Technology, <uav.ust.hk> * Developed by <NAME> <bzhouai at connect dot ust dot hk>, <uv dot boyuzhou at gmail dot com> * for more information see <https://github.com/HKUST-Aerial-Robotics/Fast-...
#include <signal.h> #include <string> #include "shop.h" #include "error_handling.h" #include "game.h" #include "coordinate.h" #include "daemons.h" #include "fight.h" #include "food.h" #include "io.h" #include "level.h" #include "misc.h" #include "monster.h" #include "move.h" #include "options.h" #include "os.h" #incl...
/*******************************<GINKGO LICENSE>****************************** Copyright (c) 2017-2021, the Ginkgo authors 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 co...
// Copyright GREYC - UMR 6072 ; Université de Caen Normandie // Esplanade de la paix // CS 14032 // 14032 Caen CEDEX 5 // contributeur : // <NAME>, 2015 // // <EMAIL> // // Ce logiciel est un programme informatique servant à la comparaison et à l'analyse d'outils de détection de communauté. // // Ce logiciel est rég...
/** * copyright (c) 2018, <NAME> * SPDX-License-Identifier: MIT */ #define __AZIOTCLIENT_CPP__ #include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <fcntl.h> #include <errno.h> #include <string.h> #include <unistd.h> #include <time.h> #include <sys/un.h> #include <sys/syscall.h> #include <sys/socket.h>...
#include <casadi/casadi.hpp> #include <tropter/tropter.h> #include <Moco/osimMoco.h> using namespace tropter; using namespace casadi; using namespace OpenSim; class EndpointCostFunction : public Callback { public: EndpointCostFunction(const std::string& name, const MocoProblemRep& problem, const D...
// // MathFunctions.cpp // MNN // // Created by MNN on b'2021/07/09'. // Copyright © 2018, Alibaba Group Holding Limited // #include <emmintrin.h> #include <string.h> #include <algorithm> #include <math.h> #include "core/Macro.h" #include "FunctionSummary.hpp" void _SSE_MNNExpC8(float* dest, const float* source, ...
#include <format> #include "player.hpp" #include "../../menu/vars.hpp" #include "../../game.hpp" #include "../../../utilities/renderer/renderer.hpp" #include "../../../SDK/Enums.hpp" #include "../../globals.hpp" #include "../aimbot/aimbot.hpp" #include "../backtrack/backtrack.hpp" #undef min #undef max enum boxTypes ...
#include <stdio.h> #include "fastqreader.h" #include "unittest.h" #include <time.h> #include "cmdline.h" #include <sstream> #include "util.h" #include "options.h" #include "processor.h" #include "evaluator.h" string command; int main(int argc, char* argv[]){ // display version info if no argument is given if(...
#include "string.hpp" #include <cctype> //`std::isspace(...)`. #include <cstring> //`strlen(...)`. #include <algorithm> //`std::min(...)`. namespace std { string to_string (wstring const& str) { string result; result.resize(str.length()*MB_CUR_MAX); //Worst case length (all maximum-length characte...
//===-- RISCVMCCodeEmitter.cpp - Convert RISCV code to machine code -------===// // // 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 <map> #include <string> #include "TH1D.h" #include "TH2D.h" #include "TGraphErrors.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Utilities/interface/InputTag.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/...
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <cstdio> #include <iomanip> #include <assert.h> #include <errno.h> #include <sys/types.h> #include <dirent.h> #include "base/logging.h" #include <base/contrail_ports.h> #include <bind/bind_util.h> #include <cfg/dns_config.h> #include <mg...
#include "pch.h" #include <dplyr/main.h> #include <dplyr/allow_list.h> #include <dplyr/data/GroupedDataFrame.h> #include <dplyr/data/NaturalDataFrame.h> #include <dplyr/visitors/join/DataFrameJoinVisitors.h> #include <dplyr/visitor_set/VisitorSetIndexMap.h> #include <dplyr/visitors/order/Order.h> #include <tools/trai...
#include "fsrk/shape/circle.h" #include "fsrk/shape/ellipse.h" #include <camera_model/camera_models/CameraFactory.h> #include <opencv2/opencv.hpp> using namespace std; using namespace cv; #define WINDOW_NAME "image" #define WINDOW_NAME2 "image2" camera_model::CameraPtr cam; Mat g_srcImage; Mat mask; int color_rand1,...
/* * Copyright 2019 OmniSci, 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 t...
#include "yolov5.h" #include "logging.h" static Logger gLogger; CpuTimer::CpuTimer(){ } void CpuTimer::Start(){ start_t = std::chrono::steady_clock::now(); } double CpuTimer::TimeSpent(){ auto end_t = std::chrono::steady_clock::now(); double t_ = ( end_t - start_t).count()/1e6; ...
/*********************************** 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 appli...
/* Copyright (c) 2021 PaddlePaddle 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 applicable law or...
#include <docopt/docopt.h> #include <imgui-SFML.h> #include <imgui.h> #include <spdlog/spdlog.h> #include <SFML/Graphics.hpp> #include <SFML/System/Clock.hpp> #include <SFML/Window/Event.hpp> #include <algorithm> #include <filesystem> #include <functional> #include <optional> #include <outcome.hpp> #include <system_er...
#include "RecoParticleFlow/PFTracking/interface/ConvBremPFTrackFinder.h" #include "FWCore/Framework/interface/ESHandle.h" #include "DataFormats/ParticleFlowReco/interface/PFRecHit.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "DataFormats/EgammaReco/interface/ElectronSeed.h" #include "DataForma...
#include "Common/Common.h" #include "Common/Log.h" #include "Demo/DVKCommon.h" #include "Math/Vector4.h" #include "Math/Matrix4x4.h" #include <vector> class PickDemo : public DemoBase { public: PickDemo(int32 width, int32 height, const char* title, const std::vector<std::string>& cmdLine) ...
// Copyright (c) 2018-2021 Dr. <NAME> and <NAME> // Copyright (c) 2021 <NAME> // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #include <algorithm> #include <iomanip> #include <iostream> #include <iterator> #include <sstream> #include <string> #include <unordered_map> #include <unordered_set...
#pragma once #include <fcntl.h> #include <iostream> #include <linux/types.h> #include <linux/usb/ch9.h> #include <poll.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> /* /dev/gadget/ep* doesn't support poll, we have to use an alternative approach. */ #include <pthread.h> extern "C" { // Needed to in...
/****************************************************************************** * Project: PROJ * Purpose: Downloader tool * Author: <NAME>, <even.rouault at spatialys.com> * ****************************************************************************** * Copyright (c) 2020, <NAME>, <even.rouault at spatialys...
#include "rosplan_planning_system/PlanDispatch/EsterelPlanDispatcher.h" namespace KCL_rosplan { /*-------------*/ /* constructor */ /*-------------*/ EsterelPlanDispatcher::EsterelPlanDispatcher(ros::NodeHandle& nh): display_edge_type_(false), PlanDispatcher(nh) { node_handle = &nh...
/******************************************************************************* Copyright (c) 2015, <NAME> To cite academic use of Voxelyze: <NAME> and <NAME> "Dynamic Simulation of Soft Multimaterial 3D-Printed Objects" Soft Robotics. March 2014, 1(1): 88-101. Available at http://online.liebertpub.com/doi/pdfplus/10....
#include "CPH.hpp" CPH::CPH(Robo& r, std::vector<posXY>& obs) : robo(r), posOstaculos(obs) { } void CPH::inicializaObstMeta() { int i, j, k; /* Inicializa paredes do campo de futebol */ for (i = 0; i < MAX_Y; i++) { for (j=0; j<MAX_X; j++) { if (i==0 || i==MAX_Y-1 || j==0 || j==MAX_X-1) { campoPotenc...
// Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include <queue> #include <memory> #include <string> #include <chrono> #include <condition_variable> #include <mutex> #include <cstdio> #include <functional> #include <atomic> #include <inference_engine.hpp> #inc...
#include <cyglidar_pcl.h> const float RADIAN = MATH_PI / HALF_ANGLE; const float DEGREE = HALF_ANGLE / MATH_PI; int DATABUFFER_SIZE_2D, DATABUFFER_SIZE_3D, DATASET_SIZE_2D, DATASET_SIZE_3D; typedef pcl::PointCloud<pcl::PointXYZRGBA> PointXYZRGBA; pcl::PointCloud<pcl::PointXYZRGBA>::Ptr scan_2D; pcl::PointCloud<pcl::...
//===--- DerivedConformanceEquatableHashable.cpp - Derived Equatable & co -===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
//===- ClangDiff.cpp - compare source files by AST nodes ------*- C++ -*- -===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
# 1 "e:\\arduino\\code\\code\\weather_cube\\src\\src.ino" # 2 "e:\\arduino\\code\\code\\weather_cube\\src\\src.ino" 2 # 4 "e:\\arduino\\code\\code\\weather_cube\\src\\src.ino" 2 # 5 "e:\\arduino\\code\\code\\weather_cube\\src\\src.ino" 2 # 7 "e:\\arduino\\code\\code\\weather_cube\\src\\src.ino" 2 # 8 "e:\\arduino\\co...
// nnet3bin/nnet3-copy-egs.cc // Copyright 2012-2015 Johns Hopkins University (author: <NAME>) // 2014 <NAME> // See ../../COPYING for clarification regarding multiple authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with...
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2021 <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 Soft...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the Apache 2.0 License. #include "crypto/base64.h" #include "crypto/hash.h" #include "crypto/hash_provider.h" #include "crypto/key_pair.h" #include "crypto/openssl/base64.h" #include "crypto/openssl/hash.h" #include "crypto/openssl/key_pair....
#include "ParticleData.h" #include "Application.h" #include "ModuleTextureImporter.h" #include "ModuleResources.h" #include "Texture.h" ParticleData::ParticleData() { } ParticleData::~ParticleData() { } void ParticleData::LoadDefaultData() { SetName("Default"); emmision_rate = 15; max_lifetime = 1; velocity =...
#include <rpc/contract_util.h> #include <rpc/util.h> #include <util/system.h> #include <key_io.h> #include <rpc/server.h> UniValue executionResultToJSON(const dev::eth::ExecutionResult& exRes) { UniValue result(UniValue::VOBJ); result.pushKV("gasUsed", CAmount(exRes.gasUsed)); std::stringstream ss; ss ...
/******************************************************************** * (C) 2018 <NAME> * * Distributed under the MIT software license, see the accompanying * file COPYING or http://www.opensource.org/licenses/mit-license.php. * * This crypto-condition eval solves the problem of nothing-at-stake * in a proof o...
/***************************************************************************** Copyright (c) 1996, 2015, 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 Founda...
// 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, Version 2.0 (the // "License"); you may...
#ifndef __QNX__ using namespace std; #endif #include "VisMatrix.h" #include "RobotMath.h" #define Matrix CVisDMatrix #define Vector CVisDVector #define Vector3 C3dVector #include <stdio.h> #include <assert.h> #include <math.h> #include "conf/tx_data.h" #include "YARPThread.h" #include "YARPSemaphore.h" #include "Y...
#include <iostream> #include <fstream> #include <vector> #include "FWCore/ServiceRegistry/interface/Service.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/Framework/interface/Frameworkfwd.h" #include "DQMServices/Core/interface/DQMStor...
/* Copyright 2001 The University of Texas at Austin 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...
/* ### * IP: GHIDRA * NOTE: mentions GNU libbfd, the hard-coded binary is a toy function that generates primes * * 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.apa...
//Copyright (C) 2010-2012 by <NAME> //This file is licensed under the MIT License. #include <algorithm> #include <string> #include <vector> #include <stack> #include <math.h> #include <stdio.h> #include <glload/gl_3_3.h> #include <glutil/glutil.h> #include <GL/freeglut.h> #include "../framework/framework...
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* This is script-generated code (for the most part). */ /* See dataObjPut.h for a description of this API call.*/ #include "dataObjPut.h" #include "rodsLog.h"...
// This file is part of Notepad2. // See License.txt for details about distribution and modification. //! Lexer for YAML. #include <cassert> #include <cstring> #include <cctype> #include "ILexer.h" #include "Scintilla.h" #include "SciLexer.h" #include "WordList.h" #include "LexAccessor.h" #include "Accessor.h" #incl...
#include <cstdlib> #include "stdio.h" #include <GL/glut.h> #include <ctype.h> #include "vertex.h" #include "cubo.h" #include "tetraedro.h" #include "PlyReader.h" #include "O3DR.h" #include "cilindro.h" #include "vaso.h" #include "vaso_inv.h" #include "cono.h" #include "tubo.h" #include "piramide.h" #include "esfera.h" ...
// // Created by ByteFlow on 2020/2/30. // #include <gtc/matrix_transform.hpp> #include "BigHeadSample.h" #include "../util/GLUtils.h" #include "CommonDef.h" static float KEY_POINTS[KEY_POINTS_COUNT * 2] = { 146, 101,//0 174, 36, //1 232, 6, //2 307, 38, //3 335, 105,//4 305, 218,//5 ...
/* * Copyright (c) Huawei Technologies Co., Ltd. 2019-2020. 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 * * Un...
/* * debug.c * * Created on: Aug 27, 2016 * Author: amyznikov */ #include "debug.h" #include <stdio.h> #include <stdlib.h> #ifdef __APPLE__ # include <stdlib.h> # include <thread> #else # include <malloc.h> #endif #include <string.h> #include <time.h> #include <errno.h> #include <signal.h> #include <mute...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 1991-2000, University of Groningen, The Netherlands. * Copyright (c) 2001-2004, The GROMACS development team. * Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team. * Copyright (c) 2018,2019,2020, by the GROMA...
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
// IMPORTANT: LIBRARY MUST BE SPECIFICALLY CONFIGURED FOR EITHER TFT SHIELD // OR BREAKOUT BOARD USAGE. SEE RELEVANT COMMENTS IN Adafruit_TFTLCD.h // Modified for ILI9342 by <NAME> // Graphics library by ladyada/adafruit with init code from Rossum // MIT license #if defined(__SAM3X8E__) #include <include/pio.h> ...
/* * Progetto di Sistemi Multimediali * Progetto 1 - Elaborazione di Immagine * * Componenti del gruppo: * <NAME> 1069357 * <NAME> 1072066 * <NAME> 1069358 * * Anno Accademico: * 2015/2016 * * Esecuzione da riga di comando: * elaboraimmagine <fileinput> <comando> <dimensioni_x> <dimensioni_y> <fileoutput> */ #inclu...
#include "camera_component.h" #include "systems/render_system.h" #include "core/resource_loader.h" #include "core/renderer/post_processor.h" #include "framework/systems/post_process_system.h" DEFINE_COMPONENT(CameraComponent); void to_json(JSON::json& j, const PostProcessingDetails& p) { j["isPostProcessing"] = p.is...
/// @file AmplitudeFlagger.cc /// /// @copyright (c) 2013,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 A...
/* * Copyright (c) 2020, NVIDIA CORPORATION. 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 co...
// 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 "chrome/app/image_pre_reader_win.h" #include <windows.h> #include <algorithm> #include <limits> #include <vector> #include "base/logging.h"...
/* * Copyright (c) 2013, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
// Copyright (c) 2018 Graphcore Ltd. All rights reserved. #include <boost/program_options.hpp> #include <cassert> #include <cstdint> #include <poplar/CycleCount.hpp> #include <poplar/Device.hpp> #include <poplar/Graph.hpp> #include <poplar/IPUModel.hpp> #include <poplar/Program.hpp> #include <poplibs_support/TestDevice...
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved * Copyright (c) 2017 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 S...
#include "kanon.h" #include "massivy.h" #include "psnip/builtin/builtin.h" using namespace std; static inline void bit_set( unsigned long *a, unsigned long b ) { *a |= ((unsigned long) 1) << b; } static inline void bit_reset( unsigned long *a, unsigned long b ) { *a &= ~(((unsigned long) 1) << b); } ...
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetFrameRate(60); ofBackground(255); ofSetCircleResolution(64); //audio setup sampleRate = 44100; bufferSize = 1024; ofSoundStreamSetup(2,0,this,sampleRate,bufferSize,4); ofSo...
#pragma once static const unsigned char F6x8[][6] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // sp 0x00, 0x00, 0x00, 0x2f, 0x00, 0x00, // ! 0x00, 0x00, 0x07, 0x00, 0x07, 0x00, // " 0x00, 0x14, 0x7f, 0x14, 0x7f, 0x14, // # 0x00, 0x24, 0x2a, 0x7f, 0x2a, 0x12, // $ 0x00, 0x62, 0x64, 0x08, 0x13, ...
#include <algorithm> #include <fstream> #include <iomanip> #include <iostream> #include <memory> #include <string> #include <sstream> #include <stdexcept> #include <unordered_set> #include <regex> #include <boost/algorithm/string/replace.hpp> #include <boost/filesystem.hpp> #include <boost/format.hpp> #include <boost/g...
#ifdef MPI_HAO #include <mpi.h> #endif #include <cmath> #include "tensor_2d_bl_cpu.h" using namespace std; using namespace tensor_hao; void gmm_cpu_float_test() { Tensor_hao<float,2> a(2,3), b(3,2), c(2,2), c_exact(2,2); a={0.0,3.0,2.123,2.0,4.0,3.123 }; b={0.0,3.0,2.123,2.0,4.0,3.123 }; c_exact={14.8...
/* resampleimage_plugin.cpp * This is a test plugin, you can use it as a demo. * 2015-02-02 : by <NAME> */ #include "v3d_message.h" #include <vector> #include "resampleimage_plugin.h" #include <iostream> #include "../../../released_plugins/v3d_plugins/cellseg_gvf/src/FL_upSample3D.h" #include "../../../released_p...
#include "jevmachopp/DeviceTree.h" #include "jevmachopp/Hex.h" #include "jevmachopp/NVRAM.h" #include "jevmachopp/c/jevdtree.h" #include <cstring> #include <numeric> #include <nanorange/views/drop.hpp> #pragma mark DTRegister #if USE_FMT fmt::appender &DTRegister::format_to(fmt::appender &out) const { fmt::form...
# include <iostream> # include <random> # include <vector> # include <cstdlib> # include <functional> # include <algorithm> # include <fstream> # include "cxxopts.hpp" # include <assert.h> using namespace std; // todo: change to for(auto: ...) iteration where possible # include "functions.hpp" # include "noise_model...
#include "turtle.h" #include <escher/palette.h> #include <kandinsky/ion_context.h> #include <cmath> extern "C" { #include <py/misc.h> } #include "../../helpers.h" #include "../../port.h" static inline mp_float_t absF(mp_float_t x) { return x >= 0 ? x : -x;} static constexpr KDCoordinate k_iconSize = 15; static conste...
/* * Copyright (c) 2006-2007 <NAME> http://www.gphysics.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose...
#include <cstring> #include <algorithm> #include <cmath> #include "hub75.hpp" // Basic function to convert Hue, Saturation and Value to an RGB colour Pixel hsv_to_rgb(float h, float s, float v) { if(h < 0.0f) { h = 1.0f + fmod(h, 1.0f); } int i = int(h * 6); float f = h * 6 - i; v = v *...