text
stringlengths
5.71k
33.7k
/*! * \file CSTLFileWriter.cpp * \brief STL Writer output class * \author <NAME>, <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 Contributors (cf. AUTHORS....
/* * Copyright 2022, Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT license. */ #include <sys/condvar.h> extern "C" { #include <sys/mutex.h> #include <sys/systm.h> #include <sys/taskqueue.h> #include <sys/priority.h> #include <dev/usb/usb.h> #include <dev/usb/usbdi.h> #include <dev/usb/...
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios LLC. 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 t...
// ImGui GLFW binding with OpenGL3 + shaders // https://github.com/ocornut/imgui #include <imgui.h> #include "imgui_sdl2.h" // GL3W/GLFW #include "gl_core_3_2.hpp" #include <SDL.h> #include <SDL_syswm.h> // Data static SDL_Window* g_window; static double g_Time = 0.0f; static bool g_MousePressed[3] = ...
#include <path_follower/supervisor/pathlookout.h> #include <path_follower/parameters/path_follower_parameters.h> #define DEBUG_PATHLOOKOUT 0 #if DEBUG_PATHLOOKOUT #include <opencv2/highgui/highgui.hpp> #endif #include <vector> #include <string> #include <laser_geometry/laser_geometry.h> #include <pcl_ros/transfo...
// // $Id: sphinxstemen.cpp 1709 2009-02-27 10:30:10Z klirichek $ // // // Copyright (c) 2001-2008, <NAME>. All rights reserved. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License. You should have // received a copy of the GPL license alon...
#include <iostream> #include <string> #include <fstream> #include <omp.h> using namespace std; #include "World.h" #include "Drone.h" #define FIB_FACTOR 1000 void updateCommands(World *world, int turn); string progressBar(int curr, int max); int main() { //Define world and drones World world(2000*FIB_FACTOR, 2000*...
#include "render.h" #include "glad.h" #include <iostream> #include "glm/glm.hpp" #include "engine.h" void Render::init() { projection = perspective(60.0f * M_PI / 180.0f, 1280.0f / 720.0f, 0.1f, 100.0f); animation_key = "idle"; } void Render::draw_scene(Animator* animator, Scene* scene, Camera* cam) { //s...
#include <fstream> #include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Dense" #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "json.hpp" #include "spline.h" using namespace std; // defines #...
// The Notices and Disclaimers for Ocean Worlds Autonomy Testbed for Exploration // Research and Simulation can be found in README.md in the root directory of // this repository. #include <unistd.h> #include <sys/stat.h> #include <cstdlib> #include <cstring> #include <ctime> #include <yaml-cpp/yaml.h> #include <ros...
#include "gamehsp.h" #include "../../hsp3/hsp3config.h" #include "../supio.h" #include "../sysreq.h" // Default sprite shaders #define SPRITE_VSH "res/shaders/sprite.vert" #define SPRITE_FSH "res/shaders/sprite.frag" #define SPRITECOL_VSH "res/shaders/spritecol.vert" #define SPRITECOL_FSH "res/shaders/spritecol.frag...
#include <iostream> #include <fstream> #include <string.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> #include <ctype.h> #include <sys/time.h> #include <sys/resource.h> #include <sstream> #include <stdint.h> using namespace std; /************************************...
#include "Defines.h" //Global Variables void Caltech_PDollar_Format_Results(Mat& img, Musawwir_Obj_Detector* MOD, float pre_scaling, string res_path, string ann_path); void read_annotations(vector<Rect>& Ann_Rects, string ann_file_path, int min_height, float min_overlap); void write_detections_stats(string det_...
/* MIT License Copyright (c) 2018-2020 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
#include "GENIEXSecExtract/XSecLooper.h" #include "TFile.h" #include "TH1.h" #include "TMath.h" #include "TString.h" #include <PlotUtils/MnvH1D.h> #include <PlotUtils/NuclModUtils.h> #include <PlotUtils/MnvNuclearModelWeight.h> #include <iostream> #include <vector> #include <map> #include <cassert> using namespace s...
#include <AMReX_ParmParse.H> #include <AMReX_BC_TYPES.H> #include <AMReX_Box.H> #include <incflo.H> #include <boundary_conditions_F.H> #include <setup_F.H> #ifdef AMREX_USE_EB #include <embedded_boundaries_F.H> #endif void incflo::ReadParameters() { { // Variables without prefix in inputs file ParmParse...
/** @file LMS7002M_filtersCalibration.cpp @author Lime Microsystems (www.limemicro.com) @brief Implementation of LMS7002M transceiver filters calibration algorithms */ #include "LMS7002M.h" #include "IConnection.h" #include "Logger.h" #include "CalibrationCache.h" #include "LMS7002M_RegistersMap.h" #include <cmath> #i...
// Copyright (c) 2014 <NAME>. See License.txt regarding use. #include <oConcurrency/backoff.h> #include <oCore/filesystem.h> #include <oCore/reporting.h> #include <oGUI/msgbox.h> #include <oGUI/msgbox_reporting.h> #include <oGUI/Windows/win_gdi_bitmap.h> #include <oGUI/Windows/win_common_dialog.h> #include <oGU...
/* * Copyright (c) 2017, msyksphinz * 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...
//***************************************************************************************************** //* * //* This code is free software; you can redistribute it and/or modify it at your will. * //* It ...
/************************************************************************************ Filename : GazeCursor.cpp Content : Global gaze cursor. Created : June 6, 2014 Authors : <NAME> Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved. *************...
//===- ICF.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 // //===---------------------------...
//////////////////////////////////////////////////////////////////////// // // Harvard University // CS175 : Computer Graphics // Professor <NAME> // //////////////////////////////////////////////////////////////////////// #include <vector> #include <string> #include <memory> #include <stdexcept> #if __GNUG__ # ...
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKcommon * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
/* * GEOGRAM example program: * compute Restricted Voronoi diagrams, i.e. * intersection between a Voronoi diagram and a * tetrahedral mesh (or a triangulated mesh). */ /* * Copyright (c) 2012-2014, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * mo...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright 2010 University of Washington * * 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...
/////////////////////////////////////////////////////////////////////////////// // File: DDTOBRadCableAlgo.cc // Description: Equipping the side disks of TOB with cables etc /////////////////////////////////////////////////////////////////////////////// #include "FWCore/MessageLogger/interface/MessageLogger.h" #includ...
#include <algorithm> #include <chrono> #include <iostream> #include <memory> #include "minimax.h" #include "flags.h" #include "interruption.h" #include "random.h" // #include "search_tree_printer.h" #include "flags.h" // #include "opening_table.h" // #include "line_reader.h" #include "hash_table.h" #include "cmd_args....
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
//===--- SpeculativeDevirtualizer.cpp - Speculatively devirtualize calls --===// // // 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...
//Author: Dr. <NAME> //compile: time make bellow_periodic //execute: time ./out #include "../../header_files/class.hpp" #include "../../header_files/postprocessing_functions.hpp" #include "../../header_files/coefficient_computations.hpp" using namespace std; void write_interp_csv(POINTS &points, PARAMETERS &parameters...
/*****************************************************************************/ /** * @file Ply.cpp * @author <NAME> */ /*****************************************************************************/ #include <cstdio> #include <cstdlib> #include <cstring> #include <new> #include <limits> #include <kvs/DebugNew> ...
/* Authors: <NAME> and <NAME> */ /* * Copyright (c) 2019, The Regents of the University of California * 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 ...
/* * Copyright 2019 Google LLC. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/tessellate/GrTessellationPathRenderer.h" #include "include/pathops/SkPathOps.h" #include "src/core/SkIPoint16.h" #include "src/core/SkPathPriv.h" #include "...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <sys/socket.h> #include <arpa/inet.h> #include <assert.h> #include <signal.h> #include <sys/epoll.h> #include <sys/types.h> #include <unistd.h> #include <openssl/ssl.h> #include <openssl/bio.h> #include <openssl/err.h> #include <open...
/*************************************************************************** * Copyright (C) by gempa GmbH * * * * You can redistribute and/or modify this program under the * * terms o...
#include "otc/otcli.h" #include "otc/supertree_util.h" #include <tuple> using namespace otc; // See http://phylo.bio.ku.edu/ot/otc-find-resolution.pdf // which is compiled from ../doc/otc-find-resolution.tex template <typename T, typename U> U * resolveNode(T & tree, U & parent, const OttIdSet & newInc) { std::set...
/** * @file CLI.cc * @author <NAME> (<EMAIL>) * @date 20/03/2022 * * @brief Implementación de la CLI * */ #include <iostream> #include <string> #include <vector> #include <exception> #include <utility> #include "app/CLI.hh" #include "models/Point.hh" #include "app/CLICommand.hh" #include "logging/debug.hh" b...
/* Copyright (c) 2014, 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 following disclaime...
// // DNP3 was initially used over serial links; it defined its own application // layer, transport layer, and data link layer. This hierarchy cannot be // mapped to the TCP/IP stack directly. As a result, all three DNP3 layers // are packed together as a single application layer payload over the TCP // layer. Each DNP...
////////////////////////////////////////////////////////////////////////////////////////////////// // // file: model_force_wind.cxx // // Author <NAME> (Neill3d) // // GitHub page - https://github.com/Neill3d/MoPlugs // Licensed under BSD 3-Clause - https://github.com/Neill3d/MoPlugs/blob/master/LICENSE // ///////////...
/* This source code is a part of IKAN. Copyright (c) 2000 University of Pennsylvania Center for Human Modeling and Simulation All Rights Reserved. IN NO EVENT SHALL THE UNIVERSITY OF PENNSYLVANIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PR...
//===------_ Hacking STEM – MeasuringToolsCode.X.X.X.ino – Microbit _-----===// // For use with the "MEASURING TOOLS Using the Pythagorean Theorem to Explore // Topography in 2D/3D Space" lesson plan available from Microsoft Education // Workshop at https://www.microsoft.com/en-us/education/education-workshop/measuring...
// ==================================================================== // This file is part of FlexibleSUSY. // // FlexibleSUSY 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 3 of the Licens...
#include <iomanip> #include <iostream> #include "BCEdge.h" #include "BCNode.h" #include "katana/Bag.h" #include "katana/BufferedGraph.h" #include "katana/LC_CSR_CSC_Graph.h" // WARNING: optimal chunk size may differ depending on input graph constexpr static const unsigned ASYNC_CHUNK_SIZE = 64U; using NodeType = BCNo...
// 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 "ui/events/ozone/evdev/touch_event_converter_evdev.h" #include <errno.h> #include <fcntl.h> #include <linux/input.h> #include <poll.h> #include ...
/* * Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/> * * Copyright (C) 2010 - 2013 ArkCORE <http://www.arkania.net/> * * This program is free software; you can ...
// 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. #include "chrome/browser/views/bookmark_table_view.h" #include <commctrl.h> #include "app/drag_drop_types.h" #include "app/gfx/canvas.h" #inclu...
/****************************************************************************** * QUANTA - A toolkit for High Performance Data Sharing * Copyright (C) 2003 Electronic Visualization Laboratory, * University of Illinois at Chicago * * This library is free software; you can redistribute it and/or modify it * under t...
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Copyright: * <NAME>, 2001 * <NAME>, 2005 * * Last modified: * $Date: 2017-02-16 12:11:51 +0100 (Thu, 16 Feb 2017) $ by $Author: schulte $ * $Revision: 1543...
#include "CellTrellis.h" #include <assert.h> #include <cstddef> // To get NULL. #include <limits> #include <list> #include <vector> #include "Apoptosis.h" #include "Appearance.h" #include "Arc.h" #include "CellNode.h" #include "Count.h" #include "Detection.h" #include "Disappearance.h" #include "Event.h" #include "Fre...
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. // Licensed under the BSD license. See LICENSE.txt file in the project root for full license information. /*============================================================================= UnSkeletal.cpp: General ActorXporter support functions, misc mat...
Serpiente serpiente; using namespace std; void iniciarAlegro(){ allegro_init(); install_keyboard(); install_mouse(); set_color_depth(32); if (install_sound(DIGI_AUTODETECT, MIDI_AUTODETECT, NULL) != 0) { allegro_message("Error: inicializando sistema de sonido\n%s\n", allegro_error); ...
/* * seqExtract.cpp * * Created on: Sep 17, 2015 * Author: <NAME> * * The MIT License (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 w...
// =========================================================================================== // Part of the ORBITER VISUALISATION PROJECT (OVP) // Dual licensed under GPL v3 and LGPL v3 // Copyright (C) 2012 - 2016 <NAME> // =========================================================================================== ...
/** * @file ManagedWindow.cpp * @brief Managed Window Class Implementation * @author KrizTioaN (<EMAIL>) * @date 2021-07-27 * @note BSD-3 licensed * ***********************************************/ #include "ManagedWindow.h" ManagedWindow::ManagedWindow() : xmask(None), xicon(None), xiconmask(N...
#include <mpi.h> #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <assert.h> #include <iostream> #include <algorithm> #include <sstream> #include <fstream> #include <map> #include <vector> #include "file_io.h" #include "repartition.h" #include "CmdLine.h" #include "generator.h" #include "clustering.h...
/******************************************************************************* * Copyright 2020-2022 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apa...
#include "DearImGuiImpl.hpp" void embraceTheDarkness() { ImVec4* colors = ImGui::GetStyle().Colors; colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f); colors[ImGuiCol_TextDisabled] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f); colors[ImGuiCol_WindowBg] = ImVec4(0.10f,...
#include "multitask/syscalls.h" #include "multitask/multitask.h" #include "filesystem/filesystem.h" #include "multitask/mman.h" #include "memory/memory.h" #include "io/uart.h" #include "io/gfx/framebuffer.h" #include "cpu/cmos.h" #include "cpu/pic.h" #include "kstdlib.h" #define S_IFDIR 0040000 // Directory #defi...
#include <iostream> #include <glad/glad.h> #include <GLFW/glfw3.h> #include <string> #include <filesystem> #include <fstream> #define GLM_FORCE_RADIANS #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "Mesh.hpp" #include "Args.hpp" #include "testAABBoxInFrustum.h" #include "chcpp.hpp" ...
//- // ========================================================================== // Copyright 2015 Autodesk, Inc. All rights reserved. // Use of this software is subject to the terms of the Autodesk license agreement // provided at the time of installation or download, or which otherwise // accompanies this soft...
/************************************************************************* * "jlp_display2.c" * * To display images either to postscript or X11 display * * int SPLOT_IMAGE(float *image_f1, int *nx1, int *ny1, * int *ncolors, char *filename, char *comments, * char *lut_type, int *itt_is_...
#include "visualrecipeeditordock.h" #include "ui_visualrecipeeditordock.h" #include "inventoryitem.h" #include "mainwindow.h" #include "globalhelpers.h" #include <QDebug> #include <QMap> #include <QStringLiteral> #include <QLabel> #include <QVector> #include <QJsonObject> #include <QJsonArray> #include <QJsonDocumen...
#ifdef WIN32 #include <Windows.h> //For sleep() functionality, this needs to be 1st include #endif #ifdef __APPLE__ #include <unistd.h> #endif #ifdef __linux #include <unistd.h> #endif #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string> #define BLACK_MARGIN 0.36 #define TURN_MARGIN 0.2 #defin...
// @file restore.cpp /** * Copyright (C) 2008 10gen Inc. * Copyright (C) 2013 Tokutek Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This progr...
#include "handler_goesr.h" #include <stdexcept> #include <util/error.h> #include <util/string.h> #include <util/time.h> #include "lib/timer.h" #include "string.h" #ifdef HAS_PROJ #include "map_drawer.h" #endif using namespace util; namespace { int getChannelFromFileName(const std::string& fileName) { const au...
#include "config/control.h" #include "logic_job.h" #include "lora_job.h" #include <Adafruit_Sensor.h> #include <Adafruit_BME280.h> #include "config/pins.h" #include <RTCZero.h> #include <VL6180X.h> #include <Adafruit_ADS1015.h> #include "sensors.h" Adafruit_ADS1115 ads ; // (default gain = 2/3x to read +/- 6.144V 1 bi...
/* except-gcc.cpp -*-C++-*- * ************************************************************************* * * Copyright (C) 2009-2018, Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
#include <iostream> #include <string> #include <fstream> #include <vector> #include "global_functions.h" #include "Othello.h" Othello::Othello() { //player is white player_piece = '2'; //AI is black AI_piece = '1'; tree.player_piece = player_piece; tree.AI_piece = AI_piece; resetGame(true); } //runs th...
// // ESGI // ObjLoader.cpp // #include "Common.h" #include <cstdio> #include <cmath> #include <vector> #include <string> #include "../common/EsgiShader.h" #include "tinyobjloader/tiny_obj_loader.h" #include "AntTweakBar.h" // --- TwBar* objTweakBar; EsgiShader g_BasicShader; EsgiShader g_SkyboxShader; int...
/* Copyright (c) 2003-2007 <NAME> <<EMAIL>> Modified by <NAME> <<EMAIL>> Copyright (c) 2015-2018 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 cod...
// Vaca - Visual Application Components Abstraction // Copyright (c) 2005-2009 <NAME> // // This file is distributed under the terms of the MIT license, // please read LICENSE.txt for more information. #include <vaca/vaca.h> #include "../resource.h" using namespace vaca; // commands of the application en...
// Copyright (c) 2012, <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 ...
//Includes all the headers necessary to use the most common public pieces of the ROS system. #include <ros/ros.h> //Use image_transport for publishing and subscribing to images in ROS #include <image_transport/image_transport.h> //Use cv_bridge to convert between ROS and OpenCV Image formats #include <cv_bridge/cv_brid...
#include <glog/logging.h> #include <sdtrack/parallel_algos.h> using namespace sdtrack; OptimizeTrack::OptimizeTrack(SemiDenseTracker &tracker_ref, const PyramidLevelOptimizationOptions &opt, std::vector<std::shared_ptr<DenseTrack> > &track_vec, OptimizationStats &opt_stats, uint32_t lvl, const std::vector<std::vector...
#include "opencv2/core.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/videoio.hpp" #ifdef VISPROC_EXTENDED_TEST #include "opencv2/highgui.hpp" #endif #include <vector> #include <algorithm> #include <utility> #include <iostream> /* Thresholds for goal detection: */ /* hue thresho...
#include "scene.h" #include <array> #include <vector> #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include "api/gpu_particle.h" #include "ui/views/views.h" // ============================================================================ void Scene::init() { /* Init shaders */ setup_s...
/* Copyright 2016 Silent Circle, LLC 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, softw...
/* # ______ ____ ___ # | \/ ____| |___| # | | | \ | | #----------------------------------------------------------------------- # Copyright 2020, tyra - https://github.com/h4570/tyra # Licenced under Apache License 2.0 # <NAME> <<EMAIL>> */ #include "../include/models/mesh.hpp" #...
#include <iostream> #include <sstream> #include <string> #include <unordered_set> #include <fstream> #include "../AngelixCommon.h" #include "../smtlib/SMTLIB2.h" enum VarTypes { ALL, INT, PTR, INT_AND_PTR }; enum DefectClass { UNKNOWN, ASSIGNMENTS, PTR_ASSIGNMENTS, IFS, LOOPS, GUARDS }; std::string DCtoString(Defec...
/* GNU Ocrad - Optical Character Recognition program Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 <NAME>. 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 Fo...
// MIT License // // Copyright (c) 2020 Agenium Scale // // 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, modif...
#include <unistd.h> #include <cassert> #include <fstream> #include <functional> #include <iostream> #include <vtr_bumblebee_xb3/camera1394.hpp> #include <vtr_bumblebee_xb3/dc1394_safe_call.hpp> #include <vtr_bumblebee_xb3/assert_macros.hpp> ////////////////////////////////////////////////////////////// /// Camera139...
// Copyright 2021, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file * @brief Helper math to do things with 3D hands for the camera-based hand tracker * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * @ingroup drv_ht */ #pragma once #include "ht_driver.hpp" #include "math/m_api.h" #include "m...
// // main.cpp // DepthStream // // Created by <NAME> on 3/18/22. // #include <iostream> #include <iomanip> #include <chrono> // For steady_clock and time_point #include <math.h> // For fabs() #include <termios.h> #include <signal.h> #include "Exception.hpp" #include "Server.hpp" #include "Connection.hpp" #includ...
#include "clb2_res2.h" void CLB2Result2::Run() { Prepare(); SolveByILP(); clb2stat.r2 += stat; } // *** Major steps *** void CLB2Result2::Prepare() { // init ffgs unsigned next = 0; for (unsigned i = 0; i < 4; ++i) { if (clb.FFs[i].empty()) continue; unsigned j; for (j...
/* * Copyright (c) 2019 <NAME> * OneWireNg: Ardiono 1-wire service library * * Distributed under the 2-clause BSD License (the License) * see accompanying file LICENSE for details. * * This software is distributed WITHOUT ANY WARRANTY; without even the * implied warranty of MERCHANTABILITY or FITNESS FOR A PART...
#include "core.h" #include "simplestring.h" #include "filestream.h" #include "allocator.h" #include <string.h> #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <math.h> #include <memory.h> #define UTF8_1BYTEMASK 0x80 #define UTF8_1BYTEMARKER 0x00 #define UTF8_2BYTEMASKHIGH 0xe0 #define UTF8_2BYTEMA...
/**************************** cof2asm.cpp ******************************** * Author: <NAME> * Date created: 2007-02-25 * Last modified: 2009-12-20 * Project: objconv * Module: cof2asm.cpp * Description: * Module for disassembling PE/COFF file * * Copyright 2007-2009 GNU General Public License ht...
#include "DX12Helper.h" #include "WICTextureLoader.h" #include "ResourceUploadBatch.h" using namespace DirectX; // for Singleton DX12Helper* DX12Helper::instance; // -------------------------------------------------------- // Sets up the helper with required DX12 objects // -----------------------------------------...
/********************************************************************* * * Copyright (c) 2011, <NAME> - KTH Stockholm * (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Re...
#include <sys/ioctl.h> #include <ncurses.h> #include <unistd.h> #include <string> #include <iostream> #include <sstream> #include <ctime> #include <utility> #include "ncurseracer.hpp" void wprintcenter(WINDOW* window, std::string chars, int passedRow); void wprintcenter(WINDOW* window, std::string chars); WINDOW* crea...
/* ogre_vis.hpp -- part of the fractal3d implementation * * Copyright (C) 2015 <NAME> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include <memory> #include <atomic> #include <chrono> #include <iostream> #include <string> #inclu...
// // Copyright (c) 2012, Sound of Code, <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, mer...
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #include "CTCInferenceConnection.hpp" #include "CTCInferencePlan.hpp" #include "CTCPlanInternal.hpp" #include <poplar/Graph.hpp> #include <poplar/Tensor.hpp> #include <poplibs_support/LogArithmetic.hpp> #include <poplibs_support/Tracepoint.hpp> #include <pop...
#include <cstring> #include <iostream> #include <iomanip> #include <errno.h> #include <fcntl.h> #include <pthread.h> #include <unistd.h> #include <stddef.h> #include <stdlib.h> #include <signal.h> #include <syslog.h> #include <unistd.h> #include <sys/signalfd.h> #include <sys/types.h> #include <sys/socket.h> #include...
/* Copyright (c) 2018-2020 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
int dOre7/**/// ,Q3X , CyE ,Ex,VWG, ga2 , I2cU , RlvM , HzmU, nUqi ,zat ,//36kj6t On1 ,eWYw, /*fzc*/Ee3,ygKv , ycaM , P,L3fL, ID ,UyBX , h9Lq ,// j3tW //2N , KlP ,Q5 ,//cS LT , Mpee , Al ,W8 ,Rxg2 ,y , Q9J ,EJi ,Kvm , AH , rvi ;void f_f0 () {int Za ; volatile int KbDe ,c4bE ,CMc , wkM...