text
stringlengths
54
60.6k
<commit_before>/* Please see LICENSE_flynda */ #include "inotify-cxx.h" #include<string> #include<iostream> #include <stdio.h> #include<thread> #include <sstream> #include<unistd.h> #include<vector> #include<boost/filesystem.hpp> std::string exec(char* cmd); void cachefile(std::string& process_folder, std::string& f...
<commit_before>d0b8e3f6-35ca-11e5-93fc-6c40088e03e4<commit_msg>d0bfedde-35ca-11e5-97a1-6c40088e03e4<commit_after>d0bfedde-35ca-11e5-97a1-6c40088e03e4<|endoftext|>
<commit_before>#include <boost/lexical_cast.hpp> #include <boost/function.hpp> #include <boost/bind.hpp> #include <boost/tuple/tuple.hpp> #include <boost/any.hpp> #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_generators.hpp> #include <boost/uuid/uuid_io.hpp> #include <sstream> #include <string> #include <alg...
<commit_before>57925cc7-2e4f-11e5-8dfc-28cfe91dbc4b<commit_msg>579978c7-2e4f-11e5-8c72-28cfe91dbc4b<commit_after>579978c7-2e4f-11e5-8c72-28cfe91dbc4b<|endoftext|>
<commit_before>// main.cpp: Main file for core graph merger #include <iostream> #include <fstream> #include <getopt.h> #include "ekg/vg/vg.hpp" #include "ekg/vg/index.hpp" void help_main(char** argv) { std::cerr << "usage: " << argv[0] << " [options] VGFILE GLENNFILE" << std::endl << "Convert a Glenn-for...
<commit_before>c6da00c7-2747-11e6-8c85-e0f84713e7b8<commit_msg>fix for the previous fix<commit_after>c6eb1dc0-2747-11e6-875e-e0f84713e7b8<|endoftext|>
<commit_before>9101ad99-2d14-11e5-af21-0401358ea401<commit_msg>9101ad9a-2d14-11e5-af21-0401358ea401<commit_after>9101ad9a-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>aaf1ec28-2d3f-11e5-9fe4-c82a142b6f9b<commit_msg>abb013eb-2d3f-11e5-8e92-c82a142b6f9b<commit_after>abb013eb-2d3f-11e5-8e92-c82a142b6f9b<|endoftext|>
<commit_before>5844b9e1-2e4f-11e5-92b7-28cfe91dbc4b<commit_msg>584fd280-2e4f-11e5-bba3-28cfe91dbc4b<commit_after>584fd280-2e4f-11e5-bba3-28cfe91dbc4b<|endoftext|>
<commit_before>711d4954-5216-11e5-b3e0-6c40088e03e4<commit_msg>7123fcf6-5216-11e5-b2b1-6c40088e03e4<commit_after>7123fcf6-5216-11e5-b2b1-6c40088e03e4<|endoftext|>
<commit_before>75fb1a26-2d53-11e5-baeb-247703a38240<commit_msg>75fb9b54-2d53-11e5-baeb-247703a38240<commit_after>75fb9b54-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>855b914c-2e4f-11e5-a2fd-28cfe91dbc4b<commit_msg>85653011-2e4f-11e5-8982-28cfe91dbc4b<commit_after>85653011-2e4f-11e5-8982-28cfe91dbc4b<|endoftext|>
<commit_before>#include "EC.h" using namespace EC; int main(int argc, char** argv){ /* WriteLine("Pick a number for a: "); int a = ReadLine(); WriteLine("Pick a number for B: "); int b = ReadLine(); int sum = a+b; WriteLine(sum); */ return 0; } <commit_msg>Sample<commit_after>#include "EC.h" using namespace E...
<commit_before>a29b74fa-327f-11e5-baf6-9cf387a8033e<commit_msg>a2a1274c-327f-11e5-ade2-9cf387a8033e<commit_after>a2a1274c-327f-11e5-ade2-9cf387a8033e<|endoftext|>
<commit_before>7f6cf608-2d15-11e5-af21-0401358ea401<commit_msg>7f6cf609-2d15-11e5-af21-0401358ea401<commit_after>7f6cf609-2d15-11e5-af21-0401358ea401<|endoftext|>
<commit_before>e71948e3-2e4e-11e5-b1a4-28cfe91dbc4b<commit_msg>e71fe0c0-2e4e-11e5-a7a5-28cfe91dbc4b<commit_after>e71fe0c0-2e4e-11e5-a7a5-28cfe91dbc4b<|endoftext|>
<commit_before>19c9ea46-2f67-11e5-ad7d-6c40088e03e4<commit_msg>19d0c300-2f67-11e5-93a5-6c40088e03e4<commit_after>19d0c300-2f67-11e5-93a5-6c40088e03e4<|endoftext|>
<commit_before>// // main.cpp // greedRelate // Greedy approach of keeping samples // Created by Shing Wan Choi on 18/08/2016. // Copyright © 2016 Shing Wan Choi. All rights reserved. // #include "misc.hpp" #include <algorithm> #include <cstdlib> #include <deque> #include <fstream> #include <getopt.h> #include <i...
<commit_before>#include "dcmtk/config/osconfig.h" // make sure OS specific configuration is included first // UIDs #include "QIICRUIDs.h" // versioning #include "dcmqiVersionConfigure.h" #include "dcmtk/ofstd/ofstream.h" #include "dcmtk/ofstd/oftest.h" #include "dcmtk/ofstd/ofstd.h" #include "dcmtk/dcmsr/dsrdoc.h...
<commit_before>6a028e92-2fa5-11e5-96d3-00012e3d3f12<commit_msg>6a043c46-2fa5-11e5-bda6-00012e3d3f12<commit_after>6a043c46-2fa5-11e5-bda6-00012e3d3f12<|endoftext|>
<commit_before>dc17b8b8-313a-11e5-9755-3c15c2e10482<commit_msg>dc1dc2b3-313a-11e5-987a-3c15c2e10482<commit_after>dc1dc2b3-313a-11e5-987a-3c15c2e10482<|endoftext|>
<commit_before>dc44ba66-2e4e-11e5-9630-28cfe91dbc4b<commit_msg>dc4b97dc-2e4e-11e5-9479-28cfe91dbc4b<commit_after>dc4b97dc-2e4e-11e5-9479-28cfe91dbc4b<|endoftext|>
<commit_before>c976b000-35ca-11e5-9205-6c40088e03e4<commit_msg>c97d3a10-35ca-11e5-a1b1-6c40088e03e4<commit_after>c97d3a10-35ca-11e5-a1b1-6c40088e03e4<|endoftext|>
<commit_before>9f129bbd-2e4f-11e5-90bb-28cfe91dbc4b<commit_msg>9f1bad23-2e4f-11e5-84bc-28cfe91dbc4b<commit_after>9f1bad23-2e4f-11e5-84bc-28cfe91dbc4b<|endoftext|>
<commit_before>b28b1e76-35ca-11e5-a424-6c40088e03e4<commit_msg>b2928bf0-35ca-11e5-960c-6c40088e03e4<commit_after>b2928bf0-35ca-11e5-960c-6c40088e03e4<|endoftext|>
<commit_before>ba6b79eb-2e4f-11e5-9ea0-28cfe91dbc4b<commit_msg>ba729902-2e4f-11e5-8f21-28cfe91dbc4b<commit_after>ba729902-2e4f-11e5-8f21-28cfe91dbc4b<|endoftext|>
<commit_before>5e589404-2d16-11e5-af21-0401358ea401<commit_msg>5e589405-2d16-11e5-af21-0401358ea401<commit_after>5e589405-2d16-11e5-af21-0401358ea401<|endoftext|>
<commit_before>679ab5c6-5216-11e5-aca5-6c40088e03e4<commit_msg>67af6f0c-5216-11e5-bf4e-6c40088e03e4<commit_after>67af6f0c-5216-11e5-bf4e-6c40088e03e4<|endoftext|>
<commit_before>c93166ae-2e4e-11e5-af0a-28cfe91dbc4b<commit_msg>c9380766-2e4e-11e5-a636-28cfe91dbc4b<commit_after>c9380766-2e4e-11e5-a636-28cfe91dbc4b<|endoftext|>
<commit_before>1616920a-2f67-11e5-b350-6c40088e03e4<commit_msg>161d00a6-2f67-11e5-bd92-6c40088e03e4<commit_after>161d00a6-2f67-11e5-bd92-6c40088e03e4<|endoftext|>
<commit_before>8e9fac7a-2d14-11e5-af21-0401358ea401<commit_msg>8e9fac7b-2d14-11e5-af21-0401358ea401<commit_after>8e9fac7b-2d14-11e5-af21-0401358ea401<|endoftext|>
<commit_before>77c6c602-2d53-11e5-baeb-247703a38240<commit_msg>77c7474e-2d53-11e5-baeb-247703a38240<commit_after>77c7474e-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>77fe17ec-2d53-11e5-baeb-247703a38240<commit_msg>77fea73e-2d53-11e5-baeb-247703a38240<commit_after>77fea73e-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>4635ae18-5216-11e5-9682-6c40088e03e4<commit_msg>463d1a2c-5216-11e5-8635-6c40088e03e4<commit_after>463d1a2c-5216-11e5-8635-6c40088e03e4<|endoftext|>
<commit_before>950e2a1e-35ca-11e5-a2e0-6c40088e03e4<commit_msg>9514d6c0-35ca-11e5-a57d-6c40088e03e4<commit_after>9514d6c0-35ca-11e5-a57d-6c40088e03e4<|endoftext|>
<commit_before>0fddf03a-585b-11e5-b3f1-6c40088e03e4<commit_msg>0fe5bd42-585b-11e5-b7bb-6c40088e03e4<commit_after>0fe5bd42-585b-11e5-b7bb-6c40088e03e4<|endoftext|>
<commit_before>e6fd3726-2e4e-11e5-9c08-28cfe91dbc4b<commit_msg>e7040682-2e4e-11e5-8697-28cfe91dbc4b<commit_after>e7040682-2e4e-11e5-8697-28cfe91dbc4b<|endoftext|>
<commit_before>5ae7eca0-2d16-11e5-af21-0401358ea401<commit_msg>5ae7eca1-2d16-11e5-af21-0401358ea401<commit_after>5ae7eca1-2d16-11e5-af21-0401358ea401<|endoftext|>
<commit_before>8d3f40fa-4b02-11e5-811f-28cfe9171a43<commit_msg>OKAY this time it should work<commit_after>8d4e8614-4b02-11e5-86f6-28cfe9171a43<|endoftext|>
<commit_before>4ca54726-2e4f-11e5-b3b3-28cfe91dbc4b<commit_msg>4caca619-2e4f-11e5-b988-28cfe91dbc4b<commit_after>4caca619-2e4f-11e5-b988-28cfe91dbc4b<|endoftext|>
<commit_before>7781da92-2d53-11e5-baeb-247703a38240<commit_msg>778259fe-2d53-11e5-baeb-247703a38240<commit_after>778259fe-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>dfaae361-2e4e-11e5-95ea-28cfe91dbc4b<commit_msg>dfb35c47-2e4e-11e5-abaf-28cfe91dbc4b<commit_after>dfb35c47-2e4e-11e5-abaf-28cfe91dbc4b<|endoftext|>
<commit_before>#include <iostream> //Thomas' Prototypes //Hannah's Prototypes //Kate's Prototypes int (main) { using nedit file... create new input "hannah's test changes" } <commit_msg>Kate's Updated Prototype<commit_after>#include <iostream> //Thomas' Prototypes //Hannah's Prototypes int atomic_distance (in...
<commit_before>a5fd7fee-327f-11e5-aae1-9cf387a8033e<commit_msg>a6034df3-327f-11e5-b9cb-9cf387a8033e<commit_after>a6034df3-327f-11e5-b9cb-9cf387a8033e<|endoftext|>
<commit_before>be93a72e-35ca-11e5-b935-6c40088e03e4<commit_msg>be9adfa8-35ca-11e5-9f70-6c40088e03e4<commit_after>be9adfa8-35ca-11e5-9f70-6c40088e03e4<|endoftext|>
<commit_before>#include <iostream> #include <fstream> #include <opencv2/opencv.hpp> #include "image.h" #include "utils.h" //TODO:: Attempt to compensate for font width vs height //TODO:: Add a preserve aspect ratio //Scaling and transform variables float fontHeight = 1.0; float fontWidth = 0.6; float zoom_ratio = 1...
<commit_before>ed9218b0-327f-11e5-b8cd-9cf387a8033e<commit_msg>ed981261-327f-11e5-b95b-9cf387a8033e<commit_after>ed981261-327f-11e5-b95b-9cf387a8033e<|endoftext|>
<commit_before>272af89e-ad5d-11e7-a599-ac87a332f658<commit_msg>Fixed that one bug<commit_after>27e06773-ad5d-11e7-b564-ac87a332f658<|endoftext|>
<commit_before>5d2865c2-2d16-11e5-af21-0401358ea401<commit_msg>5d2865c3-2d16-11e5-af21-0401358ea401<commit_after>5d2865c3-2d16-11e5-af21-0401358ea401<|endoftext|>
<commit_before>ce7d57cf-2e4e-11e5-9923-28cfe91dbc4b<commit_msg>ce84584f-2e4e-11e5-ba11-28cfe91dbc4b<commit_after>ce84584f-2e4e-11e5-ba11-28cfe91dbc4b<|endoftext|>
<commit_before>9b6a1c35-327f-11e5-b4e6-9cf387a8033e<commit_msg>9b704821-327f-11e5-a8d4-9cf387a8033e<commit_after>9b704821-327f-11e5-a8d4-9cf387a8033e<|endoftext|>
<commit_before>77ee06ae-2d53-11e5-baeb-247703a38240<commit_msg>77ee8584-2d53-11e5-baeb-247703a38240<commit_after>77ee8584-2d53-11e5-baeb-247703a38240<|endoftext|>
<commit_before>5d8feef0-5216-11e5-9551-6c40088e03e4<commit_msg>5d96a5da-5216-11e5-a1d3-6c40088e03e4<commit_after>5d96a5da-5216-11e5-a1d3-6c40088e03e4<|endoftext|>
<commit_before>140ec6cc-585b-11e5-a8cd-6c40088e03e4<commit_msg>14159a6c-585b-11e5-b005-6c40088e03e4<commit_after>14159a6c-585b-11e5-b005-6c40088e03e4<|endoftext|>
<commit_before>f7828175-2747-11e6-a861-e0f84713e7b8<commit_msg>Adding stuff<commit_after>f78ec380-2747-11e6-bb7c-e0f84713e7b8<|endoftext|>
<commit_before>3a4c1eca-5216-11e5-9fef-6c40088e03e4<commit_msg>3a52de66-5216-11e5-a07c-6c40088e03e4<commit_after>3a52de66-5216-11e5-a07c-6c40088e03e4<|endoftext|>
<commit_before>ed3b57fa-327f-11e5-9cda-9cf387a8033e<commit_msg>ed41702b-327f-11e5-9877-9cf387a8033e<commit_after>ed41702b-327f-11e5-9877-9cf387a8033e<|endoftext|>
<commit_before>72106eee-2e3a-11e5-b1a5-c03896053bdd<commit_msg>721db7be-2e3a-11e5-8da8-c03896053bdd<commit_after>721db7be-2e3a-11e5-8da8-c03896053bdd<|endoftext|>
<commit_before>ec531db3-2e4e-11e5-a072-28cfe91dbc4b<commit_msg>ec59757d-2e4e-11e5-900d-28cfe91dbc4b<commit_after>ec59757d-2e4e-11e5-900d-28cfe91dbc4b<|endoftext|>
<commit_before>18c0daf6-2f67-11e5-9826-6c40088e03e4<commit_msg>18c9b464-2f67-11e5-8e32-6c40088e03e4<commit_after>18c9b464-2f67-11e5-8e32-6c40088e03e4<|endoftext|>
<commit_before>d9363078-2747-11e6-b33c-e0f84713e7b8<commit_msg>Fixed that one bug<commit_after>d944bc6b-2747-11e6-be41-e0f84713e7b8<|endoftext|>
<commit_before>569a8e1a-5216-11e5-9df4-6c40088e03e4<commit_msg>56a1ffae-5216-11e5-97c5-6c40088e03e4<commit_after>56a1ffae-5216-11e5-97c5-6c40088e03e4<|endoftext|>
<commit_before>35b4b480-5216-11e5-abcb-6c40088e03e4<commit_msg>35bb204a-5216-11e5-8742-6c40088e03e4<commit_after>35bb204a-5216-11e5-8742-6c40088e03e4<|endoftext|>
<commit_before>7fa8964a-2749-11e6-9a5b-e0f84713e7b8<commit_msg>No longer crashes if X<commit_after>7fb9df85-2749-11e6-9c8f-e0f84713e7b8<|endoftext|>
<commit_before>7a49f1f5-2749-11e6-a97f-e0f84713e7b8<commit_msg>almost working<commit_after>7a5a3c63-2749-11e6-ab5f-e0f84713e7b8<|endoftext|>
<commit_before>3ca93bd2-5216-11e5-a310-6c40088e03e4<commit_msg>3caff02e-5216-11e5-85a1-6c40088e03e4<commit_after>3caff02e-5216-11e5-85a1-6c40088e03e4<|endoftext|>
<commit_before>c114fcbe-35ca-11e5-98ef-6c40088e03e4<commit_msg>c11b99e6-35ca-11e5-ae17-6c40088e03e4<commit_after>c11b99e6-35ca-11e5-ae17-6c40088e03e4<|endoftext|>
<commit_before>// Xerus - A General Purpose Tensor Library // Copyright (C) 2014-2015 Benjamin Huber and Sebastian Wolf. // // Xerus 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 version 3 ...
<commit_before>#ifndef GNR_MANY_HPP # define GNR_MANY_HPP # pragma once #include <cstddef> #include <tuple> #include <type_traits> #include <utility> namespace gnr { namespace detail { namespace many { enum TupleValue { Scalar, Reference, Class }; template <std::size_t I, class T, TupleValue = std::is_clas...
<commit_before>#include <QtCore/QFile> #include <QtCore/QStringList> #include <QtCore/QTextStream> #include <QtGui/QVector2D> #include "math.hpp" qreal Polynom::operator()(qreal x, qreal y) const { qreal result = 0; for (ConstIterator i = begin(); i != end(); ++i) { result += qPow(x, i->xPow) * qPow(y, i->yPow) * ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: frqitem.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 19:19:23 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: nfversi.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 19:29:09 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: optitems.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: kz $ $Date: 2007-05-10 14:55:19 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: unobtabl.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: obo $ $Date: 2004-11-18 09:20:10 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: docchart.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: vg $ $Date: 2007-05-22 16:24:32 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: noteurl.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-09 04:56:33 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * $RCSfile: escher.hxx,v $ * * $Revision: 1.11 $ * * last change: $Author: kz $ $Date: 2005-01-21 10:42:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before><commit_msg>SwRTFWriter::OutRTFBorder is gone, so no merging needed anymore<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: swuiidxmrk.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2007-09-27 12:11:30 $ * * The Contents of this file are mad...
<commit_before>/************************************************************************* * * $RCSfile: grfshex.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2001-07-23 10:04:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include "monster_hunter_data.h" #include "query.h" #include "armor_up.h" #include "helpers.h" using namespace monster_avengers; int main(int argc, char **argv) { std::setlocale(LC_ALL, "en_US.UTF-8"); CHECK(2 <= argc); ArmorUp armor_up(argv[1]); if (argc < 3) { armor_up.ListSkills(); } e...
<commit_before>/** \file log_rotate.cc * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2017 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General...
<commit_before>// Alexis Giraudet #include "map.hpp" int main(int argc, char *argv[]) { map<int,int> test_map; return 0; } <commit_msg>add implementation<commit_after>// Alexis Giraudet // Théo Cesbron #include "map.hpp" int main(int argc, char *argv[]) { map<int,int> test_map; //On vérifie que...
<commit_before>/* * Copyright 2011 Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 */ #include "chatagent.h" #include <TelepathyQt4/Channel> #include <Tele...
<commit_before>#include "pdbformat.h" #include <avogadro/core/elements.h> #include <avogadro/core/molecule.h> #include <avogadro/core/residue.h> #include <avogadro/core/utilities.h> #include <avogadro/core/vector.h> #include <istream> #include <string> using Avogadro::Core::Atom; using Avogadro::Core::Bond; using Av...
<commit_before>/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associat...
<commit_before>/* Copyright © 2014 Jesse 'Jeaye' Wilkerson See licensing at: http://opensource.org/licenses/MIT Author: Jesse 'Jeaye' Wilkerson */ #pragma once #include <jest/jest.hpp> #include <jtl/iterator/range.hpp> #include <algorithm> namespace jtl { struct indirect_range_test{}; using indirect...
<commit_before>#include "test/mocks/stream_info/mocks.h" #include "common/network/address_impl.h" #include "gmock/gmock.h" #include "gtest/gtest.h" using testing::_; using testing::Const; using testing::Invoke; using testing::ReturnPointee; using testing::ReturnRef; namespace Envoy { namespace StreamInfo { MockStr...
<commit_before>/* bzflag * Copyright (c) 1993 - 2008 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>/* * Copyright (c) 2011, Michael Feathers, James Grenning and Bas Vodde * 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 ...
<commit_before>#include <gamelib/core/common.h> #include <gamelib/core/linuxinformation.h> #include <gtest/gtest.h> using namespace gamelib::core; class LinuxInformationTest : public testing::Test { protected: virtual void SetUp() override { this->osInfo = new LinuxInformation(); } virtual void TearDown() ove...
<commit_before>#include "unittests.h" #include "serialport.h" #include <QtCore/QTimer> #include <QtCore/QStringList> enum { RATES_COUNT = 2, DATABITS_COUNT = 1, PARITY_COUNT = 5, STOPBITS_COUNT = 2, FLOW_COUNT = 3 }; static const SerialPort::Rate vratesarray[RATES_COUNT] = { SerialP...
<commit_before>#include "utils.hpp" #include <boost/graph/metis.hpp> #include <boost/graph/distributed/page_rank.hpp> struct Node { Node() {} Node(const std::string& name) : name(name) {} float pagerank; std::string name; template<typename Archiver> void serialize(Archiver &ar, const unsigned i...
<commit_before>#include "catch.hpp" #include <utility> #include <type_traits> #include <iterator> #include <algorithm> #include <member_iterator.hpp> #include <forward_list> TEST_CASE("member_iterator based on ForwardIterator", "[member_iterator]") { struct mock { char c; int i; }; ...
<commit_before>#include <gtest/gtest.h> #include "uint256_t.h" TEST(Constructor, standard){ uint256_t value(0x0123456789abcdefULL); const uint256_t original = value; EXPECT_EQ(uint256_t(), 0); EXPECT_EQ(value, original); EXPECT_EQ(uint256_t(std::move(value)), original); EXPECT_EQ(value, 0x012...
<commit_before>//IBM_PROLOG_BEGIN_TAG /* * Copyright 2003,2016 IBM International Business Machines Corp. * * 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/lic...
<commit_before>#include "Notfredo.h" #include "Camera.h" #include "StageState.h" #include "Gallahad.h" #include "Lancelot.h" #include "Vec2.h" #include "Rect.h" #include "Attack.h" #include "Melee.h" #include "Projectile.h" #include "IAComponent.h" #include "Room.h" typedef struct Node node; struct Nod...
<commit_before>/* This file is part of WME Lite. http://dead-code.org/redir.php?target=wmelite Copyright (c) 2011 Jan Nedoma 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 restri...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/nest/p9_revert_sbe_mcs_setu...