text
stringlengths
54
60.6k
<commit_before>/* Copyright (c) 2007, Arvid Norberg 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 list of condi...
<commit_before>// Copyright (c) 2011 Vince Durham // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #include "script.h" #include "auxpow.h" #include "init.h" using namespace std; using namespace boost; unsigned char pchMe...
<commit_before><commit_msg>Remove iOS references in chrome_browser_main_extra_parts_profiles.cc<commit_after><|endoftext|>
<commit_before>/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * A Use Case for In Situ visulization frameworks (Conduit, SENSEI) * * Each processor contributes to a subset of all variables * Each variable is written by a subset of all pr...
<commit_before>#pragma once #include "renderer.hpp" #include "../gl3companion/gldebug.hpp" #include "../gl3companion/glframebuffers.hpp" #include "../gl3companion/glresource_types.hpp" #include "../gl3companion/glshaders.hpp" #include "../gl3companion/gltexturing.hpp" #include <vector> using FramebufferDef = Textur...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ftools.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-09-17 07:59:24 $ * * The Contents of this file are made a...
<commit_before>/** * Copyright (c) 2016-2018 mvs developers * * This file is part of metaverse-explorer. * * metaverse-explorer is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Soft...
<commit_before>#ifndef DUNE_RB_MODEL_STATIONARY_LINEAR_ELLIPTIC_INTERFACE_HH #define DUNE_RB_MODEL_STATIONARY_LINEAR_ELLIPTIC_INTERFACE_HH #ifdef HAVE_CMAKE_CONFIG #include "cmake_config.h" #elif defined (HAVE_CONFIG_H) #include <config.h> #endif // ifdef HAVE_CMAKE_CONFIG #include <vector> #include <dune/commo...
<commit_before>//----------------------------------------------------------------------------- // File: Date.cpp // // class: Date // methods: // Date::Date(short day, short month, short year) // bool Date::operator==(const Comparable &other)const // bool Date::operator<(const Comparable &other)const // void Date::...
<commit_before>// ======================================================================== // // Copyright 2009-2019 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>/* * ArcEmu MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2008 <http://www.ArcEmu.org/> * * This program 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 Fre...
<commit_before>/* * Copyright (c) 2003-2007 The Regents of The University of Michigan * 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 c...
<commit_before>/* * Copyright (C) 2009 Toni Gundogdu. * * This file is part of cclive. * * cclive 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) an...
<commit_before>/* This file is part of the KDE project Copyright (C) 2006 Matthias Kretz <kretz@kde.org> Copyright (C) 2009 Martin Sandsmark <sandsmark@samfundet.no> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as ...
<commit_before>// Copyright (c) 2012 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-CHROMIUM file. #include "common/main_delegate.h" #include "browser/browser_client.h" #include "common/content_client.h" #include "base/comm...
<commit_before> #include <node.h> #ifdef WIN32 #include <windows.h> #endif using namespace v8; using namespace node; Handle<Value> load(const Arguments& args) { HandleScope scope; if (args.Length() < 1 || !args[0]->IsString()) { return ThrowException( Exception::Error(String::New("Missin...
<commit_before>#include "SafierWind.hpp" #include "DebugUtils.hpp" #include "IDiskHump.hpp" #include <cmath> #include <string> struct SafierWindModel { double dxi0; double a_1, a_2, a_3, a_4, a_5, a_6, a_7, a_8; double b_0, b_1, b_2, b_3, b_4, b_5, b_6, b_7, b_8, b_9; }; namespace { constexpr SafierWi...
<commit_before>//===-- ABI.cpp -------------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>#pragma once #include <Automaton.h> class Atm_player : public Machine { public: enum { IDLE, START, SOUND, QUIET, NEXT, REPEAT, FINISH }; // STATES enum { EVT_START, EVT_STOP, EVT_TOGGLE, EVT_TIMER, EVT_EOPAT, EVT_REPEAT, ELSE }; // EVENTS Atm_player( void ) : Machine()...
<commit_before>#ifndef BROKER_H_ #define BROKER_H_ #include "dtypes.hpp" #include "message.hpp" #include <vector> #include <deque> #include <string> #include <unordered_map> #include <memory> #include <iostream> #include <boost/algorithm/string.hpp> class MqttSubscriber { public: virtual void newMessage(const std...
<commit_before>#include <bitcoin/blockchain/organizer.hpp> #include <bitcoin/utility/assert.hpp> namespace libbitcoin { block_detail::block_detail(const message::block& actual_block) : block_hash_(hash_block_header(actual_block)), processed_(false), info_{block_status::orphan, 0} { actual_block_ = std::mak...
<commit_before>#include "rosenbrock.h" #include <qmath.h> namespace { Rosenbrock instance; } RpnOperand Rosenbrock::calculate(FunctionCalculator *calculator, QList<RpnOperand> actualArguments) { m_calculator = calculator; m_functionName = actualArguments[0].value.value<QString>(); m_sourcePoint = actualArgumen...
<commit_before>/* mbed Microcontroller Library * Copyright (c) 2018 ARM Limited * * 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 * *...
<commit_before>/* * Copyright (C) 2008-2010 Manjeet Dahiya * * Author: * Manjeet Dahiya * * Source: * http://code.google.com/p/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lic...
<commit_before>#include "sdl_rw_ops.h" using namespace Halley; std::unique_ptr<ResourceDataReader> SDLRWOps::fromPath(const String& path, int64_t start, int64_t end) { auto fp = SDL_RWFromFile(path.c_str(), "rb"); if (!fp) { throw Exception("Unable to open file: " + path); } return std::make_unique<SDLRWOps>(fp...
<commit_before>/* * Copyright (C) 2008-2009 Manjeet Dahiya * * Author: * Manjeet Dahiya * * Source: * http://code.google.com/p/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Lic...
<commit_before><commit_msg>Change the Linux sad tab message wrapping to match Windows.<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2008, 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><commit_msg>Prediction: implement build adc trajectory<commit_after><|endoftext|>
<commit_before>#include "StdAfx.h" #include "DngDecoderSlices.h" /* RawSpeed - RAW file decoder. Copyright (C) 2009 Klaus Post 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...
<commit_before>#include "itkCommandLineArgumentParser.h" #include "itkImage.h" #include "itkPoint.h" #include "itkLandmarkBasedTransformInitializer.h" #include "itkVersorRigid3DTransform.h" #include "vnl/vnl_math.h" #include <iostream> #include <fstream> #include <iomanip> //----------------------------------------...
<commit_before>#include "errors.hpp" #include <boost/variant.hpp> #include "clustering/immediate_consistency/branch/backfillee.hpp" #include "clustering/immediate_consistency/branch/history.hpp" #include "concurrency/coro_pool.hpp" #include "concurrency/promise.hpp" #include "concurrency/queue/unlimited_fifo.hpp" #inc...
<commit_before>/* Copyright (c) 2010, The Barbarian Group 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 list of co...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include <boost/algorithm/string.hpp> #ifndef unix #include <float.h> #else #include "CoreTypes.h" #endif #include "RexNetworkUtils.h" #include "QuatUtils.h" #include <QStringList> namespace RexTypes { bool ParseBo...
<commit_before>// // RemotePhotoTool - remote camera control software // Copyright (C) 2008-2014 Michael Fink // /// \file EdsdkPropertyAccess.hpp EDSDK - Property access // #pragma once // includes #include "EdsdkCommon.hpp" #include "Variant.hpp" #include "ImageProperty.hpp" #include <boost/noncopyable.hpp> namespa...
<commit_before>/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkCodec.h" #include "SkCodecPriv.h" #include "SkMath.h" #include "SkSampledCodec.h" SkSampledCodec::SkSampledCodec(SkCodec* codec) : INHERITED(co...
<commit_before>#include <IO/AssimpLoader/AssimpFileLoader.hpp> #include <Core/Asset/FileData.hpp> #include <Core/Utils/StringUtils.hpp> #include <assimp/postprocess.h> #include <assimp/scene.h> #include <IO/AssimpLoader/AssimpAnimationDataLoader.hpp> #include <IO/AssimpLoader/AssimpCameraDataLoader.hpp> #include <IO...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: Language: C++ Date: Version: Copyright (c) 2000 National Library of Medicine All rights reserved. See COPYRIGHT.txt for copyright details. =====...
<commit_before>// Copyright (c) 2012 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 "chrome/service/service_process.h" #include <algorithm> #include "base/basictypes.h" #include "base/callback.h" #include "ba...
<commit_before>/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), t...
<commit_before>//===--- tools/extra/clang-tidy/ClangTidyMain.cpp - Clang tidy tool -------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "onoff_gpio.h" #include <QDebug> OnOffMorse::OnOffMorse() { int pin = 30; exportPin(pin); setDirection(pin, "out"); QString path = QString("/sys/class/gpio%1/value").arg(pin); m_file.setFileName(path); if (!m_file.open(QIODevice::WriteOnly)) { qDebug() << "Fail...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "persistencehandlerproxy.h" #include "documentretriever.h" #include "documentdb.h" #include <vespa/searchcore/proton/feedoperation/createbucketoperation.h> #include <vespa/sear...
<commit_before> /**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * *********************...
<commit_before>/* * Copyright (c) 2015, 2016, 2017, 2018, Intel Corporation * * 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 * noti...
<commit_before>/* *************************************** * Asylum Project @ 2013-12-09 *************************************** */ #ifndef __ASYLUM_HPP__ #define __ASYLUM_HPP__ #include "defs.h" /* System Filter */ #if !defined(_CR_SYS32_) && \ !defined(_CR_SYS64_) #error "asylum.hpp: system ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9a/procedures/hwp/memory/p9a_mss_freq.C $ ...
<commit_before>/** * CinematicView.cpp */ #include "stdafx.h" #include "CinematicView.h" #include "CallCinematicCamera.h" #include "CameraParamsOverride.h" #include "mmcore/param/BoolParam.h" #include "mmcore/param/EnumParam.h" #include "mmcore/view/CallRender3D.h" using namespace megamol; using namespac...
<commit_before>//.............................................................................. // // This file is part of the Jancy toolkit. // // Jancy is distributed under the MIT license. // For details see accompanying license.txt file, // the public copy of which is also available at: // http://tibbo.com/dow...
<commit_before>#include "boundingrecthighlighter.h" #include "qdeclarativedesignview.h" #include "qmlviewerconstants.h" #include <QGraphicsPolygonItem> #include <QTimer> #include <QObject> #include <QDebug> namespace QmlViewer { const qreal AnimDelta = 0.025f; const int AnimInterval = 30; const int AnimFrames = 10;...
<commit_before>#include <iostream> #include <seqan/sequence.h> #include <seqan/file.h> using namespace seqan; // Function to print simple alignment between two sequences with the same length template <typename TText1, typename TText2> void printAlign(TText1 const & genomeFragment, TText2 const & read) { std::c...
<commit_before> #include "common.h" #include "settingskeys.h" #include "logger.h" // Didn't find sleep in QCore #ifdef Q_OS_WIN #include <winsock2.h> // for windows.h #include <windows.h> // for Sleep #endif #include <QSettings> #include <QMutex> const QString alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" ...
<commit_before>/* ux++ - ux implementation for C++ */ /* LICENSE - The MIT License (MIT) Copyright (c) 2013 Tomona Nanase 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, inc...
<commit_before><commit_msg>Create #15.cpp<commit_after><|endoftext|>
<commit_before>#include <thread> #include <future> #include <ncurses.h> #include "../../../src/show_message.hh" #include "../../../src/split.hh" #include "../../vick-shell-command/src/shell_command.hh" #include "../../../src/file_contents.hh" #include "../../../src/prompt.hh" #include "../../../src/mode.hh" #include "...
<commit_before>#include "config.hpp" #include <sys/types.h> #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> #include <libconfig.h++> #ifdef _WIN32 #include <shlobj.h> #include <windows.h> #include <tchar.h> // Use explicitly wide char functions and compile for unicode. tstring home_directory() { ...
<commit_before>#ifndef CONFIG_HPP #define CONFIG_HPP #include <algorithm> // find #include <deque> #include "config_t.hpp" #include "observer.hpp" namespace generic { class config : public config_t , public observer<config_t> { public: template<typename ... CS> config(config_t * c, CS ... cs...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documenta...
<commit_before>/* Copyright (C) 2013 Slawomir Cygan <slawomir.cygan@gmail.com> * * 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 * * ...
<commit_before><commit_msg>translate to English<commit_after><|endoftext|>
<commit_before>/* * BIDSConn.cpp * * Created on: Aug 17, 2012 * Author: Brennan Nowers */ #include "BIDSConn.hpp" namespace PV { BIDSConn::BIDSConn(const char * name, HyPerCol * hc, HyPerLayer * pre, HyPerLayer * post, const char * filename, InitWeights *weightInit) { initialize_base(); initia...
<commit_before>/* * RuleConn.cpp * * Created on: Apr 5, 2009 * Author: rasmussn */ #include "RuleConn.hpp" #include <assert.h> #include <string.h> namespace PV { RuleConn::RuleConn(const char * name, HyPerCol * hc, HyPerLayer * pre, HyPerLayer * post, int channel) { initialize_base()...
<commit_before> #include <iostream> #include <lcm/lcm-cpp.hpp> #include "lcmtypes/drc_lcmtypes.hpp" #include "AffordanceCollectionListener.hpp" using namespace std; using namespace boost; using namespace visualization_utils; using namespace collision; namespace renderer_affordances { //==================construct...
<commit_before>#ifndef AX_DYNAMIC_MATRIX #define AX_DYNAMIC_MATRIX #include "DynamicMatrixExp.hpp" #include <iostream> #include <utility> #include <vector> namespace ax { class RealDynamicMatrix { public: using value_trait = DynamicMatrix; /* C x R matrix C O L U M N s R ( M_00 M_01 ... M_0C ) O...
<commit_before>/* * This File is part of Davix, The IO library for HTTP based protocols * Copyright (C) CERN 2019 * Author: Georgios Bitzes <georgios.bitzes@cern.ch> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publish...
<commit_before>#include <GLUL/G2D/Line.h> #include <GLUL/G2D/Quad.h> #include <glm/geometric.hpp> namespace GLUL { namespace G2D { Line::Line(unsigned int thickness) { setThickness(thickness); } Line::Line(const Point& point1, const Point& point2, unsigned int thickness) { ...
<commit_before> #pragma once #include "ChatEnums.hpp" #include "NodeClient.hpp" #include "SQLite3.hpp" #include "easylogging++.h" class ChatAvatar; class ChatAvatarService; class ChatRoom; class ChatRoomService; class GatewayNode; class PersistentMessageService; class UdpConnection; struct PersistentHeader; struct ...
<commit_before>/* * Copyright (C) 2009 Gregory Haynes <greg@greghaynes.net> * * 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 2 of the License, or * (at your optio...
<commit_before>#include "MusicMessages.h" #include <dmusic/Structs.h> #include <dmusic/PlayingContext.h> #include <cassert> #include <cstdlib> #include <cmath> using namespace DirectMusic; void MusicMessage::changeTempo(PlayingContext& ctx, double tempo) { ctx.m_tempo = tempo; } std::shared_ptr<InstrumentPlayer>...
<commit_before>#include <iostream> #include <SDL2/SDL.h> #include "cpu/intel8080.hpp" #include "gfx/screen.hpp" #include "machine/machine.hpp" #include "program/program.hpp" #define SCREEN_WIDTH 64 #define SCREEN_HEIGHT 32 #define SCALE 10 Intel8080 cpu; Screen screen(SCREEN_WIDTH, SCREEN_HEIGHT, SCALE); int main(i...
<commit_before>// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "StdAfx.h" #include "OptionsParser.h" COptionsParser::COptionsParser() { this->Clean(); } COptionsParser::COptionsParser(int nArgc, ...
<commit_before>/* vim:set noet sts=0 sw=2 ts=2: */ #include <string> #include <cctype> #include <array> #include <utility> #include <iostream> #include "ftoken.hpp" namespace fusion { const std::array<std::string, 29> tokens = { "else", "if", "true", "false", "nil", "while", "in", "new", "extends", "for", "asyn...
<commit_before>#include "betweenness_centrality.hpp" #include <cassert> #include <queue> #include <algorithm> using namespace std; namespace betweenness_centrality { void BetweennessCentralityBase::BuildGraph(const vector<pair<int, int> > &es){ vertex2id.clear(); G[0].clear(); G[1].clear(); V = ...
<commit_before>#include "background.hpp" #include "defs.hpp" #include "client/texturefile.hpp" #include "sys/rand.hpp" #include <memory> #include <stdio.h> namespace LD22 { namespace Bkgr { struct CloudDef { unsigned char x, y, w, h; // Call inside a GL_QUADS with the cloud texture void render(float px, f...
<commit_before>/* * Copyright © 2010 Intel Corporation * * 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, mod...
<commit_before>#include <opencv2/opencv.hpp> // #include "opencv2/highgui/highgui.hpp" // #include "opencv2/imgproc/imgproc.hpp" //#include "opencv2/gpu/gpu.hpp" #include "opencv2/core/cuda.hpp" #include "opencv2/cudaobjdetect.hpp" using namespace cv; using namespace std; int main (int argc, const char * argv[]){ ...
<commit_before>/* * experimental.cc * * Created on: May 1, 2015 * Author: isovic */ #include "graphmap/graphmap.h" #include "graphmap/filter_anchors.h" int GraphMap::AnchoredPostProcessRegionWithLCS_(ScoreRegistry* local_score, MappingData* mapping_data, const std::vector<Index *> &indexes, const SingleSeq...
<commit_before>/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with th...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the...
<commit_before><commit_msg>remove empty file, leftover from r384<commit_after><|endoftext|>
<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>/** * * Author : Shujia Huang * Date : 2014-08-21 * **/ #include "Region.h" vector<Region> MergeRegion(vector<Region> &regVect, int delta=1) { // CAUTION: The 'info' value in each member of regVect will been clean // after merge! vector<Region> newVect; map<string, long int> prePos; Region ...
<commit_before>/* * Copyright (C) 2008-2010 The QXmpp developers * * Author: * Manjeet Dahiya * * Source: * http://code.google.com/p/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publi...
<commit_before>#include "QpidPublisher.h" #include <chrono> using namespace std::chrono; // Quote and prefix the project simple topic name. // * The quotes pass the name to qpid messaging correctly // * The prefix gets the AMQ broker to use a topic and not a queue string AmqTopicName(const string name) { return "'...
<commit_before>/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2003 - 2007 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation...
<commit_before>#ifdef _WIN32 #include <windows.h> #pragma comment(lib,"user32.lib") #endif #ifdef unix #include <iostream> #include <stdlib.h> /* putenv */ #include <string.h> /* strdup */ #include <unistd.h> /* execvp */ #include <errno.h> /* errno */ #endif #include <sstream> #include <RefeusProcess.h> /** construct...
<commit_before>#include "../src/RobotLocation.hpp" #include <WPILib.h> #include <iostream> RobotLocation::RobotLocation() : gyro(2, 3) { std::cout << "Hello World" << std::endl; } void RobotLocation::update() { std::cout << "Hello World" << std::endl; } <commit_msg>Update location<commit_after>#include <WPILib.h> ...
<commit_before>/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_...
<commit_before>/* * Copyright © 2012, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed * under the Apache License, Version 2.0 (the "License"); * yo...
<commit_before>#line 2 "libsxc:Signal/Waiter.cxx" // LICENSE/*{{{*/ /* libsxc Copyright (C) 2008 Dennis Felsing, Andreas Waidler Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission...
<commit_before> #include <libclientserver.h> SignalHandler::SignalHandler(ISignalHandler *handler) { this->handler = handler; m_loop = true; if (sigemptyset(&m_sigs) < 0) abort(); if (sigaddset(&m_sigs, SIGALRM) < 0) abort(); if (sigaddset(&m_sigs, SIGCHLD) < 0) abort(); if (sigaddset(&m_sigs, SIGHUP) ...
<commit_before>#pragma once #include <atomic> #include <memory> #include <thread> #include <vector> #include "types.hpp" #include "utils/assert.hpp" namespace opossum { class TaskQueue; /** * To be executed on a separate Thread, fetches and executes tasks until the queue is empty AND the shutdown flag is set * I...
<commit_before>// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research and de...
<commit_before>// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // ----------------------------------- // Part of HPCToolkit (hpctoolkit.org) // ----------------------------------- // // Copyright ((c)) 2002-2010, Rice University // All righ...
<commit_before>/* http://portaudio.com/docs/v19-doxydocs/api_overview.html */ /* BEGIN Setup */ #include "portaudio.h" #include "pa_asio.h" #include <nan.h> using namespace Nan; using String = v8::String; using Number = v8::Number; using Object = v8::Object; using Value = v8::Value; using Value = v8::Value; using ...
<commit_before> #include "ThymioTracker.h" #include <vector> #include <stdexcept> #include <fstream> #include <opencv2/core.hpp> #include <opencv2/calib3d.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> namespace thymio_tracker { static const std::vector<cv::Scalar> colorPalette = { cv::Scala...
<commit_before>/* * (C) 2015,2017 Jack Lloyd * (C) 2015 Simon Warta (Kullo GmbH) * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/exceptn.h> #include <botan/internal/filesystem.h> #include <algorithm> #if defined(BOTAN_TARGET_OS_HAS_STL_FILESYSTEM_MSVC) && defined(BOTAN_BUIL...