text
stringlengths
54
60.6k
<commit_before>// $Id: solventParameter.C,v 1.3 2000/10/17 17:20:45 anker Exp $ #include <BALL/SOLVATION/solventParameter.h> using namespace std; namespace BALL { SolventParameter::SolventParameter() throw() : ParameterSection(), name_(), number_density_(0.0), solvent_atoms_(), solvent_descriptor_() ...
<commit_before>#include "poi_parser.h" #include "type/data.h" #include "utils/csv.h" #include "utils/functions.h" namespace ed{ namespace connectors{ PoiParser::PoiParser(const std::string & path, const ed::connectors::ConvCoord& conv_coord): path(path), conv_coord(conv_coord){ logger = log4cplus::Logger::get...
<commit_before>/* Calf DSP Library * Module wrapper methods. * * Copyright (C) 2001-2007 Krzysztof Foltman * * 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 the Free Software Foundation; either * version 2 of ...
<commit_before>#include "audio_ctx.hpp" #include "sound.hpp" #include "music.hpp" #include "../asset/asset_manager.hpp" #include <sf2/sf2.hpp> #include <sf2/FileParser.hpp> #include <SDL2/SDL_mixer.h> namespace mo { namespace audio { namespace { struct Sounds_cfg { int frequence; int channels; i...
<commit_before>/* * Copyright (c) 2016-2017, The OpenThread Authors. * 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. Redistributions of source code must retain the above copyright ...
<commit_before>/* This file is part of Zanshin Todo. Copyright (C) 2012 Christian Mollekopf <chrigi_1@fastmail.fm> 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 ...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2012-2017 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
<commit_before>/* Copyright (c) 2008-2014, Avian Contributors 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 notice appear in all copies. There is NO WARRANTY for this s...
<commit_before>/************************************************************************** * * Copyright 2007-2011 VMware, 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 *...
<commit_before>/*=================================================================== BlueBerry Platform 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 implied warranty of MERCHANTABI...
<commit_before>/* * Copyright (c) 2008-2016 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/ * * MRtrix is distributed in the hope that...
<commit_before>/************************************************************************* * UrBackup - Client/Server backup system * Copyright (C) 2021 Martin Raiber * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2015, 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>#include "ConstantBitP_TransferFunctions.h" #include "ConstantBitP_Utility.h" namespace simplifier { namespace constantBitP { namespace BEEV { typedef unsigned int * CBV; } // Misc (easy) transfer functions. // Trevor Hansen. BSD License. // if the result is fixed to true. Then fix a==b. // if the re...
<commit_before>#ifndef FROMEVENT_HPP #define FROMEVENT_HPP #include "FlagStatus.hpp" #include "IOLogWrapper.hpp" #include "List.hpp" #include "Params.hpp" #include "Vector.hpp" #include "bridge.h" namespace org_pqrs_Karabiner { class FromEvent; class PressingFromEvents final { friend class FromEvent; public: cl...
<commit_before> // $Id: Cache.cpp 3456 2013-06-14 02:11:13Z jiaying $ /* * The Software is made available solely for use according to the License Agreement. Any reproduction * or redistribution of the Software not in accordance with the License Agreement is expressly prohibited * by law, and may result in severe ci...
<commit_before>/* * Copyright (C) 2007-2013 German Aerospace Center (DLR/SC) * * Created: 2010-08-13 Markus Litz <Markus.Litz@dlr.de> * Changed: $Id$ * * Version: $Revision$ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
<commit_before>/** * @file src/dataLoggers/SaveImageLogger.cpp * @date Jan. 2017 * @author PhRG - opticalp.fr */ /* Copyright (c) 2017 Ph. Renaud-Goud / Opticalp 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 <mesos_sched.hpp> #include <libgen.h> #include <cstdlib> #include <iostream> #include <sstream> #include <boost/lexical_cast.hpp> #include "foreach.hpp" using namespace std; using namespace mesos; using boost::lexical_cast; class MyScheduler : public Scheduler { string executor; int ta...
<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>#include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; bool IsPalindrome(const string& s) { if (s == "") { return true; } int n = s.size(); if (s[0] != s[n-1]) { return false; } else { return IsPalindrome(s.substr(1, n-2)); } } bool IsTolerabl...
<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 Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/* * Copyright 2008-2010 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>#ifndef STAN_MATH_REV_FUN_QUAD_FORM_SYM_HPP #define STAN_MATH_REV_FUN_QUAD_FORM_SYM_HPP #include <stan/math/rev/meta.hpp> #include <stan/math/rev/core.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/prim/fun/to_ref.hpp> #include <stan/math/rev/fun/quad_...
<commit_before>/* matrix.cpp Purpose: A Matrix implementation to ease future problems that could more efficiently be solved with Matrix abstraction. @author c650 @version 0.1 1/10/16 The MIT License (MIT) Copyright (c) 2016 c650 */ #include <iostream> #include <vector> #include <cstdlib...
<commit_before>#include "MechanicsFwd.hpp" #include "NewtonEulerDS.hpp" #include "RigidBody2dDS.hpp" #include "SiconosContactor.hpp" RigidBody2dDS::RigidBody2dDS(SP::SiconosVector position, SP::SiconosVector velocity, SP::SiconosMatrix mass) : LagrangianLinea...
<commit_before>// // HttpRequestSystem.cpp // Chilli Source // Created by Scott Downie on 23/05/2011. // // The MIT License (MIT) // // Copyright (c) 2011 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentatio...
<commit_before>// Copyright (c) 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/component_updater/widevine_cdm_component_installer.h" #include <string.h> #include <vector> #include "base/...
<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/ui/ash/multi_user/multi_user_context_menu.h" #include "ash/multi_profile_uma.h" #include "ash/session_state_deleg...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/options/language_options_handler.h" #include <string> #include "base/memory/scoped_ptr.h" #include ...
<commit_before><?php define('APP_ENV', 'MAIN'); require(__DIR__.'/core/app-load.php'); header('Content-Type: text/html; charset=utf-8'); echo Helper::go(HTTP::GET, $_GET, $_POST, $_SERVER, $_COOKIE); <commit_msg>:bug: Ignore any post data in main website<commit_after><?php define('APP_ENV', 'MAIN'); require(__DIR__.'/c...
<commit_before>#include <iostream> #include "memfun.hpp" struct S { void f() const noexcept { std::cout << "Hello world!" << std::endl; } void g(int const a) const noexcept { std::cout << a << std::endl; } }; int main() { S s; auto const f(gnr::memfun<MEMFUN(S::f)>(s)); f(); auto con...
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFCProperty.cpp // @Author : LvSheng.Huang // @Date : 2012-03-01 // @Module : NFCProperty // // -----------------------------------------------...
<commit_before><commit_msg>Messages<commit_after><|endoftext|>
<commit_before>#include "alpha-expansion.hpp" MultiLabelCRF::MultiLabelCRF(Label max_label) : m_num_labels(max_label), m_constant_term(0), m_cliques(), m_unary_cost(), m_labels() { } MultiLabelCRF::NodeId MultiLabelCRF::AddNode(int n) { NodeId ret = m_labels.size(); for (int i = 0; i < n; ...
<commit_before>/** * Copyright 2015-2017 MICRORISC s.r.o. * Copyright 2017 IQRF Tech s.r.o. * * 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/LICE...
<commit_before>#include "sample_protocol.h" #include "snapl/dispatcher.h" #include "snapl/net/inbox.h" #include "snapl/net/outbox.h" #include "connection_acceptor.h" int main( int argc, char **argv ) { short port( 9000 ); sample_protocol_c sample_protocol( port ); queue_c< server_message_c > request_queue; queu...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-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. Redistr...
<commit_before>#include "sslpkix/iosink.h" namespace sslpkix { IoSink& operator<<(IoSink& sink, const std::string& str) { const size_t total_size = str.length(); const char *buf = str.data(); const char *current = buf; size_t written_size = 0; int ret = 0; do { ret = BIO_write(sink.handle(), current, total_s...
<commit_before><commit_msg>missing pointer check in new multiline input code, fdo#43856<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: colrowba.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-02-03 12:37:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "indexcollection.h" #include "indexsearchablevisitor.h" #include <vespa/searchlib/queryeval/isourceselector.h> #include <vespa/searchlib/queryeval/create_blueprint_visitor_help...
<commit_before>/************************************************************************* * * $RCSfile: drawview.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2003-11-24 17:26:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#pragma once //=====================================================================// /*! @file @brief 固定サイズ文字列クラス @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017, 2020 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/maste...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tphf.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-08 22:22:14 $ * * The Contents of this file are made avai...
<commit_before>// Copyright (c) 2013 GitHub, 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 "common/node_bindings.h" #include "base/command_line.h" #include "base/logging.h" #include "base/message_loop.h" #include "common/v8_c...
<commit_before><commit_msg>one more fix for fdo#58686<commit_after><|endoftext|>
<commit_before><commit_msg>Fix PetscODESolver callbacks in the matrix free case<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2019 by Robert Bosch GmbH. All rights reserved. // Copyright (c) 2021 by Apex.AI Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at ...
<commit_before>#include "openlcb/If.hxx" #include "address.h" extern const openlcb::NodeID NODE_ID; const openlcb::NodeID NODE_ID = 0x050101011400ULL | NODEID_LOW_BITS; extern const uint16_t DEFAULT_ALIAS; const uint16_t DEFAULT_ALIAS = 0x400 | NODEID_LOW_BITS; #define BOOTLOADER_DATAGRAM #include "openlcb/Bootloader...
<commit_before>/** \copyright * Copyright (c) 2013, Balazs Racz * 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...
<commit_before> // Author: Enric Tejedor CERN 08/2019 /************************************************************************* * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/* * 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 source code must retain the above copyright * ...
<commit_before>/* * Copyright 2008-2010 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>/* worker.cpp * Copyright (C) 2003-2005 Tommi Maekitalo * * 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 2 of the * License, or (at your option) any later ve...
<commit_before>/* worker.cpp Copyright (C) 2003-2005 Tommi Maekitalo This file is part of tntnet. Tntnet 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 your option) an...
<commit_before>/* variable.cpp * Copyright (C) 2003 Tommi Maekitalo * * 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 the Free Software Foundation; either * version 2.1 of the License, or (at your option) any la...
<commit_before>/************************************************************************* * * $RCSfile: dlgolbul.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: kz $ $Date: 2005-01-13 17:26:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before><commit_msg>fdo#39528: do not lose height of tree list box in Navigator<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: unoprnms.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2004-11-26 20:19:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// Copyright (c) 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/component_updater/widevine_cdm_component_installer.h" #include <string.h> #include <vector> #include "base/...
<commit_before>/* * Handler for raw TCP connections. * * author: Max Kellermann <mk@cm4all.com> */ #include "lb_tcp.hxx" #include "filtered_socket.hxx" #include "address_list.hxx" #include "client_balancer.hxx" #include "address_sticky.h" #include "async.hxx" #include "direct.hxx" #include "pool.hxx" #include "net...
<commit_before>/* * Handler for raw TCP connections. * * author: Max Kellermann <mk@cm4all.com> */ #include "lb_tcp.hxx" #include "filtered_socket.hxx" #include "address_list.hxx" #include "client_balancer.hxx" #include "address_sticky.hxx" #include "direct.hxx" #include "pool.hxx" #include "async.hxx" #include "n...
<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. // chromeos::MediaDeviceNotifications implementation. #include "chrome/browser/system_monitor/media_device_notifications_chromeos.h" ...
<commit_before>/* * Copyright (C) 2008-2013 The Communi Project * * 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 2 of the License, or * (at your option) any later version. * * Th...
<commit_before>#include <QMainWindow> #include <QFileDialog> #include <QString> #include <QBoxLayout> #include <QLabel> #include <QMessageBox> #include "mainwindow.h" #include "parser/htmlreader.h" #include "painter/paintarea.h" #define WINDOW_HEIGHT 480 MainWindow::MainWindow() { reader = new HTMLReader; we...
<commit_before>#include <io/network/tcpSocket.h> #include <logging.h> #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> static constexpr int flags = 0; static inline int send(SOCKET s, const void* msg, size_t len, int flags) { return send(s, static_cast<const char*>(msg), static_cast<int>(len), flags); } ...
<commit_before>/* * Asynchronous local file access. * * author: Max Kellermann <mk@cm4all.com> */ #include "istream_file.hxx" #include "istream.hxx" #include "io/Buffered.hxx" #include "io/UniqueFileDescriptor.hxx" #include "gerrno.h" #include "pool.hxx" #include "fb_pool.hxx" #include "SliceFifoBuffer.hxx" #inclu...
<commit_before>#include "Manager.hpp" #include <string> #include <vector> #include <stdexcept> #include <algorithm> #include <boost/program_options.hpp> #include <boost/filesystem.hpp> int smain(int argc, char *argv[]) { namespace po = boost::program_options; namespace fs = boost::filesystem; po::option...
<commit_before>/******************************************************************************* * E.S.O. - ACS project * * "@(#) $Id: acsdaemonStopContainer.cpp,v 1.9 2008/06/27 11:41:07 msekoran Exp $" * * who when what * -------- ---------- ---------------------------------------------- */ /** ...
<commit_before>/******************************************************************************* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2011 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2016. All rights reserved */ #include "../StroikaPreComp.h" #include "../Characters/Format.h" #include "../Execution/Logger.h" #include "../IO/FileSystem/FileInputStream.h" #include "../IO/FileSystem/FileOutputStream.h" #include "../IO/...
<commit_before>#include "TM0Cylindrical.h" template<> InputParameters validParams<TM0Cylindrical>() { InputParameters params = validParams<Kernel>(); // params.addRequiredParam<Real>("position_units", "Units of position."); params.addRequiredParam<Real>("f", "The drive frequency."); params.addParam<Real>("eps_...
<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>/* -------------------------------------------------------------------------- * * OpenSim: ConstantDistanceConstraint.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and ...
<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_plug...
<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>// -*- Mode:C++ -*- /**************************************************************************************************/ /* */ /* Copyright (C) 2013-2015 University of Hull ...
<commit_before>#define _LOG_PROB_ neg_binomial_log #include <stan/prob/distributions/univariate/discrete/neg_binomial.hpp> #include <stan/prob/distributions/univariate/discrete/binomial.hpp> using std::vector; using std::numeric_limits; using stan::agrad::var; class AgradDistributionsNegBinomial : public AgradDistrib...
<commit_before>/* * File: histogramnew.cc * Author: ruehle * * Created on March 11, 2009, 4:29 PM */ #include "histogramnew.h" HistogramNew::HistogramNew() { _min=_max=_step=0; _weight = 1.; _periodic=false; } void HistogramNew::Initialize(double min, double max, int nbins) { _min = min; _max...
<commit_before>/* * Copyright 2009-2021 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>//============================================================================================================= /** * @file test_mne_project_to_surface.cpp * @author Ruben Dörfel <doerfelruben@aol.com> * @since 0.1.6 * @date August, 2020 * * @section LICENSE * * Copyright (C) 2020, ...
<commit_before> <commit_msg>Delete output.hpp<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <cstdlib> #include <cmath> #include <cstdio> #include "consts.h" #include "circuits/circuit.h" #include "matrix/newtonraphson.h" using namespace std; static const int MAX_ATTEMPTS = 10; static const int MAX_LOOPS = 100; static const double TOLERANCE = 1e-9; void randomiz...
<commit_before>#include "parser.h" #include "ast.h" #include "utils.h" #include "token.h" #include "exceptions.h" #include <string> #include <vector> #include <fstream> #include <iostream> namespace sota { std::string Parser::Load(const std::string &filename) { if (!exists(filename)) SotaEx...
<commit_before>#include <stdio.h> #include "ys_matrixTool.h" #include "ys_matrix.h" using namespace ys; int main(void) { DMatrix<int> matrix1; matrix1[0][0] = 7; matrix1[0][1] = 6; matrix1[0][2] = 2; matrix1[1][0] = 3; matrix1[1][1] = 2; matrix1[1][2] = 5; for (int i = 0; i < matrix1....
<commit_before>#include "parser.hpp" #include "ast_data.hpp" namespace klang { Parser::Parser(TokenVector tokens) : tokens_(std::move(tokens)), current_(std::begin(tokens_)) {} bool Parser::parse_symbol(const char* str) { if (current_type() == TokenType::SYMBOL && current_string() == std::string{s...
<commit_before>#include "pbview.h" #include <cinttypes> #include <cstdio> #include <cstring> #include <curses.h> #include <iostream> #include <sstream> #include "config.h" #include "configcontainer.h" #include "dllist.h" #include "download.h" #include "fmtstrformatter.h" #include "help.h" #include "logger.h" #include...
<commit_before>// Copyright (C) 2012, Chris J. Foster and the other authors and contributors // 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 ...
<commit_before>#ifndef SIGNALPID_HPP_INCLUDED #define SIGNALPID_HPP_INCLUDED #include <iostream> #include "ComponentEssentials.h" #include "ComponentUtilities.h" #include "math.h" //! //! @file \ C:\HopsanTrunk\HOPSAN++\componentLibraries\defaultLibrary\Signal\Control\Sign\ alPID.hpp //! @author Petter Kr...
<commit_before>#include <cassert> #include <ostream> #include "cons.hh" #include "cons_util.hh" #include "eval.hh" #include "lisp_ptr.hh" #include "printer.hh" #include "procedure.hh" #include "rational.hh" #include "symbol.hh" #include "s_closure.hh" #include "token.hh" #include "vm.hh" #include "zs_error.hh" using ...
<commit_before>// Copyright 2015 MongoDB 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 applicable law or a...
<commit_before>#include "../Morda.hpp" #include "../util/util.hpp" #include "widget.hpp" #include "container.hpp" using namespace morda; widget::widget(const puu::forest& desc){ for(const auto& p : desc){ if(!is_property(p)){ continue; } if(p.value == "layout"){ this->layout_desc = p.children; }...
<commit_before>// Copyright (c) 2009-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 "random.h" #ifdef WIN32 #include "compat.h" // for Window...
<commit_before>/* * Copyright (c) 2015, 2016, 2017, 2018, 2019, 2020, Intel Corporation * * 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 ...
<commit_before>#include <osg/ApplicationUsage> #include <osg/Math> using namespace osg; ApplicationUsage::ApplicationUsage(const std::string& commandLineUsage): _commandLineUsage(commandLineUsage) { } ApplicationUsage* ApplicationUsage::instance() { static ApplicationUsage s_applicationUsage; return &s_a...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file *...
<commit_before>/* Copyright (c) 2012 - 2021 Advanced Micro Devices, 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, co...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision: 17495 $ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. S...
<commit_before>/*************************************************************************** * Copyright (C) 2006 by Ingo Kloecker <kloecker@kde.org> * * * * This program is free software; you can redistribute it and/or modify ...