text
stringlengths
54
60.6k
<commit_before>/* * Copyright 2016 <Lennart Nachtigall> <firesurfer65@yahoo.de> * * 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>#include <iostream> #include <unistd.h> #include "Hardware.h" void lSleep(double seconds) { usleep(seconds*1000000.0); } int main() { Hardware thingTwo; thingTwo.goHolonomic(0,100,20); lSleep(3); return 0; } <commit_msg>go straight task<commit_after>#include <iostream> #include <...
<commit_before>/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * 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 requi...
<commit_before>//===-------------- ARCAnalysis.cpp - SIL ARC Analysis --------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>// Version: $Id$ // // // Commentary: // // // Change Log: // // // Code: // ///////////////////////////////////////////////////////////////// // dtkDistributedGraph implementation // ///////////////////////////////////////////////////////////////// inline dtkDistributedGraph::dtkDistributedG...
<commit_before>/*ckwg +5 * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "pystream.h" #include <algorithm> #include <string> #include <cstdd...
<commit_before>#include "sl_field.h" #include <algorithm> #include <iostream> #include <utility> #include "sl_problem.h" #include "sl_database.h" namespace penciloid { namespace slitherlink { Field::Field() : GridLoop<Field>(), field_clue_(), database_(nullptr), method_() { } Field::Field(Y height, X...
<commit_before>#include "GildedRose.hpp" GildedRose::GildedRose(vector<Item> & items) : items(items) {} void GildedRose::updateQuality() { for (int i = 0; i < items.size(); i++) { if (items[i].name != "Aged Brie" && items[i].name != "Backstage passes to a TAFKAL80ETC concert") { ...
<commit_before>//===- SubtargetFeature.cpp - CPU characteristics Implementation ----------===// // // The LLVM Compiler Infrastructure // // This file was developed by Jim Laskey and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. // //===-------...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tdmgr_tdenumeration.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: obo $ $Date: 2006-09-16 17:37:41 $ * * The Contents of this fi...
<commit_before>// // Created by pdmitrano on 4/1/15. // #include <rail_user_queue_manager/rail_user_queue_manager.h> using namespace std; using namespace rail; int main(int argc, char *argv[]) { ros::init(argc, argv, "queue_manager"); //construct a queue UserQueueManager queue_manager; return EXIT_SUCCESS;...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: transliterationwrapper.cxx,v $ * * $Revision: 1.15 $ * * last change: $Author: hr $ $Date: 2006-06-19 14:07:54 $ * * The Contents of this...
<commit_before>#include "monster.h" #include "pathfinder.h" #include "obj_commodity.h" #include "shop.h" #include "shopowned.h" #include "obj_open_container.h" #include "room.h" #include "database.h" #include "materials.h" // shop rooms 558,8734,1393,3709 TObj *findCart(TBeing *myself) { TObj *cart=NULL; int cart...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/* This file is part of Bohrium and copyright (c) 2012 the Bohrium team <http://www.bh107.org>. Bohrium 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 3 of the License, or (a...
<commit_before>/* Copyright (C) 2000 by Norman Krmer This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later versi...
<commit_before>// Copyright (c) 2016-2017 The Syscoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "test/test_syscoin_services.h" #include "utiltime.h" #include "util.h" #include "rpc/server.h" #inclu...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (c) 2011 Laszlo Papp <djszapi@archlinux.us> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesse...
<commit_before>/* * Thread Pool Class * Copyright (C) Burlex <burlex@gmail.com> * * 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 * any later version. ...
<commit_before>// // Copyright (c) 2014 CNRS // Authors: Florent Lamiraux, Joseph Mirabel // // This file is part of hpp-core // hpp-core 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...
<commit_before>/*************************************************************************/ /* dir_access.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/* * Copyright (C) 2007-2015 Frank Mertens. * * Use of this source is governed by a BSD-style license that can be * found in the LICENSE file. * */ #include <flux/Format> #include <flux/yason> #include <flux/Arguments> namespace flux { Ref<Arguments> Arguments::parse(int argc, char **argv) { ...
<commit_before>/* FasTC * Copyright (c) 2013 University of North Carolina at Chapel Hill. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for educational, research, and non-profit purposes, without * fee, and without a written agreement is hereby gr...
<commit_before>/* Copyright (c) 2016 Bastien Durix 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, modify, merge, publish...
<commit_before>#include <Python.h> #include <string> #include <map> #include <utility> // std::pair support #include <iostream> #include "SerialUtils.hh" #include <errno.h> /* Encoding/Decoding formats: s: string i: int32 L: int64 A: a list of strings (!) */ namespace hu = HadoopUtils; static PyObject...
<commit_before>/* * Copyright (C) MediaSift Ltd. * * 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, modify, m...
<commit_before>/* Copyright (c) 2013, Project OSRM, Dennis Luxen, others 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...
<commit_before>/* * Copyright (c) 2014 odan * License: MIT License */ #include "Parameters5Gen.hpp" namespace PokeRNG { template<typename Constant> Parameters5Gen<Constant>::Parameters5Gen() : nazo1(Constant::nazo1), nazo2(Constant::nazo2), nazo3(Constant::nazo3), nazo4(Constant::nazo4), nazo5(Constant::nazo5), vc...
<commit_before>#include "platform.h" #include <stdlib.h> #include <boost/filesystem.hpp> #include <iostream> #include <sys/statvfs.h> #include <sstream> #include "Settings.h" #include <fstream> #ifdef WIN32 #include <codecvt> #endif std::string getHomePath() { std::string homePath; // this should give you someth...
<commit_before>/* The MIT License (MIT) Copyright (c) <year> <copyright holders> 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 us...
<commit_before>// // main.c // AppSuite // // Created by Brandon Holt on 12/13/11. // Copyright 2011 University of Washington. All rights reserved. // #if HAVE_UNISTD_H #include <unistd.h> #else #if !defined(__MTA__) #include <getopt.h> #endif #endif #include <stdio.h> #include "defs.hpp" #include <SoftXMT.hpp> #...
<commit_before>/* libvisio * Copyright (C) 2011 Fridrich Strba <fridrich.strba@bluewin.ch> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (...
<commit_before>#include "../../local/include/gtest/gtest.h" #include "genetic.h" #include <vector> using namespace std; namespace { int expected_i = 3; BooleanTable expected_o = {{true, true, true}, {true, true, false}, {true, false, true}, ...
<commit_before>/**************************************************************************** This file is part of the GLC-lib library. Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net) Version 0.9.9, packaged on May, 2008. http://glc-lib.sourceforge.net GLC-lib is free software; you ...
<commit_before>// Copyright 2015 Cutehacks AS. All rights reserved. // License can be found in the LICENSE file. #include <QtDebug> #include <QtCore/QFile> #include <QtCore/QFileInfo> #include <QtCore/QBuffer> #include <QtCore/QMimeDatabase> #include <QtNetwork/QNetworkAccessManager> #include <QtNetwork/QNetworkReques...
<commit_before>#ifndef RECURSE_REQUEST_HPP #define RECURSE_REQUEST_HPP #include <QTcpSocket> #include <QHash> #include <QUrl> #include <QUrlQuery> class Request { public: //! //! \brief data //! client request buffer data //! QString data; //! //! \brief socket //! underlying client ...
<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 "gm.h" #include "SkCanvas.h" #include "SkPath.h" static SkCanvas* MakeCanvas(const SkIRect& bounds) { SkBitmap bm; bm.setConfig(SkBitmap::kARG...
<commit_before>#include <xzero/http/client/HttpClusterRequest.h> #include <xzero/MonotonicClock.h> #include <assert.h> namespace xzero { namespace http { namespace client { HttpClusterRequest::HttpClusterRequest(const HttpRequestInfo& _requestInfo, std::unique_ptr<InputStream> _...
<commit_before>/** \file categorise_marc.cc * \brief Determines the type of MARC records. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2016-2018 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or...
<commit_before>#include "gm.h" #include "SkColorPriv.h" #include "SkGraphics.h" #include "SkImageDecoder.h" #include "SkImageEncoder.h" #include "SkStream.h" #include "SkRefCnt.h" #include "GrContext.h" #include "SkGpuCanvas.h" #include "SkGpuDevice.h" #include "SkEGLContext.h" #include "SkDevice.h" #ifdef SK_SUPPORT...
<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>/// /// @file PrimeSieve-nthPrime.cpp /// /// Copyright (C) 2013 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include <primesieve/soe/config.h> #include <primesieve/soe/PrimeSieve.h> #include <prim...
<commit_before>#pragma once #include <algorithm> #include <type_traits> #include <vector> #include "maths.hpp" #include "range/ranges.hpp" enum GraphType { Weighted = 1 }; template<typename T = long long, size_t MASK = 0> class Graph { public: using EdgesList = std::vector<size_t>; class Edge ...
<commit_before>/** @file * * @ingroup spatdiflib * * @brief * * @details * * @authors Chikashi Miyama, Trond Lossius * * @copyright Copyright (C) 2013 - 2014 Zurich University of the Arts, Institute for Computer Music and Sound Technology @n * This code is licensed under the terms of the "New BSD License" @n...
<commit_before>#ifndef STAN_MATH_PRIM_PROB_NEG_BINOMIAL_2_LPMF_HPP #define STAN_MATH_PRIM_PROB_NEG_BINOMIAL_2_LPMF_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/scal/fun/size_zero.hpp> #include <stan/math/prim/scal/fun/multiply_log.hpp> #include <stan/math/prim/scal/...
<commit_before>/* * Copyright 2014 Google Inc. 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 re...
<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 "content/browser/power_save_blocker.h" #include <IOKit/pwr_mgt/IOPMLib.h> #include "base/bind.h" #include "base/lazy_instanc...
<commit_before>#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // main.cpp: DLL entry point and management of thread-local data. #include "libGLESv2/main.h"...
<commit_before>#pragma ident "$Id$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published //...
<commit_before>//===--- TypeRefBuilder.cpp - Swift Type Reference Builder ----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// @brief V8 enigne configuration /// /// @file /// /// DISCLAIMER /// /// Copyright 2004-2012 triagens GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this...
<commit_before>// ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // STL #include <cassert> // StdAir #include <stdair/basic/BasConst_Request.hpp> #include <stdair/bom/BomManager.hpp> #include <stdair/bom/...
<commit_before>/* * Copyright 2018 Google, Inc. * * 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 conditions and the following ...
<commit_before>// // Created by salmon on 16-11-4. // #include <simpla/SIMPLA_config.h> #include <iostream> #include <simpla/manifold/pre_define/PreDefine.h> #include <simpla/mesh/Atlas.h> #include <simpla/mesh/CartesianCoRectMesh.h> #include <simpla/physics/Field.h> #include <simpla/physics/Constants.h> #include <s...
<commit_before>#pragma ident "$Id$" /** * @file LICSDetector2.cpp * This is a class to detect cycle slips using LI observables and a * 2nd order fitting curve. */ //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is ...
<commit_before>// // Created by hbruintjes on 15/03/17. // #include "ContactStore.h" #include <libpurple/debug.h> #include <libpurple/blist.h> #include <encoding/hex.h> ContactStore::ContactStore(ceema::IdentAPI& ident_api) : m_ident_api(ident_api) {} bool ContactStore::has_contact(ceema::client_id const& id) { ...
<commit_before>#include "settingswindow.h" #include "ui_settingswindow.h" #include "imagewidget.h" #include <QFileDialog> SettingsWindow::SettingsWindow(QSettings &Settings, QWidget *parent) : QDialog(parent), ui(new Ui::SettingsWindow), settings(Settings){ ui->setupUi(this); ui->defaultRendererComboBox->addI...
<commit_before>/* * Copyright (c) 2010 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementati...
<commit_before>#pragma once #include <string> #include <vector> #include "cpp/contracts.hpp" #include "cpp/string_view.hpp" namespace ccompiler { using SourceLocation = const char*; struct SourceRange { explicit SourceRange() = default; SourceRange(SourceLocation begin, SourceLocation end) : first{begin}, ...
<commit_before>/* * Copyright 2008 The Native Client 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 "native_client/src/include/portability.h" #include <stdio.h> #include <cctype> #include <stdlib.h> #include <algori...
<commit_before>// clang-format off // DO NOT EDIT: this file is auto-generated by caf-generate-enum-strings. // Run the target update-enum-strings if this file is out of sync. #include "caf/config.hpp" CAF_PUSH_DEPRECATED_WARNING #include "caf/sec.hpp" #include <string> namespace caf { std::string to_string(sec x)...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/hwas/hostbootIstep.C $ ...
<commit_before>/** * Copyright 2013-2014, Dominik Schnitzer <dominik@schnitzer.at> * 2014, Jan Schlueter <jan.schlueter@ofai.at> * * This file is part of Musly, a program for high performance music * similarity computation: http://www.musly.org/. * * This Source Code Form is subject to the terms o...
<commit_before>#include "openmc/tallies/filter.h" #include <algorithm> // for max #include <cstring> // for strcpy #include <string> #include <fmt/core.h> #include "openmc/capi.h" #include "openmc/constants.h" // for MAX_LINE_LEN; #include "openmc/error.h" #include "openmc/xml_interface.h" #include "openmc/tallies/...
<commit_before>// Copyright (c) 2012-2013 The Bitcoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "key.h" #include "base58.h" #include "script/script.h" #include "uint256.h" #include "util.h" #...
<commit_before>// Copyright (c) 2012-2018 The Bitsend Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <key.h> #include <key_io.h> #include <script/script.h> #include <uint256.h> #include <util.h> #inclu...
<commit_before>// Copyright (c) 2015-2017 The Bitcoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chain.h> #include <chainparams.h> #include <pow.h> #include <random.h> #include <util.h> #includ...
<commit_before>///////////////////////////////////////////////// // Serial port interface program to write the IP-Address on the youBot display ///////////////////////////////////////////////// #include <stdio.h> // standard input / output functions #include <string.h> // string function definitions #include <unistd.h...
<commit_before>// Copyright (c) 2011 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 "content/renderer/devtools_agent_filter.h" #include "base/bind.h" #include "base/message_loop.h" #include "content/common/dev...
<commit_before>// Copyright (c) 2006-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 "base/debug_util.h" #include <windows.h> #include <dbghelp.h> #include <iostream> #include "base/basictypes.h" #includ...
<commit_before>#include <qm/log> void log_change_settings_locally() { //TODO implement } void test_empty_log_macro() { log_info("===== empty macro testing ====="); log_debug(); log_info(); log_warning(); log_error(); log_critical(); log_info("==============================="); } #define test_log_macr...
<commit_before>//=====================================================================// /*! @file @brief ファイル入出力関連、ユーティリティー @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2016, 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ ...
<commit_before>#pragma once //=====================================================================// /*! @file @brief RX programmer クラス @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "rx_protocol.hpp" #include <boost/format.hpp> namespace rx { ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENS...
<commit_before>// Copyright (C) 2010 - 2012 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. /** * CCrossSectionTask class. * * This class implements a cross section task. */ #include <string> #include <sstream>...
<commit_before>#include <osgDB/ReadFile> #include <osg/Switch> #include <osg/Texture2D> #include <osg/MatrixTransform> #include <osg/Quat> #include <osg/Geometry> #include <osg/Geode> osg::MatrixTransform* createPositionedAndScaledModel(osg::Node* model,const osg::Vec3& pos, float radius, osg::Quat rotation) { os...
<commit_before>// Copyright (c) 2015 // Author: Chrono Law #ifndef _NGX_CONFIG_HPP #define _NGX_CONFIG_HPP #include "NgxArray.hpp" #ifndef NGX_CPP_DEV_CMD_OFFSET #define NGX_CPP_DEV_CMD_OFFSET NGX_HTTP_LOC_CONF_OFFSET #endif #ifndef NGX_CPP_DEV_CMD_TYPE #define NGX_CPP_DEV_CMD_TYPE NGX_HTTP_LOC_CONF #endif // depre...
<commit_before>////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2016 musikcube 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>#include <cstdio> #include <cstdlib> #include <ctime> #include <cassert> #ifdef USE_MPI_WTIME #include <mpi.h> #else #include <omp.h> #endif #include <upcxx.h> #include "convergent_matrix.hpp" /** * Define test config */ #define NITER_MIN 10 #define NITER_MAX 10 // 100000 for 8 x 8 //#define MSUB...
<commit_before>// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/ui/file_dialog.h" #include <atlbase.h> #include <windows.h> #include <commdlg.h> #include <shlobj.h> #include "atom/browser/native_window_views....
<commit_before>// // Created by fraillt on 18.4.26. // #include <cassert> #include <memory> #include <bitsery/bitsery.h> #include <bitsery/traits/vector.h> #include <bitsery/adapter/buffer.h> #include <bitsery/ext/pointer.h> #include <bitsery/ext/inheritance.h> #include <bitsery/ext/std_smart_ptr.h> //in order to work...
<commit_before>// UNIX domain sockets #include "types.h" #include "ilist.hh" #include "kstats.hh" #include "lb.hh" #include "atomic_util.hh" #include "proc.hh" #include <uk/socket.h> #include <uk/un.h> #define QUEUELEN 10 // Number of message per queue of a local socket #define LB 0 // Run with load balanc...
<commit_before> #include "tests.h" #include <iostream> #if defined(BOTAN_HAS_AEAD_OCB) #include <botan/ocb.h> #include <botan/hex.h> #include <botan/sha2_32.h> #include <botan/aes.h> using namespace Botan; // something like this should be in the library namespace { std::vector<byte> ocb_decrypt(const SymmetricKey& ...
<commit_before>/************************************************************************* * * $RCSfile: tbxcustomshapes.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: vg $ $Date: 2005-03-08 15:09:08 $ * * The Contents of this file are made available subject to the terms of * either of the followin...
<commit_before>/************************************************************************* * * $RCSfile: IDocumentChartDataProviderAccess.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-05-22 16:18:24 $ * * The Contents of this file are made available subject to the terms of * eithe...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: handlerhelper.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: kz $ $Date: 2006-12-13 11:59:48 $ * * The Contents of this file are ...
<commit_before>#include "stdafx.h" #include "CppUnitTest.h" #include "Flathead.h" #include "../RequiresFlathead.h" #include "Types/Boolean.h" using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace Gneu { TEST_CLASS(BooleanTests), RequiresFlathead { public: TEST_CLASS_INITIALIZE(InitializeModu...
<commit_before>#include "pch.h" #include "OuterFilter.h" namespace { // {DF557071-C9FD-433A-9627-81E0D3640ED9} const GUID filterGuid = {0xdf557071, 0xc9fd, 0x433a, {0x96, 0x27, 0x81, 0xe0, 0xd3, 0x64, 0xe, 0xd9}}; const WCHAR filterName[] = L"sanear"; const AMOVIESETUP_MEDIATYPE pinTypes[...
<commit_before>#include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <unistd.h> #include <pwd.h> #include <sys/types.h> #include <sys/stat.h> #include <vector> #include "rodsClient.hpp" int main( int argc, char *argv[] ) { /* make sure the provided username matches what the OS t...
<commit_before>// Copyright (c) 2014 Ratcoin dev-team // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "tracker/originAddressScaner.h" #include "tracker/transactionRecordManager.h" #include "chainparams.h" #include...
<commit_before>/* * TLS Record Handling * (C) 2012 Jack Lloyd * * Released under the terms of the Botan license */ #include <botan/internal/tls_record.h> #include <botan/libstate.h> #include <botan/loadstor.h> #include <botan/internal/tls_session_key.h> #include <botan/internal/rounding.h> #include <botan/internal/ass...
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. 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 // // ...
<commit_before>/** * @file TextPlot.cpp * * A simple console-based data plotter. * * This file is part of the Aquila DSP library. * Aquila is free software, licensed under the MIT/X11 License. A copy of * the license is provided with the library in the LICENSE file. * * @package Aquila * @version 3.0.0-dev *...
<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>// __BEGIN_LICENSE__ // Copyright (C) 2006-2010 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <vw/Mosaic/GMapQuadTreeConfig.h> #include <boost/filesystem/path.hpp> #include <boos...
<commit_before> #ifndef _PFASST_ENCAP_IMPLICIT_SWEEPER_HPP_ #define _PFASST_ENCAP_IMPLICIT_SWEEPER_HPP_ #include <cstdlib> #include <cassert> #include <vector> #include <memory> #include "../globals.hpp" #include "../quadrature.hpp" #include "encapsulation.hpp" #include "encap_sweeper.hpp" #include "vector.hpp" usin...
<commit_before>/* * (C) 2014 Kimmo Lindholm <kimmo.lindholm@gmail.com> Kimmoli * * Routines for TCA8424 * * * * */ #include <linux/i2c-dev.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <fcntl.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <errno.h> #inc...
<commit_before>/************************************************************************* * * $RCSfile: menubarwrapper.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2004-08-02 13:16:51 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>/* Copyright (C) 2003 by Frank Richter (C) 2006 by Marten Svanfeldt This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the Li...
<commit_before>/* This file is part of the KUPnP library, part of the KDE project. Copyright 2009-2010 Friedrich W. H. Kossebau <kossebau@kde.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 Fr...