text
stringlengths
54
60.6k
<commit_before>//===- FxpMathConfig.cpp - Reference fixed point config -------------------===// // // Copyright 2019 The MLIR 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 // /...
<commit_before><commit_msg>vcl: Use glScissor for rectangular clip regions<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: soicon.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: ssa $ $Date: 2001-04-27 15:29:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>#ifndef __BH_VE_CPU_SPECIALIZER #define __BH_VE_CPU_SPECIALIZER #include <ctemplate/template.h> static ctemplate::Strip strip_mode = ctemplate::STRIP_BLANK_LINES; void specializer_init() { ctemplate::mutable_default_template_cache()->SetTemplateRootDirectory(template_path); ctemplate::LoadTemp...
<commit_before>#line 2 "togo/game/world/world_manager.cpp" /** @copyright MIT license; see @ref index or the accompanying LICENSE file. */ #include <togo/game/config.hpp> #include <togo/core/error/assert.hpp> #include <togo/core/utility/utility.hpp> #include <togo/core/collection/array.hpp> #include <togo/core/collect...
<commit_before>// Copyright (C) 2012-2014 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "TestFixtures/Decoration.hpp" #include <autowiring/autowiring.h> #include <autowiring/AutoSelfUpdate.h> class AutoFilterSequencing: public testing::Test { public: AutoFilterSequencing(void) { AutoCurre...
<commit_before>//===----------------------------------------------------------------------===// // // PelotonDB // // index_scan_executor.cpp // // Identification: src/backend/executor/index_scan_executor.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===-----------...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestHyperOctreeDual.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>#include "clustering/administration/main/import.hpp" #include "arch/io/network.hpp" #include "clustering/administration/admin_tracker.hpp" #include "clustering/administration/auto_reconnect.hpp" #include "clustering/administration/issues/local.hpp" #include "clustering/administration/logger.hpp" #includ...
<commit_before>#include "MacauPrior.h" #include <SmurffCpp/IO/MatrixIO.h> #include <SmurffCpp/IO/GenericIO.h> #include <SmurffCpp/Utils/Distribution.h> #include <SmurffCpp/Utils/Error.h> #include <SmurffCpp/Utils/counters.h> #include <SmurffCpp/Utils/linop.h> #include <ios> using namespace smurff; MacauPrior::Mac...
<commit_before>#include "TensorUtils.h" #include <SmurffCpp/Utils/Error.h> Eigen::MatrixXd smurff::tensor_utils::dense_to_eigen(const smurff::TensorConfig& tensorConfig) { if(!tensorConfig.isDense()) THROWERROR("tensor config should be dense"); if(tensorConfig.getNModes() != 2) THROWERROR("Invalid ...
<commit_before>/* Sirikata Utilities -- Sirikata Logging Utility * Logging.hpp * * Copyright (c) 2009, Daniel Reiter Horn * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Red...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>#include "Player.hpp" PCWSTR szTitle = L"BasicPlayback"; PCWSTR szWindowClass = L"MFBASICPLAYBACK"; HINSTANCE g_hInstance; // current instance BOOL g_bRepaintClient = TRUE; // Repaint the application client area? CPlayer *g_pPlayer = NULL; ...
<commit_before>/* * FILE $Id: frpcmethodregistry.cc,v 1.2 2006-02-09 16:00:26 vasek Exp $ * * DESCRIPTION * * AUTHOR * Miroslav Talasek <miroslav.talasek@firma.seznam.cz> * * Copyright (C) Seznam.cz a.s. 2002 * All Rights Reserved * * HISTORY * */ #include "frpcmeth...
<commit_before>// SciTE - Scintilla based Text Editor /** @file DirectorExtension.cxx ** Extension for communicating with a director program. **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdli...
<commit_before>/** * \file * \brief PySceneManager class implementation. * \author Thomas Moeller * \details * * Copyright (C) the PyInventor contributors. All rights reserved. * This file is part of PyInventor, distributed under the BSD 3-Clause * License. For full terms see the included COPYING fi...
<commit_before>๏ปฟ// // Copyright(c) 2016-2017 benikabocha. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // #include "File.h" #include "UnicodeUtil.h" #include <streambuf> namespace saba { saba::File::File() : m_fp(nullptr) , m_fileSize(0) , m_badFlag(false) { } File::~File() {...
<commit_before>#include <string> #include <sampgdk/core.h> #include <sampgdk/a_samp.h> #include <mono/jit/jit.h> #include <mono/metadata/assembly.h> #include <mono/metadata/mono-debug.h> #include <mono/metadata/debug-helpers.h> #include "SampSharp.h" #include "ConfigReader.h" #include "StringUtil.h" #include "MonoUti...
<commit_before>//===-- llvm/CallingConvLower.cpp - Calling Conventions -------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>//===-- AMDGPUTargetTransformInfo.cpp - AMDGPU specific TTI pass ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>#ifndef ITERTOOLS_SAMPLE_CLASSES_HPP #define ITERTOOLS_SAMPLE_CLASSES_HPP #include <iostream> #include <utility> #include <cstddef> namespace itertest { class MoveOnly { private: int i; // not an aggregate public: MoveOnly(int v) : i{v} ...
<commit_before>/* Copyright (c) 2017, CNRS-LAAS 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 and t...
<commit_before>#include <cstdio> #define NOMINMAX #include <wine/debug.h> #include "test.h" WINE_DEFAULT_DEBUG_CHANNEL(steambridget); static Test t; extern "C" { void *get_real_object() { return (void *)(&t); } } Test::Test() { WINE_TRACE("(this=%p)\n", this); } int Test::function_one(int param_one, ...
<commit_before>#include "line_optimizer.h" #include <limits> #include <algorithm> #include "sparse_vector.h" #include "scorer.h" using namespace std; typedef ErrorSurface::const_iterator ErrorIter; // sort by increasing x-ints struct IntervalComp { bool operator() (const ErrorIter& a, const ErrorIter& b) const {...
<commit_before>#include "swift/AST/CASTBridging.h" #include "swift/AST/ASTContext.h" #include "swift/AST/ASTNode.h" #include "swift/AST/Decl.h" #include "swift/AST/Expr.h" #include "swift/AST/Stmt.h" #include "swift/AST/Identifier.h" #include "swift/AST/ParameterList.h" #include "swift/AST/TypeRepr.h" using namespace...
<commit_before>#include <mtp/metadata/Library.h> #include <mtp/ptp/Session.h> #include <mtp/log.h> #include <unordered_map> namespace mtp { Library::NameToObjectIdMap Library::ListAssociations(ObjectId parentId) { NameToObjectIdMap list; auto folders = _session->GetObjectHandles(_storage, mtp::ObjectFormat::Asso...
<commit_before>/* * LinkBasedFileLock.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero Gen...
<commit_before>/** * @file * @copyright defined in eos/LICENSE.txt */ #pragma once #include <eosio/chain/exceptions.hpp> #include <eosio/chain/types.hpp> #include <eosio/chain/symbol.hpp> namespace eosio { namespace chain { /** asset includes amount and currency symbol asset::from_string takes a string of the ...
<commit_before>// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2012 Mohammed Nafees <nafees.technocool@gmail.com> // Copyright 2012 ...
<commit_before>#include <rusql/rusql.hpp> #include <boost/thread.hpp> #include "test.hpp" #include "database_test.hpp" int main(int argc, char *argv[]) { auto db = get_database(argc, argv); test_init(6); db->execute("CREATE TABLE rusqltest (`value` INT(2) NOT NULL)"); db->execute("INSERT INTO rusqltest VALUES (20)...
<commit_before>/** * Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS) * Copyright (c) 2016-2018 metaverse core developers (see MVS-AUTHORS) * * This file is part of metaverse. * * metaverse is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Li...
<commit_before>#include <iostream> //cout #include <string> #include "qmc.h" #include <gmc.h> //LaGenMatComplex #include <laslv.h> //LUFactorizeIP, LaLUInverseIP, etc. #include <blas3pp.h> #include <random> //random_device, mt19937 #include <cstdlib> //rand, srand #include <math.h> using namespace std; ...
<commit_before>//===-- Valgrind.cpp - Implement Valgrind communication ---------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "Engine.h" #include "Game.h" #include "ObjectDummy.h" #include "BodyRigid.h" #include "BodyDummy.h" #include "Physics.h" #include "ShapeCapsule.h" #include "ActorBase.h" #include "Visualizer.h" #include "sys/SysControl.h" #ifdef MEMORY_INFO #define new new(__FILE__, __LINE__) #endif // MEMORY...
<commit_before>#include "table.hpp" #include <iomanip> namespace opossum { table::table(const size_t chunk_size) : _chunk_size(chunk_size) { _chunks.push_back(chunk()); } void table::add_column(std::string &&name, std::string type) { _column_names.push_back(name); _column_types.push_back(type); for(auto &chunk ...
<commit_before>/* bzflag * Copyright (c) 1993 - 2003 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named LICENSE that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>#include "Engine.h" #include "Game.h" #include "ObjectDummy.h" #include "BodyRigid.h" #include "BodyDummy.h" #include "Physics.h" #include "ShapeCapsule.h" #include "ActorBase.h" #include "Visualizer.h" #include "sys/SysControl.h" #ifdef MEMORY_INFO #define new new(__FILE__, __LINE__) #endif // MEMORY...
<commit_before>#pragma once #include "TimingTags.hpp" #include "timing_graph_fwd.hpp" #include "tatum_linear_map.hpp" namespace tatum { namespace detail { /** \class CommonAnalysisOps * * The operations for CommonAnalysisVisitor to perform setup analysis. * The setup analysis operations define that maximum edge de...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>#include "Engine.h" #include "Game.h" #include "ObjectDummy.h" #include "BodyRigid.h" #include "BodyDummy.h" #include "Physics.h" #include "ShapeCapsule.h" #include "ActorBase.h" #include "Visualizer.h" #include "sys/SysControl.h" #ifdef MEMORY_INFO #define new new(__FILE__, __LINE__) #endif // MEMORY...
<commit_before>//===-- Writer.cpp - Library for Printing VM assembly files ------*- C++ -*--=// // // This library implements the functionality defined in llvm/Assembly/Writer.h // // This library uses the Analysis library to figure out offsets for // variables in the method tables... // // TODO: print out the type nam...
<commit_before>/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
<commit_before>#include "Engine.h" #include "Game.h" #include "ObjectDummy.h" #ifdef MEMORY_INFO #define new new(__FILE__, __LINE__) #endif // MEMORY_INFO CActorBase::CActorBase() { m_vUp = vec3(0.0f, 0.0f, 1.0f); m_pObject = new CObjectDummy(); m_pDummy = new CBodyDummy(); m_pShape = new CShapeCapsule(1.0f, 1....
<commit_before>/* Copyright (c) 2012 Carsten Burstedde, Donna Calhoun 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>#ifndef CAN_EMULATOR #include "usbutil.h" #include "canread.h" #include "serialutil.h" #include "signals.h" #include "log.h" #include "cJSON.h" #include "listener.h" #include <stdint.h> extern SerialDevice SERIAL_DEVICE; extern UsbDevice USB_DEVICE; extern Listener listener; /* Forward declarations */...
<commit_before> #include "world.hpp" namespace hacky_internals { // When a worldblock is inited, it DOESN'T call insert_water for all the water in it - the water is 'already there'. // Water that starts out in a worldblock starts out inactive (observing the rule "the landscape takes zero time to process"). // ...
<commit_before>/* Copyright (c) 2015 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "library/tactic/location.h" #include "frontends/lean/parser.h" #include "frontends/lean/tokens.h" #include "frontends/lean/parse_tac...
<commit_before>#include "cbase.h" #include "asw_door_area.h" #include "func_movelinear.h" #include "asw_button_area.h" #include "asw_base_spawner.h" #include "asw_marine_hint.h" #include "ai_network.h" #include "ai_link.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" ConVar ...
<commit_before>#include <wx/url.h> #include <wx/log.h> #include <wx/intl.h> #include <wx/tokenzr.h> #include <wx/listimpl.cpp> #include <wx/utils.h> #include "main.h" #include "listserverhandler.h" WX_DEFINE_LIST(ServerList); void ListServerHandler::GetServerList() { wxBusyCursor wait; BZLauncherApp& app = wxGetAp...
<commit_before>/* * Simple cache model for predicting miss rates. * * By Eric Anger <eanger@lanl.gov> */ #include <algorithm> #include <iterator> #include "byfl.h" namespace bytesflops {} using namespace bytesflops; using namespace std; class Cache { public: void access(uint64_t baseaddr, uint64_t numaddr...
<commit_before>// Copyright (c) 2012-2014 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 "clientversion.h" #include "tinyformat.h" #include <string> /** * Name of client reported in the ...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <algorith...
<commit_before>// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "master_util.h" #include <sstream> #include <sys/utsname.h> #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_generators.hp...
<commit_before>/* bzflag * Copyright (c) 1993 - 2003 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named LICENSE that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>// Copyright (c) 2019 Matthew J. Smith and Overkit contributors // License: MIT (http://opensource.org/licenses/MIT) #ifndef OVK_CORE_ARRAY_OPS_HPP_INCLUDED #define OVK_CORE_ARRAY_OPS_HPP_INCLUDED #include <ovk/core/ArrayTraits.hpp> #include <ovk/core/ArrayView.hpp> #include <ovk/core/Global.hpp> #incl...
<commit_before>#ifndef Q_MOC_RUN #ifndef MUMBLE_MUMBLE_MUMBLE_PCH_H_ #define MUMBLE_MUMBLE_MUMBLE_PCH_H_ #define QT_NO_CAST_TO_ASCII #define QT_NO_CAST_FROM_ASCII #define QT_USE_FAST_CONCATENATION #define QT_USE_FAST_OPERATOR_PLUS #define NOMINMAX #define _WINSOCKAPI_ #define BOOST_TYPEOF_SUPPRESS_UNNAMED_NAMESPACE ...
<commit_before>#include <algorithm> #include <stdexcept> #include <chrono> #include <vector> #include <memory> #include <cmath> #include <thread> #include <signal.h> #include <sched.h> #include <sys/mman.h> #include <eeros/core/Executor.hpp> #include <eeros/task/Async.hpp> #include <eeros/task/Lambda.hpp> #include <ee...
<commit_before>/* * Copyright (c) 2009-2010, Piotr Korzuszek * 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 * n...
<commit_before>// Copyright NVIDIA Corporation 2007 -- Ignacio Castano <icastano@nvidia.com> // // 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 with...
<commit_before>/// \file uparser.cc #include <sdk/config.h> // YYDEBUG. //#define ENABLE_DEBUG_TRACES #include <libport/compiler.hh> #include <cassert> #include <cstdlib> #include <fstream> #include <sstream> #include <string> #include <libport/foreach.hh> #include <ast/nary.hh> #include <ast/print.hh> #include <...
<commit_before> /* bzflag * Copyright (c) 1993 - 2005 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2011 Ulrich von Zadow // // 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 Li...
<commit_before>// -*- mode:c++;coding:utf-8; -*- vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:enc=utf-8: /* The MIT License Copyright (c) 2008, 2009 Flusspferd contributors (see "CONTRIBUTORS" or http://flusspferd.org/contributors.txt) Permission is hereby granted, free of ch...
<commit_before>/*************************************************************************** dump.c - Skeleton of backends to access the Key Database ------------------- begin : Mon May 3 15:22:44 CEST 2010 copyright : by Markus Raab email...
<commit_before>/******************************************************************************* Copyright The University of Auckland 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....
<commit_before>/* * Action.cpp * */ #include "Action.h" Action::Action() { // TODO Auto-generated constructor stub } Action::Action(Packet pkt, Database* db, Socket* sock){ if(pkt.m_MsgType < 0){ std::cout << "[E] No Information in Packet" << std::endl; } else{ m_db = db; m_GivenPkt = pkt; m_sock = so...
<commit_before>/** * @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required by...
<commit_before>// Copyright (c) 2011-2013 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 "sendcoinsentry.h" #include "ui_sendcoinsentry.h" #include "addressbookpage.h" #include "addresstable...
<commit_before>// #include <cstdio> // int n, m; // int main() { // scanf("%d %d", &n, &m); // if (n == 1) { // printf("1\n"); // } // else if (n == 2) { // if (m <= 6) { // printf("%d\n", (m + 1) / 2); // } // else { // printf("4\n"); // } // } // else { // if (m <= 4) { //...
<commit_before>#include <cstdio> #include <algorithm> using namespace std; int n, weight; int arr[100001]; int main() { scanf("%d", &n); for (int i = 0; i < n; i++) { scanf("%d", &arr[i]); } sort(arr, arr + n); // ๋กœํ”„๋งˆ๋‹ค ๋“ค์ˆ˜ ์žˆ๋Š” ์ค‘๋Ÿ‰์ด ๋‹ค๋ฅด๋‹ค // ๊ทธ๋ž˜์„œ ์ œ์ผ ์ž‘์€ ์ค‘๋Ÿ‰ ๊ฐ’ * ๋กœํ”„์˜ ๊ฐœ์ˆ˜๋ฅผ ํ•ด์ฃผ๋ฉด ๋‹ต์ด ๋‚˜์˜จ๋‹ค for (int i = n -...
<commit_before>// fmfrecord.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <FlyCapture2.h> #include <omp.h> #include <queue> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #define TRIGGER_CAMERA 1 using namespace std; using namespace FlyCapture2; ...
<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>#include "tests.h" using namespace swoole; static void coro1(void *arg) { int cid = coroutine_get_cid(); coroutine_t *co = coroutine_get_by_id(cid); coroutine_yield(co); } TEST(coroutine, create) { int cid = coroutine_create(coro1, NULL); ASSERT_GT(cid, 0); coroutine_resume(cor...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2007 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>/* * 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>//===- ScriptParser.cpp ---------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<commit_before>/* Copyright (c) 2008-2019 the MRtrix3 contributors. * * 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 at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this L...
<commit_before>#include "core/hashgen_sprator.h" #include <vector> #include "core/image.h" #include "core/rgb.h" #include "core/assert.h" #include "core/rng.h" #include "core/numeric.h" #include "core/image_draw.h" #include "core/cint.h" #include "core/table_bool.h" #include "core/generator_cell.h" namespace { ...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MIT...
<commit_before>// stdafx.cpp : source file that includes just the standard includes // thrededMatrixMult.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file <commit_m...
<commit_before>Bool_t ProcessOutputCheb(TString filesToProcess, Int_t startRun, Int_t endRun, const char* ocdbStorage, Bool_t corr=kTRUE) { // macro that process a list of files (xml or txt) to produce then the // OCDB entry for the TPC SP Distortion calibration; inspired by // AliAnalysisAlien::MergeOutput for ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: kdevcllayer.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-09-17 01:38:48 $ * * The Contents of this file are m...
<commit_before>/* * This file is part of m-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. * * This l...
<commit_before>/* * This file is part of m-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. * * This l...
<commit_before>/* $Id$ * * OpenMAMA: The open middleware agnostic messaging API * Copyright (C) 2011 NYSE Technologies, Inc. * * 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; eithe...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: intercept.hxx,v $ * $Revision: 1...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: RelationDesignView.hxx,v $ * $Re...
<commit_before>/*========================================================================= * * Copyright NumFOCUS * * 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:...
<commit_before>/* * This is the cpp file for the StringFunctions class of cPlusPlusPlusLib * cPPPLib - A library of functions that should be in the C++ Standard Library * (C) - Charles Machalow - MIT License */ #ifndef StringFunctions_CPP #define StringFunctions_CPP #include "StringFunctions.h" /// <summary> /// Spl...
<commit_before><commit_msg>Added test for mitkLabel<commit_after>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is dist...
<commit_before>/* * lineedit.cpp - Line edit widget with extra drag and drop options * Program: kalarm * Copyright (c) 2003 - 2005 by David Jarvie <software@astrojar.org.uk> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
<commit_before>/** * Copyright (c) 2005 Till Adam <adam@kde.org> * * 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; version 2 of the License * * This program is distributed in the hop...
<commit_before><commit_msg>Fix a big mistake<commit_after><|endoftext|>
<commit_before><commit_msg>Improve warning message when extra attributes cannot be created<commit_after><|endoftext|>
<commit_before>#include "Utility/Random.h" #include <random> #include <string> #include <limits> namespace { struct Seeder { using result_type = unsigned int; template<typename Iterator> void generate(Iterator begin, Iterator end) { std::random_device rd; ...
<commit_before>#include "Utility/Random.h" #include <random> #include <string> double Random::random_laplace(double width) noexcept { thread_local static std::mt19937_64 generator(std::random_device{}()); using ed = std::exponential_distribution<double>; thread_local static auto dist = ed{}; return (c...