text
stringlengths
54
60.6k
<commit_before>#include "request.hh" #include <cstring> #include <memory> #include <string_view> #include <curl/curl.h> namespace aur { namespace { std::string UrlEscape(const std::string_view sv) { char* ptr = curl_easy_escape(nullptr, sv.data(), sv.size()); std::string escaped(ptr); curl_free(ptr); retu...
<commit_before>#include <QtWidgets> #include "seafile-applet.h" #include "utils/utils.h" #include "about-dialog.h" #ifdef HAVE_SPARKLE_SUPPORT #include "auto-update-service.h" namespace { } // namespace #endif AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent) { setupUi(this); setWindowTitle(...
<commit_before>/** * @file AvailableSoftware.C * @author Christian Holm Christensen <cholm@master.hehi.nbi.dk> * @date Tue Oct 16 17:54:11 2012 * * @brief Find available packages * * @ingroup pwglf_forward_trains_util */ #ifndef AVAILABLESOFTWARE_C #define AVAILABLESOFTWARE_C #ifndef __CINT__ # include ...
<commit_before>#pragma ident "$Id:$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published //...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 The Apache Software Foundation. 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. Redi...
<commit_before>#include "settingRegistry.h" #include <sstream> #include <iostream> // debug IO #include <libgen.h> // dirname #include <string> #include <algorithm> // find_if #include "utils/logoutput.h" #include "rapidjson/rapidjson.h" #include "rapidjson/document.h" #include "rapidjson/error/en.h" #include "rapid...
<commit_before>// // Robot.cpp // maproom-robot // // Created by Christopher Anderson on 2/18/17. // // #include "Robot.h" static const float kTolerance = 0.04f; static const float kHeartbeatTimeoutSec = 2.0f; static const float kCameraTimeoutSec = 0.5f; static const float kPenMovementTime = 0.1f; static const ...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 The Apache Software Foundation. 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. Redistr...
<commit_before>#include "implicit.h" #include "math_util.h" #include "transformed.h" #include <memory> static const scalar MIN_STEP = 0.0001; using std::make_shared; ImplicitSurface::ImplicitSurface(ImplicitEvalFunc f_, ImplicitGradFunc g_, scalar lipschitz_const, const bounds::AABB&...
<commit_before>#include <WPILib.h> #include "Subsystems/IntakeWheel.h" #include "Subsystems/IntakeHorizontal.h" #include "Subsystems/IntakeVertical.h" #include "Subsystems/Catapult.h" #include "Subsystems/CatapultFire.h" #include "Subsystems/Chassis.h" #include "Subsystems/Climber.h" #include "AutonCommands/1BallReturn...
<commit_before>/* Robot.cpp -- Implementation of Robot class Copyright (C) 2014 Tushar Pankaj This file is part of San Diego Robotics 101 Robosub. San Diego Robotics 101 Robosub is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis...
<commit_before>// Copyright 2011 Friedrich W. H. Kossebau <kossebau@kde.org> // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Syscoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <util/validation.h> #include <consensus/validation.h> #i...
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE** * CONDOR Copyright Notice * * See LICENSE.TXT for additional notices and disclaimers. * * Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department, * University of Wisconsin-Madison, Madison, WI. All Rights Reserved. * No ...
<commit_before>/* ** Copyright 1986, 1987, 1988, 1989, 1990, 1991 by the Condor Design Team ** ** Permission to use, copy, modify, and distribute this software and its ** documentation for any purpose and without fee is hereby granted, ** provided that the above copyright notice appear in all copies and that ** both ...
<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>#include "RoleBase.h" #include "Creature.h" #include "interface.h" #include "Action.h" #include "Utils.h" #include "NavigationFinder.h" #include "Engine.h" #include "World.h" #include "Object.h" #include "Avatar.h" CRoleBase::CRoleBase(void) { m_pCreature = NULL; m_pActionComplete = NULL; m_nOrceDire...
<commit_before>#include "action.h" #include "algebra.h" #include <cmath> #include <iostream> #include <typeinfo> bool action::act(int frame_number) { if (frame_number < get_start_frame()) {return true;} if (current_frame == 0) {will_start();} remaining_action = false; if (own_act()) {remaining_action = true;} // ...
<commit_before>//============================================================================ // Name : Application.cpp // Author : Rian van Gijlswijk // Description : Main application file. //============================================================================ #include "Application.h" #include <bo...
<commit_before>/// Project #include <Doremi/Core/Include/Manager/AI/AITargetManager.hpp> #include <PlayerHandlerServer.hpp> // Components #include <EntityComponent/EntityHandler.hpp> #include <EntityComponent/Components/TransformComponent.hpp> #include <EntityComponent/Components/RangeComponent.hpp> #include <EntityCo...
<commit_before>#define BOOST_TEST_MODULE "test_read_rectangular_box_interaction" #ifdef BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #else #include <boost/test/included/unit_test.hpp> #endif #include <mjolnir/core/SimulatorTraits.hpp> #include <mjolnir/core/BoundaryCondition.hpp> #include <mjolnir/input/re...
<commit_before>/* * Copyright (c) 2008-2009 * * School of Computing, University of Utah, * Salt Lake City, UT 84112, USA * * and the Gauss Group * http://www.cs.utah.edu/formal_verification * * See LICENSE for licensing information */ #include <iostream> #include <sstream> #include <memory> #i...
<commit_before>////////////////////////////////////////////////////////////////////////////// // // License Agreement: // // The following are Copyright 2008, Daniel nnerby // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provid...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // This source file is part of Hect. // // Copyright (c) 2016 Colin Hill // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software...
<commit_before>// Program.cpp (Oclgrind) // Copyright (c) 2013-2014, James Price and Simon McIntosh-Smith, // University of Bristol. All rights reserved. // // This program is provided under a three-clause BSD license. For full // license terms please see the LICENSE file distributed with this // source code. #include...
<commit_before>#include "sequence/details/Utils.hpp" #include <cassert> #include <cmath> #include <cstring> #include <algorithm> #include <bitset> #include <set> #include <utility> #include "sequence/Tools.hpp" #include "sequence/details/Hash.hpp" #include "sequence/details/StringView.hpp" #include "sequence/details...
<commit_before>#include "WirelessDiags.h" #include <linux/types.h> #include <sys/socket.h> // For sockets #include <fcntl.h> // For socket open #include <unistd.h> // For socket close #include <stdexcept> // For runtime_error #include <linux/wireless.h> // For wifi stats #include <sys/ioctl.h> // For comminication wi...
<commit_before>#include "Utils.hpp" #include <Log.hpp> #include <Mesh.hpp> #include <Model.hpp> #include <sstream> namespace Utils { std::string _mAssetPath; std::vector<std::string> _mAssetPaths; void SetAssetPath(const std::string& path) { //LogInfo("Setting Asset Path: %s\n", path.c_str(...
<commit_before> #include <stdio.h> #include <errno.h> #include <iostream> // for MakeDir #include <string> // for MakeDir #include <sys/stat.h> // for MakeDir #if defined _WIN32 || defined(__MINGW32__) #include "direct.h" #include <io.h> #endif // for directoruylistings #include <sys/types.h> #include <sys/dir.h> #i...
<commit_before>// Filename: IntValue.cpp #include "IntValue.h" #include <limits> // numeric_limits #include <stdexcept> // invalid_argument #include <typeinfo> // bad_cast #include "../bits/buffers.h" #include "../module/DistributedType.h" using namespace std; namespace bamboo { template<typename T> static inline...
<commit_before>/** * \file stereoCalibPrep.cpp * * \date Aug 6, 2013 * \author Michał Orynicz */ #include <boost/program_options.hpp> #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include "Catcher.hpp" #include "ConvenienceFunctions.hpp" const int USER_TRIGGERED_E...
<commit_before>// Copyright (c) 2011-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <qt/transactionfilterproxy.h> #include <qt/transactiontablemodel.h> #include <qt/transactionrecord.h...
<commit_before>#include "SPlotFit2.h" // from STL #include <string> // from ROOT #include "TIterator.h" // from RooFit #include "RooAbsArg.h" #include "RooCategory.h" #include "RooCmdArg.h" #include "RooDataHist.h" #include "RooDataSet.h" #include "RooLinkedListIter.h" #include "RooRealVar.h" #include "RooLinkedList...
<commit_before><commit_msg>TODO-606<commit_after><|endoftext|>
<commit_before>#include "tablet.hpp" #include "../core-impl.hpp" #include "../wm.hpp" #include "input-manager.hpp" #include <wayfire/signal-definitions.hpp> #include <linux/input-event-codes.h> extern "C" { #include <wlr/types/wlr_tablet_v2.h> } /* --------------------- Tablet tool implementation --------------------...
<commit_before>#include <iostream> #include <fstream> #include "SkipListNode.h" #include "RandomHeight.h" template <class Key, class Val> class SkipList { public: SkipList(float, int, Key*); ~SkipList(); bool insert(Key*, Val*); bool remove(Key*); Val* retrieve(Key*); ...
<commit_before>#include "Spectrum.h" Spectrum::Spectrum(uint16_t columns, uint16_t rows, uint16_t rowOffset, uint8_t hue, uint8_t saturation, bool invert, uint8_t travel, CRGB * leds) : Visualization(columns, rows, hue, saturation, leds) { this->rowOffset = rowOffset; this->invert = invert; this->t...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SdGlobalResourceContainer.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: kz $ $Date: 2008-04-03 14:53:33 $ * * The Contents of th...
<commit_before>#include <MockManager.h> #include <orbsvcs/CosNamingC.h> #include <acsutilPorts.h> namespace maci { /** Get a service, activating it if necessary (components). The client represented by id (the handle) must have adequate access rights to access the service. NOTE: a component i...
<commit_before>/* * * Copyright 2015, Google 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 must retain the above copyright * notice, thi...
<commit_before>#include <algorithm> #include <iomanip> #include <sstream> #include "url.h" #include "agent.h" #include "directive.h" namespace { std::string escape_url(Url::Url& url) { return url.defrag().escape().fullpath(); } std::string trim_front(const std::string& str, const char chr) ...
<commit_before>/******************************************************************************* * Copyright 2016 ROBOTIS 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...
<commit_before>/* * Copyright (c) 2013, Google 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 must retain the above copyright * notice, this ...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>/* Copyright (c) 2003, Arvid Norberg, Daniel Wallin 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, thi...
<commit_before>#include "TopicWriter.hh" #include <fcntl.h> #include <cassert> #include <cstdio> #include <unistd.h> #include <errno.h> using namespace praline; TopicWriter::TopicWriter(const std::string& topicName, Poco::Logger& logger) : dataFileM(topicName + ".data"), metaFileM(topicName + ".meta"), ...
<commit_before>/* * Interface for the widget registry managed by the translation * server. * * author: Max Kellermann <mk@cm4all.com> */ #include "widget_registry.hxx" #include "widget_class.hxx" #include "processor.h" #include "widget.hxx" #include "tcache.hxx" #include "translate_client.hxx" #include "translate...
<commit_before>#include <cstdio> #include <cstdlib> #include <locale> #include <string> #include <vector> #include <iv/stringpiece.h> #include <iv/ustringpiece.h> #include <iv/about.h> #include <iv/cmdline.h> #include <iv/lv5/lv5.h> #include <iv/lv5/teleporter/interactive.h> #include <iv/lv5/railgun/command.h> #include...
<commit_before>#ifndef __STAN__MATH__MATRIX__DISTANCE_HPP__ #define __STAN__MATH__MATRIX__DIST_HPP__ #include <stan/math/matrix/Eigen.hpp> #include <stan/meta/traits.hpp> #include <boost/math/tools/promotion.hpp> #include <stan/math/matrix/squared_distance.hpp> namespace stan { namespace math { /** * ...
<commit_before>/** \file benchmark_main.cpp * * Defines the "vg benchmark" subcommand, which runs and reports on microbenchmarks. */ #include <omp.h> #include <unistd.h> #include <getopt.h> #include <iostream> #include "subcommand.hpp" #include "../benchmark.hpp" #include "../version.hpp" #include "../vg.hpp" #...
<commit_before>// // main.cpp // HappyDevelopersDay // // Created by Valentine on 12.09.13. // Copyright (c) 2013 silvansky. All rights reserved. // #include <iostream> #include <time.h> #include "Internet.h" #include "Developer.h" int main(int argc, const char * argv[]) { time_t today = time(NULL); struct tm *...
<commit_before>2e8b48d0-2f67-11e5-921b-6c40088e03e4<commit_msg>2e925740-2f67-11e5-a226-6c40088e03e4<commit_after>2e925740-2f67-11e5-a226-6c40088e03e4<|endoftext|>
<commit_before>f1b696e8-ad5a-11e7-b4b4-ac87a332f658<commit_msg>For bobby to integrate at some point<commit_after>f24f6530-ad5a-11e7-8cc0-ac87a332f658<|endoftext|>
<commit_before>efc8b182-327f-11e5-96e8-9cf387a8033e<commit_msg>efcea5bd-327f-11e5-bb06-9cf387a8033e<commit_after>efcea5bd-327f-11e5-bb06-9cf387a8033e<|endoftext|>
<commit_before>dec80414-2e4e-11e5-bac3-28cfe91dbc4b<commit_msg>decf1178-2e4e-11e5-92ac-28cfe91dbc4b<commit_after>decf1178-2e4e-11e5-92ac-28cfe91dbc4b<|endoftext|>
<commit_before>9f23c5ca-ad5c-11e7-b868-ac87a332f658<commit_msg>TODO: Add a beter commit message<commit_after>9f9c2417-ad5c-11e7-8122-ac87a332f658<|endoftext|>
<commit_before>dfcc123a-327f-11e5-b744-9cf387a8033e<commit_msg>dfd7f50a-327f-11e5-85f1-9cf387a8033e<commit_after>dfd7f50a-327f-11e5-85f1-9cf387a8033e<|endoftext|>
<commit_before>9521a999-2e4f-11e5-99f6-28cfe91dbc4b<commit_msg>952827f0-2e4f-11e5-8cad-28cfe91dbc4b<commit_after>952827f0-2e4f-11e5-8cad-28cfe91dbc4b<|endoftext|>
<commit_before>#include <iostream> #include <vector> #include <string> #include <fstream> #include <sstream> #include <iomanip> #include <math.h> using namespace std; typedef double real; int main(int argc, char **argv){ vector<string> argList; for (int i=0; i<argc; i++){ argList.push_back(argv[i])...
<commit_before>f85feb2c-585a-11e5-8daf-6c40088e03e4<commit_msg>f866c174-585a-11e5-9ef8-6c40088e03e4<commit_after>f866c174-585a-11e5-9ef8-6c40088e03e4<|endoftext|>
<commit_before>#include <stdio.h> #include "serial.h" #include <stdlib.h> #include <sys/time.h> #include <unistd.h> #include "config.h" #include "lut.h" botPacket command; Serial sPort; Leg_Config makeLeg(int theta1,int theta2,int theta3,int theta4) { Leg_Config leg; leg.theta[0] = theta1; leg.theta[1] =...
<commit_before>a6685aa6-327f-11e5-a555-9cf387a8033e<commit_msg>a66e6d11-327f-11e5-9fd6-9cf387a8033e<commit_after>a66e6d11-327f-11e5-9fd6-9cf387a8033e<|endoftext|>
<commit_before>#include "Engine.h" #include "interface.h" #include "GameMain.h" #include "Console.h" #include "direct.h" #include "HMDWrapper.h" #include "EngineConsole.h" #include "FileSystem.h" int main(int argc, char* argv[]) { #ifdef USE_HMD g_pHMD->Init(); int useHmd = g_pHMD->GetUseHMD(); if (useHmd) { ...
<commit_before>#include <iostream> #include <string> #include <vector> #include <list> #include "opencv.hpp" using namespace cv; using namespace std; using namespace flann; static const double PI = 3.1415926536; struct Options { int threshold; double subsample; // 0..1 -> size on load }; struct Star { double x,...
<commit_before>4d50afb3-2e4f-11e5-9c1f-28cfe91dbc4b<commit_msg>4d57110c-2e4f-11e5-8574-28cfe91dbc4b<commit_after>4d57110c-2e4f-11e5-8574-28cfe91dbc4b<|endoftext|>
<commit_before>9101ae28-2d14-11e5-af21-0401358ea401<commit_msg>9101ae29-2d14-11e5-af21-0401358ea401<commit_after>9101ae29-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>65f850f4-2fa5-11e5-bf3c-00012e3d3f12<commit_msg>65fa4cc6-2fa5-11e5-9526-00012e3d3f12<commit_after>65fa4cc6-2fa5-11e5-9526-00012e3d3f12<|endoftext|>
<commit_before>759e1e70-2d53-11e5-baeb-247703a38240<commit_msg>759e9c74-2d53-11e5-baeb-247703a38240<commit_after>759e9c74-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>792a212e-2d53-11e5-baeb-247703a38240<commit_msg>792aaba8-2d53-11e5-baeb-247703a38240<commit_after>792aaba8-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>923345ca-4b02-11e5-831e-28cfe9171a43<commit_msg>more fixes<commit_after>92413c85-4b02-11e5-b484-28cfe9171a43<|endoftext|>
<commit_before>#include "clang/AST/ASTConsumer.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Frontend/FrontendAction.h" #include "clang/Tooling/CommonOptionsParser.h" #include "clang/Tooling/Tooling.h" #include "clang/Lex/Preprocessor.h" #include <iostream> ...
<commit_before>86936f6a-2d15-11e5-af21-0401358ea401<commit_msg>86936f6b-2d15-11e5-af21-0401358ea401<commit_after>86936f6b-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>f1793d7e-585a-11e5-a2a7-6c40088e03e4<commit_msg>f18021c8-585a-11e5-ae03-6c40088e03e4<commit_after>f18021c8-585a-11e5-ae03-6c40088e03e4<|endoftext|>
<commit_before>3b65d882-2e3a-11e5-9da7-c03896053bdd<commit_msg>3b72fa46-2e3a-11e5-887b-c03896053bdd<commit_after>3b72fa46-2e3a-11e5-887b-c03896053bdd<|endoftext|>
<commit_before>408a5ba6-2d3d-11e5-8a33-c82a142b6f9b<commit_msg>40ff5b5e-2d3d-11e5-ba59-c82a142b6f9b<commit_after>40ff5b5e-2d3d-11e5-ba59-c82a142b6f9b<|endoftext|>
<commit_before>65d43f6e-2e3a-11e5-a5c3-c03896053bdd<commit_msg>65e3d2a8-2e3a-11e5-ad86-c03896053bdd<commit_after>65e3d2a8-2e3a-11e5-ad86-c03896053bdd<|endoftext|>
<commit_before>2f9af4d2-2f67-11e5-ac19-6c40088e03e4<commit_msg>2fa3a7e4-2f67-11e5-bb03-6c40088e03e4<commit_after>2fa3a7e4-2f67-11e5-bb03-6c40088e03e4<|endoftext|>
<commit_before>cbcbac78-2d3c-11e5-b61d-c82a142b6f9b<commit_msg>cc3059e8-2d3c-11e5-ab2d-c82a142b6f9b<commit_after>cc3059e8-2d3c-11e5-ab2d-c82a142b6f9b<|endoftext|>
<commit_before>cf8b1562-35ca-11e5-858c-6c40088e03e4<commit_msg>cf953fcc-35ca-11e5-83fe-6c40088e03e4<commit_after>cf953fcc-35ca-11e5-83fe-6c40088e03e4<|endoftext|>
<commit_before>8e44baca-2e4f-11e5-9f99-28cfe91dbc4b<commit_msg>8e4c6ed4-2e4f-11e5-b2ed-28cfe91dbc4b<commit_after>8e4c6ed4-2e4f-11e5-b2ed-28cfe91dbc4b<|endoftext|>
<commit_before>78db18c2-2d53-11e5-baeb-247703a38240<commit_msg>78db98d8-2d53-11e5-baeb-247703a38240<commit_after>78db98d8-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>2be846b8-5216-11e5-b1e0-6c40088e03e4<commit_msg>2befb128-5216-11e5-abf3-6c40088e03e4<commit_after>2befb128-5216-11e5-abf3-6c40088e03e4<|endoftext|>
<commit_before>a1558eab-2e4f-11e5-99ae-28cfe91dbc4b<commit_msg>a15be680-2e4f-11e5-ace6-28cfe91dbc4b<commit_after>a15be680-2e4f-11e5-ace6-28cfe91dbc4b<|endoftext|>
<commit_before>71fe4568-2e4f-11e5-b9b5-28cfe91dbc4b<commit_msg>7204dcf3-2e4f-11e5-a99f-28cfe91dbc4b<commit_after>7204dcf3-2e4f-11e5-a99f-28cfe91dbc4b<|endoftext|>
<commit_before>0455e0b4-585b-11e5-991c-6c40088e03e4<commit_msg>0460282e-585b-11e5-b65b-6c40088e03e4<commit_after>0460282e-585b-11e5-b65b-6c40088e03e4<|endoftext|>
<commit_before>e82d8a4c-2e4e-11e5-a71b-28cfe91dbc4b<commit_msg>e835b1de-2e4e-11e5-8e43-28cfe91dbc4b<commit_after>e835b1de-2e4e-11e5-8e43-28cfe91dbc4b<|endoftext|>
<commit_before>c072023e-35ca-11e5-a72c-6c40088e03e4<commit_msg>c0787b52-35ca-11e5-9a73-6c40088e03e4<commit_after>c0787b52-35ca-11e5-9a73-6c40088e03e4<|endoftext|>
<commit_before>e6f08a57-2747-11e6-b2ce-e0f84713e7b8<commit_msg>OKAY this time it should work<commit_after>e6fecd28-2747-11e6-a1d7-e0f84713e7b8<|endoftext|>
<commit_before>//c and posix #include <stdio.h> #include <unistd.h> #include <string.h> #include <sys/socket.h> #include <netinet/in.h> //c++ #include <string> #include <fstream> #include <iostream> #include <thread> #include <vector> #include <queue> #include <mutex> #include <condition_variable> #include <future> c...
<commit_before>5794e3a4-2e3a-11e5-8977-c03896053bdd<commit_msg>57a141f8-2e3a-11e5-bd50-c03896053bdd<commit_after>57a141f8-2e3a-11e5-bd50-c03896053bdd<|endoftext|>
<commit_before>975b0a5a-35ca-11e5-88bb-6c40088e03e4<commit_msg>9766089a-35ca-11e5-bf49-6c40088e03e4<commit_after>9766089a-35ca-11e5-bf49-6c40088e03e4<|endoftext|>
<commit_before>#include <iostream> #include <sched.h> #include <stdlib.h> #include <sys/wait.h> #include <errno.h> #include <unistd.h> #include <sys/utsname.h> #include <string> int run(void* arg) { const std::string name = "funny-name"; struct utsname uts; sethostname((const char *) name.c_str(), name.size()); ...
<commit_before>5db81792-5216-11e5-b280-6c40088e03e4<commit_msg>5dbe98ae-5216-11e5-86a4-6c40088e03e4<commit_after>5dbe98ae-5216-11e5-86a4-6c40088e03e4<|endoftext|>
<commit_before>a7092f02-35ca-11e5-8b64-6c40088e03e4<commit_msg>a70fbe6c-35ca-11e5-b6e0-6c40088e03e4<commit_after>a70fbe6c-35ca-11e5-b6e0-6c40088e03e4<|endoftext|>
<commit_before>7b0b5d90-5216-11e5-9152-6c40088e03e4<commit_msg>7b11d2ba-5216-11e5-89fa-6c40088e03e4<commit_after>7b11d2ba-5216-11e5-89fa-6c40088e03e4<|endoftext|>
<commit_before>feaad5f5-2e4e-11e5-bb15-28cfe91dbc4b<commit_msg>feb17abd-2e4e-11e5-8364-28cfe91dbc4b<commit_after>feb17abd-2e4e-11e5-8364-28cfe91dbc4b<|endoftext|>
<commit_before>ab000061-2747-11e6-9bcc-e0f84713e7b8<commit_msg>fixed bug<commit_after>abc035ba-2747-11e6-bf79-e0f84713e7b8<|endoftext|>
<commit_before>608d8f59-2e4f-11e5-9df6-28cfe91dbc4b<commit_msg>60949891-2e4f-11e5-a0d4-28cfe91dbc4b<commit_after>60949891-2e4f-11e5-a0d4-28cfe91dbc4b<|endoftext|>
<commit_before>42df6ac6-2e3a-11e5-b443-c03896053bdd<commit_msg>42ecdab0-2e3a-11e5-8da1-c03896053bdd<commit_after>42ecdab0-2e3a-11e5-8da1-c03896053bdd<|endoftext|>
<commit_before>81cf0e33-2d15-11e5-af21-0401358ea401<commit_msg>81cf0e34-2d15-11e5-af21-0401358ea401<commit_after>81cf0e34-2d15-11e5-af21-0401358ea401<|endoftext|>