text
stringlengths
5.71k
33.7k
// created by <NAME> #include "stdafx.h" #include "ConfigurationSystems/ConfigSystem.h" #include "Andor/AndorCameraCore.h" #include <RealTimeDataAnalysis/DataAnalysisControl.h> #include "PrimaryWindows/QtAuxiliaryWindow.h" #include "PrimaryWindows/QtAndorWindow.h" #include "PrimaryWindows/QtScriptWindow.h" #include "P...
// // TFOpsAnalysis.cpp // FundLifter // // Created by <NAME> on 12/28/20. // Copyright © 2020 <NAME>. All rights reserved. // #include <stdio.h> #include <iostream> #include <filesystem> #include <fstream> #include <sstream> #include <string> #include <vector> #include <set> #include <map> #include <unordered_map...
#include <iostream> #include <cstdio> #include <cstdlib> #include <cstring> using namespace std; //Definição dos Tipos typedef unsigned char byte; // 8 bits typedef unsigned int palavra; // 32 bits typedef unsigned long int microinstrucao; //64 bits, porém só utiliza 36 bits /*Definição dos...
/* Copyright (c) 2007-2013 Contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ 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 3 of the License, or ...
/********************************************************************* Author: <NAME>, IUSB, CS <NAME>, IUSB, Student Class: C243 Data Structures File name: List.cc Last updated: September 11, 2014 Description: Implementation of a container class for a list. ***********...
// // fileManager.cpp // FunWithFiles // // Created by <NAME> on 8/24/16. // // #include "fileManager.h" void fileManager::setup(int numOfImgToLoad,int crpTop, int crpBot){ lengthOfDeck = numOfImgToLoad; numMomentsToGoThrough = 5; amountOfskiping = 1; crpT = crpTop; crpB = crpBot; ...
/////////////////////////////////////////////////////////////////////////////// //FILE: 'trajectory.cpp' //Contains 'trajectory' module of class 'Rotor' // //130523 Created by <NAME> /////////////////////////////////////////////////////////////////////////////// #include "class_hierarchy.hpp" ////////////////////////...
// Copyright 2015-2018 RWTH Aachen University // // 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...
/* * 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 ma...
/* * File: ColetaDados.cpp * Author: mateuswn * * Created on 24 de Agosto de 2015, 16:08 */ #include <cmath> #include "ColetaDados.h" int ColetaDados::iBlocosCalculados; int ColetaDados::partIndex; int ColetaDados::step; // 0 = predictor; 1 = first search; 2 = raster; 3 = refinement; int ColetaDados::raster...
/* Trajectory Tracer class that traces the trajectory of the particle by performing a 4th-order Runge Kutta numerical integration algorithm. */ #include "TrajectoryTracer.hpp" /* Operator overloading between std::array These are free functions and are not members of the TrajectoryTracer class. */ /* Element-wise add...
//===--- IndexUnitReader.cpp - Index unit deserialization -----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * 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 re...
#include "functions.h" bool isInBoxMax(double x,double y,Obstacles Obstacles1,vector <vector<double>> GrandObstacle) { // set random engine default_random_engine generator{static_cast<long unsigned int>(time(0))}; uniform_real_distribution<double> distribution(0,1); // flag to be returned ...
// // Created by andre on 13.05.16. // #include <utils/logger.h> #include "DaedalusStdlib.h" #include "DaedalusVM.h" #include "DATFile.h" #define REGISTER(cname, obj, var) datFile.registerMember(cname "." #var, obj, obj.var); #define REGISTER_IF_EXISTS(cname, obj, var) datFile.registerMember(cname "." #var, obj, obj....
/*****************************************************************/ /* NAME: <NAME> */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: EncounterViewer.cpp */ /* DATE: Jan 11th, 2016 ...
// Copyright (c) Prevail Verifier contributors. // SPDX-License-Identifier: MIT #include <fstream> #include <iomanip> #include <iostream> #include <unordered_map> #include <variant> #include <vector> #include "asm_syntax.hpp" #include "crab/cfg.hpp" #include "asm_ostream.hpp" #include "crab/variable.hpp" using std::o...
/* sgp4coord.cpp This file contains miscellaneous functions required for coordinate transformation. Functions were originally written for Matlab as companion code for "Fundamentals of Astrodynamics and Applications" by <NAME> (2007). (w) 719-573-2600, email <EMAIL> Ported to C++ by Grady Hillhouse with some mod...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "cxxopts.hpp" #include "core/common/logging/logging.h" #include "core/common/logging/sinks/clog_sink.h" #include "core/framework/bfc_arena.h" #include "core/platform/env.h" #include "core/session/environment.h" #in...
/* * 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 "BranchPrefixHoisting.h" #include <algorithm> #include <boost/optional/optional.hpp> #include <iterator> #include "Contr...
/* * Copyright (c) 2011-2020, The University of Oxford * 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 ...
/** * Copyright (c) 2017 Melown Technologies SE * * 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 f...
#include "addon.h" #include "matrix.h" #include "fort.h" #include <cstdlib> #include "owellstruct.h" #include <algorithm> void read_fort(int &nt, int &irad, int &nterm, std::vector<int> &triang2, std::vector<int> &trija2, std::vector<double> &lmass2, std::vector<double> &xc2, std::vector<double> &yc2, std:...
#include "resource_stream.h" #include "md5.h" #include "res/resources.h" #include <stdext/file.h> #include <stdext/multi.h> #include <stdext/string_view.h> #include <stdext/unicode.h> #include <algorithm> #include <iostream> #include <map> #include <optional> #include <string> #include <vector> #include <cstdint> #i...
//Illustration of motion estimation and motion compensation // <NAME>, 2016-2022 //This code is licensed under the 3-Clause BSD License. See LICENSE file for details. #include <iostream> #include <limits> #include <algorithm> #include <atomic> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <openc...
/* * Copyright (c) 2012 <NAME> <<EMAIL>> */ //----------------------------------------------------------------------------- // Hearders //----------------------------------------------------------------------------- #include "imageformwidget.h" #include "../../utils/metadatapropertiesparser.h" #include "../../util...
#include <ros/ros.h> #include <sstream> #include <stdio.h> #include <math.h> #include <iostream> #include <boost/array.hpp> #include <boost/asio.hpp> #include <fstream> #include <iomanip> #include <boost/thread.hpp> #include <sys/time.h> #include <boost/lambda/lambda.hpp> #include <boost/asio/deadline_timer.hpp> #inclu...
#include "Standard.h" #include "Scene_SpecialStage.h" #include "Application.h" #include "Resources.h" #include "Scene_MainMenu.h" int x = 0; int y = 0; int dir = 0; // 32 balls wide int lvlWidth = 8; Scene_SpecialStage::Scene_SpecialStage(Application* app, int data1, int data2) { this->app = app; tex_BG = n...
#include "Mechanics.h" #include "core/Engine.h" #include "core/Camera.h" #include "core/Light.h" #include "core/Inputs.h" #include "core/Time.h" #include "core/ShapeManager.h" #include "opengl/Shader.h" #include "opengl/Renderer.h" #include <glm/gtc/matrix_transform.hpp> #include <Imgui/imgui.h> Mechanics::~Mechanic...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2014,2015,2016,2017,2018 by the GROMACS development team. * Copyright (c) 2019,2020,2021, by the GROMACS development team, led by * <NAME>, <NAME>, <NAME>, and <NAME>, * and including many others, as listed in the AUTHORS file i...
#include <iomanip> #include <iostream> #include <algorithm> #include <cstdlib> #include <iterator> #include <string> #include <cmath> #include <fstream> #include <random> #include <array> #include <sstream> #include <stdlib.h> #include <vector> #include <sstream> #include "gaussianNoise.hpp" #include "initialize.hpp" #...
#include "ukf.h" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; #define STATE_SIZE 5 #define PROCESS_NOISE_SIZE 2 #define AUG_SIZE (STATE_SIZE+PROCESS_NOISE_SIZE) #define RADAR_MEAS_DIM 3 /** * Initializes Unscented Kalman filter * ...
#include <cstdlib> // system #include <iostream> // cout #include <unistd.h> // sleep and usleep #include "autopilot.h" #include "../defs.h" // AP_SERIAL, BAUD_RATE, maxDMCchar, and conversion definitions using namespace std; /*********************************************************************************...
// Copyright 2017 The Procyon 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 agree...
//*************************************************************************** // This file is part of the graph isomorphism algorithm. // Copyright by <NAME>, <NAME>, and <NAME> // // Name: algorithm.cpp // Author: <NAME>, <NAME> // Version // August 20, 2020: the first stable version. (version 1.0) //************...
/* dcf77 decoder is a library providing functions to decode the dcf77 signal from an external dcf77 receiver the decoder features a counting clock that allows to progress the time in case the dcf77 signal cannot be received New BSD - License Copyright 2021 <NAME> (<EMAIL>) Redistribution and use in source and binary ...
/* Copyright (c) 2011, The Mineserver Project 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 foll...
/* * JBoss, Home of Professional Open Source * Copyright 2008, Red Hat, Inc., and others contributors as indicated * by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * This copyrighted material is made available to anyone wishin...
/* * DebugUtil.cpp * * Created on: Dec 14, 2018 * Author: aiways */ #include "DebugUtil.h" #include <algorithm> #include <random> using namespace std; using namespace cv; class FeatureMatchUpdater: public KeyHandler{ public: FeatureMatchUpdater(Mat img1, const std::vector<KeyPoint>& keypoints1, Mat im...
/* ------------------------------------------------------------------------- * * ginxlog.cpp * WAL replay logic for inverted index. * * * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2014, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of t...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2015, <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions ...
#include "local_planner/waypoint_generator.h" #include "avoidance/common.h" #include "local_planner/planner_functions.h" #include <ros/param.h> #define normXY() topRows<2>().norm() namespace avoidance { ros::Time WaypointGenerator::getSystemTime() { return ros::Time::now(); } void WaypointGenerator::calculateWayp...
#include <iostream> #include <cstdlib> #include "cConvolSpec.h" #include "DiamondSquare.h" #include "GaussianConvolutionKernel1D.h" #include "Times.h" #include <cstring> #include <fstream> #include <sstream> #include <iomanip> using namespace std; const string digeoDirectory = "../../../src/uti_image/Digeo/"; U_IN...
#include "omp/utils/tuple_map_reduce.h" #include "gtest/gtest.h" #include <type_traits> #include <algorithm> #include <array> TEST( omp_tuple_map_tuple, one_tuple ) { auto initial = std::make_tuple( 1, 2.0, 'a', 4, 5 ); auto expected = std::make_tuple( 2, 3.0, 'b', 5, 6 ); auto result = omp::tuple_map( []( c...
/* * Copyright (C) 2000 by the University of Southern California * $Id: mip-reg.cc,v 1.13 2007/01/01 17:38:41 mweigle Exp $ * * 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. ...
//=---------------------------------------------------------------------= // // $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...
#include "genfiber.h" #include "constants.h" #include "utils.h" #include "io.h" #include "option.h" void cross(Vector &e_0, Vector &e_1, Vector &e_2){ MFEM_ASSERT(e_1.Size()==3, "size of e_1 should be 3"); MFEM_ASSERT(e_2.Size()==3, "size of e_2 should be 3"); e_0(0)=e_1(1)*e_2(2)-e_1(2)*e_2(1); e_0(1)...
/* 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 terms of version 2 of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it would...
#include "../include/key_binder.hpp" #include "../include/game.hpp" #include "../include/utility/string.hpp" #include "../include/utility/file.hpp" #include "../include/log.hpp" #include "../include/configurations.hpp" #include <string> #include <fstream> #include <algorithm> Key_Binder::Key_Binder(Game& game) ...
#include "Designer.h" static Point sReadAB(CParser& p) { Point pt; p.PassChar('('); pt.x = p.ReadInt(); p.PassChar(','); pt.y = p.ReadInt(); p.PassChar(')'); return pt; } static String ReadVar(CParser& p) { String var; for(;;) { if(p.IsId()) var << p.ReadId(); else if(p.IsInt()) var << p.ReadInt(...
#include "lwm2mClient.hpp" #include "lwm2mInstance.hpp" #include "objects/0_Security.hpp" #define TAG "LwM2M Client" #include "log.h" using namespace LwM2M; uint8_t LwM2MClient::readOperationBuffer[ReadOperationBufferSize]; LwM2MClient::LwM2MClient(const char *endpoint, uint16_t lifetime, List *instances, ip4_addr...
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
/*! * \file CHEXA8.cpp * \brief Definition of 8-node hexa element with 8 Gauss points. * \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 Contributo...
/* ** Name: AFSIMPLE.CPP ** Description: ** Contains a very simple flight model for AI and autopilot aircraft ** control. */ #include "stdhdr.h" #include "airframe.h" #include "aircrft.h" #include "otwdrive.h" #include "simdrive.h" #include "camp2sim.h" #include "Graphics/Include/tmap.h" #include "Graphics/Include/rvie...
#include <M5Stack.h> #include <WiFi.h> #include <Wire.h> #include <Preferences.h> #include "OscClient.h" #include "data.h" // uint8_t who[128]; OscClient* osc; VMTJointArgument_t osc_args; data_u data; Preferences pref; struct JointConfigure { char root_serial[20]; uint16_t reserved; uint8_t address; uint8_t ...
/* * Copyright (c) 2021-2022, NVIDIA CORPORATION. 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 ...
/* * deltaGen.cpp * * Created on: Jan 11, 2016 * Author: tzhou * Modified on Mar 17, 2017 * Add weight and more options * Modified on April 23, 2017 by GZ * generate delta graph files */ #include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <algorithm> #include <ra...
#define SDL_MAIN_HANDLED #include <SDL2/SDL.h> #include <iostream> #include <vector> #include <cstdlib> #include <ctime> #include "Logger.h" #include "ImageLoader.h" #include "Wall.h" #include "Ghost.h" #include "Player.h" #include "Coin.h" #include "Camera.h" #include "Heart.h" #include "Fire.h" #include "sound_file...
#include "test_lite.h" #include "saber/lite/funcs/neon/impl/conv_block_utils.h" using namespace anakin::saber; using namespace anakin::saber::lite; typedef Tensor<CPU> TensorHf4; int g_cluster = 0; int g_threads = 1; bool g_basic_test = false; int g_test_iter = 100; bool g_compared_result = true; int g_ch_n = 4; int ...
// Copyright (c) 2016 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // MVF-Core common objects and functions #include "mvf-core.h" #include "mvf-btcfork_conf_parser.h" #include "init.h" #include "util.h"...
/* * implant_stars.c * * Created on: Jun 5, 2010 * Author: <NAME> */ #include "slsimlib.h" using namespace std; /** * \brief Implant or randomize stars into the lens around the images. * * The first time this is called the memory for the stars is allocated. * On subsequent calls the star positions...
#include "Expgen.hpp" using namespace std; Expgen::Expgen (vector<vector<double>> linkstream, int slice_length, vector<GraphRecsys*> recsys_list, vector<vector<double>> trust_network, double rating_max) { /*if len(linkstream) < 3: raise ValueError('Expgen : linkstream bad value!') if slic...
/* * Pufflux for the Adafruit Feather M0 WiFi - ATSAMD21 + ATWINC1500 * (Product ID: 3010) * * Copyright 2013-2022 <NAME> <<EMAIL>> * * 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 *...
/* * C++ implementation of OpenWnn library * * Copyright (c) 2019 LG Electronics, Inc. * Copyright (C) 2008-2012 OMRON SOFTWARE 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...
// Copyright (c) 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 t...
/** * @file storage_azure_blob.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2019-2021 Omics Data Automation, Inc. * * 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...
#include "visCompression.hpp" #include "StageFactory.hpp" #include "datasetManager.hpp" #include "errors.h" #include "prometheusMetrics.hpp" #include "visBuffer.hpp" #include "visUtil.hpp" #include "fmt.hpp" #include "gsl-lite.hpp" #include <algorithm> #include <complex> #include <cstdlib> #include <cxxabi.h> #inclu...
#include "TextureIndex.h" #include "common/filesystem/Path.h" #include "common/filesystem/File.h" #include "common/string/String.h" #include "render/Render.h" #include "gui/documents/PegHelpers.h" #include "util/RfgUtil.h" #include "gui/util/WinUtil.h" std::optional<string> TextureIndex::FindPeg(const std::string_view...
#include "XLIFFFile.h" #include <algorithm> #include <sys/time.h> #include <time.h> #include <cstdio> const char* const XLIFF_XMLNS = "urn:oasis:names:tc:xliff:document:1.2"; const char *const NS_MAP[] = { "", XLIFF_XMLNS, "xml", XMLNS_XMLNS, NULL, NULL }; const XMLNamespaceMap XLIFF_NAMESPACES(NS_MAP);...
// <NAME> <NAME> <NAME> A H N #include <iostream> #include <cmath> #include "station.h" #include <queue> #include <set> #include <utility> #include<unordered_map> typedef std::pair<Station, int > pair; // return manhattan distance between two stations double manhattanDistance(Stat...
//============================================================================ // Name : HomeworkInspector.cpp // Author : Hank // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //==========================================================================...
// Copyright 2017-2018 ccls Authors // SPDX-License-Identifier: Apache-2.0 #pragma once #include "db_container.hh" #include "indexer.hh" #include "serializer.hh" #include "working_files.hh" #include <llvm/ADT/DenseMap.h> #include <llvm/ADT/StringMap.h> namespace llvm { template <> struct DenseMapInfo<ccls::ExtentRe...
/* * contrib/spi/timetravel.c * * * timetravel.c -- function to get time travel feature * using general triggers. * * Modified by <NAME>, Hungary, mailto:<EMAIL> */ #include "postgres.h" #include "knl/knl_variable.h" #include <ctype.h> #include "catalog/pg_type.h" #include "commands/trigger.h" #include "exec...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // How we handle the base tag better. // Current status: // At now the normal way we use to handling base tag is // a) For those links which ha...
#include <stdio.h> // printf #include <stdlib.h> // calloc, free #include <assert.h> #include <Eigen/Dense> #include "psmove.h" #include "psmove_tracker.h" #include "OVR_CAPI.h" #include "Extras/OVR_Math.h" #ifndef OVR_OS_WIN32 //#define ovr_Initialize ovrHmd_Initialize #define ovr_ConfigureTracking ovrHmd_ConfigureT...
#include "oglwidget.h" #include <cmath> #include "Program.h" #include <glm/ext.hpp> #include <nanovg.h> #include <GLFW/glfw3.h> #include "Defines.h" #include "Compass.h" #include "Buffer.h" #include "glsea.h" #include "glgrid.h" #include "glrestrictions.h" #include "vessel_list.h" #include "path_appearance.h" #include ...
/** * \file * \brief TRIE benchmark * * TRIE operations complexity benchmark. * * \date 2016/04/06 * \author <NAME> <<EMAIL>> * * * LEGAL NOTICE * * Copyright (c) 2016, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are ...
// 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...
/* * Player - One Hell of a Robot Server * Copyright (C) 2006 * <NAME> * * * 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 y...
// // Created by Kevin on 15/10/2016. // #include <stdexcept> #include <algorithm> #include "GPU/GPU.h" using namespace std; using namespace Gameboy::GPU; using namespace Gameboy::General; const uint32_t GPU::colors[4] = {COLOUR0, COLOUR1, COLOUR2, COLOUR3}; GPU::GPU(Gameboy::CPU::IInterruptible &p_interruptible, I...
// Copyright(c) 2017-2018 Intel Corporation. // License: MIT See LICENSE file in root directory. #include <stdio.h> #include <stdlib.h> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #define STB_IMAGE_RESIZE_IMPLEMENTATION #include "stb_image_resize.h" #include <mvnc.h> // somewhat arbitrary buffer siz...
// Copyright (c) 2010 <NAME> // Copyright (c) 2009-2014 The Bitcoin Core developers // Copyright (c) 2014-2016 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "consensus...
#include <GL/glew.h> #include <GLFW/glfw3.h> #include <iostream> #include <fstream> #include <string> #include <sstream> #include "VertexBuffer.h" #include "IndexBuffer.h" #include "VertexArray.h" #include "Shader.h" #include "Renderer.h" #include "texture.h" #include "glm/glm.hpp" #include "glm/gtc/matrix_transform....
#include "pch.h" #include "World.h" #include "Entity.h" #include "Room.h" #include "Exit.h" #include "Item.h" #include <conio.h> #include <iostream> #include <string> #include <ctype.h> #include "Player.h" #include "Enemy.h" #include <fstream> #include "Universal.h" #include<boost/tokenizer.hpp> World::World() { gam...
/*************************************************************************** * Copyright (C), 2018, Lesley * File name : opencv_testcam.cpp * Author : Lesley * Description : Project entry. Gets the image using camera node of ROS. Compute the coodrinate(x, y) and depth of target. Compute the final coordinat...
#include "AudioResample.h" AudioResample::AudioResample() { srcFrame = av_frame_alloc(); } AudioResample::~AudioResample() { av_frame_unref(srcFrame); av_free(srcFrame); srcFrame = nullptr; audioDecoder = nullptr; mediaSync = nullptr; playerInfoStatus = nullptr; } int AudioResample::setRe...
#include "pch.h" #undef UNICODE #define LOCATION_DTKM 1 #define GATEWAY_NO 1 #define WIN32_LEAN_AND_MEAN #define _CRT_SECURE_NO_WARNINGS // Need to link with Ws2_32.lib #pragma comment (lib, "Ws2_32.lib") #include<iostream> #include<cstdio> #include<fstream> #include<sstream> #include<string> #i...
//======== (C) Copyright 2002 <NAME> All rights reserved. ========= // // The copyright to the contents herein is the property of <NAME>. // The contents may be used and/or copied only with the written permission of // <NAME>, or in accordance with the terms and conditions stipulated in // the agreement/contract u...
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2016-2021, Intel Corporation // // SPDX-License-Identifier: MIT /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////...
#include "windows_fnt.h" #include "df_font.h" #include "df_window.h" #include <assert.h> #include <stdio.h> #include <string.h> DfColour g_colourRed = Colour(244, 0, 0); struct FullFnt { FntHeader hdr; _Glyph *glyph_table; // Num entries is hdr.last_char - hdr.first_char + 2. char name[128];...
// Copyright (c) 2019 ASMlover. 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 ofconditions and...
/** * @file PTP18.cpp * @brief Provides ptp instance to the sync interface (based on linuxptp-1.8) * @author <NAME> * * Copyright (c) Regents of the Anon, 2018. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following...
#include "Graphics/RenderInterface.h" //-------------------------------------------------------------- // Append glad source code here #include "../../thirdparty/glad/src/glad.c" #include "Graphics/GlError.h" #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #include <vector> #include "Ui/UiSystem.h" unsigned Rend...
#include "math/eig/matvec/matvec_dense.h" #include "math/eig/matvec/matvec_mpo.h" #include "math/eig/matvec/matvec_sparse.h" #include "sfinae.h" #include "solver.h" #include <general/class_tic_toc.h> #include <primme/primme.h> inline primme_target stringToTarget(std::string_view ritzstring) { if(ritzstring == "LA")...
// // Created by <NAME> // <EMAIL> // #include "fallen_person_detector.h" ros::ServiceClient srv_client; openpose_ros::Person srv; image_transport::Publisher openposeImagePub; image_transport::Publisher openposeDepthPub; image_transport::Publisher fallenVisPub; image_transport::Publisher fallenDetectPub; ros::Publishe...
//============================================================================ // Name : SnakeGame.cpp // Author : // Version : // Copyright : Your copyright notice // Description : The classic SnakeGame, implemented in C++ for the terminal. //=========================================================...
#include <fstream> #include <dlfcn.h> // tensorflow2.x #ifdef TF_VERSION2 #include "tensorflow/core/common_runtime/graph_constructor.h" #else // tensorflow1.15 #include "tensorflow/core/graph/graph_constructor.h" #endif #include "tensorflow/core/common_runtime/shape_refiner.h" #include "tensorflow/core/platform/env.h...
#include "Calibrating.h" #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <core/types_c.h> #include <core/core_c.h> #include <imgproc/imgproc_c.h> #include <iostream> #include <string> using namespace cv; using namespace std; Calibration::Calibration(){} Calibration::Calibration(cv::...
/* * SigmoidTest.cpp * * Created on: Dec 29, 2016 * Author: ken */ #include "SigmoidTest.hpp" SigmoidTest::SigmoidTest() { } SigmoidTest::~SigmoidTest() { } void SigmoidTest::feedForwardTest1() { Sigmoid s; arma::Cube<double> x1(1, 1, 3); x1(0, 0, 0) = 1; x1(0, 0, 1) = 5; x1(0, 0, 2) = 3; arma::Cub...
#include <algorithm> #include <vector> #include <iostream> #include <set> #include <cmath> #include <unordered_set> #include <Eigen/Core> #include <Eigen/Geometry> #include <igl/active_set.h> #include <igl/edge_collapse_is_valid.h> #include <igl/circulation.h> #include <igl/min_quad_with_fixed.h> #include <igl/writeD...