text
stringlengths
3.08k
22k
#include <vector> #include <set> #include <queue> #include <sstream> #include <iostream> #include <fstream> #include <cstring> #include <ctime> #include <cmath> #include <limits.h> using namespace std; #define NCOLORS 10 #define INF INT_MAX bool matchstr(string att, string op, string val) { if (val == "_") { ...
#include "ProgramMemory.hpp" #include <assert.h> #include <map> #include <memory> #include <set> #include <string> #include <sstream> #include <elfio/elfio.hpp> template< typename T > std::string to_hex(T i) { std::stringstream stream; stream << std::setfill ('0') << std::setw(sizeof(T)*2) << std::hex << (in...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: A blood spray effect to expose successful hits. // //=============================================================================// #include "cbase.h" #include "fx_sparks.h" #include "iefx.h" #include "c_te_effect_dispatch.h" ...
#include "channel_encryption.hpp" #include "command_line.h" #include "https_server.h" #include "oxen_logger.h" #include "oxend_key.h" #include "oxend_rpc.h" #include "server_certificates.h" #include "service_node.h" #include "swarm.h" #include "utils.hpp" #include "version.h" #include "omq_server.h" #include "request_...
#define _USE_MATH_DEFINES #include <limits> #include <cstddef> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <stdlib.h> #include "opencv2/core/version.hpp" #include <ros/ros.h> #include "std_msgs/Float32.h" #include "geometry_msgs/Twist.h" #include "std_msgs/String.h" #include "t...
//===-LTOCodeGenerator.cpp - LLVM Link Time Optimizer ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include "pch.h" #include "Entity_scripting_manager.h" #include "Engine_bindings.h" #include "OeCore/Light_component.h" #include "OeCore/Test_component.h" #include <imgui.h> #include <cmath> #include <filesystem> #include <fstream> namespace py = pybind11; using namespace DirectX; using namespace oe; using names...
/* * Copyright 2013-present Facebook, 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 a...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
/** * Unit test for the icp class. * * \author <NAME> (<EMAIL>) * \date 31. October 2019 */ #include <gtest/gtest.h> #include "francor_algorithm/icp.h" #include "francor_algorithm/flann_point_pair_estimator.h" #include "francor_algorithm/estimate_transform.h" #include <chrono> using francor::algorithm::Icp; usi...
// // Created by jameshuang on 16-12-13. // #include <sys/socket.h> #include <netinet/in.h> #include <unistd.h> #include <glog/logging.h> #include <cstdio> #include <cstdlib> #include <cstring> #include <sstream> #include <fstream> #include <thread> #include "Server.h" #include "const.h" using namespace std; using st...
// -*- C++ -*- // -*- coding: utf-8 -*- // // Author: <NAME> // Copyright 2019 // header file #include "boundingbox.h" // pyre::journal #include <pyre/journal.h> // isce3::core #include <isce3/core/Basis.h> #include <isce3/core/Constants.h> #include <isce3/core/Orbit.h> #include <isce3/core/Pixel.h> #include <isce3/...
/* * MIT License * * Copyright(c) 2019 Light's Hope (https://lightshope.org) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softwareand associated documentation files(the "Software"), to deal * in the Software without restriction, including without limitation the right...
// Copyright 2016 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 <iostream> #include <memory> #include "base/at_exit.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/logging.h...
// Copyright (c) 2016 - present Advanced Micro Devices, Inc. All rights reserved. // // 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 r...
//===-- OptionGroupValueObjectDisplay.cpp -----------------------*- 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 // //===---------------------------...
/*-------------------------------------------------------------------- Universidade do Estado do Rio de Janeiro Autores: <NAME> <NAME> * Teste de Primalidade AKS - Simples * O código apresentado faz parte do projeto de conclusão de curso * dos autores pelo título de Bacharel, apresentado ao ...
// Copyright (c) 2019 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...
// Optimise #include <bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> #include <ext/pb_ds/tree_policy.hpp> using namespace std; using namespace __gnu_pbds; // #define MULTI_TEST #ifdef LOCAL #define db(...) ZZ(#__VA_ARGS__, __VA_ARGS__); #define pc(...) PC(#__VA_ARGS__, __VA_ARGS__); template <typename T, type...
/* * * 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"); y...
// Author: <NAME> // Created: 19/02/19 // Last Modified Date: 21/03/19 // Description: C++ Class that manages a user profile use with User.h. // User.cpp: This file contains the functions for the User class. #include "pch.h" #include "User.h" #include "Time.h" #include "XOR.h" #include "SaveFile.h" #include <iostream> ...
/** * @file video_capture.cpp * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * * @i...
#include "greedy_search_helper.h" #include <catboost/cuda/methods/helpers.h> #include <catboost/cuda/methods/greedy_subsets_searcher/kernel/compute_scores.cuh> #include <catboost/cuda/targets/weak_objective.h> #include <catboost/cuda/cuda_lib/cuda_buffer_helpers/all_reduce.h> namespace NKernelHost { class TComput...
// <NAME> - UNIVERSAL CONTROL MODULE - HARDWARE REVISION 0 // <NAME>, <NAME>, <NAME>, <NAME> // REVISION 2 (24/06/2021) /*************************************************************************** UCM1.cpp INTRO This is the base Arduino code for the UCM DO NOT change this if you want to implement it on o...
/** * This file is part of ORB-SLAM2. * * Copyright (C) 2014-2016 <NAME> <raulmur at unizar dot es> (University of Zaragoza) * For more information see <https://github.com/raulmur/ORB_SLAM2> * * ORB-SLAM2 is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
#include <crucible/AssimpFile.hpp> #include <crucible/Path.hpp> #include <crucible/Resources.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> void AssimpFile::processNode(Bone &b, aiNode *node) { for (unsigned int i = 0; i < node->mNumChildren; i++) { aiNode *child = node->mChildren[i]; ...
#include <iostream> #include <vector> #include <string> #include <utility> #include <sstream> #include <algorithm> #include <map> #include <set> #include <ctype.h> #include <numeric> extern char const* pTest; extern char const* pTest2; extern char const* pTest3; extern char const* pData; using Result = size_t; using ...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2022 <NAME> and <NAME> //LIC// //LIC// This lib...
#include "ILI9481_pacman.h" #include "ILI9481_driver.h" ILI9481_pacman::ILI9481_pacman() : ILI9481_driver() { } void ILI9481_pacman::drawPacmanInit(renderer_elem_pm* pm_prop){ if (pm_prop->getSize() > MAX_TILE_SIZE){ return; } int16_t f = 1 - (pm_prop->getSize() >> 1); int16_t ddF_x = 1; int16_t dd...
#include <string.h> #include <stdio.h> #include <iostream> #include <math.h> #include "circlefit/mystuff.h" #include "circlefit/circle.h" #include "circlefit/data.h" #include "circlefit/Utilities.cpp" #include "circlefit/CircleFitByTaubin.cpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp...
#include <iostream> #include <iomanip> #include <algorithm> #include "m3g/m3g-gl.hpp" #include "m3g/Fog.hpp" #include "m3g/Exception.hpp" #include "m3g/AnimationTrack.hpp" #include "m3g/AnimationController.hpp" #include "m3g/KeyframeSequence.hpp" #include "m3g/RenderState.hpp" using namespace std; using namespace m3g; ...
#include "Engine.hpp" // COZO FUNCTIONS HERE void Engine::Cozo::glInit(bool display, int argc, char **argv) { // Initialize GLUT and process user parameters glutInit(&argc, argv); // Request double buffered true color window with Z-buffer glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH); } void Engine:...
/** * file: DBPF_TXTR.cpp * author: CatOfEvilGenius **/ #include <cstdlib> #include <cstdio> #include <cstring> #include "DBPF_types.h" #include "DBPF_byteStreamFunctions.h" #include "DBPF_TXTR.h" DBPF_TXTRtype::DBPF_TXTRtype() { this->mpRawBytes = NULL; this->mpImageData = NULL; clear(); } DBPF_TXTRtype:...
/* Implementation of SLIC-like algorithm. Some modifications: * Not doing post-connectivity * Not doing the "smallest gradient" in initial selection * Previous cluster center is used as part of averaging (counted as one point) to prevent "zeroing" of clusters with 0 members */ #include "globals.hpp" #include <math.h...
// // Programming Assignment #1 // // <NAME> // // // /***************************************************************************/ /** * Name : <NAME> * Homework # : 1 * * Conventions : * - "_": means previous value. Ex: x_last_ -> previous value of x_last */ /* Include needed files */...
#include <stdlib.h> #include <time.h> #include <iostream> #include <SDL.h> #include <string> #include <SDL_image.h> #include <vector> using namespace std; // Funktionen: SDL_Surface *bild_laden(const char *dateiname){ SDL_Surface *bild = IMG_Load(dateiname); if (bild == NULL) { cout << "Laden von " ...
/* NDArray.cpp * * NDArray classes * * * \author <NAME> * * \author University of Chicago * * \date May 11 2008 * */ #include <string.h> #include <stdio.h> #include <ellLib.h> #include <vector> #include <epicsMutex.h> #include <epicsTypes.h> #include <epicsString.h> #include <ellLib.h> #include <cantProcee...
#include<iostream> #include<cstdio> #include <cctype> #include"../HDBSCAN-CPP/Hdbscan/hdbscan.hpp" #include "unistd.h" #include <locale.h> #include "benchmark_util.h" using namespace std; static char *dataset_path = NULL; static Hdbscan *hdbscan; static int n; static int d; static int mpts = 4; void co...
/* The MIT License (MIT) (http://opensource.org/licenses/MIT) Copyright (c) 2015 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including ...
/**The MIT License (MIT) Copyright (c) 2018 by ThingPulse Ltd., https://thingpulse.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
#include <iostream> #include <fstream> #include <SDL.h> #include <vector> #include "sdlUtility.h" #include "Entity.h" #include "QLAgent.h" enum Keys { KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT }; enum CallbackCode { RENDER_CB, MOVEMENT_CB }; typedef Entity::Action QLAction; typedef std::vector<int> QLState; const cha...
#include "gui.h" #include <mbed.h> #include <tft.h> #include <touchpad.h> #include <lvgl.h> #include "utility/qrcode.h" /* timer to count time in a loop and update the lvgl */ static volatile int t = 0; Ticker ms_tick; static void onMillisecondTicker(void){ t++; } LV_FONT_DECLARE(square1); LV_FONT_DECLARE(square2);...
#include "common.h" #include "cmath" #include "vector" #include "string" bool Init(); void CleanUp(); void Run(); void Draw(); void Connect(int i, int j, vector<vector<double>> pps); void Rots(); vector<vector<double>> MultMatrixs(vector<vector<double>> mat1, vector<vector<double>> mat2); SDL_Window *window; SDL_GLCo...
// // This class stores the information about a FED. // This include the number, crate, and base address // // #include "CalibFormats/SiPixelObjects/interface/PixelFEDConfig.h" #include "CalibFormats/SiPixelObjects/interface/PixelTimeFormatter.h" #include <fstream> #include <iostream> #include <map> #include <cassert>...
#include "DLitePlanner.h" void DLitePlanner::setGoalDistance(float goal_dist) { this->goal_dist_ = goal_dist; } Key DLitePlanner::calculateKey(Node s) { // obtain g-values and rhs-values for node s float g = getG(s); float rhs = getRHS(s); return Key(std::min(g, rhs) + node_grid_.euclidianHeuristic(s) + nod...
// Storage.cpp - Teensy MTP Responder library // Copyright (C) 2017 <NAME> <<EMAIL>> // // With updates from MichaelMC and <NAME> <<EMAIL>> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softwa...
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "math/mMatrix.h" #include "math/mSphere.h" const Box3F Box3F::Invalid( F32_MAX, F32_MAX, F32_MAX, -F32_MAX, -F32_MAX, -F32_MAX ); const Box3F Box3F::Max( -F32_MAX, -F32_MAX, -F32_MAX, F32_M...
/** * This is a demo to be used with Good Display 2.7 touch epaper * http://www.e-paper-display.com/products_detail/productId=406.html 264*176 px monochome epaper * * The difference with the demo-touch.cpp demo is that: * * In this demo Epd class gdew027w3T is used. * This class expects EpdSPI and FT6X36 to b...
#include "vloader.hpp" #include "main.hpp" void appvk::recreateSwapChain() { int width, height; glfwGetFramebufferSize(w, &width, &height); while (width == 0 || height == 0) { // wait until window isn't hidden anymore glfwGetFramebufferSize(w, &width, &height); glfwWaitEvents(); // put this thread to sleep unt...
/* Author: Dr. Ing. <NAME> Email: <EMAIL> Description: */ #include <cv_bridge/cv_bridge.h> // ROS and OpenCV interface #include <geometry_msgs/Point32.h> // PointCloud point #include <image_transport/image_transport.h> // ROS and OpenCV image format conversion #include <ros/ros.h> ...
#include <Rcpp.h> #include "../include/barry.hpp" // #include "../include/lbarray-bones.hpp" using namespace Rcpp; typedef std::vector< unsigned int > vuint; // A more elaborated example // [[Rcpp::export]] List counter( std::vector< int > N, std::vector< int > M, const std::vector< std::vector< uint >> &...
#include <iostream> #include <fstream> #include "Eigen/Core" #include "Eigen/Dense" #include "Team.h" #include <algorithm> #include <iterator> #include "Simulator.h" using namespace std; using namespace Eigen; vector<string> labels; vector<Team*> teamCollection; vector<Team> resultVector; vector<int> predicted_ids; v...
//#include <opencv2/highgui.hpp> #include <opencv2/opencv.hpp> //#include <opencv2/videoio.hpp> #include <iostream> #include <opencv2/core/hal/hal.hpp> //#include <opencv2/core.hpp> #include <opencv2/predefined_dictionaries.hpp> #include <opencv2/aruco/dictionary.hpp> #include "ros/ros.h" #include "aruco_pkg/ArucoMsg.h...
// ********************************************************************************** // // BSD License. // This file is part of upnpx. // // Copyright (c) 2010-2011, <NAME>, email: <EMAIL> // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted p...
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // PLEASE READ BEFORE CHANGING THIS FILE! // // This file implements the support code for the out of bounds trap handler. // Nothing in here actually ru...
//===- Utils.cpp - General utilities for Presburger library ---------------===// // // 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) 2021 CubbyTower Team // <NAME>, <NAME>, <NAME> // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #include <CubbyTower/Commons/Constants.hpp> #include <CubbyTower/Common...
#include "VirtualMachine.hpp" static const char* ops[] = { "BR", "ADD", "LD", "ST", "JSR", "AND", "LDR", "STR", "RTI", "NOT", "LDI", "STI", "JMP", "RES", "LEA", "TRAP" }; /******************************** * LauncherLC3 Functions * *********************************/ VirtualMachine LauncherL...
/* * Copyright (c) 2005, <NAME> and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the file license.txt. */ #in...
#include "stdafx.h" #include <Windows.h> // Internal Includes #include <osvr/PluginKit/PluginKit.h> #include <osvr/PluginKit/TrackerInterfaceC.h> // Standard includes #include <cmath> #include <iostream> #include <fstream> #include "TrackerKudanRS.h" /// Add your Kudan license key here const std::string kLicenseK...
/**************************************************************************/ /* */ /* WWIV Version 5.x */ /* Copyright (C)1998-2022, WWIV Software Services */ /* ...
/* * Copyright 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" f...
#include "Cart.h" #include "HostSystem.h" #include "CartRomOnly.h" #include "CartMbc1.h" #include "CartMbc2.h" #include "CartMbc3.h" #include "CartMbc5.h" #include <cassert> Cartridge::Cartridge(HostSystem &host): host(&host){ } Cartridge::~Cartridge(){ } std::unique_ptr<Cartridge> Cartridge::construc...
#include "stdafx.h" #include "display.h" #include <windows.h> #include <commctrl.h> #include <tchar.h> #define DIRECT3D_VERSION 0x0900 #include <d3d9.h> #pragma comment( lib, "d3d9.lib" ) unsigned rounded_power_of_two(unsigned n) { n--; n |= n >> 1; n |= n >> 2; n |= n >> 4; n |= n >> 8; ...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
/* * Noxim - the NoC Simulator * * (C) 2005-2018 by the University of Catania * For the complete list of authors refer to file ../doc/AUTHORS.txt * For the license applied to these sources refer to file ../doc/LICENSE.txt * * This file contains the implementation of the processing element */ #include "Hub.h" #i...
// coding: utf-8 // ---------------------------------------------------------------------------- /* Copyright (c) 2009, Roboterclub Aachen e.V. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met:...
/** * \file dnn/src/armv7/relayout/opr_impl.cpp * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an ...
//////////////////////////////////////////////////////////////////////////////// // taskwarrior - a command line task list manager. // // Copyright 2006-2014, <NAME>, <NAME>. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "S...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
/* Copyright (C) 2021 The Falco Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, s...
/* * * AIE Introduction to C++ * Playlist Viewer - Demonstration of double linked lists * <NAME> (s210314) * * See the LICENSE file in the root directory of project for copyright. * * ------- * WARNING: Immediate mode UI, it isn't pretty.. * ------- * */ #include <string> #include <MusicPlayer.hpp> #prag...
// file to prdocue witness from a run of failed bmc #include "witness.h" #include <fstream> #include <boost/filesystem.hpp> //HTML strings const std::string pre_html = "\ <!doctype html>\n\ <html>\n\ <head>\ <script src=\"http://code.jquery.com/jquery-1.9.1.min.js\"></script>\ <meta charset=utf-8 />\ <title> Error wit...
//-------------------------------------------------------------------------- // // Environment: // This software is part of the EvtGen package developed jointly // for the BaBar and CLEO collaborations. If you use all or part // of it, please give an appropriate acknowledgement. // // Copyright Informat...
#include <common/toolkit/serialization/Serialization.h> #include <program/Program.h> #include "NodeStoreServersEx.h" #include <mutex> #define NODESTOREEX_TMPFILE_EXT ".tmp" /* temporary extension for saved files until we rename */ /* * maximum ID for server nodes, 0 is reserved. * note: at the moment we restri...
// // noise.cpp // PinkTrombone - VST3 // // Created by <NAME> on 8/29/19. // #include "noise.hpp" #include <ctime> #include <sys/time.h> #include <math.h> typedef struct Grad { sample_t x; sample_t y; sample_t z; } Grad; static sample_t dot2(Grad *gin, sample_t x, sample_t y) { return gin->x * x + gin->y * y...
#include "graph.h" #include <fstream> // for saving the skeleton into a text file #include <map> // std::map #include <algorithm> // std::find #include <string> // MSVC2017 requires this /*! \brief Constructor from the volumetric nearest neighbour graph and a set of path. \param graph nearest neighbour graph \para...
#include <ros/ros.h> #include <iostream> #include <vector> #include <std_msgs/Float32.h> #include <nav_msgs/Odometry.h> #include <sensor_msgs/Imu.h> #include <geometry_msgs/Quaternion.h> #include <geometry_msgs/Point.h> #include <darknet_ros_msgs/BoundingBox.h> #include <darknet_ros_msgs/BoundingBoxes.h> #include <mas...
#include "FileViewer.hpp" #include "Defer.hpp" #include "StringBuffer.hpp" // clang-format off #include "imgui.h" #include "imgui_internal.h" // clang-format on // We work from description bcoz that is available for resolved & unresolved breakpoints. void Breakpoint_Info(lldb::SBBreakpoint bp, std::string &file, si...
/***************************************************************************** Copyright (c) [2017] [<NAME>] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without ...
/* ====================================================== Copyright 2016 <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 Unles...
// Copyright (c)2021 Fundament Software // For conditions of distribution and use, see copyright notice in innative.h #include "llvm.h" #include "compile.h" #include "utility.h" #include "validate.h" #include "atomic_instructions.h" using namespace innative; using namespace utility; using namespace innative::atomic_d...
#include <game_camera.h> #include <engine/pge.h> #include <glm/glm.hpp> #include <math.h> #include <runtime/array.h> #include <runtime/memory.h> #include <glm/gtx/projection.hpp> #include <glm/gtx/random.hpp> #include <game_types.h> namespace { using namespace pge; void get_closest_point(const glm::vec3 &a, const...
#include <lol/error.hpp> #include <lol/io/file.hpp> #include <lol/wad/index.hpp> using namespace lol; using namespace lol::wad; auto Index::from_game_folder(fs::path const& game_path) -> Index { lol_trace_func(lol_trace_var("{}", game_path)); auto index = Index{game_path.filename().generic_string()}; if (...
/** * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: <NAME> */ #include "particle_filter.h" #include <math.h> #include <algorithm> #include <iostream> #include <iterator> #include <numeric> #include <random> #include <string> #include <vector> #include "helper_functions.h" using std::string; using ...
#include "TileEngine/ExitGrids.h" #include "Editor/EditorUndo.h" #include "Editor/Smooth.h" #include "SGP/Debug.h" #include "SGP/FileMan.h" #include "SGP/Types.h" #include "Strategic/Quests.h" #include "Strategic/StrategicMap.h" #include "Strategic/StrategicMovement.h" #include "SysGlobals.h" #include "Tactical/Animat...
using namespace RSLib; // Construction/Destruction: rsAutoCorrelationPitchDetector::rsAutoCorrelationPitchDetector() { circularBuffer = NULL; linearBuffer = NULL; sampleRate = 44100.0; maxFundamental = 8000.0; updateInterval = 256; bufferSize = 2048; reAllocateBuffers(); } r...
#include <iostream> #include <numeric> #include <algorithm> #include <sstream> #include <opencv2/opencv.hpp> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <args.hxx> #include <clang-c/Index.h> // function 'tokenize' is based on tokenizer.cc (http://tlab.hatenablog.com/entry/2013/0...
/*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>, <NAM...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkColor.h" #include "SkColorFilter.h" #include "SkColorPriv.h" #include "SkLumaColorFilter.h" #include "SkReadBuffer.h" #include "SkWriteBuffer.h" #include "SkRandom...
// // $Id$ // // // Original author: <NAME> <<EMAIL>> // // Copyright 2012 University of Washington - Seattle, WA 98195 // // 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...
/* HMM.cpp - Assignment 1 AI * <NAME> && <NAME> * Class HMM which represents a model of a Hidden Markov Model */ #include "HMM.hpp" #include <cmath> #include <limits> using namespace std; // -----------Auxiliary function ------------------ vector <double> elWise(const vector<double>& v1,const vector<double>& v2)...
// Copyright 2011 The Kyua 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: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
#include "CAlien.h" //the vertices making up its shape const int NumAlienVerts = 19; const SPoint Alien[NumAlienVerts] = { SPoint(1,3), SPoint(4,1), SPoint(4,-1), SPoint(2,-4), ...
// // Package: HLTrigger/special // Class: HLTRechitsToDigis // /**\class HLTRechitsToDigis HLTRechitsToDigis.cc HLTrigger/special/plugins/HLTRechitsToDigis.cc Description: [one line class summary] Implementation: [Notes on implementation] */ // // Original Author: <NAME> // Created: Fri, 20...
/** * \file socks4.cc */ #include <glog/logging.h> #include <socks4.h> using boost::asio::buffer; using boost::asio::ip::tcp; using boost::system::error_code; using boost::asio::async_connect; using boost::asio::async_read; using boost::asio::async_write; using boost::asio::read; using boost::asio::write; void S...
//Code at https://github.com/ozgurozmen/OptimizedPKCSuite/tree/master/ATmega2560/Arazi //modified for performing experiments on Raspberry Pi by //<NAME>, <EMAIL>, IIIT Delhi #include "header/uECC_vli.h" #include "header/uECC.c" #include "header/types.h" #include <stdio.h> #include "header/SHA256.cpp" #include <string.h...
/* Copyright (c) 2016 Teka101 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, sublice...
/* * Copyright 2012, The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...