text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 2009 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 "config.h" #include <wtf/HashSet.h> #include <wtf/RefPtr.h> #include <wtf/Vector.h> #include "Document.h" #include "Frame.h"...
<commit_before> /* * 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 "SkTypes.h" #if defined(SK_BUILD_FOR_WIN) #include <GL/gl.h> #include <d3d9.h> #include <WindowsX.h> #include "SkWindow.h" #include "SkCanvas.h" #inc...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: LTables.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-08 05:48:22 $ * * The Contents of this file are made a...
<commit_before>#include "TextField.h" const int TextField::ALIGN_LEFT = PANGO_ALIGN_LEFT; const int TextField::ALIGN_RIGHT = PANGO_ALIGN_RIGHT; const int TextField::ALIGN_CENTER = PANGO_ALIGN_CENTER; TextField::TextField() { pango = new ofxPango(); context = NULL; layout = NULL; fd = NULL; changed = false; ...
<commit_before>#include "backuplistwidget.h" #include "backuplistitem.h" #include "debug.h" #include "utils.h" #include <QDropEvent> #include <QFileInfo> #include <QMessageBox> #include <QMimeData> #include <QSettings> BackupListWidget::BackupListWidget(QWidget *parent) : QListWidget(parent) { QSettings setting...
<commit_before>// Copyright (c) 2006, 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>#include "recent_file_cache.h" #include <chrono> #include <iomanip> #include <iostream> #include <memory> #include <queue> #include <sstream> #include <string> #include <unordered_map> #include <utility> #include <uv.h> #include <vector> #include "../helper/common.h" #include "../helper/libuv.h" #inclu...
<commit_before>/***************************************************************************** * icon_view.cpp : Icon view for the Playlist **************************************************************************** * Copyright © 2010 the VideoLAN team * $Id$ * * Authors: Jean-Baptiste Kempf <jb@videolan....
<commit_before>#include "include/calculator.h" #include <assert.h> Calculator::Calculator(MoveListener *lis) : Constructor(lis) {} Calculator::~Calculator() {} const Point *Calculator::get_point(constr_num n, bool on_y_axis) { Point *p; if (on_y_axis) p = new Point(0, n); else p = new Poi...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>//-------------------------------------------------------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please re...
<commit_before><commit_msg>Prediction: use obstacle id to group obstacles, instead<commit_after><|endoftext|>
<commit_before>/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License....
<commit_before>/* * fMBT, free Model Based Testing tool * Copyright (c) 2012 Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, * version 2.1, as published by the Free Software Foundation. * * ...
<commit_before> // Copyright (c) 2008-2009, Regents of the University of Colorado. // This work was supported by NASA contracts NNJ05HE10G, NNC06CB40C, and // NNC07CB47C. #include <QGridLayout> #include <QPushButton> #include <QLineEdit> #include <QString> #include <cstdlib> #include <cstdio> #include <...
<commit_before>// Copyright (c) 2016 Jack Grigg // Copyright (c) 2016 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <algorithm> #include <cassert> // Checks if the intersection of a.indices and b...
<commit_before>#include <supermarx/serialization/msgpack_deserializer.hpp> #include <cstring> namespace supermarx { msgpack_deserializer::msgpack_deserializer() : pac() , pac_result() , stack() {} msgpack_deserializer::~msgpack_deserializer() {} msgpack_deserializer::stack_e::stack_e(const msgpack::object* _obj...
<commit_before>/* * Copyright © 2014 Mozilla Foundation * * This program is made available under an ISC-style license. See the * accompanying file LICENSE for details. */ #include <cmath> #include <cassert> #include <cstring> #include <cstddef> #include <cstdio> #if defined(HAVE_CONFIG_H) #include "config.h" #end...
<commit_before>#pragma once #ifndef CUDA_STREAM_H_ #define CUDA_STREAM_H_ #include "cuda/api/types.h" #include "cuda/api/error.hpp" #include "cuda/api/kernel_launch.cuh" #include "cuda/api/current_device.hpp" #include "cuda/api/device_count.hpp" #include <cuda_runtime_api.h> #include <string> #include <functional> ...
<commit_before>/* * consumer_qglsl.cpp * Copyright (C) 2012-2014 Dan Dennedy <dan@dennedy.org> * * This library 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...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, Willow Garage, 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...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2016 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>/* * Copyright (C) 2012 * Alessio Sclocco <a.sclocco@vu.nl> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any lat...
<commit_before>#include "depthviewwindow.h" #include "ui_depthviewwindow.h" #include "exportdialog.h" #include "settingswindow.h" #include "version.h" #include "renderers.h" #include <QKeyEvent> #include <QFileDialog> #include <QDebug> #include <QMessageBox> #include <QTime> #include <QMimeData> #include <QUrl> DepthV...
<commit_before>////////////////////////////////////////////////// // // ChCModelGPU.cpp // // ------------------------------------------------ // Copyright:Alessandro Tasora / DeltaKnowledge // www.deltaknowledge.com // ------------------------------------------------ ///////////////////////////////...
<commit_before>/*========================================================================= Program: Visualization Library Module: Interact.hh Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reprod...
<commit_before>#include "../NULLC/nullc.h" #if defined(_MSC_VER) #pragma warning(disable: 4996) #endif #include <stdio.h> #include <string.h> #include <stdlib.h> const char* translationDependencies[128]; unsigned translationDependencyCount = 0; void AddDependency(const char *fileName) { if(translati...
<commit_before> /* * 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 "gl/GrGLInterface.h" #include "../GrGLUtil.h" #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <GL/GL.h> /* * Windows makes the GL funcs a...
<commit_before>/* * Copyright 2016 - 2021 gary@drinkingtea.net * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <ox/claw/read.hpp> #include "pack.hp...
<commit_before>#include <map> #include <vector> #include <string> #include <time.h> #include "NFComm/NFPluginModule/NFIPluginManager.h" #include "NFComm/NFCore/NFQueue.h" #include "NFComm/RapidXML/rapidxml.hpp" #include "NFComm/RapidXML/rapidxml_iterators.hpp" #include "NFComm/RapidXML/rapidxml_print.hpp" #include "NFC...
<commit_before>#include <sstream> #include <iostream> #include <QDir> #include <QDebug> #include <QFileInfo> #include <QEventLoop> #include <QMutexLocker> #include <QNetworkReply> #include <QNetworkRequest> #include <QCoreApplication> #include "Util.h" #include "Downloader.h" #include "DownloadTask.h" BEGIN_NAMESPAC...
<commit_before>/** * Appcelerator Kroll - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved. */ #include "../utils.h" namespace UTILS_NS { namespace Win32Utils { std::string QuickFormatMessage(DWORD e...
<commit_before>//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>/* Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2017, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions apply: * * This program is free software: you can redistribute it and/or m...
<commit_before>/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkTileGrid.h" SkTileGrid::SkTileGrid(int xTiles, int yTiles, const SkTileGridFactory::TileGridInfo& info) : fXTiles(xTiles) , fYTiles(yTiles)...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>/*FPL_AUTO_NAMESPACE ******************************************************************************* FPL Simple Audio Playback Demo ******************************************************************************* This demo plays a contiguous sine or square wave in the expected S16 format. - You fill out ...
<commit_before>/* * Copyright 2011 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkAdvancedTypefaceMetrics.h" #include "SkFontDescriptor.h" #include "SkFontHost.h" #include "SkFontStream.h" #include "SkStream.h"...
<commit_before> <commit_msg>Delete 1.cpp<commit_after><|endoftext|>
<commit_before>/** * @file manager.hpp * @brief COSSB component manager * @author Byunghun Hwang<bhhwang@nsynapse.com> * @date 2015. 6. 21 * @details */ #ifndef _COSSB_MANAGER_HPP_ #define _COSSB_MANAGER_HPP_ #include <map> #include <vector> #include <string> #include "arch/singleton.hpp" #i...
<commit_before>/**************************************************************************** * * Copyright (c) 2013 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
<commit_before>#ifndef INCLUDED_TOBY_VARIANT_H #define INCLUDED_TOBY_VARIANT_H #include "overload_set.hpp" #include <cstddef> #include <stdexcept> #include <spdlog/sinks/null_sink.h> #include <spdlog/spdlog.h> namespace toby { namespace detail { inline auto logger() { auto l = spdlog::get("variant"); if (l) { ...
<commit_before>/******************************************************************** * Description: inijoint.cc * INI file initialization routines for joint/axis NML * * Derived from a work by Fred Proctor & Will Shackleford * * Author: * License: GPL Version 2 * System: Linux * * Copyright (c) 2004-2009 All ri...
<commit_before>/*************************************************************************** * Copyright (c) 2015 Stefan Tröger <stefantroeger@gmx.net> * * * * This file is part of the FreeCAD CAx development system. ...
<commit_before>// Copyright (C) 2012 Jérôme Leclercq // This file is part of the "Nazara Engine - Renderer module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Renderer/OpenGL.hpp> #include <Nazara/Renderer/HardwareBuffer.hpp> #include <Nazara/Core/Error.hpp> #include ...
<commit_before>/* Copyright 2009 SPARTA, Inc., dba Cobham Analytic Solutions * * This file is part of WATCHER. * * WATCHER is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either vers...
<commit_before>#include "nanodbc.h" #include "example_unicode_utils.h" #include <algorithm> #include <array> #include <codecvt> #include <cstring> #include <iomanip> #include <iostream> #include <stdexcept> #include <string> #ifdef _WIN32 #define NOMINMAX #include <windows.h> // SQLLEN, SQLULEN, SQLHWND #endif #inclu...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<commit_before>/*************************************************************************** * algo/test_parallel_sort.cpp * * Part of the STXXL. See http://stxxl.sourceforge.net * * Copyright (C) 2007 Johannes Singler <singler@ira.uka.de> * Copyright (C) 2008 Andreas Beckmann <beckmann@cs.uni-frankfurt.de> *...
<commit_before>// // a21 — Arduino Toolkit. // Copyright (C) 2016-2017, Aleh Dzenisiuk. http://github.com/aleh/a21 // #include <Arduino.h> #include <util/delay.h> #include "pcd8544fonts.hpp" namespace a21 { /** * Basic wrapper for a PCD8544 LCD display (such as the one that was used on Nokia 5110) with softwate S...
<commit_before>/* (c) Copyright 2000 convergence integrated media GmbH. All rights reserved. Written by Denis Oliver Kropp <dok@convergence.de> and Andreas Hundt <andi@convergence.de>. The contents of this software are proprietary and confidential to convergence integrated media GmbH. ...
<commit_before>#include<iostream> #include<fstream> #include<cstdlib> #include<cstring> #include<string> #include<ctime> using namespace std; int main() { time_t timer; tm *t; int is_done = 0; timer = time(NULL); t = localtime(&timer); if((t->tm_hour > 7) && ((t->tm_hour < 16)||((t->tm_hour==...
<commit_before>// (C) 2014 Arek Olek #include <unordered_map> #include <boost/graph/adjacency_matrix.hpp> #include "debug.hpp" namespace detail { boost::adjacency_matrix<boost::undirectedS> typedef graph; template <class Input, class Output> void copy_edges(const Input& in, Output& out) { auto es = edges...
<commit_before>// (C) 2014 Arek Olek #include <functional> #include <unordered_map> #include <boost/functional/hash.hpp> #include <boost/graph/adjacency_matrix.hpp> #include "debug.hpp" namespace detail { boost::adjacency_matrix<boost::undirectedS> typedef graph; template <class Input, class Output> void cop...
<commit_before>#include <node.h> #include <v8.h> #include <unistd.h> #include <string.h> #include <string> #include <cstring> using namespace v8; char* ValueToChar(Handle<Value> val) { String::Utf8Value s(val->ToString()); return (char*)std::string(*s, s.length()).data(); } char** Params(const Arguments& ar...
<commit_before>/* Copyright 2013,2014 Marko Dimjašević, Simone Atzeni, Ivo Ugrina, Zvonimir Rakamarić This file is part of maline. maline is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either versio...
<commit_before>#include <cstdlib> #include <iostream> #include "mipp_scalar_op.h" template <typename T> T mipp_scop::andb(const T val1, const T val2) { return val1 & val2; } template < > float mipp_scop::andb(const float val1, const float val2) { return ...
<commit_before><commit_msg>SampleApp: fixed initialization of m_pEngineFactory in Metal mode<commit_after><|endoftext|>
<commit_before>7e791939-2d15-11e5-af21-0401358ea401<commit_msg>7e79193a-2d15-11e5-af21-0401358ea401<commit_after>7e79193a-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>#include <iostream> #include <string> #include <sstream> #include <cstdlib> #include <vector> #include <fstream> #include <ctime> #include "Map.h" #include "Zombie.h" #include "Player.h" #include "Plant.h" using namespace std; bool allZombiesDie(const Zombie * zombie, size_t num); int main() { //ga...
<commit_before>c88d76ee-2747-11e6-949c-e0f84713e7b8<commit_msg>fixes, fixes for everyone<commit_after>c93a6f21-2747-11e6-8a87-e0f84713e7b8<|endoftext|>
<commit_before>6d89f92e-5216-11e5-8612-6c40088e03e4<commit_msg>6d90b464-5216-11e5-b75c-6c40088e03e4<commit_after>6d90b464-5216-11e5-b75c-6c40088e03e4<|endoftext|>
<commit_before>809e9294-2d15-11e5-af21-0401358ea401<commit_msg>809e9295-2d15-11e5-af21-0401358ea401<commit_after>809e9295-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>50c7aa23-2e4f-11e5-ba23-28cfe91dbc4b<commit_msg>50ce6bc0-2e4f-11e5-9bf6-28cfe91dbc4b<commit_after>50ce6bc0-2e4f-11e5-9bf6-28cfe91dbc4b<|endoftext|>
<commit_before>6c7f3ac6-5216-11e5-91d1-6c40088e03e4<commit_msg>6c860da6-5216-11e5-8f47-6c40088e03e4<commit_after>6c860da6-5216-11e5-8f47-6c40088e03e4<|endoftext|>
<commit_before>5cb64e87-2748-11e6-b1ce-e0f84713e7b8<commit_msg>Backup, rebase this later<commit_after>5ccb2de3-2748-11e6-8abd-e0f84713e7b8<|endoftext|>
<commit_before>25e25451-ad5d-11e7-9f29-ac87a332f658<commit_msg>oh my, I hate roselyn<commit_after>264cdecf-ad5d-11e7-a76a-ac87a332f658<|endoftext|>
<commit_before>683129f4-2fa5-11e5-b37c-00012e3d3f12<commit_msg>683373e4-2fa5-11e5-9eb1-00012e3d3f12<commit_after>683373e4-2fa5-11e5-9eb1-00012e3d3f12<|endoftext|>
<commit_before>63ca22b8-5216-11e5-b442-6c40088e03e4<commit_msg>63d0962c-5216-11e5-a457-6c40088e03e4<commit_after>63d0962c-5216-11e5-a457-6c40088e03e4<|endoftext|>
<commit_before>d40b83e6-ad5b-11e7-86fb-ac87a332f658<commit_msg>Finished?<commit_after>d4873fa3-ad5b-11e7-8f6c-ac87a332f658<|endoftext|>
<commit_before>76599c3a-5216-11e5-8d75-6c40088e03e4<commit_msg>766046f4-5216-11e5-8c27-6c40088e03e4<commit_after>766046f4-5216-11e5-8c27-6c40088e03e4<|endoftext|>
<commit_before>e9e461fe-585a-11e5-b987-6c40088e03e4<commit_msg>e9eb21cc-585a-11e5-888e-6c40088e03e4<commit_after>e9eb21cc-585a-11e5-888e-6c40088e03e4<|endoftext|>
<commit_before>/* * main.cpp * * Created on: Apr 9, 2014 * Author: Pimenta */ #include <cmath> #include <cstdint> #include <cstdio> #include <fstream> #include <string> using namespace std; typedef int64_t word_t; typedef uint64_t uword_t; typedef uint32_t address_t; #ifndef MEM_WORDS...
<commit_before>#include <iostream> #include <cmath> using std::cin; using std::cout; using std::endl; uint f(uint n) { switch(n) { case 0: case 1: case 2: return 1; case 3: return 2; default: uint k = ceil(-0.5+sqrt(1+8*n)/2); uint res = 0; for (uint i = k; i <= n; ++i) { res += f(n-k); } re...
<commit_before>f0958b33-327f-11e5-a323-9cf387a8033e<commit_msg>f09ba011-327f-11e5-ac88-9cf387a8033e<commit_after>f09ba011-327f-11e5-ac88-9cf387a8033e<|endoftext|>
<commit_before>105011ac-2f67-11e5-a654-6c40088e03e4<commit_msg>105715ec-2f67-11e5-b329-6c40088e03e4<commit_after>105715ec-2f67-11e5-b329-6c40088e03e4<|endoftext|>
<commit_before>#include <stdint.h> #ifdef __cplusplus #include <cstdlib> #else #include <stdlib.h> #endif #ifdef __APPLE__ #include <SDL/SDL.h> #else #include <SDL.h> #endif #define round(x) ((x)>=0?(int16_t)((x)+0.5):(int16_t)((x)-0.5)) #include "constants.h" #include "RenderingContext.h" #include "AmsFont.h" #inc...
<commit_before>#include <iostream> #include <math.h> #include <vector> #include <random> #include <algorithm> // std::sort #include <fstream> //random generator std::random_device rd; std::mt19937 generator(rd()); std::uniform_real_distribution<double> uniform_distr(-1, 1); #define population 100 #define eliti...
<commit_before>912fb388-35ca-11e5-8b66-6c40088e03e4<commit_msg>91367c1e-35ca-11e5-98d9-6c40088e03e4<commit_after>91367c1e-35ca-11e5-98d9-6c40088e03e4<|endoftext|>
<commit_before>7760ae44-2d53-11e5-baeb-247703a38240<commit_msg>77613166-2d53-11e5-baeb-247703a38240<commit_after>77613166-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>9101ad76-2d14-11e5-af21-0401358ea401<commit_msg>9101ad77-2d14-11e5-af21-0401358ea401<commit_after>9101ad77-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>b4b7a9f5-327f-11e5-85dc-9cf387a8033e<commit_msg>b4bde473-327f-11e5-9967-9cf387a8033e<commit_after>b4bde473-327f-11e5-9967-9cf387a8033e<|endoftext|>
<commit_before>b6aa3bee-2747-11e6-baae-e0f84713e7b8<commit_msg>update testing<commit_after>b6be830f-2747-11e6-a371-e0f84713e7b8<|endoftext|>
<commit_before>#include <iostream> #include <tuple> #include <functional> template<size_t _I> struct _Index { using _Next = _Index<_I+1>; static const size_t value = _I; }; template<typename _Cs, typename _I> struct _Evaluate { template<typename _Values> inline static void _evaluate(const _Cs &cs,...
<commit_before>#include "overnet.h" #include "event.h" #include "event_scheduler.h" #include "network.h" #include "util.h" #include <iostream> #include <string> #include <sstream> #include <cmath> //default setting vector<UINT32> Stat::Ping_per_node; vector<UINT32> Stat::Storage_per_node; //GNRS storage overhead vecto...
<commit_before>5ae7ecc8-2d16-11e5-af21-0401358ea401<commit_msg>5ae7ecc9-2d16-11e5-af21-0401358ea401<commit_after>5ae7ecc9-2d16-11e5-af21-0401358ea401<|endoftext|>
<commit_before> #include <cstring> #include <iostream> #include <cstdio> #include <cstdlib> #include <array> #include "config.h" #include <mpr/mpr_cpp.h> #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> #endif using namespace mpr; int received = 0; int verbose = 1; int terminate = 0; class out_stream : public std...
<commit_before>9a3cd254-35ca-11e5-85e2-6c40088e03e4<commit_msg>9a43c32e-35ca-11e5-adab-6c40088e03e4<commit_after>9a43c32e-35ca-11e5-adab-6c40088e03e4<|endoftext|>
<commit_before>809e91e0-2d15-11e5-af21-0401358ea401<commit_msg>809e91e1-2d15-11e5-af21-0401358ea401<commit_after>809e91e1-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>e3e263c8-585a-11e5-898d-6c40088e03e4<commit_msg>e3e9f93a-585a-11e5-bb69-6c40088e03e4<commit_after>e3e9f93a-585a-11e5-bb69-6c40088e03e4<|endoftext|>
<commit_before>4d0f072e-2748-11e6-9a4d-e0f84713e7b8<commit_msg>This'll fix that<commit_after>4d2a9207-2748-11e6-b5c0-e0f84713e7b8<|endoftext|>
<commit_before>9101ada8-2d14-11e5-af21-0401358ea401<commit_msg>9101ada9-2d14-11e5-af21-0401358ea401<commit_after>9101ada9-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>2e24fd80-2f67-11e5-86b3-6c40088e03e4<commit_msg>2e2b8762-2f67-11e5-9387-6c40088e03e4<commit_after>2e2b8762-2f67-11e5-9387-6c40088e03e4<|endoftext|>
<commit_before>#include <cstdio> #include <list> #include <vector> #include <stack> #define WHITE -1 typedef std::vector< std::list<int> > graph; typedef std::list<int>::iterator iter; int output1 = 0, output2 = 0, output3 = 0; void DFS_visit(graph &g, int v, int color[], std::stack<int> &stack) { color[v] = !W...
<commit_before>c1bd23a8-35ca-11e5-b78c-6c40088e03e4<commit_msg>c1c3c582-35ca-11e5-a8c6-6c40088e03e4<commit_after>c1c3c582-35ca-11e5-a8c6-6c40088e03e4<|endoftext|>
<commit_before>059b25f8-2f67-11e5-bd1e-6c40088e03e4<commit_msg>05a1c5de-2f67-11e5-b4e1-6c40088e03e4<commit_after>05a1c5de-2f67-11e5-b4e1-6c40088e03e4<|endoftext|>
<commit_before>809e91d3-2d15-11e5-af21-0401358ea401<commit_msg>809e91d4-2d15-11e5-af21-0401358ea401<commit_after>809e91d4-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>a19cc2d4-327f-11e5-a7db-9cf387a8033e<commit_msg>a1a259c2-327f-11e5-ac56-9cf387a8033e<commit_after>a1a259c2-327f-11e5-ac56-9cf387a8033e<|endoftext|>
<commit_before>250e0be6-2d3f-11e5-9396-c82a142b6f9b<commit_msg>25633e4a-2d3f-11e5-9901-c82a142b6f9b<commit_after>25633e4a-2d3f-11e5-9901-c82a142b6f9b<|endoftext|>
<commit_before>7e7919f5-2d15-11e5-af21-0401358ea401<commit_msg>7e7919f6-2d15-11e5-af21-0401358ea401<commit_after>7e7919f6-2d15-11e5-af21-0401358ea401<|endoftext|>