text
stringlengths
5.71k
33.7k
/** * Example of use of the combinedImuFactor in conjunction with relative pose * - we read IMU and relative pose data from a CSV file, with the following format: * A row starting with "i" is the first initial position formatted with * N, E, D, qW, qX, qY, qZ, velN, velE, velD * A row starting with "0" is an...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ================...
/** * SPDX-License-Identifier: GPL-2.0-or-later * * This file is part of osm2pgsql (https://osm2pgsql.org/). * * Copyright (C) 2006-2022 by the osm2pgsql developer community. * For a full list of authors see the git log. */ /* Implements the mid-layer processing for osm2pgsql * using several PostgreSQL tables ...
/* * */ #include "DecOpenH264.h" #include <omp.h> #include "../../Utility/Timers.h" #include "../../Network/Client.h" #include "../NetworkDataProvider.h" #include <stb_image_write.h> /** * @page DecoderUsageExample * * @brief * * An example for using the decoder for Decoding only or Parsing only * *...
/** Software License Agreement (BSD) \file controller.cpp \copyright Copyright (c) 2014, Clearpath Robotics, Inc., All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code ...
/* _______________________________________________________________________ DAKOTA: Design Analysis Kit for Optimization and Terascale Applications Copyright 2014 Sandia Corporation. This software is distributed under the GNU Lesser General Public License. For more information, see the README file in t...
#include <iostream> using std::cin; using std::cout; using std::endl; #include <iomanip> using std::setw; using std::setfill; #include <fstream> using std::ifstream; using std::ofstream; using std::ios; #include <vector> using std::vector; struct Date { int year = 0; int month = 0; int day = 0; }; struct...
// Include files // from Gaudi #include "GaudiKernel/ToolFactory.h" // local #include "TupleToolApplyIsolation.h" #include <Kernel/GetIDVAlgorithm.h> #include <Kernel/IDVAlgorithm.h> #include <Kernel/IDistanceCalculator.h> #include <Kernel/IVertexFit.h> #include "GaudiAlg/Tuple.h" #include "GaudiAlg/TupleObj.h" #i...
// // config.cpp // kedis // // Created by ziteng on 17/8/22. // Copyright © 2017年 mgj. All rights reserved. // #include "config.h" #include "server.h" #include "db_util.h" static const char* log_level[] = {"error", "warn", "info", "debug"}; static int yesnotoi(const string& s) { if (!strcasecmp(s.c_str(), "...
#include "Player.h" #include <GL/glew.h> #include <GL/glut.h> #include <cmath> #include "Game.h" #define JUMP_ANGLE_STEP 4 #define JUMP_HEIGHT 96 #define FALL_STEP 4 enum PlayerStates { YELLOW, RED, BLUE }; enum PlayerDeath { YELLOW_DIES, RED_DIES, BLUE_DIES }; enum PlayerBig { BIG_DIES, BIG_LIVES }; void Player:...
// // Created by tmerchant on 04/04/2020. // #include "morph_preview.h" #include <iostream> #include "control_structures.h" morph_preview_context morph_ctx = {}; bool glInitialized = false; double* morph_surface_vertex_buffer = nullptr; unsigned long long vertex_buffer_size; unsigned int* morph_surface_element_buff...
/* $Id: weedbonds.cc,v 1.24 2014/06/12 01:44:08 mp Exp $ AutoDock Copyright (C) 2009 The Scripps Research Institute. All rights reserved. AutoDock is a Trade Mark of The Scripps Research Institute. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Publ...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include <errno.h> #include <unistd.h> #include <algorithm> #include <regex> #include <string> #include <vector> #include "SDL2/SDL.h" #include "SDL2/SDL_joystick.h" #include <GL/gl3w.h> #include "../Libraries/imgui-1.49/imgui.h" #includ...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <vector> #include <math.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include "Draw.h" #include "Draw3D.h" #include "Solids.h" #include "fastmath.h" #include "Vec3.h" #include "Mat3.h" #include "VecN.h" #include "AppSDL2OGL_3D.h" #include ...
// Copyright 2016-2018 <NAME> and <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ag...
#include "aseprite_file.h" #include <halley/support/exception.h> #include "halley/utils/utils.h" #include "halley/support/logger.h" #include "halley/file/compression.h" using namespace Halley; // Specs are at https://github.com/aseprite/aseprite/blob/master/docs/ase-file-specs.md struct AsepriteFileHeader { constexp...
/*! * \file swp_weighted_transcoag.cpp * \author <NAME> * Copyright (C) 2011 <NAME>. * * Project: sweepc (population balance solver) * Sourceforge: http://sourceforge.net/projects/mopssuite * * \brief Implementation of weighted transition regime coagulation kernel * Author(s): <NAME> ...
// // Demuxer.cpp // AVTools // // Created by WorkSpace_Sun on 2021/4/27. // #include "Demuxer.h" #include <getopt.h> #include <stdlib.h> #include <string.h> extern "C" { #include "libavutil/imgutils.h" #include "libavutil/samplefmt.h" #include "libavutil/timestamp.h" #include "libavformat/avformat.h" #include "CP...
//===--- TypeCheckREPL.cpp - Type Checking for the REPL -------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include "core/Common.h" #include "pool.h" #include <vector> #include <cmath> #include <fstream> using namespace NEAT; using namespace std; //used to give pool console access namespace PoolConsole { void initConsole() { static bool consoleInit = false; if ( !consoleInit ) ...
// Copyright <NAME>. All Rights Reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. // Example branching lines using cylinder strips #include "ProceduralMeshesPrivatePCH.h" #include "BranchingLinesActor.h" ABranchingLinesActor::ABranchingLinesActor() { Ro...
/* Copyright (c) 2015 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, su...
/*************************************************************************/ /* cp_loader_it_samples.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/* * ServerBinaryS3ORAMO.cpp * * Created on: Apr 7, 2017 * Author: ceyhunozkaptan, thanghoang */ #include "ServerBinaryS3ORAMO.hpp" #include "Utils.hpp" #include "struct_socket.h" #include "S3ORAM.hpp" #include <iostream> #include <sys/socket.h> #include <sys/types.h> #include "struct_thread_computation.h...
/* Copyright (c) 2014-2019, Intel Corporation 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 fol...
#include <iostream> #include <string> #include <vector> #include <tuple> #include <math.h> #include <algorithm> using namespace std; std::vector<int> parse_input_adjacents(string input_line); int parse_input_vertex_count(string input_line); vector<vector<int>> build_adjacent_matrix(int vertex_count, vector<vector<int...
//===- llvm-ifs.cpp -------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
#pragma once #include <string> #include <vector> #include <fstream> #include <sstream> #include <chrono> #include <iostream> #include <filesystem> #include <limits> #include <random> #include <memory> #include <algorithm> #include <thread> #include <cstdint> #include <cstring> using std::cout; usi...
// Copyright 2018 The UFO Team // // 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 ...
/** BSD 3-Clause License This file is part of the Basalt project. https://gitlab.com/VladyslavUsenko/basalt.git Copyright (c) 2019, <NAME>, <NAME> and <NAME>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are...
/** Copyright 2017 <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 follo...
// // Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // StatementNode.cc -- // // Author : <NAME> // Created On : Sat May 16 14:59:41 2015 // Last Modified By : ...
// license:LGPL-2.1+ // copyright-holders:<NAME>, <NAME> /**************************************************************************** * * Sharp X1 Video functions * * TODO: * - make this to be scanline renderer, fix palette partial updates; * - take mc6845 device functions into account; * *********************...
/* * \class EcalABAnalyzer * * primary author: <NAME> - CEA/Saclay * author: <NAME> - CEA/Saclay */ #include <TAxis.h> #include <TH1.h> #include <TProfile.h> #include <TTree.h> #include <TChain.h> #include <TFile.h> #include <TMath.h> #include "CalibCalorimetry/EcalLaserAnalyzer/plugins/EcalABAnalyzer.h" #i...
#define NDEBUG #define STD #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <bitset> #include <functional> #include <random> #include <utility> #include <vector> #ifndef NDEBUG #include "user/interface.h" #else #include "user/interface.h" // #...
/** @file lane_detection_vrep.cpp * @brief The source file for lane detection when using IMACS framework with VREP simulator * Copyright (c) 2020 sayandipde * Eindhoven University of Technology * Eindhoven, The Netherlands * * Name : lane_detection.cpp * * Authors : <NAME> (<EMAIL...
#include <cstdio> #include <iostream> #include <fcntl.h> #include <sys/stat.h> #include <unistd.h> #include "camera.h" orchid::camera::camera(Camera* cam, GPContext* ctx) : d_cam(cam), d_ctx(ctx) { gp_camera_new(&d_cam); } orchid::camera::~camera() { gp_camera_exit(d_cam, d_ctx); gp_camera_free(d_cam)...
/** @file File che si occupa del salvataggio e del caricamento di ::esame_t, ::pomodoro_t e ::flashcards_t */ #include <fstream> #include <limits> #include <string> #include <glib.h> #ifdef DEBUG_MODE #include "./include/debug.h" #include <iostream> #else #define DEB(a) #define VER(a) #endif using namespace std ; ...
//===-- FileSpec.cpp ------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
// See LICENSE_CELLO file for license and copyright information /// @file control_refresh.cpp /// @author <NAME> (<EMAIL>) /// @date 2013-04-26 /// @brief Charm-related functions associated with refreshing ghost zones /// @ingroup Control #include "simulation.hpp" #include "mesh.hpp" #include "control.h...
int Cw/*AC*/, uS , yHgv , UQ//AN , MMSlf,Pu //G , E , dOe , B15enF,/*9nyDX*/I2r ,iPh , bI2O /*Uj*/, uHy, /*4M*/ Odl ,//vqSA tfd, jP /*ZV*/,lYs ,An4e ,HGLJ, U1a , LyZ , UUYP ,JCE2 ,cQ6,P , g, Mn, FpPt7Q,EqhR, // i1Ll5oIQ ,xRrFH , JX1 , MVX, dgk3, ZDR , Ugq, QQk , s9K,Q2k ,H39k,c ,BzD, nhWi ...
// // Created by hacht on 5/29/17. // #include <iostream> #include "../../simpleCNN/simpleCNN.h" using namespace simpleCNN; using dropout = Dropout_layer; using conv = Convolutional_layer; using maxpool = Maxpooling_layer; using fully = Connected_layer; using network = Network<Sequential>; using adam = Adam<...
/* * Copyright (c) 2016, <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 conditi...
// BrickSmashing3D.cpp : Defines the entry point for the console application. // #include <GL/glew.h> #include <GLFW/glfw3.h> #include "Common.h" #include "Camera.h" #include "Shader.h" #include "lighting/DirectionalLight.h" #include "vendor/physics/q3.h" #include "InputManager.h" #include "Renderer.h" #include "Model...
// ================================================================================================= // eModbus: Copyright 2020 by <NAME>, <NAME> and the contributors to eModbus // MIT license - see license.md for details // =================================================================================...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/media/speech_recognition_audio_sink.h" #include "base/bind.h" #include "base/strings/utf_string_conversions.h" #include "conte...
#include "stdafx.h" #include <fstream> #include <iomanip> #include "Headers.h" using namespace std; //void OutPutLink(const vector<LINK> &Links) //{ // LinkSummary.setf(ios::fixed); // for (auto l = Links.begin(); l != Links.end(); l++) // { // LinkSummary <<left<< setw(6) << l->ID << "\t"; // for (int m = 0; m < N...
auto GPU::generateTables() -> void { static constexpr s8 table[4][4] = { {-4, +0, -3, +1}, {+2, -2, +3, -1}, {-3, +1, -4, +0}, {+3, -1, +2, -2}, }; for(u32 y : range(4)) { for(u32 x : range(4)) { for(s32 c : range(256)) { ditherTable[y][x][c] = uclamp<8>(c + table[y][x]); }...
#include "llvm/Transforms/Obfuscation/Flattening.h" #include "llvm/Transforms/Scalar.h" #include "llvm/CryptoUtils.h" #define DEBUG_TYPE "flattening" using namespace llvm; // Stats STATISTIC(Flattened, "Functions flattened"); static cl::opt<string> FunctionName( "funcFLA", cl::init(""), cl::desc( ...
#include <stdio.h> #include "gm_builtin.h" #include "gm_backend_gps.h" #include "gm_error.h" #include "gm_code_writer.h" #include "gm_frontend.h" #include "gm_transform_helper.h" #include "gm_backend_gps_opt_steps.h" //-------------------------------------------------------- // Transform BFS ==> Pregel-Canonical Statm...
#include "GhostInTheCell.hpp" // private void GhostInTheCell::generateFactories() { size_t factoryCount = MIN_FACTORY_COUNT + m_random.nextInt(MAX_FACTORY_COUNT - MIN_FACTORY_COUNT + 1); m_factories.resize(factoryCount); if (factoryCount % 2 == 0) { // factoryCount must be odd factoryCount += 1; } m_...
/* * (c) Copyright 2019 Xilinx, Inc. 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 ap...
/* This file is part of VoltDB. * Copyright (C) 2008-2020 VoltDB Inc. * * This file contains original code and/or modifications of original code. * Any modifications made by VoltDB Inc. are licensed under the following * terms and conditions: * * Permission is hereby granted, free of charge, to any person obtain...
/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundl...
/* Copyright (c) 2012,2013,2014 <NAME> (kb1vc) 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 condition...
/************************************************************** * * 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 y...
/* Copyright (c) 2017, <NAME> All rights reserved This file is part of the usv_gazebo_dynamics_plugin package, known as this Package. This Package free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 ...
/* Copyright 2018 Amazon.com, Inc. or its affiliates. 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. A copy of the License is located at http://aws.amazon.com/apache2.0/ or in the "license" file accomp...
/* * Copyright (c) 2021, 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 requi...
#include "MeshImpl.h" #include "Application/ApplicationImpl.h" #include "CommandList/CommandList.h" #include "Threading/EventImpl.inl" #include "Utility/ThrowIfFailed.h" #include <algorithm> #include <cassert> #include <fstream> #include <sstream> #include <string> // ------------------------------------------------...
/* * Copyright (C) 2009-2011 Texas Instruments, 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 applicabl...
/// Code from ReEngine library /// all rights belongs to Risist (<NAME>) (<EMAIL>) #include <Re\Common\Control\ControlKey.h> extern RenderWindow wnd; namespace Control { Key::Key() : isPressed(false), wasAmortized(false) { } Key::Key(sf::Keyboard::Key key) : isPressed(false), wasAmortized(false) { setKeyCode(...
#include <stdlib.h> #include <cuda.h> #include <stdio.h> #include <inttypes.h> #include <vector> #include <math.h> #include "static_triangle_counting/cct.hpp" #include "utils.hpp" #include "update.hpp" #include "cuStinger.hpp" #include "modified.hpp" #include "timer.h" using namespace std; #define CUDA(call, ...) ...
#include <pcl/common/common_headers.h> #include <pcl/io/ply_io.h> #include <pcl/io/pcd_io.h> #include <pcl/ModelCoefficients.h> #include <pcl/point_types.h> #include <pcl/filters/extract_indices.h> #include <pcl/filters/voxel_grid.h> #include <pcl/features/normal_3d.h> #include <pcl/kdtree/kdtree.h> #include <pcl/samp...
/* Copyright (c) <2003-2016> <Newton Game Dynamics> * * 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, * includi...
/* ************************************************************************ * Copyright 2016 Advanced Micro Devices, Inc. * * ************************************************************************ */ #include <stdlib.h> #include <iostream> #include <fstream> #include <vector> #include "rocblas.hpp" #include "arg...
#include "Isis.h" #include "IsisDebug.h" #include <iostream> #include <sstream> #include <set> #include <QList> #include <QMap> #include <QStack> #include <QString> #include <QVector> #include <geos_c.h> #include <geos/algorithm/ConvexHull.h> #include <geos/geom/CoordinateSequence.h> #include <geos/geom/CoordinateAr...
/* (c) CiggBit. All rights reserved. * See license.txt for more information */ #include "stdafx.h" #include <SDL.h> #include <glew\glew.h> #include <SDL_opengl.h> #include <algorithm> #include <fstream> #include <string> #include <utility> #include "Object.h" #include "AOD.h" #include "Utility.h" ...
// sdhash_threads.cc // author: <NAME> // threading code for hashing individual files // and for hashing stdin. #include "../sdbf/sdbf_class.h" #include "../sdbf/sdbf_defines.h" #include "../sdbf/bloom_vector.h" #include "../sdbf/bloom_filter.h" #include "../sdbf/blooms.pb.h" #include "sdhash.h" #include <iostream> ...
// // Copyright (C) 2009 by sinamas <sinamas at users.sourceforge.net> // // 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 distributed in the hope tha...
/* * Copyright 1993-2017 NVIDIA Corporation. All rights reserved. * * NOTICE TO LICENSEE: * * This source code and/or documentation ("Licensed Deliverables") are * subject to NVIDIA intellectual property rights under U.S. and * international Copyright laws. * * These Licensed Deliverables contained herein is PROPRIETA...
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories <NAME>, <EMAIL> Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with San...
/* Copyright (c) 2020 <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice,...
/** * @file llvlcomposition.cpp * @brief Viewer-side representation of a composition layer... * * $LicenseInfo:firstyear=2001&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under th...
#include "global.h" #include "Script.h" #include "Tokenizer.h" #include "Parser.h" #include "TempCode.h" #include "GenCode.h" #include "util.h" #include "Config.h" #include "vm.h" #include "ScriptProcs\\ScriptProcs.h" #include "ScriptObjects\\ScriptObjects.h" #include "ScriptObjects\\WMI.h" #include "unicode.h" #includ...
//Using libs SDL, glibc #include "SDL2/SDL.h" //SDL version 2.0 #include <cstdio> int SCREEN_WIDTH = 640; //window height int SCREEN_HEIGHT = 480; //window width //function prototypes //initilise SDL int init(int w, int h, int argc, char *args[]); typedef struct ball_s { int x, y; /* position on the sc...
#include "openalsoftaudioengine.h" OpenAlSoftAudioEngine::OpenAlSoftAudioEngine(QObject *parent) { //Initialize sound setup variables to point to nullptr gAudioDevice = nullptr; alContext = nullptr; //initialize listener position listener_position_vector.resize(3); //initialize listener orien...
#include "Iron_Craw.h" #include "Application.h" #include "ModuleTextures.h" #include "ModuleCollision.h" #include "ModuleRender.h" #include "ModuleParticles.h" #include "ModuleSceneLvl1.h" #include "ModuleInput.h" #include "ModuleUI.h" #include "Moduleplayer.h" #include "Enemy.h" #include "SDL/include/SDL_timer.h" #...
/** * Copyright 2019 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 law...
#include <osmium/osm.hpp> #include <osmium/osm/types.hpp> #include <osmium/osm/location.hpp> #include <osmium/handler/node_locations_for_ways.hpp> #include <osmium/handler.hpp> #include <osmium/index/map/all.hpp> #include <osmium/io/pbf_input.hpp> // IWYU pragma: export #include <osmium/io/xml_input.hpp> // IWYU pragm...
#include <glib.h> #include <w3cocf.h> #include "view.h" #define MSGPORT "s3port" static tinnos_signal_s cache[Signal_Max] = { {Signal_Body_Lights_IsLowBeamOn, BOOL, false, "Beam", "%s", "N/A", " LowBeam : %s ", {false}}, {Signal_Drivetrain_BatteryManagement_BatteryStatus, BOOL, false, ...
#define amVK_DEVICE_CPP #include "amVK_Device.hh" /** \│/ ┌─┐┌─┐┌┐┌┌─┐┌┬┐┬─┐┬ ┬┌─┐┌┬┐┌─┐┬─┐ ─ ─ │ │ ││││└─┐ │ ├┬┘│ ││ │ │ │├┬┘ /│\ └─┘└─┘┘└┘└─┘ ┴ ┴└─└─┘└─┘ ┴ └─┘┴└─ */ amVK_DeviceMK2::amVK_DeviceMK2(amVK_DevicePreset_Flags DevicePreset, uint32_t ur_exts_n, uint32_t ur_qCIs_n, VkPhysicalDevice PD) : flag(D...
#include "dlaip_fpga.hpp" #include <string> #include <string.h> #include <stdio.h> #include <unistd.h> #include <vector> //#include <sys/stat.h> #include <time.h> #include <iostream> #include <fstream> #include <experimental/filesystem> #include <sys/time.h> // for gettimeofday() #include <numeric> #i...
#include "SearchController.h" #include <angles/angles.h> using namespace std; SearchController::SearchController() { rng = new random_numbers::RandomNumberGenerator(); currentLocation.x = 0; currentLocation.y = 0; currentLocation.theta = 0; centerLocation.x = 0; centerLocation.y = 0; centerLocation.the...
// ObjectProcessor.cpp : Defines the entry point for the console application. //Written by <NAME> //Program runs with OPENCV 3.3.0 library!!! not tested for versions greater or lower //Targeted for Windows platform //PURSUIT OF COLOR SILHOUETTE is a C++ program that allows user to play around with options that i...
/*========================================================================== SeqAn - The Library for Sequence Analysis http://www.seqan.de ============================================================================ Copyright (C) 2007 This library is free software; you ca...
//===-- AArch64AsmBackend.cpp - AArch64 Assembler Backend -----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/** * relocnovelposes: main.cpp * Copyright (c) Torr Vision Group, University of Oxford, 2018. All rights reserved. */ #include <algorithm> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <Eigen/Geometry> #include <map> #include <fstream> #include <iomanip> #include <iostream> #include <s...
#include "Globals.h" #include "glmath.h" #include "Application.h" #include "ModuleSceneIntro.h" #include "Primitive.h" #include "PhysBody3D.h" ModuleSceneIntro::ModuleSceneIntro(Application* app, bool start_enabled) : Module(app, start_enabled), time(0), time_start(false), timer_sensor(nullptr), win(false) { } Module...
// model.cpp // imported model component // Copyright 2015 <NAME> // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, ...
//===- Schema.cpp - ESI Cap'nProto schema utilities -------------*- 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 // //===---------------------------...
#include "sokoh.hxx" void trim(std::string& str, const char* str_to_trim){ // Trim at the begin size_t len_to_trim(0); size_t cursor(0); size_t trim_str_len = strlen(str_to_trim); while (cursor < str.length() && str[cursor] == str_to_trim[cursor % trim_str_len]) cursor++; if (cursor > 0){ len_to_trim ...
#include <iostream> #include <fstream> #include <algorithm> #include <random> #include <thread> #include <cstdint> #include <cmath> #include <cstdlib> #include <algorithm> #include <queue> #include <vector> #define CACHELINE_SIZE 64 using namespace std; inline void BUG_ON(bool cond) { if (cond) abort();...
#include<SFML/graphics.hpp> #include<TGUI/TGUI.hpp> #include<string> #include<vector> #include<random> float random(int min, int max)// this function is use for finding random value for genreatig food { return (float)min + rand() % (max - min); } class Game { private: sf::RenderWindow* window; tgui::GuiSFML gui; ...
#include "ecs_utilities.h" #include "../../ecs.h" #include "../../systems/dynamic_system.h" #include "core/config/engine.h" #include "core/config/project_settings.h" #include "core/io/resource_loader.h" #include "core/object/script_language.h" void System::_bind_methods() { ClassDB::bind_method(D_METHOD("with_databa...
// Author: <NAME> (<EMAIL>) #include <cstdlib> #include <cstdio> #include <cstring> #include <algorithm> #include <map> #include <vector> using namespace std; typedef unsigned long long UInt64; // const char *kInputFile = "bigSearch.txt"; // const char *kInputFile = "smallSearch.txt"; // const char *kInputFile = "...
#include "ssd1306.hpp" #include "font8x8_basic.h" #include <string.h> #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <esp_log.h> #include <esp_err.h> static const char TAG[] = "ssd1306"; #define SSD1306_BUFFER_LENGTH SSD1306_LCD_WIDTH * SSD1306_LCD_HEIGHT / 8 static uint8_t buffer[SSD1306_BUFFER...
#include "SceneTitleScreen.h" #include "Audio.h" #include "Input.h" #include "Render.h" #include "Textures.h" #include "GuiManager.h" #include "Window.h" #include "List.h" #include "SceneManager.h" #include "ParticleSystem.h" #include "EntityManager.h" #include "SDL/include/SDL.h" #define TITLE_FADE_SPEED 1.5f Sc...