text
stringlengths
54
60.6k
<commit_before>// Copyright 2009 Minor Gordon. // This source comes from the XtreemFS project. It is licensed under the GPLv2 (see COPYING for terms and conditions). #include "org/xtreemfs/client.h" #include "main.h" using namespace org::xtreemfs::client; #include "yield.h" #include <iostream> using std::c...
<commit_before>/* * This file is part of TelepathyQt4 * * Copyright (C) 2008-2009 Collabora Ltd. <http://www.collabora.co.uk/> * Copyright (C) 2008-2009 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 p...
<commit_before>/** * This file is part of TelepathyQt4 * * @copyright Copyright (C) 2011 Collabora Ltd. <http://www.collabora.co.uk/> * @copyright Copyright (C) 2011 Nokia Corporation * @license LGPL 2.1 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Les...
<commit_before>/******************************************************************************* GPU OPTIMIZED MONTE CARLO (GOMC) 2.70 Copyright (C) 2018 GOMC Group A copy of the GNU General Public License can be found in the COPYRIGHT.txt along with this program, also can be found at <http://www.gnu.org/licenses/>...
<commit_before>// SolidTools.cpp // Copyright (c) 2010, Dan Heeks // This program is released under the BSD license. See the file COPYING for details. #include "stdafx.h" #include "SolidTools.h" #include "MarkedList.h" #include "HeeksConfig.h" #include "HeeksFrame.h" void GetSolidMenuTools(std::list<Tool*>* t_list){ ...
<commit_before>#include "gtest/gtest.h" #include <Syncs/GameAgent.h> #include <Syncs/Interface.h> #include <Tasks/BasicTask.h> using namespace Hearthstonepp; TEST(BasicCard, EX1_066) { GameAgent agent( Player(new Account("Player 1", ""), new Deck("", CardClass::WARRIOR)), Player(new Account("Play...
<commit_before>/**************************************************************************************/ /* */ /* Visualization Library */ /* http://www.visualizationlibrary...
<commit_before>/* * Copyright 1999-2004 The Apache Software Foundation. * * 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>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision: 18029 $ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. S...
<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 <glog/logging.h> #include "common/file/recordio/record_io.h" RecordWriter::RecordWriter() {} RecordWriter::~RecordWriter() {} bo...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of meegotouch-controlpanelsoundsettingsapplet. ** ** If ...
<commit_before>#include "recent_file_cache.h" #include <cerrno> #include <chrono> #include <cstdio> #include <iomanip> #include <iostream> #include <memory> #include <queue> #include <sstream> #include <string> #include <sys/stat.h> #include <unordered_map> #include <utility> #include <vector> #include "../../helper/...
<commit_before>/* * Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE...
<commit_before>/* * Copyright 2016 Hewlett Packard Enterprise Development LP * * 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 * * Unles...
<commit_before>/* Adapted from ciUI's Moving Graph by @brucelane with permission from @rezaali https://github.com/rezaali/ciUI */ #include "Graph.h" using namespace ci; using namespace ci::app; using namespace std; using namespace MinimalUI; int MovingGraph::DEFAULT_HEIGHT = UIElement::DEFAULT_HEIGHT; int MovingGr...
<commit_before>/************************************************************************* * * $RCSfile: XMLTextPropertySetContext.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2004-07-13 08:38:59 $ * * The Contents of this file are made available subject to the terms of * either of th...
<commit_before>// ToolFactory.cc for Fluxbox // Copyright (c) 2003 - 2006 Henrik Kinnunen (fluxgen at fluxbox dot org) // // 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 restrictio...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 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 permission no...
<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. Some parts of this code ar...
<commit_before>// HLine.cpp // Copyright (c) 2009, Dan Heeks // This program is released under the BSD license. See the file COPYING for details. #include "stdafx.h" #include "HLine.h" #include "HILine.h" #include "HCircle.h" #include "HArc.h" #include "../interface/Tool.h" #include "../interface/PropertyDouble.h" #in...
<commit_before>/* medDatabaseRemover.cpp --- * * Author: John Stark * Copyright (C) 2008 - Julien Wintz, Inria. * Created: Tue Jun 29 15:27:20 2010 (+0200) * Version: $Id$ * Last-Updated: Tue Jun 29 15:46:20 2010 (+0200) * By: Julien Wintz * Update #: 19 */ /* Commentary: * */ #include "medDa...
<commit_before>/* User Server code for CMPT 276 Group Assignment, Spring 2016. This server manages a user’s social networking session. This server supports sign on/off, add friend, unfriend, update status, get user's friend list. This server handles disallowed method malformed request. As defined in Ser...
<commit_before>// // Solver.cpp // Calculator // // Created by Gavin Scheele on 3/27/14. // Copyright (c) 2014 Gavin Scheele. All rights reserved. // #include "Solver.h" Solver::Solver(std::string a){ this->localExpression = a; expressions = *new vector<string>(); tokenStack = *new stack<string>(); ...
<commit_before>#include "videosourcefactory.h" #include "iobserver.h" #include "iobservable.h" #include <thread> #include <chrono> #include <iostream> #include <cstring> #include <fstream> #include <vector> #include <ctime> gg::Device device; gg::ColourSpace colour; size_t test_duration; // seconds float frame_rate_to...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkUniformGridAMRAlgorithm.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>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2001-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. Redistr...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // Copyright 2006 - 2014, Paul Beckingham, Federico Hernandez. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to...
<commit_before>#include "Matrix.h" #include "Vektor.h" #include <limits> #include <iostream> using namespace std; int Matrix::counter = 0; Matrix::Matrix(int m, int n) :m_Zeilen(m), m_Spalten(n), m_Element(new float[m * n]) { for (int i = 0; i < m_Zeilen * m_Spalten; i++) { m_Element[i] = 0; } counter++; } M...
<commit_before>#include <build_properties.h> #include <private-key.h> #include "license-generator.h" #include "../base_lib/CryptoHelper.h" #include <stdlib.h> #include <stdio.h> #include <iostream> #include <string.h> #include <iostream> #include <string.h> #include <boost/date_time.hpp> #include <boost/program_options...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkQtChartWidget.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>/* * SDL Hello World example for Gui-chan */ // Include all necessary headers. #include <iostream> #include <guichan.hpp> #include <guichan/sdl.hpp> #include <SDL/SDL.h> /* * Common stuff we need */ bool running = true; /* *SDL Stuff we need */ SDL_Surface* screen; SDL_Event event; /* * Gui-c...
<commit_before>#include <QApplication> #include "MainWindow.h" int main(int argc, char *argv[]) { QApplication app(argc, argv); MainWindow mainWindow; mainWindow.show(); return app.exec(); } <commit_msg>Added Qt version check.<commit_after>#include <QApplication> #include <QMessageBox> #...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/utils/imageProcs/p9_tor.H $ ...
<commit_before>#include <iostream> #include <chrono> #include <thread> char field[20][40]; struct point { int x = 0, y = 0; } start, dest, current, goal; int main() { //sramim se. int q, e, r, t, steps; std::cout << "Unesite a.x, a.y, b.x, b.y s razmacima izmedu brojeva (a 0-19, b 0-39): "; std:...
<commit_before>//penser à garder la racine qqpart //demander si besoin de regex std::map<std::string, Xsl::Instruction*> xslInstructions; Xml::Document xslTransform(Xml::Document& xmlDoc, Xml::Document& xslDoc ) { Xml::Document result = new Xml::Document(); Vector <Xml::Node*> resultNodes; applyDefaultTe...
<commit_before>#include <stingray/toolkit/Factory.h> #include <stingray/toolkit/any.h> #include <stingray/app/PushVideoOnDemand.h> #include <stingray/app/application_context/AppChannel.h> #include <stingray/app/application_context/ChannelList.h> #include <stingray/app/scheduler/ScheduledEvents.h> #include <stingray/a...
<commit_before>#include "GameDBSyncService.h" #include "Common/Servers/HandlerLocator.h" #include "Common/Servers/MessageBus.h" #include "Common/Servers/InternalEvents.h" #include "GameData/serialization_common.h" #include "GameDBSyncEvents.h" #include "Character.h" #include "GameData/chardata_serializers.h" #include "...
<commit_before>/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\/ M anipulat...
<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>/* * File: Result.cpp * Author: cjg * * Created on October 18, 2009, 1:23 PM */ #include "Result.h" Result::Result(cudaError_t exit_code) { mExitCode = exit_code; mpOutputBuffer = new Buffer(); } Result::Result(cudaError_t exit_code, const Buffer* output_buffer) { mExitCode = exit...
<commit_before>// Disable warnings for fopen #ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #include "Image.hpp" #include <png.h> #include <memory> #include <functional> #include <cassert> #include "Utils.hpp" // Stores the message from callback function thread_local static const char* message = nullptr; ...
<commit_before>#ifndef STAN_MATH_PRIM_MAT_PROB_ORDERED_LOGISTIC_LPMF_HPP #define STAN_MATH_PRIM_MAT_PROB_ORDERED_LOGISTIC_LPMF_HPP #include <stan/math/prim/mat/fun/value_of.hpp> #include <stan/math/prim/mat/fun/size.hpp> #include <stan/math/prim/mat/meta/vector_seq_view.hpp> #include <stan/math/prim/mat/meta/length_mv...
<commit_before>#include "SFData.h" sf::RenderWindow *SFData::Window; sf::RenderTexture *SFData::FieldTexture; sf::Shader SFData::FieldShader; sf::UdpSocket SFData::Socket; std::map<std::string, sf::Texture> SFData::Textures; std::vector<sf::Sprite> SFData::Sprites; std::vector<sf::Font> SFData::Fonts; std::vector<sf::...
<commit_before>#include "Image.h" #include <cassert> #include <iostream> using namespace std; using namespace canvas; std::shared_ptr<Image> Image::changeFormat(const ImageFormat & target_format) const { assert(format.getBytesPerPixel() == 4); assert(target_format.getBytesPerPixel() == 2); unsigned int n = ...
<commit_before>#ifndef STAN_MATH_PRIM_SCAL_META_IS_VAR_OR_ARITHMETIC_HPP #define STAN_MATH_PRIM_SCAL_META_IS_VAR_OR_ARITHMETIC_HPP #include <stan/math/prim/scal/meta/is_var.hpp> #include <stan/math/prim/scal/meta/scalar_type.hpp> #include <type_traits> namespace stan { template <typename T1, typename T2 = double, ty...
<commit_before>#include "BooPHF.h" #include <stdio.h> #include <stdlib.h> #include <time.h> #include <string.h> #include <sys/types.h> #include <random> #include <algorithm> using namespace std; //example with user provided custom hasher for uint64_t type : class Custom_string_Hasher { public: // the class shoul...
<commit_before>/* * Copyright (c) 2013 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>#include "Sensor/DrawerSensor.h" #include "Data/ForwardData.h" DrawerSensor::DrawerSensor(string port, int baudrate) : Sensor("Drawer Sensor"), conn(std::make_shared<SerialPort>(port, baudrate)), dataMutex(), dataReceived(), dataToForward() { std::lock_guard<std::mutex> lock(dataMutex); if (conn->isCo...
<commit_before>// rm -f galice.root ; aliroot -l -q -b $ALICE_SOURCE/HLT/global/physics/macros/testConfigOnlineCalib.C $ALICE_ROOT/HLT/exa/recraw-local.C'("raw.root","local:///opt/HLT-DEV/HCDB", 23, 23, "HLT", "chains=RootWriter ignore-hltout")' void testConfigOnlineCalib() { AliHLTSystem* pHLT = AliHLTPluginBase::G...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkTextActor.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Cop...
<commit_before>/* This file is part of the KDE project. 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 as published by the Free Software Foundation, either version 2.1 o...
<commit_before>#ifndef STAN_MATH_PRIM_MAT_FUN_TO_ARRAY_1D_HPP #define STAN_MATH_PRIM_MAT_FUN_TO_ARRAY_1D_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/prim/scal/meta/scalar_type.hpp> #include <vector> namespace stan { namespace math { // real[] to_array_1d(matrix) // real[] to_array_1d(row_vect...
<commit_before>/*****************************************************************************/ /** * @file MarchingPrismTable.cpp * @author Naohisa Sakamoto */ /*---------------------------------------------------------------------------- * * Copyright (c) Visualization Laboratory, Kyoto University. * All r...
<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 "ui/views/controls/menu/menu_scroll_view_container.h" #include "third_party/skia/include/core/SkPaint.h" #include "third_part...
<commit_before>/************************************************************************* * libjson-rpc-cpp ************************************************************************* * @file rpcprotocolserverv2.cpp * @date 31.12.2012 * @author Peter Spiess-Knafl <peter.knafl@gmail.com> * @license See attach...
<commit_before>//------------------------------------------------------------------------------ // stringAtomBuffer.cc //------------------------------------------------------------------------------ #include "Pre.h" #include <cstring> #include "stringAtomBuffer.h" #include "Core/Memory/Memory.h" #include "Core...
<commit_before>/* Copyright (C) 2015-2016 INRA * * 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, merg...
<commit_before>#include "nuFATE.h" double nuFACE::readDoubleAttribute(hid_t object, std::string name){ double target; hid_t attribute_id = H5Aopen(object,name.c_str(),H5P_DEFAULT); herr_t status = H5Aread(attribute_id, H5T_NATIVE_DOUBLE, &target); if(status<0) thr...
<commit_before> #ifndef WIN32_WINDOW_NAMESPACE #error WIN32_WINDOW_NAMESPACE must be defined #endif namespace WIN32_WINDOW_NAMESPACE { namespace detail { template<typename T> struct raw_ptr { explicit raw_ptr(T* raw) : raw(raw) {} operator typename cmn::unspecified_bool<raw_ptr>::type () { return cmn::...
<commit_before>#define BOOST_ASIO_DYN_LINK #include "session.h" #include "state.h" #include "utils/json.h" #include <utility> #include <boost/cstdint.hpp> #include <libtorrent/ptime.hpp> namespace torrent { std::unique_ptr < Session > Session::instance; Session::Session () : session ( lib...
<commit_before>/* * SegmentInformation.hpp ***************************************************************************** * Copyright (C) 2014 - VideoLAN Authors * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by...
<commit_before>template <class T> BST<T> * search(const T &value){ } BST<T> * insert(const T &value){ if(this.value > value) *right.insert(value); else if(this.value < value) *left->instert(value); else this.value = value; } BST<T> * delete(const T &value){ } <commit_msg>working bst insert and search, bro...
<commit_before>/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, 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>/*========================================================================= Program: Visualization Toolkit Module: vtkAxesTransformWidget.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>/******************************************************************************* * c7a/api/reduce.hpp * * DIANode for a reduce operation. Performs the actual reduce operation * * Part of Project c7a. * * Copyright (C) 2015 Matthias Stumpp <mstumpp@gmail.com> * Copyright (C) 2015 Alexander Noe <al...
<commit_before>#include "Limiter.h" #include "Testing.h" #include <iostream> static auto CurrentTime() { return std::chrono::high_resolution_clock::now(); } static constexpr auto oneSecond = std::chrono::seconds(1); std::ostream& operator<<(std::ostream& os, HttpResult::Code code) { const auto str = code == HttpR...
<commit_before>/* * Phusion Passenger - http://www.modrails.com/ * Copyright (c) 2011 Phusion * * "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
<commit_before>/* * op≈ * External object for Max/MSP to perform basic mathematical operations on objects in a lydbær dsp chain. * Copyright © 2008 by Timothy Place * * License: This code is licensed under the terms of the GNU LGPL * http://www.gnu.org/licenses/lgpl.html */ #include "maxbaer.h" // Data Str...
<commit_before>// Copyright (c) 2015 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 "net/third_party/quiche/src/quic/tools/quic_client_base.h" #include "net/third_party/quiche/src/quic/core/crypto/quic_random....
<commit_before>#include <opencv2/opencv.hpp> #include <unistd.h> int main(int argc, char** argv){ if(argc!=2){ std::cout << "Nope.\n"; return -1; } cv::VideoCapture _capture(CV_CAP_OPENNI); std::cout << "Started streaming data to main system..\n"; int c=0; while(1){ cv::Mat depthMap, rgb; us...
<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>/* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 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 (...
<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>#ifndef __SYMBIONT_SPECIES_HPP_INCLUDED #define __SYMBIONT_SPECIES_HPP_INCLUDED #include "scene.hpp" #include "shader.hpp" #include "species.hpp" #include "species_or_glyph.hpp" #include "symbiont_material.hpp" #include "species_struct.hpp" #include "render_templates.hpp" #include "vboindexer.hpp" #incl...
<commit_before>/* binner.cpp Copyright (C) 2015 Braam Research, LLC. */ #include "metrix.h" #include "common.h" #include "OskarBinReader.h" #include <cassert> #include <cstdio> #include <cstring> #include <sstream> using namespace std; template < int grid_size , int over , int w_planes > inline void pr...
<commit_before>/* * Copyright 2016 - 2019 gtalent2@gmail.com * * 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/. */ #include <iostream> #include <string_view> #incl...
<commit_before>%% %% Qt5xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 5 %% %% Copyright (C) 2018 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com> %% $header $includes $beginSlotsClass $slot=5,3,0|statusChanged( QQuickWidget::Status status ) $slot=5,3,0|sceneGraphError( QQuickWin...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: propertystatecontainer.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 02:59:05 $ * * The Contents of this ...
<commit_before>#include <Eigen/Core> #include <iostream> #include "writer.hpp" #include <cmath> #include <stdexcept> #include <functional> //----------------GodunovBegin---------------- /// @param[in] N the number of grid points, NOT INCLUDING BOUNDARY POINTS /// @param[in] T the final time at which to compute the sol...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2012, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
<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>/* * Copyright 2004-2015 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is 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...
<commit_before>/*==LICENSE== This file is part of Musec. Copyright (C) 2013 Florian Meißner 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 (at your option) any l...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, ...
<commit_before>// // Created by Matthias Stumpp on 27/09/15. // #ifndef THRILL_BUCKET_BLOCK_POOL_HPP #define THRILL_BUCKET_BLOCK_POOL_HPP #include <stack> #include <thrill/common/functional.hpp> namespace thrill { namespace core { template<typename BucketBlock> class BucketBlockPool { public: //constructor (we...
<commit_before>#include "hirestimer.hpp" #ifdef __APPLE__ #include <mach/mach.h> #include <mach/mach_time.h> HiResTimer::HiResTimer() : elapsedTicks(0), running(0), startTicks(0) { } void HiResTimer::start() { if (++running == 1) startTicks = mach_absolute_time(); } void HiResTimer::stop() { if...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: Language: C++ Date: Version: Copyright (c) 2000 National Library of Medicine All rights reserved. See COPYRIGHT.txt for copyright details. =====...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008, Image Engine Design 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:...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkAddConstantToImageFilterTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights rese...
<commit_before>/** * Fichier ComportementIA.hpp * \brief Définition du type ComportementIA */ #ifndef COMPORTEMENTIA_HPP #define COMPORTEMENTIA_HPP #include <string> // pour le type std::string #include "ClassesUtiles/Aleatoire.cpp" class ComportementIA{ private : public : ComportementIA();//constr...
<commit_before>/* * OTRadioLink_Messaging.cpp * * Created on: 18 May 2017 * Author: denzo */ #include "OTRadioLink_Messaging.h" #ifdef ARDUINO #include <Arduino.h> #endif namespace OTRadioLink { /** * @brief Validate, authenticate and decrypt secure frames. * @param msg: message to decrypt * @para...
<commit_before>/** ** \file ast/cloner.hxx ** \brief Template methods of ast::Cloner. */ #ifndef AST_CLONER_HXX # define AST_CLONER_HXX # include <libport/foreach.hh> # include "ast/cloner.hh" namespace ast { template <typename T> T* Cloner::recurse (const T& t) { t.accept (*this); T* res = dyna...
<commit_before>/* Rapicorn * Copyright (C) 2008 Tim Janik * * 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.1 of the License, or (at your option) any later versio...
<commit_before>#include <iostream> #include <ctime> #include <cstdlib> #include <fstream> #include <sstream> #include <vector> #include <algorithm> #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/opencv.hpp" #include "opencv2/core/core.hpp" using namespace cv; //Mat Calc...
<commit_before>// @(#)root/tmva $Id$ // Author: Matt Jachowski /********************************************************************************** * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * * Package: TMVA * * C...
<commit_before>/* Copyright (c) 2016, AOYAMA Kazuharu * All rights reserved. * * This software may be used and distributed according to the terms of * the New BSD License, which is incorporated herein by reference. */ #include <atomic> #include <QJSEngine> #include <QJSValue> #include <QFile> #include <QDir> #inc...
<commit_before>/* * Copyright (C) 2015 deipi.com LLC and contributors. 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 limit...
<commit_before>#include <sirius.h> using namespace sirius; void init_wf(K_point* kp__, Wave_functions& phi__, int num_bands__, int num_mag_dims__) { std::vector<double> tmp(0xFFFF); for (int i = 0; i < 0xFFFF; i++) { tmp[i] = utils::random<double>(); } phi__.pw_coeffs(0).prime().zero(); ...
<commit_before><commit_msg>- Fixed deprecation warning about LoadPlugin().<commit_after><|endoftext|>