text
stringlengths
54
60.6k
<commit_before>fefe0316-2e4c-11e5-9284-b827eb9e62be<commit_msg>ff02f1f0-2e4c-11e5-9284-b827eb9e62be<commit_after>ff02f1f0-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>cdf56c64-2e4c-11e5-9284-b827eb9e62be<commit_msg>cdfacd1c-2e4c-11e5-9284-b827eb9e62be<commit_after>cdfacd1c-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>39ecbdf4-2e4e-11e5-9284-b827eb9e62be<commit_msg>39f1cf88-2e4e-11e5-9284-b827eb9e62be<commit_after>39f1cf88-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>1ccd8c2a-2e4f-11e5-9284-b827eb9e62be<commit_msg>1cd2fd36-2e4f-11e5-9284-b827eb9e62be<commit_after>1cd2fd36-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>3568076c-2e4d-11e5-9284-b827eb9e62be<commit_msg>356d2120-2e4d-11e5-9284-b827eb9e62be<commit_after>356d2120-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>a11855e2-2e4e-11e5-9284-b827eb9e62be<commit_msg>a11d513c-2e4e-11e5-9284-b827eb9e62be<commit_after>a11d513c-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>bfcf2912-2e4d-11e5-9284-b827eb9e62be<commit_msg>bfd41c92-2e4d-11e5-9284-b827eb9e62be<commit_after>bfd41c92-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>a0af65a0-2e4e-11e5-9284-b827eb9e62be<commit_msg>a0b45f06-2e4e-11e5-9284-b827eb9e62be<commit_after>a0b45f06-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>d8cc03fa-2e4c-11e5-9284-b827eb9e62be<commit_msg>d8d10fe4-2e4c-11e5-9284-b827eb9e62be<commit_after>d8d10fe4-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>94daa6a4-2e4e-11e5-9284-b827eb9e62be<commit_msg>94dfa168-2e4e-11e5-9284-b827eb9e62be<commit_after>94dfa168-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>43eb3e12-2e4d-11e5-9284-b827eb9e62be<commit_msg>43f03b4c-2e4d-11e5-9284-b827eb9e62be<commit_after>43f03b4c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>e372ae34-2e4d-11e5-9284-b827eb9e62be<commit_msg>e377b8e8-2e4d-11e5-9284-b827eb9e62be<commit_after>e377b8e8-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b3e65fd0-2e4d-11e5-9284-b827eb9e62be<commit_msg>b3eb5d14-2e4d-11e5-9284-b827eb9e62be<commit_after>b3eb5d14-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b8b46d50-2e4c-11e5-9284-b827eb9e62be<commit_msg>b8b97a66-2e4c-11e5-9284-b827eb9e62be<commit_after>b8b97a66-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b506866a-2e4d-11e5-9284-b827eb9e62be<commit_msg>b50b7c60-2e4d-11e5-9284-b827eb9e62be<commit_after>b50b7c60-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>0cba43d8-2e4e-11e5-9284-b827eb9e62be<commit_msg>0cbf4324-2e4e-11e5-9284-b827eb9e62be<commit_after>0cbf4324-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>eb6c060c-2e4e-11e5-9284-b827eb9e62be<commit_msg>eb713c94-2e4e-11e5-9284-b827eb9e62be<commit_after>eb713c94-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>9aa52754-2e4d-11e5-9284-b827eb9e62be<commit_msg>9ab1b960-2e4d-11e5-9284-b827eb9e62be<commit_after>9ab1b960-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>3f9a60fe-2e4d-11e5-9284-b827eb9e62be<commit_msg>3f9f672a-2e4d-11e5-9284-b827eb9e62be<commit_after>3f9f672a-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>26bd0276-2e4d-11e5-9284-b827eb9e62be<commit_msg>26c1f95c-2e4d-11e5-9284-b827eb9e62be<commit_after>26c1f95c-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>68d4ce46-2e4d-11e5-9284-b827eb9e62be<commit_msg>68dbc214-2e4d-11e5-9284-b827eb9e62be<commit_after>68dbc214-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>df80e5b2-2e4c-11e5-9284-b827eb9e62be<commit_msg>df85d0f4-2e4c-11e5-9284-b827eb9e62be<commit_after>df85d0f4-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>46eef9b8-2e4e-11e5-9284-b827eb9e62be<commit_msg>46f40462-2e4e-11e5-9284-b827eb9e62be<commit_after>46f40462-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>c88e0704-2e4c-11e5-9284-b827eb9e62be<commit_msg>c892fbc4-2e4c-11e5-9284-b827eb9e62be<commit_after>c892fbc4-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>d230bfbc-2e4d-11e5-9284-b827eb9e62be<commit_msg>d235be18-2e4d-11e5-9284-b827eb9e62be<commit_after>d235be18-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b97392a0-2e4e-11e5-9284-b827eb9e62be<commit_msg>b978b136-2e4e-11e5-9284-b827eb9e62be<commit_after>b978b136-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>87f00e4e-2e4d-11e5-9284-b827eb9e62be<commit_msg>87f506ba-2e4d-11e5-9284-b827eb9e62be<commit_after>87f506ba-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>7142fb1a-2e4e-11e5-9284-b827eb9e62be<commit_msg>7147f61a-2e4e-11e5-9284-b827eb9e62be<commit_after>7147f61a-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>2c47c398-2e4d-11e5-9284-b827eb9e62be<commit_msg>2c4cba2e-2e4d-11e5-9284-b827eb9e62be<commit_after>2c4cba2e-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b31e88c0-2e4d-11e5-9284-b827eb9e62be<commit_msg>b32375b0-2e4d-11e5-9284-b827eb9e62be<commit_after>b32375b0-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>56f74582-2e4d-11e5-9284-b827eb9e62be<commit_msg>56fc4cc6-2e4d-11e5-9284-b827eb9e62be<commit_after>56fc4cc6-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>db0a53dc-2e4d-11e5-9284-b827eb9e62be<commit_msg>db0f5922-2e4d-11e5-9284-b827eb9e62be<commit_after>db0f5922-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>2e4201cc-2e4d-11e5-9284-b827eb9e62be<commit_msg>2e46f79a-2e4d-11e5-9284-b827eb9e62be<commit_after>2e46f79a-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>4ff55656-2e4e-11e5-9284-b827eb9e62be<commit_msg>4ffa8612-2e4e-11e5-9284-b827eb9e62be<commit_after>4ffa8612-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>9161ceda-2e4e-11e5-9284-b827eb9e62be<commit_msg>9166ce6c-2e4e-11e5-9284-b827eb9e62be<commit_after>9166ce6c-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>dff7fa44-2e4c-11e5-9284-b827eb9e62be<commit_msg>dffceb08-2e4c-11e5-9284-b827eb9e62be<commit_after>dffceb08-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>303a3020-2e4e-11e5-9284-b827eb9e62be<commit_msg>303f249a-2e4e-11e5-9284-b827eb9e62be<commit_after>303f249a-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>111076e2-2e4d-11e5-9284-b827eb9e62be<commit_msg>11156e54-2e4d-11e5-9284-b827eb9e62be<commit_after>11156e54-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>c63f4058-2e4c-11e5-9284-b827eb9e62be<commit_msg>c64b5b68-2e4c-11e5-9284-b827eb9e62be<commit_after>c64b5b68-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>fce3dc36-2e4c-11e5-9284-b827eb9e62be<commit_msg>fce8d6e6-2e4c-11e5-9284-b827eb9e62be<commit_after>fce8d6e6-2e4c-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>bb32740e-2e4d-11e5-9284-b827eb9e62be<commit_msg>bb3777ba-2e4d-11e5-9284-b827eb9e62be<commit_after>bb3777ba-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>b0aa4cea-2e4e-11e5-9284-b827eb9e62be<commit_msg>b0af44c0-2e4e-11e5-9284-b827eb9e62be<commit_after>b0af44c0-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>41d1cbaa-2e4d-11e5-9284-b827eb9e62be<commit_msg>41d71fa6-2e4d-11e5-9284-b827eb9e62be<commit_after>41d71fa6-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>3501845e-2e4f-11e5-9284-b827eb9e62be<commit_msg>35067c84-2e4f-11e5-9284-b827eb9e62be<commit_after>35067c84-2e4f-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>255fcc10-2e4d-11e5-9284-b827eb9e62be<commit_msg>2564be1e-2e4d-11e5-9284-b827eb9e62be<commit_after>2564be1e-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>67c9abf6-2e4e-11e5-9284-b827eb9e62be<commit_msg>67ceaa34-2e4e-11e5-9284-b827eb9e62be<commit_after>67ceaa34-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>cbba2b64-2e4d-11e5-9284-b827eb9e62be<commit_msg>cbbf2718-2e4d-11e5-9284-b827eb9e62be<commit_after>cbbf2718-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>19b59100-2e4e-11e5-9284-b827eb9e62be<commit_msg>19baec7c-2e4e-11e5-9284-b827eb9e62be<commit_after>19baec7c-2e4e-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>aa806878-2e4d-11e5-9284-b827eb9e62be<commit_msg>aa855c66-2e4d-11e5-9284-b827eb9e62be<commit_after>aa855c66-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before>12768508-2e4d-11e5-9284-b827eb9e62be<commit_msg>127b939a-2e4d-11e5-9284-b827eb9e62be<commit_after>127b939a-2e4d-11e5-9284-b827eb9e62be<|endoftext|>
<commit_before><commit_msg>52fe0060-2e4d-11e5-9284-b827eb9e62be<commit_after><|endoftext|>
<commit_before>#include "remoteatcommandresponse.h" #include "xbeepacket.h" #include <QDebug> namespace QtXBee { RemoteATCommandResponse::RemoteATCommandResponse(QObject *parent) : ATCommandResponse(parent) { setFrameType(XBeePacket::RemoteATCommandResponseId); } RemoteATCommandResponse::RemoteATCommandResp...
<commit_before>#ifndef MJOLNIR_OMP_PROTEIN_DNA_NON_SPECIFIC_INTERACTION_HPP #define MJOLNIR_OMP_PROTEIN_DNA_NON_SPECIFIC_INTERACTION_HPP #include <mjolnir/omp/OpenMPSimulatorTraits.hpp> #include <mjolnir/omp/System.hpp> #include <mjolnir/forcefield/PDNS/ProteinDNANonSpecificInteraction.hpp> namespace mjolnir { // Pro...
<commit_before>/************************************************************************************ ** * @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved. * *************************************************************************************/ /** * @file g_dfs_server_main.h * @ver...
<commit_before>{ gROOT->Reset(); TCanvas *nut = new TCanvas("nut", "FirstSession",100,10,700,900); nut->Range(0,0,20,24); nut->SetFillColor(10); nut->SetBorderSize(2); TPaveLabel *pl = new TPaveLabel(3,22,17,23.7,"My first ROOT interactive session","br"); pl->SetFillColor(18); pl->SetTextSize(0...
<commit_before>#include <iostream> #include <fstream> #include <sstream> #include <vector> #include <set> #include <map> #include <random> #include <chrono> #include <functional> #include <algorithm> #include <cmath> #define NUM_FIELDS 4 namespace KNearestNeighbors { struct Entry { std::array<double...
<commit_before>#include "config.h" #include <cstdlib> #include <iostream> #include <string> #include <fstream> #include <sstream> #include <cstring> using namespace std; //// parameters // for bam file int32_t min_bundle_gap = 100; int min_num_hits_in_bundle = 20; int32_t min_splice_boundary_hits = 1; uint32_t min_m...
<commit_before>// compilation // $ g++ -std=c++11 main.cpp -o main #include <iostream> #include <fstream> #include <vector> #include <string> #include <numeric> #include <future> #include <chrono> typedef std::vector<std::string> NeptunIds; NeptunIds readFile(const std::string& filename) { NeptunIds ids; std::if...
<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>/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2005 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This libra...
<commit_before><commit_msg>Remove a duplicate declaration of default_histogram_levels.<commit_after><|endoftext|>
<commit_before>#include<iostream> #include<cstdio> #include<sstream> #include<fstream> #include<iomanip> #include<unistd.h> #include<map> #include<sys/types.h> #include<sys/wait.h> #include"utils.h" #include"sandbox.h" #include"config.h" #include"testsuite.h" #include"server_io.h" using namespace std; int compile(con...
<commit_before>/* * Client Key Exchange Message * (C) 2004-2010 Jack Lloyd * * Released under the terms of the Botan license */ #include <botan/internal/tls_messages.h> #include <botan/internal/tls_reader.h> #include <botan/internal/tls_extensions.h> #include <botan/pubkey.h> #include <botan/dh.h> #include <botan/ecdh...
<commit_before>#pragma once #include "../common.hpp" #include <Prelude/HashTable.hpp> #include <Prelude/Vector.hpp> #include <Prelude/FastList.hpp> #include "../generic/simple-set.hpp" #include "../collector.hpp" #include "nodes.hpp" namespace Mirb { class Block; namespace CodeGen { class Block; }; namespace...
<commit_before>/*** tws_strat.cpp -- TWS strategy module * * Copyright (C) 2012 Ruediger Meier * * Author: Ruediger Meier <sweet_f_a@gmx.de> * * This file is part of twstools. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
<commit_before>// SuperCard Pro flux file format: // http://www.cbmstuff.com/downloads/scp/scp_image_specs.txt #include "SAMdisk.h" #include "DemandDisk.h" enum { FLAG_INDEX = 1 << 0, // set for index-synchronised, clear if not FLAG_TPI = 1 << 1, // set for 96tpi, clear for 48tpi FLAG_RPM = 1 << 2, ...
<commit_before>#include "StdAfx.h" #define BUFFERSIZE (2 * 1024 * 1024) char gBuffer[BUFFERSIZE]; int lastFrame = -1; /* Construct Ultracomm object, connect to server, and set/check parameters. */ Ultracomm::Ultracomm(const UltracommOptions& myuopt) : uopt(myuopt), address(myuopt.opt["address"].as<...
<commit_before>#include "iocoom_performance_model.h" #include "log.h" #include "dynamic_instruction_info.h" #include "config.hpp" #include "simulator.h" #include "branch_predictor.h" IOCOOMPerformanceModel::IOCOOMPerformanceModel() : m_instruction_count(0) , m_cycle_count(0) , m_register_scoreboard(512) ,...
<commit_before>/* Copyright 2017 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>//============================================================================== // CellML annotation view metadata edit details widget //============================================================================== #include "cellmlannotationviewlistswidget.h" #include "cellmlannotationviewmetadataedit...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: navibar.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: vg $ $Date: 2007-09-18 13:53:07 $ * * The Contents of this file are made a...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2010-03-31 16:40:27 +0200 (Mi, 31 Mrz 2010) $ Version: $Revision: 21975 $ Copyright (c) German Cancer Research Center, Division of Medic...
<commit_before>#ifndef __INCLUDED_BITFIELD_HPP__ #define __INCLUDED_BITFIELD_HPP__ #include <iostream> #include <array> namespace bitfield { class bit_type { uint8_t v; public: constexpr bit_type(uint8_t v) : v(v) {} constexpr bit_type floor() const { retu...
<commit_before>/***************************************************************************** * This file is part of the Gluon Development Platform * * Copyright (c) 2011 Laszlo Papp <djszapi@archlinux.us> * * ...
<commit_before>#ifndef __MEMORY_ANALYSIS_HH_ #define __MEMORY_ANALYSIS_HH_ /* Wrapper for a datastructure analysis*/ #include "llvm/IR/Function.h" #include "llvm/IR/Value.h" #include "llvm/IR/Instructions.h" #include "boost/tuple/tuple.hpp" #include "crab_llvm/config.h" #include <crab/cfg/Cfg.hpp> #ifdef HAVE_DSA ...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ReadableNativeMap.h" using namespace facebook::jni; namespace facebook { namespace react { void Readabl...
<commit_before>#include "cinder/app/AppBasic.h" #include <list> #include "cinder/params/Params.h" #include "cinder/Font.h" #include "cinder/Utilities.h" #include "cinder/Rand.h" #include <b2cinder/b2cinder.h> using namespace ci; using namespace ci::app; using namespace ci::box2d; using namespace std; class BasicBox...
<commit_before>#include "text_file.hpp" #include "to_utf16.hpp" #include "to_utf8.hpp" #include "current_dir.hpp" #include <fstream> static std::string getFullFileName(std::string fileName) { if (fileName.empty() || fileName[0] == L'/') return fileName; else return getCurrentDir() + '/' + fil...
<commit_before>/** * @file TimePointTest.cpp * @brief TimePoint class tester. * @author zer0 * @date 2017-04-12 */ #include <gtest/gtest.h> #include <libtbag/time/TimePoint.hpp> #include <thread> using namespace libtbag; using namespace libtbag::time; TEST(TimePointTest, Default) { TimePoint tp; A...
<commit_before>/************************************************************************* * * $RCSfile: b2dcubicbezier.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: rt $ $Date: 2004-12-13 08:47:52 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before><commit_msg>Fix flipped sign in BoundingBox::contains().<commit_after><|endoftext|>
<commit_before>/* * Copyright (c) 2014 Tobias Klauser * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modi...
<commit_before>#include "time_grid.h" Time_grid::Time_grid( Config &conf ) { check_correctness_of_related_config_fields( conf ); get_values_from_config( conf ); init_total_nodes(); shrink_time_step_size_if_necessary( conf ); shrink_time_save_step_if_necessary( conf ); set_current_time_and_no...
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* Copyright (c) 2009 Aristid Breitkreuz, Ash Berlin, Ruediger Sonderfeld 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...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>// Copyright (C) 2010-2012 Joshua Boyce. // See the file COPYING for copying permission. #pragma once #include <memory> #include <iterator> #include "hadesmem/config.hpp" namespace hadesmem { class Process; class ProcessEntry; namespace detail { struct ProcessIteratorImpl; ...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlstreamio.hxx,v $ * $Revision:...
<commit_before>/* * boost_date_time.hpp * * Created on: Sep 2, 2015 * Author: zmij */ #ifndef LIB_PG_ASYNC_INCLUDE_TIP_DB_PG_IO_BOOST_DATE_TIME_HPP_ #define LIB_PG_ASYNC_INCLUDE_TIP_DB_PG_IO_BOOST_DATE_TIME_HPP_ #include <tip/db/pg/protocol_io_traits.hpp> #include <boost/spirit/include/qi.hpp> #include <bo...
<commit_before> #include <zmq.h> #include <leveldb/db.h> #include <leveldb/write_batch.h> #include <czmq.h> #include <string> #include <cstdio> #include <thread> #include <iostream> #include <vector> #include <sys/stat.h> #include <mutex> #include "TableOpenHelper.hpp" #include "protocol.hpp" //Feature toggle #define...
<commit_before> #include "befakprint.h" #include <stdio.h> // baseclass with stuff, inherit to print/export/whatever beFakPrint::beFakPrint(int id, sqlite *db) { if (id<1) { printf("illegal id!\n"); return; } dbData = db; fakturaid = id; typ = 0; // XXX parametr! switch (typ) { case 2: typfaktury ...
<commit_before>/* * Copyright (c) 2007, 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 "joystickDrive.hpp" //static SDL_Joystick *joystick; /* //Main now in joystickmain int main() { joystickDrive jD; for(;;) { //jD.printLoop(); jD.setMotor(); jD.readJoystick(); if(jD.shouldQuit()) { return(0); } usleep(4e4); } } */ joystickDrive::joystickDrive() { //m...
<commit_before> #include <stdexcept> #include "modules/Network/NetworkManager.hpp" #include "modules/FileReader/FileReaderManager.hpp" #include "modules/ModError/ModErrorManager.hpp" #include "modules/DirListing/DirListingManager.hpp" #include "utils/macros.hpp" #include "utils/Path.hpp" #include "ModuleManagerFacto...
<commit_before>#include "APSEthernet.h" APSEthernet::APSEthernet() : socket_(ios_) { //Setup the socket to the APS_PROTO port and enable broadcasting for enumerating std::error_code ec; socket_.open(udp::v4(), ec); if (ec) {FILE_LOG(logERROR) << "Failed to open socket.";} socket_.bind(udp::endpoint...
<commit_before>#include "CppUTest/TestHarness.h" #include "CppUTestExt/MockSupport.h" #include "Environment.h" #include "MockSensor.h" static const char* dummy_name_01 = "dummy_01"; static const char* dummy_name_02 = "dummy_02"; TEST_GROUP(Environment) { Environment* env; void setup() { env = new...
<commit_before><commit_msg>Quick fix for linux shared build.<commit_after><|endoftext|>
<commit_before>#include "FAST/Data/Image.hpp" #include "FAST/Streamers/ImageFileStreamer.hpp" #include "FAST/Algorithms/UltrasoundVesselDetection/UltrasoundVesselDetection.hpp" #include "FAST/Algorithms/UltrasoundVesselDetection/VesselCrossSection.hpp" #include "FAST/Exporters/ImageExporter.hpp" #include "FAST/Algorith...
<commit_before>/* * Copyright (c) 2013-2014, Filippo Basso <bassofil@dei.unipd.it> * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain ...
<commit_before>// Copyright (C) 2015 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. #include <math.h> #include <string.h> //#include <algorithm> #include "copasi/utilities/CUnitDefinition.h" //#include "cop...
<commit_before>// Copyright (c) 2021 ASMlover. All rights reserved. // // ______ __ ___ // /\__ _\ /\ \ /\_ \ // \/_/\ \/ __ \_\ \ _____ ___\//\ \ __ // \ \ \ /'__`\ /'_` \/\ '__`\ / __`\\ \ \ /'__`\ // \ \ \/\ \L\.\_/\ \L\ \ \ \L\ \/...