text
stringlengths
54
60.6k
<commit_before>630b5a38-2e4e-11e5-9284-b827eb9e62be<commit_msg>63106550-2e4e-11e5-9284-b827eb9e62be<commit_after>63106550-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>6ee5783e-2e4e-11e5-9284-b827eb9e62be<commit_msg>6eea6e66-2e4e-11e5-9284-b827eb9e62be<commit_after>6eea6e66-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>/** * @file edge.cpp * @brief Simple test for OpenCV * @author Denis Deryugin <deryugin.denis@gmail.com> * @version * @date 03.06.2019 */ #include "opencv2/core/utility.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include <stdio.h> #include ...
<commit_before>//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
<commit_before>ec8f585e-2e4e-11e5-9284-b827eb9e62be<commit_msg>ec9456ce-2e4e-11e5-9284-b827eb9e62be<commit_after>ec9456ce-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>/** * @file edge.cpp * @brief Simple test for OpenCV * @author Denis Deryugin <deryugin.denis@gmail.com> * @version * @date 03.06.2019 */ #include "opencv2/core/utility.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include <stdio.h> #include ...
<commit_before>3cfc4b32-2e4d-11e5-9284-b827eb9e62be<commit_msg>3d015258-2e4d-11e5-9284-b827eb9e62be<commit_after>3d015258-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>#include <iostream> #include <string> #include <cstdio> #include <stdexcept> #include "parse.h" #include "API.hpp" #include "CatalogManager.hpp" #include "IndexManager.hpp" #include "RecordManager.hpp" #include "BufferManager.hpp" using namespace std; void printList (const Entries& rlist, const Table...
<commit_before>623f680c-2e4d-11e5-9284-b827eb9e62be<commit_msg>62447158-2e4d-11e5-9284-b827eb9e62be<commit_after>62447158-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>d1741dfe-2e4c-11e5-9284-b827eb9e62be<commit_msg>d1794374-2e4c-11e5-9284-b827eb9e62be<commit_after>d1794374-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>50b62c6a-2e4d-11e5-9284-b827eb9e62be<commit_msg>50bb38d6-2e4d-11e5-9284-b827eb9e62be<commit_after>50bb38d6-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>#include <iostream> #include <string.h> #include <lux/index.h> #include <lux/types.h> static void usage() { std::cout << "usage:" << std::endl; std::cout << " luxcmd init db" << std::endl; std::cout << " luxcmd put db id [attr=value]...." << std::endl; } static bool open_db(Lux::Engine en...
<commit_before>fbdb2de8-2e4d-11e5-9284-b827eb9e62be<commit_msg>fbe01e52-2e4d-11e5-9284-b827eb9e62be<commit_after>fbe01e52-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>#define GLM_FORCE_RADIANS #define PI 3.14159265358979 #include <GL/glew.h> #include <glfw3.h> #include <glm/glm.hpp> #include <iostream> #include <math.h> #include <stdio.h> #include <stdlib.h> #include "gfx/Renderer.hpp" #include "gfx/VertexArray.hpp" #include "gfx/SkyBox.hpp" #include "gfx/importer/Ob...
<commit_before>a1ad3e78-2e4e-11e5-9284-b827eb9e62be<commit_msg>a1b241b6-2e4e-11e5-9284-b827eb9e62be<commit_after>a1b241b6-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>#include "Video/ScreenBuffer.hh" #include "SDLConfig.hh" namespace RAGE { namespace SDL { ScreenBuffer::ScreenBuffer(int width, int height, int bpp) throw (std::logic_error) : m_width(width), m_height(height),m_bpp(bpp), m_background(RGBColor(0,0,0)), m_initcb(NULL),m_resizecb(NULL), m_newframe...
<commit_before>ceb51b86-2e4c-11e5-9284-b827eb9e62be<commit_msg>ceba0e66-2e4c-11e5-9284-b827eb9e62be<commit_after>ceba0e66-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // FlowManager.cpp // // Access to the GPII flowmanager to log in and out // // Project Files: // FlowManager.cpp // FlowManager.h // /////////////////////////////////////////////////////////////////////////////// #inclu...
<commit_before>#include <algorithm> #include <array> #include <iomanip> #include <curl/curl.h> #include <memory> #include <string> #include <sstream> #include <iostream> #include <fstream> #include <vector> #include <sys/stat.h> #include <cerrno> #include <cstring> #include <system_error> #include <openssl/md5.h> #incl...
<commit_before>// This code is based on Sabberstone project. // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #ifndef ROSETTASTONE_EFFECTS_HPP #define ROSETT...
<commit_before>/*============================================================================ 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. ==...
<commit_before>/* kopetexsl.cpp - Kopete XSL Routines Copyright (c) 2003 by Jason Keirstead <jason@keirstead.org> ************************************************************************* * * * This program is free software; you...
<commit_before>/*- * Copyright (C) 2008-2009 by Maxim Ignatenko * gelraen.ua@gmail.com * * All rights reserved. * * * * Redistribution and use in source and binary forms, with or withou...
<commit_before>#include <Refal2.h> using namespace Refal2; typedef std::vector<std::string> CFileNames; class CSourceFilesProcessor : private IErrorHandler { public: static CProgramPtr Compile( const CFileNames& fileNames ); static bool Check( const CFileNames& fileNames ); private: CScanner scanner; std::ifstr...
<commit_before>#include <logging/Logger.h> #include <graphics/GlfwContext.h> #include <graphics/GlfwWindow.h> #include <graphics/Renderer.h> #include <gamemodel/GameState.h> #include <input/Input.h> int main(int argc, char ** argv) { Logger::initSystem(argc, argv); GlfwContext glfwContext(Logger::glfwErro...
<commit_before>#include "global.hpp" using namespace std; static char* exe; static void usagemode() { printf( "Usage mode: %s <option>\n" "\n" "Options:\n" " install <new directory name without trailing slash>\n" " start\n" " stop\n" " restart (just a stop followed by a start)\n" ...
<commit_before>#include <gst/gst.h> #include <glib.h> // Message handler callback static gboolean bus_call (GstBus *bus, GstMessage *msg, gpointer data) { GMainLoop *loop = (GMainLoop *) data; switch (GST_MESSAGE_TYPE (msg)) { case GST_MESSAGE_EOS: g_print ("End of stream\n")...
<commit_before>/* * File: main.cpp * Author: vlad * * Created on December 12, 2013, 10:38 PM */ #include <iostream> #include <ctime> #include "qpp.h" #include "matlab.h" // support for MATLAB // TODO: expandout function // TODO: dyad function // TODO: proj (dya) function // TODO: ip (inner product function) ...
<commit_before>#include "System.h" #include "Display.h" #include "interface.h" #include "ecg.h" #include "nibp.h" #define DISPLAY_CS PC4 #define DISPLAY_RESET PC5 #define DISPLAY_SPI spi_c1 #define SCREEN_ROWS 10 #define SCREEN_COLUMNS 10 SPI_Interface display_spi(DISPLAY_SPI); Display tft(DISPLAY_CS, DISPLAY_RESET...
<commit_before>#include <iostream> #include <mutex> #include <queue> #include <thread> #include <tuple> #include <condition_variable> #include "input_file_reader.hpp" #include "minimize.hpp" #include "comparator.hpp" #include "result.hpp" // mutex for shared resources static std::mutex g_tasks_mutex; // conditonal v...
<commit_before>/* * <<<<<<< HEAD * Copyright 2013 Mario Alviano, Carmine Dodaro and Francesco Ricca. ======= * Copyright 2013 Mario Alviano, Carmine Dodaro, and Francesco Ricca. >>>>>>> 5fc82930c51bc47fa41e640f5f2e1612ac22a801 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not u...
<commit_before>// ImGui - standalone example application for DirectX 9 // If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp. #include "BoardView.h" #include "imgui_impl_dx9.h" #include <d3d9.h> #define DIRECTINPUT_VERSION 0x0800 #include <dinput.h> #include <tchar.h> #include ...
<commit_before>/*========================================================================= Library: CTK Copyright (c) Kitware 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 ...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved */ #ifndef _Stroika_Foundation_Configuration_Enumeration_inl_ #define _Stroika_Foundation_Configuration_Enumeration_inl_ 1 /* ******************************************************************************** *******************...
<commit_before><commit_msg>revert gamut::name<commit_after><|endoftext|>
<commit_before>#include "SequenceVectorizer.h" #include "Opts.h" #include "ClusterAnalysis.h" #include "Logger.h" #include "TarjansAlgorithm.h" #include "BarnesHutSNEAdapter.h" #include "KrakenAdapter.h" #include "RnammerAdapter.h" #include "ResultIO.h" #include "IOUtil.h" #include "MLUtil.h" #include "HierarchicalClus...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2016. All rights reserved */ #ifndef _Stroika_Foundation_Configuration_Enumeration_inl_ #define _Stroika_Foundation_Configuration_Enumeration_inl_ 1 /* ******************************************************************************** ***************...
<commit_before><commit_msg>Fix argument of write with rvalue reference<commit_after><|endoftext|>
<commit_before>// // Created by ariel on 10/30/16. // #include <iostream> #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include "Tower/Tower.h" #include "Tower/TowerMan.h" #include "Location/TileUtil.h" #include "State/StateManager.h" using std::cout; using std::endl; using Towers::Tower; using Towers::To...
<commit_before><commit_msg>automated merge<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2013 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 ...
<commit_before>#include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/io/openni_grabber.h> #include <pcl/visualization/cloud_viewer.h> #include <pcl/compression/octree_pointcloud_compression.h> #include <stdio.h> #include <sstream> #include <stdlib.h> #ifdef WIN32 # define sleep(x) Sleep((x)*1000) #...
<commit_before>/*---------------------------------------------------------------------------*\ * OpenSG * * * * ...
<commit_before>#ifndef NGS_ARCHIVE_BASE #define NGS_ARCHIVE_BASE namespace ngstd { class Archive { public: virtual bool Output () = 0; virtual bool Input () { return !Output(); } virtual Archive & operator & (double & d) = 0; virtual Archive & operator & (int & i) = 0; virtual Archive & ope...
<commit_before>#include <QCoreApplication> #include "Network.IRC.Server.hpp" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); Network::IRC::Server srv("irc.rizon.net", 9999, &a); srv.connect("testos", "Test-App", true); return a.exec(); } <commit_msg>Rewrite of main()<commit_after>#...
<commit_before>// Copyright 2015 Lluís Ulzurrun de Asanza Sàez #include <nds.h> #include <nds/debug.h> #include <sstream> #include "./debug.h" //------------------------------------------------------------------------------ // Graphic references //---------------------------------------------------------------------...
<commit_before>#include <limits> //#include <sys/stat.h> #include <cerrno> #include <cstring> #include <system_error> #include <iostream> #include <fstream> #include <vector> /* #include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <fcntl.h> #include <string.h> */ #ifdef _WIN32 #ifndef EFU_SIMPLEREAD...
<commit_before>#include <iostream> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <stdio.h> #include <stdlib.h> #include <cstring> #include <vector> using namespace std; void display_name() { /*char* login = getlogin(); if(!getlogin()) //displays the username perror("getlogin"); */ ch...
<commit_before>/* * LynxBot: a Twitch.tv IRC bot for Old School Runescape * Copyright (C) 2016 Alexei Frolov */ #include <cpr/cpr.h> #include <cstdio> #include <cstring> #include <fstream> #include <iostream> #include <regex> #include <string> #include <utils.h> #include "config.h" #include "lynxbot.h" #include "op...
<commit_before>#include <algorithm> #include <string> #include <iostream> #include <cassert> #include "subsequences.hpp" using std::cout; using std::endl; using std::size_t; using std::array; using std::ostream; template<class SubsetsIterator> bool last_subset_causes_counterexample ( SubsetsIterator subsets_beg...
<commit_before>#include <Refal2.h> using namespace Refal2; //----------------------------------------------------------------------------- // Constants const char* const UtilityName = "refal2"; //----------------------------------------------------------------------------- // CCommandLineOptions typedef std::vecto...
<commit_before>// // main.cpp // game_of_life // // Created by Chris Powell on 8/24/13. // Copyright (c) 2013 Prylis Inc. All rights reserved. // http://github.com/cpowell/game_of_life // You can redistribute and/or modify this software only in accordance with // the terms found in the "LICENSE" file included wi...
<commit_before>#include "cmd.h" #include <iostream> #include <cstdlib> #include <string> #include <cstring> #include <unistd.h> #include <stdio.h> #include <vector> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include <pwd.h> #include <queue> #include <fcntl.h> #include <sys/stat.h> using namespa...
<commit_before>#include <iostream> #include <cstdint> #include <algorithm> #include <memory> #include <stdio.h> #include <chrono> #include "config.hpp" // Machine core #include <dcpu_opcodes.hpp> #include <dcpu.hpp> // Devices #include <devices/gclock.hpp> #include <devices/gkeyboard.hpp> #include <devices/lem1802....
<commit_before>#include <algorithm> #include <chrono> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <memory> #include <sstream> #include <string> #include <vector> #include "init.h" #include "util.h" #include "version.h" using std::chrono::duration; using std::chrono::steady_clock;...
<commit_before>#include <QLabel> #include <QSurfaceFormat> #include <QCommandLineParser> #include <iostream> #include <stdio.h> #include <QMainWindow> #include <QDir> #include "scene/imagereader.h" #include "application.h" #ifndef QT_NO_OPENGL #include "projector.h" #endif struct ProjectorOptions { QString image...
<commit_before>/* * Blablub * * main.cpp */ #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <zmq.hpp> #include <iostream> #include <fstream> #include <cstring> #include <sstream> #include <boost/thread.hpp> #include <signal.h> #include <sys/inotify.h> #include <poll.h> #include "constant...
<commit_before>/* --------------------------------------------------------------------------- ** This software is in the public domain, furnished "as is", without technical ** support, and with no warranty, express or implied, as to its usefulness for ** any purpose. ** ** main.cpp ** ** ------------------------------...
<commit_before>#pragma once #include "game/bindings/bind_game_and_augs.h" #include "augs/global_libraries.h" #include "game/multiverse.h" #include "game/game_window.h" #include "game/resources/manager.h" #include "game/scene_managers/testbed.h" #include "game/scene_managers/resource_setups/all.h" #include...
<commit_before>/** @file @brief Save data from database to RAM (or hard drive in future version). @author Yi Zhao */ #include "main.h" /** @brief Save data from MYSQL_RES to RAM. @see localrow @remark Data saved in linked list.\n Usage:\n MYSQL_RES *result=mysql_store_result(mysql_conn);\n localrow *localresult;\n int...
<commit_before>#include "../core_include/api.h" #include "../core_include/resource.h" #include "../core_include/rect.h" #include "../core_include/bitmap.h" #include "../core_include/surface.h" void c_bitmap::draw_bitmap(c_surface* surface, int z_order, const BITMAP_INFO *pBitmap, int x, int y, unsigned int mask_rgb) {...
<commit_before>#include <limits> #include <algorithm> #include <array> #include <iomanip> #include <curl/curl.h> #include <memory> #include <string> #include <sstream> #include <iostream> #include <fstream> #include <vector> #include <sys/stat.h> #include <cerrno> #include <cstring> #include <system_error> #include <op...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/CopasiSE/CopasiSE.cpp,v $ $Revision: 1.18 $ $Name: $ $Author: shoops $ $Date: 2005/08/08 17:28:04 $ End CVS Header */ // Main // // (C) Stefan Hoops 2002 // #include <stdlib.h> #include <sstream> #include ...
<commit_before>54c75aee-2e3a-11e5-8980-c03896053bdd<commit_msg>54d4f1f4-2e3a-11e5-bf3a-c03896053bdd<commit_after>54d4f1f4-2e3a-11e5-bf3a-c03896053bdd<|endoftext|>
<commit_before>#include <stdlib.h> #include <argp.h> #include <stdio.h> #include <string> #include <iostream> #include "FatSystem.h" #include "FatPath.h" #include "FatChains.h" #include "FatBackup.h" #include "FatDiff.h" using namespace std; void usage() { cout << "fatcat v1.0, Gregwar <g.passault@gmail.com>" << ...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "attribute_reprocessing_initializer.h" #include <vespa/searchcore/proton/attribute/attribute_populator.h> #include <vespa/searchcore/proton/attribute/document_field_populator.h...
<commit_before>/* Original code from tekkies/CVdrone (get actual address from github) Modified by Elliot Greenlee, Caleb Mennen, Jacob Pollack COSC 402 Senior Design Min Kao Drone Tour See readme at (get actual address from github) */ #include "ardrone/ardrone.h" #include "control.h" #include "...
<commit_before>20bcc1b6-2f67-11e5-972a-6c40088e03e4<commit_msg>20c39c40-2f67-11e5-8783-6c40088e03e4<commit_after>20c39c40-2f67-11e5-8783-6c40088e03e4<|endoftext|>
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
<commit_before>81cf0df7-2d15-11e5-af21-0401358ea401<commit_msg>81cf0df8-2d15-11e5-af21-0401358ea401<commit_after>81cf0df8-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file...
<commit_before>9101adea-2d14-11e5-af21-0401358ea401<commit_msg>9101adeb-2d14-11e5-af21-0401358ea401<commit_after>9101adeb-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>#include "EBSDMesh.h" template<> InputParameters validParams<EBSDMesh>() { InputParameters params = validParams<GeneratedMesh>(); params.addRequiredParam<FileName>("filename", "The name of the file containing the EBSD data"); params.addParam<unsigned int>("uniform_refine", 0, "Number of coarsening...
<commit_before>6c9128b6-2fa5-11e5-8ef5-00012e3d3f12<commit_msg>6c92fd74-2fa5-11e5-bfe2-00012e3d3f12<commit_after>6c92fd74-2fa5-11e5-bfe2-00012e3d3f12<|endoftext|>
<commit_before>#include <iostream> #include <curses.h> #include <cmath> #include <algorithm> #include "Connection.h" #include "Configuration.h" static std::vector<Connection> connections; void offending() { std::vector<Process> processes; for (Connection& conn : connections) { if (!conn) break; ...
<commit_before>#include "project.h" #include "main_window.h" #include <QDebug> #include <QApplication> #include <QFileInfo> #include <QDir> #include <QVideoWidget> #include <QMediaPlayer> int main(int argc, char *argv[]) { QApplication a(argc, argv); a.setApplicationName(APP_NAME); a.setApplicationDispl...
<commit_before>#include "image_writer.h" #include "heatmap_writer.h" #include "json_writer.h" #include "logger.h" #include "parser.h" #include "logger.h" #include <boost/format.hpp> #include <boost/program_options.hpp> #include <fstream> #include <float.h> using namespace wotreplay; namespace po = boost::program_opt...
<commit_before>6e05fa1e-2e4f-11e5-aa1f-28cfe91dbc4b<commit_msg>6e106ea3-2e4f-11e5-84d1-28cfe91dbc4b<commit_after>6e106ea3-2e4f-11e5-84d1-28cfe91dbc4b<|endoftext|>
<commit_before>#include <cmath> #include <iostream> #include <memory> #include <sstream> #include <thread> #include "camera/perspective.h" #include "engine/cosine_debugger.h" #include "geom/point.h" #include "geom/rectangle.h" #include "geom/vector.h" #include "image/image.h" #include "model/obj.h" #include "node/grou...
<commit_before>#include "config.h" #include "dbmanager.h" #include "iconmanager.h" #include "mainwindow.h" #include "plugins/pluginmanager.h" #include "sqlhighlighter.h" #include "tabwidget/abstracttabwidget.h" #include "tools/logger.h" #include "widgets/querytextedit.h" #include <QtWidgets/QApplication> #include <QtW...
<commit_before>8c3d20e4-2d14-11e5-af21-0401358ea401<commit_msg>8c3d20e5-2d14-11e5-af21-0401358ea401<commit_after>8c3d20e5-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>#include <cstdio> #include <cstring> #include <em_chip.h> #include <em_cmu.h> #include <em_dbg.h> #include <em_device.h> #include <em_emu.h> #include <em_gpio.h> #include <gsl/span> #include <em_system.h> #include <FreeRTOS.h> #include <FreeRTOSConfig.h> #include <task.h> #include "SwoEn...
<commit_before>a971dd8c-35ca-11e5-a28d-6c40088e03e4<commit_msg>a97bbc3a-35ca-11e5-8933-6c40088e03e4<commit_after>a97bbc3a-35ca-11e5-8933-6c40088e03e4<|endoftext|>
<commit_before>/* This file is part of VROOM. Copyright (c) 2015-2021, Julien Coupey. All rights reserved (see LICENSE). */ #include <fstream> #include <iostream> #include <sstream> #ifndef _WIN32 #include <unistd.h> #endif #if USE_LIBOSRM #include "osrm/exception.hpp" #endif #include "../include/cxxopts/include/...
<commit_before>dd9480dc-585a-11e5-8711-6c40088e03e4<commit_msg>dd9b4022-585a-11e5-ae8a-6c40088e03e4<commit_after>dd9b4022-585a-11e5-ae8a-6c40088e03e4<|endoftext|>
<commit_before>void asignacion1() { // OMIT int a,b; // a:?, b:? a = 10; // a:10, b:? b = 4; // a:10, b:4 a = b; // a:4, b:4 b = 7; // a:4, b:7 printf("a:%d\tb:%d\n",a,b); } // OMIT void asignacion2() { // OMIT int m,n,p; // m:?, n:?, p:? // p = 5; // m:?, n:?, p:5 // n = p...
<commit_before>/** * Copyright (c) 2016-2018 mvs developers * * This file is part of metaverse-explorer. * * metaverse-explorer is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Soft...
<commit_before>6d43afd4-2fa5-11e5-b64f-00012e3d3f12<commit_msg>6d455d86-2fa5-11e5-931f-00012e3d3f12<commit_after>6d455d86-2fa5-11e5-931f-00012e3d3f12<|endoftext|>
<commit_before>/** \file rss_subset_aggregator.cc * \brief Aggregates RSS feeds. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2021 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * ...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // droppable_accumulator.hpp // // Copyright 2005 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #ifn...
<commit_before>/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
<commit_before>e8e39e78-ad58-11e7-9597-ac87a332f658<commit_msg>testing<commit_after>e9541778-ad58-11e7-a9eb-ac87a332f658<|endoftext|>
<commit_before>// Copyright 2017 Rick van Schijndel #include <Arduino.h> #include <stdio.h> #include <Bounce2.h> #include <U8g2lib.h> // assets #include "logo.xbm" #include "player.xbm" #include "obstacle.xbm" #include "asset.h" #include "player.h" #include "game.h" #include "screen_info.h" #ifdef U8X8_HAVE_HW_SPI...
<commit_before>#include "window.h" #include <cmath> // for sine stuff Window::Window() : plot( QString("Spectrum Analyer") ), gain(5), count(0) // <-- 'c++ initialisation list' - google it! { // set up the gain knob // knob.setValue(gain); help_text.setReadOnly(1); help_text.setText(infoStr); playBtn.setText("...
<commit_before>#include "opengl.h" #include <SDL.h> int Abs(int num) { return num > 0 ? num : -num; } int PingPong(int num, int length) { return length - Abs((num % (length * 2)) - length); } int main() { const int WindowWidth = 960; const int WindowHeight = 720; if (SDL_Init(SDL_INIT_EVERYTHING)) { SDL_Lo...
<commit_before>#include <iostream> #include <algorithm> #include <map> #include <string> #include <string.h> #include <vector> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <cstdio> #include <stdio.h> #include <vector> #include <stdlib.h> #include <errno.h> #include <fcntl.h> #include <diren...
<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "core/framework/debug_node_inputs_outputs_utils.h" #include <fstream> #include "gtest/gtest.h" #include "core/framework/tensorprotoutils.h" #include "core/platform/env.h" #include "core/platform/p...
<commit_before>d0e828fa-35ca-11e5-b697-6c40088e03e4<commit_msg>d0ee9c62-35ca-11e5-86de-6c40088e03e4<commit_after>d0ee9c62-35ca-11e5-86de-6c40088e03e4<|endoftext|>
<commit_before>#include <iostream> #include <boost/program_options.hpp> namespace po = boost::program_options; int main(int argc, char *argv[]) { // Declare the supported options. po::options_description desc("Allowed options"); desc.add_options() ("help", "produce help message"); po::va...