text
stringlengths
54
60.6k
<commit_before>#include "loci/PopulationLocus.hpp" #include "exception/ValueOutOfRangeException.hpp" #include <boost/any.hpp> #include <sstream> using namespace std; PopulationLocus::PopulationLocus(PopulationNode * node) { this->node = node; } PopulationLocus::~PopulationLocus() {} Genome * PopulationLocus::getIn...
<commit_before>#include <protobuf/LogFrame.pb.h> #include "InterpolatedPath.hpp" #include "Utils.hpp" #include "LogUtils.hpp" #include <stdexcept> #pragma mark InterpolatedPath using namespace std; using namespace Geometry2d; namespace Planning { InterpolatedPath::InterpolatedPath(const Geometry2d::Point &p0) { ...
<commit_before>// Copyright (c) 2006, 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, this ...
<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 * IMPLI...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2016 BMW Car IT GmbH * %% * 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>//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm 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://ww...
<commit_before>/* * Copyright 2018 Google, Inc. * * 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 the following ...
<commit_before>/* * Copyright 2015 eje inc. * Copyright 2015 Samsung Electronics Co., LTD * * 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/LICENS...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/fir/memdiags_fir...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/spd/lrdimm/ddr4/lrdimm_raw_cards...
<commit_before>/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ #include <csetjmp> #include <base/os.h> #include <base/test/task_test_util.h> #include <cmn/agent_cmn.h> #include <cmn/agent_factory.h> #include <init/agent_param.h> #include <cfg/cfg_init.h> #include <ovs_tor_agent/ovsdb_client/...
<commit_before>/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>#ifdef _WIN32 #define M_PI 3.14 #endif #include <cmath> #include <iostream> #include <fstream> #include "Body.hpp" #define G 20 // TODO: Get the right number #define DENSITY 100 // kg/m^3 using namespace sf; using namespace std; Body::Body(Vector2f pos, uint64_t m, Vector2f dir) : position(pos), di...
<commit_before>// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_COMMON_FLOAT_CMP_HH #define DUNE_STUFF_COMMON_FLOAT_C...
<commit_before>#include "map/framework.hpp" #include "map/user_mark_container.hpp" #include "drape_frontend/drape_engine.hpp" #include "drape_frontend/tile_key.hpp" #include "drape_frontend/user_mark_shapes.hpp" #include "base/scope_guard.hpp" #include "base/macros.hpp" #include "base/stl_add.hpp" #include "std/algo...
<commit_before>/******************************************************************************\ * File: frame.cpp * Purpose: Implementation of wxExFrameWithHistory class * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. R...
<commit_before>// ======================================================================== // // Copyright 2018-2019 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>// // Sends a request to call hello() from within a worker. // // Uses SimpleAmqpClient (https://github.com/alanxz/SimpleAmqpClient) to // connect to RabbitMQ and nlohmann/json (https://github.com/nlohmann/json) to // create JSON. // #include <iostream> #include <string> // Access to https://github.com...
<commit_before>#ifndef _RPC_SESSION_H #define _RPC_SESSION_H #include <string> #include <vector> #include <thread> #include <memory> #include <boost/asio.hpp> #include "base/header.hpp" #include "base/atimer.hpp" #include "base/scope_guard.hpp" namespace easyrpc { class rpc_session { public: rpc_session(const rp...
<commit_before>// Natron // /* 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/. */ /* * Created by Alexandre GAUTHIER-FOICHAT on 6/1/2012. * contact: immarespond at gm...
<commit_before>#include <QDebug> #include <QSettings> #include <QFileInfo> #include <QDir> #include <QThread> #include <coreplugin/messagemanager.h> #include <coreplugin/progressmanager/progressmanager.h> #include <coreplugin/progressmanager/futureprogress.h> #include <utils/macroexpander.h> #include "CppcheckRunner....
<commit_before>// Copyright (c) 2022 The Orbit 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 <absl/container/flat_hash_map.h> #include <absl/strings/str_format.h> #include <gmock/gmock.h> #include <gtest/gtest.h> #include...
<commit_before>// This is sometimes required to support the full curses API #define _XOPEN_SOURCE #define _XOPEN_SOURCE_EXTENDED #ifdef __GNUC__ // Enable printf and scanf argument checking #define GCC_PRINTF #define GCC_SCANF #endif #include <curses.h> #include <climits> #include <cstdio> #include <unordered_map>...
<commit_before>/* mutexops.cpp: Copyright (C) 2007 by Steven Yi Mutex lock and unlocking opcodes, used for when running Csound with multiple threads This file is part of Csound. The Csound Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesse...
<commit_before>#include <Adafruit_GPS.h> #include <SoftwareSerial.h> #include <SPI.h> #include <SD.h> File myFile; uint32_t lastsave(0); SoftwareSerial mySerial(3, 2); Adafruit_GPS GPS(&mySerial); #define GPSECHO false boolean usingInterrupt = false; void useInterrupt(boolean); // Func prototype keeps Arduino 0023 ha...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/* * Copyright (C) 2007-2011 German Aerospace Center (DLR/SC) * * Created: 2010-08-13 Markus Litz <[email protected]> * 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. ...
<commit_before>#include <AlpinoCorpus/DbCorpusWriter.hh> #include <AlpinoCorpus/Error.hh> #include <QtGlobal> namespace db = DbXml; namespace alpinocorpus { DbCorpusWriter::DbCorpusWriter(QString const &qpath, bool overwrite) : mgr(), container() { try { db::XmlContainerConfig config;...
<commit_before>/* DepotsSettings.cpp * Copyright 2016 Brian Hill * All rights reserved. Distributed under the terms of the BSD License. */ #include "constants.h" #include "DepotsSettings.h" #include <FindDirectory.h> #include <StringList.h> #undef B_TRANSLATION_CONTEXT #define B_TRANSLATION_CONTEXT "DepotsSettings...
<commit_before>/************************************************************************* * * $RCSfile: flags.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: jb $ $Date: 2002-02-15 14:34:33 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses...
<commit_before>#include "InterpolatedScorer.h" #include "ScorerFactory.h" #include "Util.h" using namespace std; // TODO: This is too long. Consider creating a function for // initialization such as Init(). InterpolatedScorer::InterpolatedScorer(const string& name, const string& config) : Scorer(name,config) { ...
<commit_before>#include "../LessParser.h" #include "gtest/gtest.h" // At rules TEST(LessParserTest, AtRule) { istringstream in("@x: 10; selector {key: @x}"); LessTokenizer t(&in); LessParser p(&t); Stylesheet s; p.parseStylesheet(&s); Ruleset* set; Declaration* d; p.parseStylesheet(&s); AS...
<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 <boost/test/unit_test.hpp> #include <vector> #include "clotho/utility/bit_walker.hpp" typedef unsigned long block_type; typedef unsigned short sub_block_type; typedef clotho::utility::block_walker< block_type, sub_block_type > walker_type; struct set_bit_vector_op { set_bit_vector_op() ...
<commit_before>//===- TypeTraitsTest.cpp -------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <algorithm> #include <chrono> #include <cmath> #include <iostream> #include <string> #include <sys/time.h> #include <thread> #include <rclcpp/rclcpp.hpp> #include <simple_msgs/AllBuiltinTypes.h> #include <simple_msgs/AllDynamicArrayTypes.h> #include <simple_msgs/AllPrimitiveTypes.h> #include <...
<commit_before>/** * This file is part of the CernVM File System. */ #include "cvmfs_config.h" #include "swissknife_lsrepo.h" #include "logging.h" namespace swissknife { CommandListCatalogs::CommandListCatalogs() : print_tree_(false), print_hash_(false), print_size_(false), print_entries_(false) {} Paramete...
<commit_before>#ifndef DIPLOMA_PAGE_ALLOCATOR_HPP #define DIPLOMA_PAGE_ALLOCATOR_HPP #include <cstddef> #include <cstdint> #include <cassert> #include <libprecisegc/details/allocators/allocator_tag.hpp> #include <libprecisegc/details/gc_hooks.hpp> #include <libprecisegc/details/constants.hpp> #include <libprecisegc/d...
<commit_before>// Copyright (C) 2016 xaizek <[email protected]> // // This file is part of uncov. // // uncov 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 License, or /...
<commit_before>// Copyright 2016 Alessio Sclocco <[email protected]> // // 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 requir...
<commit_before>/* * Copyright (C) 2008-2011, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ /** ** \fil...
<commit_before>/* GG is a GUI for SDL and OpenGL. Copyright (C) 2003 T. Zachary Laine 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 y...
<commit_before>// @(#)root/qtgsi:$Id$ // Author: Denis Bertini, M. Al-Turany 01/11/2000 /************************************************************************* * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#include "gorgone.h" using namespace cv; using namespace ofxCv; int accum = 0; void gorgone::setup() { ofSetLogLevel(OF_LOG_NOTICE); masterIp = "Mac-Pro-de-10-52.local"; appName = "gorgone-1"; parseCmdLineOptions(); vidGrabber.setup(filename); svgInterp.setup(); jamoma.setup((void*) this, ...
<commit_before>// // Aspia Project // Copyright (C) 2018 Dmitry Chapyshev <[email protected]> // // 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 ...
<commit_before>/********************************************************************** * $Id$ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesse...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: basenode.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: obo $ $Date: 2005-10-11 08:43:44 $ * * The Contents of this file are made...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: salplug.cxx,v $ * * $Revision: 1.17 $ * * last change: $Author: rt $ $Date: 2005-10-19 15:33:22 $ * * The Contents of this file are made ...
<commit_before>// This file is part of the HörTech Open Master Hearing Aid (openMHA) // Copyright © 2007 2009 2010 2013 2014 2015 2018 2019 2020 HörTech gGmbH // // openMHA 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 ...
<commit_before>// The MIT License (MIT) // Copyright (c) 2013 lailongwei<[email protected]> // // 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 l...
<commit_before><commit_msg>implementation of demo_generator<commit_after>/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.or...
<commit_before><commit_msg>Re-enable optimal bloom on Intel GPUs.<commit_after><|endoftext|>
<commit_before>#include "rosplan_planning_system/PlannerInterface/LPGPlannerInterface.h" namespace KCL_rosplan { /*-------------*/ /* constructor */ /*-------------*/ LPGPlannerInterface::LPGPlannerInterface(ros::NodeHandle& nh) { node_handle = &nh; plan_server = new actionlib::SimpleActionServer<rosplan_d...
<commit_before>/* Copyright (C) 2013 Nipun Talukdar 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 l...
<commit_before> /* * jabberprotocol.cpp - Base class for the Kopete Jabber protocol * * Copyright (c) 2002-2003 by Till Gerken <[email protected]> * Copyright (c) 2002 by Daniel Stone <[email protected]> * * Kopete (c) by the Kopete developers <[email protected]> * * *****************************...
<commit_before>/* msndebugrawcmddlg.cpp - Send a raw MSN command for debugging Copyright (c) 2002 by Martijn Klingens <[email protected]> Kopete (c) 2002 by the Kopete developers <[email protected]> Portions of this code are taken from KMerlin, (c) 2001 by Olaf Lueg ...
<commit_before>/******************************************************************************\ * File: lexer.cpp * Purpose: Implementation of lexer classes * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproduction i...
<commit_before>#ifndef hash_map_hh_INCLUDED #define hash_map_hh_INCLUDED #include "hash.hh" #include "memory.hh" #include "vector.hh" namespace Kakoune { template<typename T> constexpr void constexpr_swap(T& lhs, T& rhs) { T tmp = std::move(lhs); lhs = std::move(rhs); rhs = std::move(tmp); } template<Me...
<commit_before>/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998-2007 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This libra...
<commit_before>/** \file SimpleXmlParser.cc * \brief A non-validating XML parser class. * \author Dr. Johannes Ruscheinski ([email protected]) * * \copyright 2015 Universitätsbiblothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modi...
<commit_before>/* * #%L * %% * Copyright (C) 2020 BMW Car IT GmbH * %% * 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>/* Copyright (c) 2015, Daniel C. Dillon * 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 notice, * thi...
<commit_before>#include <Rcpp.h> #include <iostream> using namespace std; using namespace Rcpp; #include"somoclu.h" RcppExport SEXP Rtrain(SEXP data_p, SEXP nEpoch_p, SEXP nSomX_p, SEXP nSomY_p, SEXP radius0_p, SEXP radiusN_p, ...
<commit_before>/** * @file cache.cpp * * @date Nov 21, 2012 * @author perämäki */ #include "cache.h" #include "logger_factory.h" #include "info.h" #include <time.h> #include "plugin_factory.h" #include <boost/lexical_cast.hpp> using namespace std; using namespace himan::plugin; typedef lock_guard<mutex> Lock; ...
<commit_before>/** * @file radon.cpp * * @date Oct 28, 2012 * @author tack */ #include "radon.h" #include "logger_factory.h" #include "plugin_factory.h" #include <thread> #include <sstream> #include "util.h" #include "unistd.h" // getuid()) #include "regular_grid.h" using namespace std; using namespace himan::pl...
<commit_before><commit_msg>Aborted setSource if no output formats are available<commit_after><|endoftext|>
<commit_before>/**************************************************************************** * * Copyright (c) 2019-2020 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are me...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/phy/adr32s.C $ ...
<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: SlsPageObjectViewObjectContact.hx...
<commit_before>/** * OpenCV (OCV) - Video capture on BBB * * GOAL: * This program takes continuous images from the host camera and detect a circular * object of specific color. The color and other configuration are provided as * input argument to the program. * * INPUT: * The program takes two arguments: * - The vide...
<commit_before>#include "cache.h" #include <stdlib.h> BlockCache::BlockCache(void) { firstItem = NULL; lastItem = NULL; } BlockCache::~BlockCache(void) { // TODO: Free all items } void BlockCache::Set(void *key, void *val) { BlockCacheItem *item; item = (BlockCacheItem *)malloc(sizeof(Block...
<commit_before>/* * This file is part of Poedit (https://poedit.net) * * Copyright (C) 2016 Vaclav Slavik * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, i...
<commit_before>//----------------------------------*-C++-*----------------------------------// /*! * \file core/test/tstTransfer_Map.cc * \author Stuart Slattery * \date Mon Oct 31 12:15:31 2011 * \brief Unit test for the transfer map. * \note Copyright (C) 2008 Oak Ridge National Laboratory, UT-Battelle, L...
<commit_before>// Copyright 2010 Google // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
<commit_before>#include "gtest/gtest.h" #include "paxos/ledger.hpp" class LedgerUnitTest: public testing::Test { virtual void SetUp() { DisableLogging(); } }; TEST_F(LedgerUnitTest, testAppendIncrementsTheSize) { Ledger ledger(std::make_shared<VolatileQueue<Decree>>()); ASSERT_EQ(ledge...
<commit_before>/* Copyright (c) 2014-2016 AscEmu Team <http://www.ascemu.org/> This file is released under the MIT license. See README-MIT for more information. */ #include "StdAfx.h" SpellInfo::SpellInfo() { Id = 0; Category = 0; DispelType = 0; MechanicsType = 0; Attributes = 0; AttributesEx...
<commit_before>// Copyright (c) 2009-2017 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // Maintainer: joaander /*! \file NeighborListBinned.cc \brief Defines NeighborListBinned */ #include "NeighborListBinned.h" #ifdef ENABLE...
<commit_before>/* _____ * /\ _ \ __ * \ \ \_\ \ __ __ __ /\_\ * \ \ __ \ /'_ `\ /\ \/\ \\/\ \ * \ \ \/\ \ /\ \_\ \\ \ \_\ \\ \ \ * \ \_\ \_\\ \____ \\ \____/ \ \_\ * \/_/\/_/ \/____\ \\/___/ \/_/ * /\____/ ...
<commit_before>/* * Copyright (C) 2009 Marc Boris Duerner, Tommi Maekitalo * * 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...
<commit_before>/* * Copyright (c) 2008-2009 * * School of Computing, University of Utah, * Salt Lake City, UT 84112, USA * * and the Gauss Group * http://www.cs.utah.edu/formal_verification * * See LICENSE for licensing information */ /* * ISP: MPI Dynamic Verification Tool * * File: TransitionList...
<commit_before>/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
<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 2009 Andrew Manson <[email protected]> // #include "GeoLineStrin...
<commit_before>#include "HTTPSession.h" #include "Application/HTTP/UrlParam.h" #include "Application/HTTP/HTTPRequest.h" #include "Application/HTTP/HTTPConnection.h" #include "Application/HTTP/HTTPConsts.h" #include "Application/HTTP/Mime.h" #define MSG_FAIL "Unable to process your request at this time" #de...
<commit_before>/* Twofold-ChaiScript * (C) Copyright 2015 HicknHack Software GmbH * * The original code can be found at: * https://github.com/arBmind/Twofold-ChaiScript * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
<commit_before>#include "TextInputWidget.hpp" #include <iostream> gsf::TextInputWidget::Ptr gsf::TextInputWidget::create(sf::Font &font) { Ptr widget{ std::make_unique<TextInputWidget>(font) }; return widget; } gsf::TextInputWidget::Ptr gsf::TextInputWidget::create(float width, float height, sf::Font...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>// Xerus - A General Purpose Tensor Library // Copyright (C) 2014-2015 Benjamin Huber and Sebastian Wolf. // // Xerus 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 ...
<commit_before><commit_msg>DevTools: wire Inspect Element action to DOMAgent-enabled inspector controller. TBR=mnaganov<commit_after><|endoftext|>
<commit_before>//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgp...
<commit_before>/** * \file * * \date 3 Jul 2013 * \author Ben Gray (\@benjamg) */ #ifndef ZMQPP_CONTEXT_OPTIONS_HPP_ #define ZMQPP_CONTEXT_OPTIONS_HPP_ namespace zmqpp { /** \todo Expand the information on the options to make it actually useful. */ /*! * \brief possible Context options in zmq */ enum class...
<commit_before>// -*- c++ -*- /*! * This file is part of CameraPlus. * * Copyright (C) 2012-2013 Mohammed Sameer <[email protected]> * * 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 Foundat...
<commit_before>#ifndef STAN_MATH_PRIM_FUN_LGAMMA_HPP #define STAN_MATH_PRIM_FUN_LGAMMA_HPP /** * The lgamma implementation in stan-math is based on either the * reentrant safe lgamma_r implementation from C or the * boost::math::lgamma implementation. The reentrant safe lgamma_r * implementation is preferred as it...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<commit_before>/* Copyright (c) 2014 PX4 Development 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: * * 1. Redistributions of source code must retain the above copyright * notice, this list...
<commit_before>#include <functional> #include <future> #include "kernel.h" #include "coverage.h" #include "numericrange.h" #include "numericdomain.h" #include "columndefinition.h" #include "table.h" #include "attributerecord.h" #include "geos/geom/CoordinateArraySequence.h" #include "geos/geom/LinearRing.h" #include "g...
<commit_before>#include "scene.h" #include "camera.h" #include <stdio.h> #include "raytracer/rt_raytracer.h" #include "rasterizer/ras_rasterizer.h" Scene::Scene() { this->camera = new Camera(0.86, 480, 480); this->raytracer = new RayTracer(); this->rasterizer = new Rasterizer(); this->rasterizer->setCamera(this-...
<commit_before>/* Copyright (c) 2011-2012 - Tőkés Attila This file is part of SmtpClient for Qt. 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,...
<commit_before>#include <iostream> #include "vtrc-server/vtrc-application.h" #include "vtrc-server/vtrc-listener-tcp.h" #include "vtrc-common/vtrc-connection-iface.h" #include "vtrc-common/vtrc-closure-holder.h" #include "vtrc-common/vtrc-thread-pool.h" #include "vtrc-common/vtrc-rpc-service-wrapper.h" #include "pr...