text
stringlengths
54
60.6k
<commit_before>// $Id: AutoDeleteable_test.C,v 1.1 2000/08/22 16:59:43 amoll Exp $ #include <BALL/CONCEPT/classTest.h> /////////////////////////// #include <BALL/CONCEPT/autoDeletable.h> /////////////////////////// using namespace BALL; class A: public AutoDeletable { }; START_TEST(class_name, "$Id: AutoDeleteabl...
<commit_before><commit_msg>Gui: [skip ci] make Save logic of text document more intuitive<commit_after><|endoftext|>
<commit_before>/* * Copyright (c) 2003-2007 Rony Shapiro <ronys@users.sourceforge.net>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-licen...
<commit_before>//===-- PathMappingList.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>#ifndef PK_BINARYINDEXEDTREE2D_HPP #define PK_BINARYINDEXEDTREE2D_HPP namespace pk { namespace detail { struct binary_indexed_tree_2d_entry { binary_indexed_tree_2d_entry(const int x_, const int y_) : x(x_), y(y_) {} int x; int y; }; struct binary_indexed_tree_2d_subrange { binary_...
<commit_before><commit_msg>missing include limits<commit_after><|endoftext|>
<commit_before><commit_msg>Add newline to end of download_manager.cc<commit_after><|endoftext|>
<commit_before>/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #include <graph/power.hh> using namespace parasols; Graph parasols::power(const Graph & graph, int n) { /* this is spectacularly dumb. we can do a lot better. */ Graph result = graph; for (int p = 1 ; p < n ; ++p) { Graph prev_resul...
<commit_before>#include "ROM.h" #include <fstream> #include <iostream> #include <iterator> #include <stdexcept> #include <cstring> // From https://stackoverflow.com/questions/15138353/reading-the-binary-file-into-the-vector-of-unsigned-chars ROM ROM::FromFile(const std::string& filename) { // Make file stream std::i...
<commit_before>/* * This file is part of the µOS++ distribution. * (https://github.com/micro-os-plus) * Copyright (c) 2016 Liviu Ionescu. * * µOS++ 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 Foundatio...
<commit_before>#include "Units.h" #include "RhoZ.h" using namespace GeFiCa; void RhoZ::DoSOR2(int idx) { if (fIsFixed[idx])return; // 2nd-order Successive Over-Relaxation double density=fImpurity[idx]*Qe; double drm=fdC1m[idx]; // dr_minus double drp=fdC1p[idx]; double dzm=fdC2m[idx]; double dzp=...
<commit_before>/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "Copyright (c) 2011 Tokutek Inc. All rights reserved." #ident "$Id$" #include <toku_portability.h> #include <zlib.h> #include <lzma.h> #include "compress.h" #include "memory.h" #i...
<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 "media/audio/null_audio_sink.h" #include "base/bind.h" #include "base/stringprintf.h" #include "base/sys_byteorder.h" #includ...
<commit_before>/* Copyright 2019 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>// 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 "chrome/browser/gtk/location_bar_view_gtk.h" #include <string> #include "base/basictypes.h" #include "base/gfx/gtk_util.h" #...
<commit_before><commit_msg>Fix the position of the throbber for pinned tabs. It was wrong before, but we repainted the whole pinned tab so it wasn't as obvious. With this change, the throbber is placed where the favicon will go.<commit_after><|endoftext|>
<commit_before>///\file conn_http_progressive.cpp ///\brief Contains the main code for the HTTP Progressive Connector #include <iostream> #include <queue> #include <sstream> #include <cstdlib> #include <cstdio> #include <cmath> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <mist/socket.h>...
<commit_before>/* * Copyright (c) 2016 Fastly, Inc. * * 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...
<commit_before>/* Copyright (c) 2012 Research In Motion 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 * * Unless required by ...
<commit_before><commit_msg>Use more useful floating point format in debug output<commit_after><|endoftext|>
<commit_before>// SciTE - Scintilla based Text Editor /** @file GUIGTK.cxx ** Interface to platform GUI facilities. ** Split off from Scintilla's Platform.h to avoid SciTE depending on implementation of Scintilla. **/ // Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the ...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999-2002 The Apache Software Foundation. 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. Red...
<commit_before>// Copyright 2013 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/browser/chromeos/input_method/component_extension_ime_manager_impl.h" #include "base/logging.h" #include "chrome/browser/...
<commit_before>#include <ossim/elevation/ossimDtedElevationDatabase.h> #include <ossim/base/ossimDirectory.h> #include <ossim/base/ossimGeoidManager.h> #include <ossim/base/ossimNotify.h> #include <ossim/base/ossimPreferences.h> #include <ossim/base/ossimTrace.h> #include <sstream> #include <iomanip> #include <cstdlib>...
<commit_before>float rotx, roty, rotz; class Player{ public: float x,y,z; float lookat_x,lookat_y,lookat_z; }; class Level{ private: string cur_level_path; string cur_level; Model_OBJ *room; Model_OBJ *inv; Model_OBJ *player; int g_rotation; Player *p; bool flipped; public: Level(string &l); void dis...
<commit_before>#include <iostream> #include <gtest/gtest.h> #include "../pipeline.h" #include "../channel.h" #include <thread> class ChannelTest : testing::Test { }; using cmd = cu::pipeline<int>; cmd::link generator() { return [](cmd::in&, cmd::out& yield) { for (auto& s : {100, 200, 300}) { std::cout << "...
<commit_before><commit_msg>remove gamepad hint from credits<commit_after><|endoftext|>
<commit_before>#include "master.hpp" namespace factor { void factor_vm::init_card_decks() { cards_offset = (cell)data->cards - addr_to_card(data->start); decks_offset = (cell)data->decks - addr_to_deck(data->start); } data_heap::data_heap(cell young_size_, cell aging_size_, cell tenured_size_) { young_size_ = a...
<commit_before>/************************************************************************* * * $RCSfile: appdata.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-18 16:52:33 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before><commit_msg>A set of patches from Kein-Hong Man to improve handling of barewords, numbers, special variables, and here documents.<commit_after><|endoftext|>
<commit_before>#include <../recurse.hpp> #include <QHash> int main(int argc, char *argv[]) { Recurse app(argc, argv); // http options QHash<QString, QVariant> http_options; http_options["port"] = 3000; // https options QHash<QString, QVariant> https_options; https_options["port"] = 3020; ...
<commit_before><commit_msg>Changed ListBox::Clear() only to detach/attach the header row if it was already attached.<commit_after><|endoftext|>
<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 <gtest/gtest.h> #include <string> #include <sys/wait.h> #include "base/bind.h" #include "base/eintr_wrapper.h" #include "bas...
<commit_before>#include "pjobrunnerpool.h" #include <assert.h> #include <iostream> PJobRunnerPool::PJobRunnerPool() { connect(&m_scanner, SIGNAL(found_pjob_runner(PJobRunnerSessionWrapper*)), this, SLOT(found_pjob_runner(PJobRunnerSessionWrapper*))); connect(&m_scanner, SIGNAL(finished_scanning()), this, SLOT(...
<commit_before>#include "sajson.h" #include <assert.h> using namespace sajson; inline bool success(const document& doc) { if (!doc.is_valid()) { fprintf(stderr, "%s\n", doc.get_error_message_as_cstring()); return false; } return true; } struct jsonstats { jsonstats() : null_co...
<commit_before>// Copyright (c) 2006-2008 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/file_util.h" #include "base/path_service.h" #include "base/perftimer.h" #include "base/time.h" #include "chrome/app...
<commit_before>#include <unistd.h> #include <cstring> #include <fstream> #include <linux/limits.h> #include "Macros.h" #include "Environment.h" namespace magpie { gc<String> getCoreLibDir() { char* relativePath[PATH_MAX]; int len = readlink("/proc/self/exe", relativePath, PATH_MAX - 1); ASSERT(len !=...
<commit_before><commit_msg>fix type error build error in android react native<commit_after><|endoftext|>
<commit_before>/* * Contact groups model * This file is based on TelepathyQt4Yell Models * * Copyright (C) 2010 Collabora Ltd. <http://www.collabora.co.uk/> * Copyright (C) 2011 Martin Klapetek <martin dot klapetek at gmail dot com> * * This library is free software; you can redistribute it and/or * modify it u...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000 The Apache Software Foundation. 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. Redistri...
<commit_before>#include "audio_facade.h" #include "audio_engine.h" #include "audio_handle_impl.h" #include "audio_emitter_behaviour.h" #include "halley/support/console.h" #include "halley/support/logger.h" #include "halley/core/resources/resources.h" #include "audio_event.h" using namespace Halley; AudioFacade::Audio...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regarding t...
<commit_before>/************************************************************************* * * $RCSfile: template.cxx,v $ * * $Revision: 1.14 $ * * last change: $Author: hr $ $Date: 2003-03-19 16:19:47 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>#include "Halide.h" using namespace Halide; Expr u16(Expr x) { return cast<uint16_t>(x); } Expr u8(Expr x) { return cast<uint8_t>(x); } // Define a 1D Gaussian blur (a [1 4 6 4 1] filter) of 5 elements. Expr blur5(Expr x0, Expr x1, Expr x2, Expr x3, Expr x4) { return u8((u16(x0) + 4*u16(x1) + 6*u1...
<commit_before>/*========================================================================= Library: TubeTK Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in complian...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: schemaparser.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: rt $ $Date: 2005-09-08 04:41:45 $ * * The Contents of this file are ...
<commit_before>// Copyright (c) 2009-2012 Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" // for pwalletMain #include "bitcoinrpc.h" #include "ui_interface.h" #include "base58.h" #includ...
<commit_before>#include "data.h" #include <cassert> #include <map> #include <vector> namespace redsea { std::string getLCDchar(int code) { assert (code >= 32); const std::vector<std::string> char_map ({ " ","!","\\\"","#","¤","%","&","'","(",")","*","+",",","-",".","/", "0","1","2","3","4","5","6","7...
<commit_before>// Copyright 2014 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 "apps/ui/native_app_window.h" #include "chrome/browser/apps/app_browsertest_util.h" using extensions::Extension; namespace apps ...
<commit_before>#include <aerial_autonomy/estimators/tracking_vector_estimator.h> #include <aerial_autonomy/log/log.h> #include <glog/logging.h> TrackingVectorEstimator::TrackingVectorEstimator( TrackingVectorEstimatorConfig config, std::chrono::duration<double> propagation_step) : config_(config), filter_(...
<commit_before>// Copyright 2016 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 "gpu_surface_gl.h" #if OS_MACOSX || OS_IOS #include <OpenGLES/ES2/gl.h> #include <OpenGLES/ES2/glext.h> #else #include <GLES2/gl2...
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "init.h" #include "main.h" #include "net.h"...
<commit_before>#include "array_view.hh" #include "vector.hh" namespace Kakoune { template<typename T> struct MirroredArray : public ArrayView<T> { MirroredArray(ArrayView<T> data, int size) : ArrayView<T>(data), size(size) { kak_assert(2 * size + 1 <= data.size()); } T& operator[](int...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2018. All rights reserved */ #ifndef _Stroika_Foundation_Execution_SharedStaticData_inl_ #define _Stroika_Foundation_Execution_SharedStaticData_inl_ 1 /* ******************************************************************************** *****************...
<commit_before>// (c) ZaKlaus 2016; Apache 2 Licensed, see LICENSE;; #if !defined(DZM_H) #define _CRT_SECURE_NO_WARNINGS #include <stdint.h> #include <stddef.h> #include <limits.h> #include <float.h> #define __STDC_FORMAT_MACROS #include <inttypes.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #incl...
<commit_before>// ------------------------------------------------------------- // CUDPP -- CUDA Data Parallel Primitives library // ------------------------------------------------------------- // $Revision: $ // $Date: $ // ------------------------------------------------------------- // This source code is distribut...
<commit_before>/// Implementation of init_tasks.hpp /// /// (c) Koheron #include "init_tasks.hpp" #include <cstdio> #include <cstring> extern "C" { #include <sys/socket.h> #include <sys/types.h> #include <arpa/inet.h> #include <ifaddrs.h> } #include "../drivers/core/wr_register.hpp" InitTasks::InitTasks(...
<commit_before>/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.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 ob...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distributed WIT...
<commit_before>//===-- SICodeEmitter.cpp - SI Code Emitter -------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/*========================================================================= * * Copyright Leiden University Medical Center, Erasmus University Medical * Center and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
<commit_before>/* -------------------------------------------------------------------------- MusicBrainz -- The Internet music metadatabase Copyright (C) 2000 Robert Kaye 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>/* * Copyright © 2012 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>/* * Software License Agreement (BSD License) * * Copyright (c) 2011, Willow Garage, 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...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: durationhdl.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2008-03-12 10:51:02 $ * * The Contents of this file are ma...
<commit_before>#include "sipfieldparsing.h" #include "sipconversions.h" #include <QRegularExpression> #include <QDebug> // TODO: Support SIPS uri scheme. Needed for TLS bool parseURI(QString values, SIP_URI& uri); bool parseParameterNameToValue(std::shared_ptr<QList<SIPParameter>> parameters, ...
<commit_before>#include "iteration/group/group_solve_iteration.h" namespace bart { namespace iteration { namespace group { template <int dim> GroupSolveIteration<dim>::GroupSolveIteration( std::unique_ptr<GroupSolver> group_solver_ptr, std::unique_ptr<ConvergenceChecker> convergence_checker_ptr, std::un...
<commit_before>/* Copyright (c) 2017-2019 Hans-Kristian Arntzen * * 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, c...
<commit_before>// Ylikuutio - A 3D game and simulation engine. // // Copyright (C) 2015-2022 Antti Nuortimo. // // 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 Free Software Foundation, either version 3 of the ...
<commit_before>// $Id$ /* Copyright (c) 2007-2009, Trustees of The Leland Stanford Junior University 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...
<commit_before>/* * Copyright (c) 2016 dresden elektronik ingenieurtechnik gmbh. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * */ #include "de_web_plugin_priva...
<commit_before>/* * StructureContainerComponent.cpp * * Created on: 09/02/2012 * Author: victor */ #include "StructureContainerComponent.h" #include "server/zone/objects/building/BuildingObject.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/objects/tangible/components/vend...
<commit_before>// g++ -o glxtest glxtest.cpp -lX11 -lGL // g++ glxcontext.cpp -lX11 -lGL -I/usr/include/python2.7 -lpython2.7 -lboost_python -DPYTHON_WRAPPER -shared -fPIC -o glxcontext.so #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <exception> #include <string> #include <s...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>#include <cstdio> #include <cstdlib> #include <iostream> #define MAXSTRLEN 255 // 用户可在255以内定义最大串长 typedef unsigned char SString[MAXSTRLEN+1]; // 0号单元存放串的长度 void get_next(SString T,int next[]){ int i,j; next[1]=0; j=0; while(i<T[0]){ if(j == 0 || T[i]==T[j]){ ++i; +...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>//===- AliasAnalysis.cpp - Generic Alias Analysis Interface Implementation -==// // // This file implements the generic AliasAnalysis interface which is used as the // common interface used by all clients and implementations of alias analysis. // // This file also implements the default version of the Al...
<commit_before>#include "ExampleGame/Components/GameScripts/Units/PlayerUnit.h" #include "ExampleGame/Components/Grid/GridCell.h" #include "ExampleGame/Components/Grid/GridManager.h" #include "ExampleGame/Components/Grid/GridNavigator.h" #include "ExampleGame/GameSingletons/GameSingletons.h" #include "ExampleGame/Messa...
<commit_before>//===--- lib/CodeGen/DIE.cpp - DWARF Info Entries -------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * * Copyright 2015, 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, thi...
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* Copyright (c) 2008 Aristid Breitkreuz, 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 restriction...
<commit_before>/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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, ...
<commit_before>#include "amgdata.h" using namespace std; AMGData::AMGData(){ } AMGData::~AMGData(){ } bool AMGData::CreateDBs(){ try{ if(CreateBaseballDB()){ if(CreateStockDB()){ } else{ return false; } } else{ return false; } } catch(exception &e){ return false; } return true; } b...
<commit_before>/* * * Copyright (c) 2020 Project CHIP Authors * * 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>//===--- HTMLDiagnostics.cpp - HTML Diagnostics for Paths ----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------...
<commit_before>// @file irc.cpp // @brief Implementation of the IRC class, which implements the // User, Message and Chat abstract classes. // #include <sstream> // std::stringstream #include "irc.h" std::deque<std::string> Split(std::string pretext, char delim) { std::deque<std::string> sans_delim; std::s...
<commit_before>// Copyright (c) 2009 libmv authors. // // 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, mo...
<commit_before>/************************************************************************* * * $RCSfile: seekableinput.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-05-10 17:33:49 $ * * The Contents of this file are made available subject to the terms of * either of the following ...
<commit_before>// Copyright (c) 2011 libmv authors. // // 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,...
<commit_before>/** * @file loger.cpp * * @brief implementation main * * @author Matus Blaho * @version 1.0 */ #include "loger.h" #include "config.h" #include "connectionHandler.h" #include "adaServerSender.h" #include "adaServerReceiver.h" #include <termios.h> #include <Poco/Exception.h> using namespace Poco...
<commit_before>#include <iostream> #include <iterator> #include <sstream> #include <unordered_map> #include <stdexcept> #include <memory> #include <random> #include <cmath> #include <GL/glew.h> #include <GL/glut.h> #include "scope.hh" #include "parser.hh" #include "value.hh" #include "exception.hh" #include "draw/in...
<commit_before>/* * This file is part of the LibreOffice project. * * Based on LLVM/Clang. * * This file is distributed under the University of Illinois Open Source * License. See LICENSE.TXT for details. * */ #include "plugin.hxx" #include <clang/Lex/Preprocessor.h> namespace loplugin { /* This is a compil...
<commit_before><commit_msg>more overrides<commit_after><|endoftext|>
<commit_before>// Standard includes #include <iostream> #include <cstdlib> #include <unistd.h> #include <cmath> #include <string.h> #include <inttypes.h> #include <fstream> #include <limits.h> // Serial includes #include <stdio.h> /* Standard input/output definitions */ #include <string.h> /* String function defini...
<commit_before>#include <typeinfo> #include <array> #include <algorithm> #include "gtest.h" #include "util/optional.hpp" using namespace nest::mc::util; TEST(optionalm,ctors) { optional<int> a,b(3),c=b,d=4; ASSERT_FALSE((bool)a); ASSERT_TRUE((bool)b); ASSERT_TRUE((bool)c); ASSERT_TRUE((bool)d); ...
<commit_before>#include <iostream> #include <vector> #include <cmath> #include <assert.h> #include <gtest/gtest.h> #include "../parallel_async.h" #include "../task.h" class ParallelTest : testing::Test { ; }; TEST(ParallelTest, test_parallel) { auto result = asyncply::parallel( []() { return 9.0; }, []() ...
<commit_before>/* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard <http://drobilla.net> * * Ingen 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 y...
<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>/** * @file main.cc * @brief gcsa_locate main program. * * Uses GCSA2 index to locate k-mers in the underlying graph. * * @author Ali Ghaffaari (\@cartoonist), <ali.ghaffaari@mpi-inf.mpg.de> * * @internal * Created: Thu Aug 03, 2017 04:37 * Organization: Max-Planck-Institut...
<commit_before>//===-- Local.cpp - Functions to perform local transformations ------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // ...