text
stringlengths
54
60.6k
<commit_before>/* * Copyright 2009-2020 The VOTCA Development Team * (http://www.votca.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 * *...
<commit_before>/*************************************************************************** * Copyright (c) 2016, Johan Mabille and Sylvain Corlay * * * * Distributed under the terms of the BSD 3-Clause License. ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tkthrobber.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2008-04-04 10:55:58 $ * * The Contents of this file are mad...
<commit_before>//===-- Clustering.cpp ------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/************************************************************************** * * Copyright 2011-2012 Jose Fonseca * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal *...
<commit_before>/* -*- indent-tabs-mode: nil -*- */ #include <gflags/gflags.h> #include <glog/logging.h> #include <gtest/gtest.h> #include <set> #include <string> #include "database.h" #include "file_db.h" #include "file_storage.h" #include "sqlite_db.h" #include "test_db.h" #include "test_signer.h" #include "util.h" ...
<commit_before>#include <string> #include <sstream> #include <time.h> #include <sys/time.h> #include "log_service_impl.h" using namespace rpc; using namespace std; using namespace rlog; void RLogServiceImpl::log(const i32& level, const std::string& source, const i64& msg_id, const std::string& message) { log_pi...
<commit_before>#pragma once #include "boost_defs.hpp" #include "gcd_utility.hpp" #include "session.hpp" #include <boost/optional.hpp> #include <boost/signals2.hpp> #include <memory> namespace krbn { class console_user_id_monitor final { public: boost::signals2::signal<void(boost::optional<uid_t>)> console_user_id_...
<commit_before>#include "GUI_ObjectSettings.hpp" #include "GUI_ObjectList.hpp" #include "OptionsGroup.hpp" #include "wxExtensions.hpp" #include "PresetBundle.hpp" #include "libslic3r/Model.hpp" #include <boost/algorithm/string.hpp> #include "I18N.hpp" #include "ConfigManipulation.hpp" #include <wx/wupdlock.h> name...
<commit_before>/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License....
<commit_before>#include <gtest/gtest.h> #include "../libjsapi.h" rs::jsapi::Runtime rt_; class ScriptExceptionTests : public ::testing::Test { protected: virtual void SetUp() { } virtual void TearDown() { } }; TEST_F(ScriptExceptionTests, test1) { ASSER...
<commit_before>#include <GarrysMod/Lua/Interface.h> #include <GarrysMod/Lua/Helpers.hpp> #include <GarrysMod/FunctionPointers.hpp> #include <GarrysMod/InterfacePointers.hpp> #include <detouring/classproxy.hpp> #include <cstdint> #include <string> #include <unordered_set> #include <algorithm> #include <cctype> #inclu...
<commit_before>#include "qmljstypedescriptionreader.h" #include "parser/qmljsparser_p.h" #include "parser/qmljslexer_p.h" #include "parser/qmljsengine_p.h" #include "parser/qmljsnodepool_p.h" #include "parser/qmljsast_p.h" #include "parser/qmljsastvisitor_p.h" #include "qmljsbind.h" #include <QtCore/QIODevice> #incl...
<commit_before>#include <iostream> #include <sstream> #include <string> #include "pixelboost/data/xml/xml.h" #include "pixelboost/file/fileHelpers.h" enum ShaderLanguage { kShaderLanguageGLSL, kShaderLanguageHLSL, }; enum ShaderType { kShaderTypeVertex, kShaderTypeFragment, }; bool ParseShaderGLSL(c...
<commit_before>#include <iostream> #include "moltengamepad.h" #include <getopt.h> #include <signal.h> #include <stdio.h> #include <csignal> int parse_opts(moltengamepad::mg_options &options,int argc, char* argv[]); volatile bool STOP_WORKING = true; volatile bool QUIT_APPLICATION = false; moltengamepad* app; void sig...
<commit_before>// Copyright (c) 2017-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chainparams.h> #include <index/base.h> #include <shutdown.h> #include <tinyformat.h> #include <ui_in...
<commit_before>//individual.cpp #include <vector> #include <cstdlib> #include "individual.hpp" #include "utils.hpp" Individual::Individual(){ expression = new Node(); } Individual::~Individual(){ delete expression; } Node *Individual::crossover(double crossover_rate, Individual parent){ } void Individual...
<commit_before>/*! * FrameRecevierConfigTest.cpp * * Created on: Feb 4, 2015 * Author: Tim Nicholls, STFC Application Engineering Group */ #include <boost/test/unit_test.hpp> #include "FrameReceiverConfig.h" namespace FrameReceiver { // This class, which is a friend of FrameReceiverConfig, allows test...
<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>// RUN: %clang_cl_asan -O0 %s -Fe%t // RUN: not %run %t 2>&1 | FileCheck %s #include <stdio.h> #include <string.h> #include <malloc.h> int main() { char *ptr = _strdup("Hello"); int subscript = 1; ptr[subscript] = '3'; printf("%s\n", ptr); fflush(0); // CHECK: H3llo subscript = -1; ptr[s...
<commit_before>/*++ Copyright (c) 2006 Microsoft Corporation Module Name: bitvector.cpp Abstract: Simple bitvector implementation Author: Leonardo de Moura (leonardo) 2006-10-03. Revision History: --*/ #include<limits.h> #include"bit_vector.h" #include"trace.h" #define DEFAULT_CAPACITY 2 #define M...
<commit_before>#include <iostream> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> int main (int argc, char** argv) { pcl::PointCloud<pcl::PointXYZ> cloud;...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2008 Renato Araujo Oliveira Filho <renatox@gmail.com> Copyright (c) 2000-2014 To...
<commit_before>#pragma once #include "VectorIndexer.hpp" #include "Mesh.h" #include "ObjectID.hpp" #include <tuple> #include <assert.h> #include "VBSortedMeshPool.h" namespace Rendering { namespace Manager { class MeshManager final { public: MeshManager() = default; DISALLOW_ASSIGN_COPY(MeshManager); ...
<commit_before>/* * This file is part of Poedit (http://www.poedit.net) * * Copyright (C) 2004-2006 Vaclav Slavik * * 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 restric...
<commit_before> #include "netbase.h" #include "masternodeconfig.h" #include "util.h" #include "chainparams.h" #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> CMasternodeConfig masternodeConfig; void CMasternodeConfig::add(std::string alias, std::string ip, std::string privKey, std::string txH...
<commit_before>/* * nextpnr -- Next Generation Place and Route * * Copyright (C) 2018 Clifford Wolf <clifford@clifford.at> * * 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 permis...
<commit_before><commit_msg>Increased scale for ARM<commit_after><|endoftext|>
<commit_before>/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can *...
<commit_before>//============================================================================================================= /** * @file settingscontroller.cpp * @author Juan Garcia-Prieto <Juan.GarciaPrieto@uth.tmc.edu> <juangpc@gmail.com>; * Wayne Mead <wayne.mead@uth.tmc.edu> <wayne.isk@gmail.com>;...
<commit_before>#include <iostream> #include <unistd.h> #include <curses.h> #include "Ncurses.hpp" using namespace Chip8; const std::map<Key, int> Ncurses::Chip8KeyToNcurses = { { Key::KEY_0, '0' }, { Key::KEY_1, '1' }, { Key::KEY_2, '2' }, { Key::KEY_3, '3' }, { Key::KEY_4, '4' }, { Key::KEY_5, '5' }, { Key:...
<commit_before>// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/bss_relocs.h" #include "vm/native_symbol.h" #include "vm/runtime_entry.h" #...
<commit_before>//============================================================================================================= /** * @file settingscontroller.cpp * @author Juan Garcia-Prieto <Juan.GarciaPrieto@uth.tmc.edu> <juangpc@gmail.com>; * Wayne Mead <wayne.mead@uth.tmc.edu> <wayne.isk@gmail.com>;...
<commit_before>/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015 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"), to deal...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICE...
<commit_before>/* * This program is just for personal experiments here on C++ mixin for * handling lifecycle of specific objects. */ // includes for the example program itself #include <fastarduino/tests/assertions.h> #include <fastarduino/uart.h> #include <fastarduino/iomanip.h> #include <fastarduino/flash.h> #in...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 Kurt Pattyn <pattyn.kurt@gmail.com>. ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtWebSockets module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License...
<commit_before>/* Copyright (c) 2007, Un Shyam 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 conditions...
<commit_before>/* * Copyright (C) 2018 Nagisa Sekiguchi * * 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 applicab...
<commit_before>#include <cstdint> #include <iostream> #include <numeric> #include <stdexcept> #include <adios2.h> #include <gtest/gtest.h> #ifdef ADIOS2_HAVE_MPI TEST(ADIOSInterface, MPICommRemoved) { MPI_Comm myComm; MPI_Comm_dup(MPI_COMM_WORLD, &myComm); adios2::ADIOS adios(myComm); adios2::IO io...
<commit_before>/* Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. 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 t...
<commit_before>// this file defines the itkBasicFiltersTest for the test driver // and all it expects is that you have a function called RegisterTests #include <iostream> #include "itkTestMain.h" void RegisterTests() { REGISTER_TEST(itkAsinImageFilterAndAdaptorTest ); REGISTER_TEST(itkAcosImageFilterAndAdaptorTe...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkSTLContainerAdaptorTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. S...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkDataSetMapper.cc Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1995 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted ...
<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 "ash/desktop_background/desktop_background_view.h" #include "ash/ash_export.h" #include "ash/shell.h" #include "ash/shell_win...
<commit_before>// $Id$ // // Test Suite for geos::operation::geounion::CascadedPolygonUnion class. // tut #include <tut.hpp> // geos #include <geos/operation/union/UnaryUnionOp.h> #include <geos/geom/GeometryFactory.h> #include <geos/geom/Geometry.h> #include <geos/geom/Polygon.h> #include <geos/geom/Point.h> #includ...
<commit_before>/* * This file is part of meego-keyboard * * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * Contact: Nokia Corporation (directui@nokia.com) * * If you have questions regarding the use of this file, please contact * Nokia at directui@nokia.com. * * Th...
<commit_before>#include "main_window.hpp" #include "../utility/threads.hpp" #include <QApplication> #include <iostream> using namespace std; using namespace datavis; int main(int argc, char *argv[]) { QApplication app(argc, argv); auto args = app.arguments(); QString file_path; if (args.size() > 1...
<commit_before>/* * Copyright 2007-2020 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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...
<commit_before> #include<osl/module.hxx> #include <osl/time.h> #include <rtl/ustring.hxx> #include <stdio.h> #include <cppuhelper/factory.hxx> #include <cppuhelper/servicefactory.hxx> #include <cppuhelper/bootstrap.hxx> #include <com/sun/star/lang/XMultiComponentFactory.hpp> #include <com/sun/star/lang/XSingleServiceFa...
<commit_before>// Creates BED of regions in the specified genome that are in a column // with no duplicates in any of the target genomes. #include "hal.h" #include "halBedLine.h" using namespace std; using namespace hal; static CLParserPtr initParser() { CLParserPtr optionsParser = hdf5CLParserInstance(true); opt...
<commit_before>/************************************************************************* This file is part of libresourceqt Copyright (C) 2010 Nokia Corporation. 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 S...
<commit_before>#include <shogun/classifier/svm/SVMOcas.h> #include <shogun/features/DataGenerator.h> #include <shogun/features/DenseFeatures.h> #include <gtest/gtest.h> using namespace shogun; TEST(SVMOcasTest,train) { index_t num_samples = 50; SGMatrix<float64_t> data = CDataGenerator::generate_gaussians(num_sam...
<commit_before>/* * Copyright 2004-present Facebook, Inc. * * 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>/* * Copyright 2017-present Facebook, Inc. * * 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>/* * Copyright 2008-2009 NVIDIA Corporation * * 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 require...
<commit_before>/* dtkPluginGenerator.cpp --- * * Author: Julien Wintz * Copyright (C) 2008 - Julien Wintz, Inria. * Created: Mon Mar 9 21:41:18 2009 (+0100) * Version: $Id$ * Last-Updated: Tue May 4 15:32:39 2010 (+0200) * By: Julien Wintz * Update #: 175 */ /* Commentary: * */ /* Chang...
<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>// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the...
<commit_before>#ifndef COMPONENT_HH #define COMPONENT_HH #include <G4LogicalVolume.hh> class G4VUserPrimaryGeneratorAction; class G4UserEventAction; class G4UserRunAction; class G4UserStackingAction; class G4UserSteppingAction; class G4UserTrackingAction; class G4VUserPhysicsList; class G4VPhysicalVolume; namespace ...
<commit_before>/* ************************************************ * GEANT4 CAD INTERFACE * * File: CADMesh.hh * * Author: Christopher M Poole, * Email: mail@christopherpoole.net * * Date: 7th March, 2011 **************************************************/ #pragma once namespace CADMesh { ...
<commit_before>// $RCSfile: $ // $Revision: $ $Date: $ // Auth: Samson Bonfante (bonfante@steptools.com) // // Copyright (c) 1991-2016 by STEP Tools Inc. // // 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 ...
<commit_before>// // ofxInFocusSerial.cpp // greveGulv // // Created by Tobias Ebsen on 13/05/14. // // #include "ofxInFocusSerial.h" bool ofxInFocusSerial::setup(string portName) { bool result = ofSerial::setup(portName, 19200); // Disable hardware flow control struct termios options; tcgetattr...
<commit_before>#include <iostream> using namespace std; int main() { int x, y, z; cin >> x >> y >> z; if (x == y) { if (x == z) { cout << 3; } } else {if (y == z) { cout << 2; } else {cout << 0;} } return 0; }<commit...
<commit_before><commit_msg>linux: fix build error on gcc-4.4 on Ubuntu<commit_after><|endoftext|>
<commit_before><commit_msg>Fix ninebox rendering.<commit_after><|endoftext|>
<commit_before><commit_msg>Fix a comment. This was brought up by Ojan in a review for my previous patch, but I forgot to fix it before checking in. Review URL: http://codereview.chromium.org/12877<commit_after><|endoftext|>
<commit_before>// Copyright 2020 Google LLC // // 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 applicable law o...
<commit_before><commit_msg>Enable WorkerTest.WorkerContextMultiPort on Linux. BUG=22898 TEST=none<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/thread.h" #include "chrome/browser/worker_host/worker_service.h" #include "chrome/test/automation/browser_proxy.h" #incl...
<commit_before><commit_msg>Fix wrong macro OS_MAC -> OS_MACOSX<commit_after><|endoftext|>
<commit_before>/* lua_buffers.cc - Implementation of our buffer-related lua primitives. * * ----------------------------------------------------------------------- * * Copyright (C) 2016 Steve Kemp https://steve.kemp.fi/ * * All rights reserved. * * Redistribution and use in source and binary forms, with or wit...
<commit_before>#include <iostream> #include <fstream> #include <string> #include <sstream> #include <getopt.h> #include <cstring> #include <less/less/LessTokenizer.h> #include <less/less/LessParser.h> #include <less/css/CssWriter.h> #include <less/css/CssPrettyWriter.h> #include <less/stylesheet/Stylesheet.h> #include...
<commit_before>#include "../headers/mainwindow.h" #include "ui_mainwindow.h" #include "../headers/gtautils.hpp" namespace SAMP_Ex2 { MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); m_lblDefaultNick = new QLabel(this); m_lblDefaultNick->setText("N...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include "version.h" #include <QFileDialog> #include <QMessageBox> #include <QCloseEvent> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->PauseResume_Button->setFocus(); connect...
<commit_before>/* This file is part of the KDE project. Copyright (C) 2011 Harald Sitter <sitter@kde.org> Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License ...
<commit_before> /** * \file main.cc * \brief Program for giving an indication when a rfid card has been detected, a database connection has been made and a string has been encrypted * \author Tim IJntema, Stefan de Beer, Arco Gelderblom, Rik Honcoop, Koen de Groot, Ricardo Bouwman, Philippe Zwietering, L...
<commit_before>#include <string> #include <functional> #include <vector> #include <cassert> #include <Console.h> #include <CPU.h> #include <APU.h> #include <PPU.h> #include <Cart.h> #include <Controller.h> #include <Divider.h> void Console::boot() { ReadBus cpuReadCallback = [this] (uint16_t addr) { return cpuRe...
<commit_before>#include <Context.h> #include <cmath> #include <iostream> using namespace std; using namespace canvas; void Context::resize(unsigned int _width, unsigned int _height) { getDefaultSurface().resize(_width, _height, (unsigned int)(_width * getDisplayScale()), (unsigned int)(_height * getDisplayScale())...
<commit_before>// DepthOp.cpp /* * Copyright (c) 2009, Dan Heeks * This program is released under the BSD license. See the file COPYING for * details. */ #include "stdafx.h" #include "DepthOp.h" #include "CNCConfig.h" #include "ProgramCanvas.h" #include "Program.h" #include "interface/PropertyInt.h" #include ...
<commit_before>// DepthOp.cpp /* * Copyright (c) 2009, Dan Heeks * This program is released under the BSD license. See the file COPYING for * details. */ #include "stdafx.h" #include "DepthOp.h" #include "CNCConfig.h" #include "ProgramCanvas.h" #include "Program.h" #include "interface/PropertyInt.h" #include ...
<commit_before>#include <Element.h> #include <FWPlatform.h> #include <TextLabel.h> #include <LinearLayout.h> #include <Command.h> using namespace std; Element::~Element() { if (isInitialized()) { sendCommand(Command(Command::DELETE_ELEMENT, getParentInternalId(), getInternalId())); } } void Element::initiali...
<commit_before>#include "FastPID.h" #include <Arduino.h> FastPID::~FastPID() { } void FastPID::clear() { _last_sp = 0; _last_out = 0; _sum = 0; _last_err = 0; _cfg_err = false; } bool FastPID::setCoefficients(float kp, float ki, float kd, float hz) { _p = floatToParam(kp); _i = floatToParam(ki / hz...
<commit_before>#include <getopt.h> #include "dlib/bam_util.h" int usage(char **argv, int retcode=EXIT_FAILURE) { fprintf(stderr, "MASKRIPPER version %s.\n" "Usage: maskripper <opts> in.bam out.bam\n" "Flags:\n-m: Minimum trimmed read length. Default: 0.\n" ...
<commit_before>/*** DEVSIM Copyright 2013 Devsim LLC 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 applicable law or agreed to i...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "primitives/block.h" #include "hash.h" #include "tinyfor...
<commit_before>//================================================ // @title mx_fwht.cpp // @author Jonathan Hadida // @contact Jonathan.hadida [at] dtc.ox.ac.uk //================================================ #include "fwht.h" #include "mexArray.h" #include <algorithm> #define SEQUENCY_ORDER fals...
<commit_before>#include "V3DInstance.h" V3D_RESULT V3DCreateInstance(const V3DInstanceDesc& instanceDesc, IV3DInstance** ppInstance) { if (V3DInstance::IsCreated() == true) { return V3D_ERROR_FAIL; } // ----------------------------------------------------------------------------------------------------...
<commit_before>#include "Hueckel.h" #include "RunStatus.h" #include <boost/spirit/include/classic.hpp> #include <vector> #include <sstream> #include <string> #include <cstdio> using namespace hmo; using namespace boost::spirit::classic; using namespace std; /* E.g. C1==C2 \ ...
<commit_before>// Copyright 2017 Global Phasing Ltd. // // Functions for transparent reading of gzipped files. Uses zlib. #ifndef GEMMI_GZ_HPP_ #define GEMMI_GZ_HPP_ #include <cassert> #include <cstdio> // fseek, ftell, fread #include <climits> // INT_MAX #include <memory> #include <string> #include <zlib.h...
<commit_before>// Copyright Daniel Wallin 2006. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <libtorrent/session.hpp> #include <boost/python.hpp> using namespace boost::p...
<commit_before>/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Test.h" // This is a GR test #if SK_SUPPORT_GPU #include "GrContextFactory.h" #include "SkGpuDevice.h" #include "../../src/gpu/GrClipMaskManager.h" ...
<commit_before>#pragma once //=========================================================================// /*! @file @brief UDP Protocol 全体管理 @n Copyright 2017 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=========================================================================// #include...
<commit_before>#include "WsaSocket.h" #include "WsaException.h" WsaSocket::WsaSocket(int family, int type, int protocol) { _socket = socket(family, type, protocol); if (_socket == INVALID_SOCKET) { throw WsaException("Error at socket()", WSAGetLastError()); } } WsaSocket::~WsaSocket() { if (_connected) { c...
<commit_before>#pragma once /** @file @brief functions for T[] @author MITSUNARI Shigeo(@herumi) @license modified new BSD license http://opensource.org/licenses/BSD-3-Clause */ #include <cybozu/bit_operation.hpp> #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable : 4456) #pragma warning(disable : 4...
<commit_before>//---------------------------- reference.cc --------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 1998, 1999, 2000, 2001 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer //...
<commit_before>// Scintilla source code edit control /** @file LexInno.cxx ** Lexer for Inno Setup scripts. **/ // Written by Friedrich Vedder <fvedd@t-online.de>, using code from LexOthers.cxx. // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #includ...
<commit_before>/* 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 Foundation; either version 2 of the License, or (at y...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 req...
<commit_before>#include "channel.hpp" #include "types.hpp" #include "transporthandler.hpp" #include "utils.hpp" #include "net.hpp" #include <string> #include <arpa/inet.h> #include <phosphor-logging/log.hpp> #include <phosphor-logging/elog-errors.hpp> #include "xyz/openbmc_project/Common/error.hpp" constexpr auto ip...