text
stringlengths
54
60.6k
<commit_before>/* * Copyright (c) 2010 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 IS PROVIDED "AS IS" AND THE...
<commit_before>/* -*- c++ -*- attachmentstrategy.cpp This file is part of KMail, the KDE mail client. Copyright (c) 2003 Marc Mutz <mutz@kde.org> KMail is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the ...
<commit_before>/* kopete.cpp Kopete Instant Messenger Main Class Copyright (c) 2001-2002 by Duncan Mac-Vicar Prett <duncan@kde.org> Copyright (c) 2002-2003 by Martijn Klingens <klingens@kde.org> Kopete (c) 2001-2003 by the Kopete developers <kopete-devel@kde.org> *********...
<commit_before>#ifndef CORE_HPP #define CORE_HPP #include "CallBackWrapper.hpp" class IOService; class IONotifier; namespace org_pqrs_Karabiner { class ParamsUnion; namespace Core { void start(void); void stop(void); // ---------------------------------------------------------------------- bool...
<commit_before>/** * @file * @brief Implementation of logger * * @copyright MIT License */ #include "log.h" #include <algorithm> #include <array> #include <chrono> #include <exception> #include <iomanip> #include <iostream> #include <ostream> #include <string> #include <unistd.h> using namespace allpix; // Las...
<commit_before>#include "connection.hpp" #include <boost/thread.hpp> #include <thread> #include <chrono> using boost::asio::ip::tcp; namespace libircppclient { void connection::connect() { /* * Resolve the host and generate a list of endpoints. * An endpoint is the information used to connect to an add...
<commit_before> #include "Logger.h" #include "event_loop.h" #include "client_service.h" #include "kernel.h" #include "Topic.h" #include "IOLoop.h" #include "IOHandle.h" #include "io_connector.h" #include <Logger.h> #include <sstream> #include <condition_variable> #include <mutex> #include <queue> #include <list> #in...
<commit_before>// Copyright (c) 2009-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <core_io.h> #include <base58.h> #include <consensus/consensus.h> #include <consensus/validation.h> #...
<commit_before>// Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "core_io.h" #include "base58.h" #include "primitives/transaction.h" #include "script/script.h" #incl...
<commit_before>/* * Copyright (C) 2010-2014 Jeremy Lainé * Contact: https://github.com/jlaine/qdjango * * This file is part of the QDjango Library. * * 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 So...
<commit_before>/* * Copyright 2017 deepstreamHub 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 * * Unless required by applic...
<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 2013 Duncan Smith #include "service/service.h" #include <iostream> #include <boost/log/trivial.hpp> #include <boost/log/core.hpp> #include <boost/log/expressions.hpp> #include <boost/log/sinks/text_file_backend.hpp> #include <boost/log/utility/setup/file.hpp> #include <boost/log/utility/s...
<commit_before>#include "stan/math/functions/inv_logit.hpp" #include <gtest/gtest.h> TEST(MathFunctions, inv_logit) { using stan::math::inv_logit; EXPECT_FLOAT_EQ(0.5, inv_logit(0.0)); EXPECT_FLOAT_EQ(1.0/(1.0 + exp(-5.0)), inv_logit(5.0)); } <commit_msg>added NaN test for inv_logit<commit_after>#include...
<commit_before>#include "PassMyoA.h" #include "CompNeoHookean.h" #include "FEMesh.h" #include "EigenEllipticResult.h" #include "MechanicsModel.h" #include "EigenNRsolver.h" #include "LBFGSB.h" using namespace voom; int main(int argc, char** argv) { // Timing time_t start, end; time(&start); // Initialize ...
<commit_before>/************************************************************************* * Copyright (C) 1995-2020, Rene Brun and Fons Rademakers. * * All rights reserved. * * * * Fo...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009-2010 TECHNOGERMA Systems France and/or its subsidiary(-ies). ** Contact: Technogerma Systems France Information (contact@technogerma.fr) ** ** This file is part of the CAMP library. ** ** The MIT Licens...
<commit_before>// Implements the DeployInst class #include "deploy_inst.h" namespace cycamore { DeployInst::DeployInst(cyclus::Context* ctx) : cyclus::Institution(ctx) {} DeployInst::~DeployInst() {} void DeployInst::Build(cyclus::Agent* parent) { cyclus::Institution::Build(parent); BuildSched::iterator it; f...
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "chrome/browser/automation/url_request_mock_http_job.h" #include "chrome/common/chrome_switc...
<commit_before>// // Copyright 2012 Francisco Jerez // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify,...
<commit_before><commit_msg>AutoFill Renderer crash in form_manager.cc FindChildTextInner()<commit_after><|endoftext|>
<commit_before>#ifndef DVDT_INFER_H #define DVDT_INFER_H #include <vector> #include "clblast.h" namespace clblast{ template <typename T> const std::vector<std::string> GetConf(const Layout layout, const Transpose a_transpose, const Transpose b_transpose, const size_t m, const size_t n, ...
<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>#ifndef KISSFFT_CLASS_HH #include <complex> #include <valarray> #include <cmath> namespace kissfft_utils { template <typename T_scalar> struct traits { typedef T_scalar scalar_type; typedef std::complex<scalar_type> cpx_type; void fill_twiddles( std::complex<T_scalar> * dst ,uint64_t nfft,b...
<commit_before>/* * Copyright (c) 2012 Sacha Refshauge * */ // Qt 4.7+ / 5.0+ implementation of the framework. // Currently supports: Symbian, Blackberry, Meego, Linux, Windows #include <QApplication> #include <QUrl> #include <QDir> #include <QDesktopWidget> #include <QDesktopServices> #include <QLocale> #include <...
<commit_before>#define DEBUG 1 /** * File : E2.cpp * Author : Kazune Takahashi * Created : 3/10/2019, 2:26:12 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector>...
<commit_before>/* * Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland * All rights reserved. * * This library/application is free software; you can redistribute and/or modify it under the terms of * the license that is included with this library/application in the fi...
<commit_before>#include "origin_drm.h" #include <QLineEdit> #include <QCheckBox> OriginDRM::OriginDRM() : DRMType("<b>Origin</b>"){} /** Check if Origin exists or not and set various class variables accordingly. */ void OriginDRM::checkOriginExists() { QDir originRoot; QDir originFolder; #if defined(_WIN32) |...
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 2/17/2019, 2:03:40 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> ...
<commit_before>#define DEBUG 1 /** * File : F2.cpp * Author : Kazune Takahashi * Created : 2019-6-2 00:47:04 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack>...
<commit_before>// 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 to in writing, software ...
<commit_before>#include "destroy_system.h" #include "game/transcendental/cosmos.h" #include "game/transcendental/entity_id.h" #include "game/components/sub_entities_component.h" #include "game/messages/queue_destruction.h" #include "game/messages/will_soon_be_deleted.h" #include "game/transcendental/entity_handle.h"...
<commit_before>/** * This file is part of the CernVM File System. */ #include "json_document.h" #include <cassert> #include <cstdlib> #include <cstring> #include "logging.h" using namespace std; // NOLINT JsonDocument *JsonDocument::Create(const string &text) { UniquePtr<JsonDocument> json(new JsonDocument()...
<commit_before>/** * This file is part of the CernVM File System. * * This command processes a repository's catalog structure to detect and remove * outdated and/or unneeded data objects. */ #include "cvmfs_config.h" #include "swissknife_gc.h" #include <string> #include "garbage_collection/garbage_collector.h" ...
<commit_before>#include <iostream> #include <string> #include <vector> #ifndef INSTRUMENT_COPIES #define INSTRUMENT_COPIES 1 #endif #if INSTRUMENT_COPIES inline std::size_t& allocations () { static std::size_t allocations_ = 0; return allocations_; } inline void reset_allocations () { allocations() = 0; } ...
<commit_before>/* * GameState.cpp * OpenLieroX * * Created by Albert Zeyer on 15.02.12. * code under LGPL * */ #include "GameState.h" #include "Game.h" #include "Settings.h" #include "CWorm.h" #include "CBytestream.h" #include "ClassInfo.h" #include "ProfileSystem.h" ScriptVar_t ObjectState::getValue(Attri...
<commit_before> #include <cstdarg> #include <cstdlib> #include <cstring> #include <cerrno> #include "z80.h" namespace { using z80::fast_u8; using z80::fast_u16; using z80::least_u8; #if defined(__GNUC__) || defined(__clang__) # define LIKE_PRINTF(format, args) \ __attribute__((__format__(__printf__, format, a...
<commit_before>#ifndef __FILESYSTEM_HPP_INCLUDED__ #define __FILESYSTEM_HPP_INCLUDED__ #include <string> #include <vector> namespace dafs { const int BLOCK_SIZE_IN_BYTES = 1048576; struct Block { int id; int revision; std::string owner; char contents[BLOCK_SIZE_IN_BYTE...
<commit_before>/*********************************************************************************************************************** * Copyright (C) 2016 Andrew Zonenberg and contributors * * ...
<commit_before>/* Copyright (c) 2003, Arvid Norberg, Daniel Wallin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, thi...
<commit_before>#include <fstream> #include <iostream> #include <sstream> #define SEQAN_PROFILE #ifndef RELEASE //#define SEQAN_DEBUG //#define SEQAN_TEST #endif #include <string> #include <seqan/basic.h> #include <seqan/sequence.h> #include <seqan/file.h> #include <seqan/map.h> #include <seqan/refinement.h> #inc...
<commit_before>#ifndef GRAPHICSDEVICE_HPP_INCLUDED #define GRAPHICSDEVICE_HPP_INCLUDED #include "blendmode.hpp" #include "buffer.hpp" #include "cullface.hpp" #include "graphicsresource.hpp" #include "renderbuffer.hpp" #include "shadertype.hpp" #include "textureparam.hpp" #include "vertexarray.hpp" #include <string> #...
<commit_before>// // Copyright (c) 2015-2017, Deutsches Forschungszentrum für Künstliche Intelligenz GmbH. // Copyright (c) 2015-2017, University of Bremen // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditio...
<commit_before>// Copyright 2015-2017 Open Source Robotics Foundation, 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 // // Unle...
<commit_before>/* * Copyright (C) 2010, 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. */ #ifndef URB...
<commit_before>/* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard <http://drobilla.net> * * Ingen is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at y...
<commit_before>// ======================================================================== // // Copyright 2009-2018 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>#include "parseArgs.h" // parseArgs #include "DelilahConsole.h" // ss::DelilahConsole #include "SamsonSetup.h" // ss::SamsonSetup #include "au/Format.h" // au::Format #include "MemoryManager.h" // ss::MemoryManager #include "Engine.h" // engine::Engine /* *************************...
<commit_before>#include "Application.h" using namespace ShadowMapping; CApplication::CApplication() : m_mousePosition(0, 0) , m_elapsed(0) { m_globalPackage = Athena::CPackage::Create("global"); CreateScene(); CreateUi(); Athena::CGraphicDevice::GetInstance().AddViewport(m_mainViewport.get()); At...
<commit_before>#ifndef VSMC_CORE_WEIGHT_HPP #define VSMC_CORE_WEIGHT_HPP #include <vsmc/internal/common.hpp> namespace vsmc { /// \brief Weight set class /// \ingroup Core class WeightSetBase { public : /// The type of the size of the weight set typedef std::size_t size_type; explicit WeightSetBase...
<commit_before>/* * Copyright 2007-2021 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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...
<commit_before>#pragma once #include <string> #include <string_view> #include <type_traits> #include <utility> #include <gcl/cx/crc32_hash.hpp> // todo : move to cx namespace gcl::cx::typeinfo { // constexpr typeinfo that does not relies on __cpp_rtti // // Known limitations : // type_name : type alia...
<commit_before>// Copyright (c) 2011, Cornell University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // ...
<commit_before>#include <iostream> #include <sstream> #include <string> #include <vector> template<typename T = char> void print_binary(T src, const size_t & byte_size) { const char zerobit = 0; const char nonzerobit = 1; int bpos = 0; while(src != 0) { char buffer[by...
<commit_before>/******************************************************************************\ * ___ __ * * /\_ \ __/\ \ * * \//\ \ /\_\ \ \____ ___ _____ _____ __ ...
<commit_before> #include <cppunit/config/SourcePrefix.h> #include <cppunit/extensions/HelperMacros.h> // include examples. order matters! #include "../examples/silence.cpp" #include "../examples/workhorse.cpp" #include <lvtk/ext/urid.hpp> #include <lvtk/host/uri_directory.hpp> using TestFixutre = CPPUNIT_NS::TestFix...
<commit_before>// Copyright (c) 2013 Joshua Beitler, Mirus contributors // 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 ...
<commit_before>// Copyright 2013-2015 Eric Schkufza, Rahul Sharma, Berkeley Churchill, Stefan Heule // // 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/...
<commit_before>#include "db_impl.h" #include <sstream> DBImpl::DBImpl(zlog::Log *log) : log_(log), cache_(this) { root_ = Node::Nil(); root_pos_ = 0; last_pos_ = 0; stop_ = false; // todo: enable/disable debug validate_rb_tree(root_); log_processor_ = std::thread(&DBImpl::process_log_entry, this); }...
<commit_before>// Copyright 2011 Google 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless require...
<commit_before>#include <stdio.h> #include <iostream> #include "log4cpp/Category.hh" #include "log4cpp/Appender.hh" #include "log4cpp/OstreamAppender.hh" #include "log4cpp/Layout.hh" #include "log4cpp/BasicLayout.hh" #include "log4cpp/Priority.hh" #include "log4cpp/NDC.hh" void testLogva(log4cpp::Category& category, ...
<commit_before>// // inpalprime.cpp // InPal // // Created by Bryan Triana on 6/21/16. // Copyright © 2016 Inverse Palindrome. All rights reserved. // #include "inpalprime.hpp" #include <cmath> #include <vector> #include <string> #include <algorithm> long long inpal::max_prime(long long n) { auto primes = ...
<commit_before>/** {%partial doc .%} */ NAN_METHOD({{ cppClassName }}::{{ cppFunctionName }}) { NanScope(); {%partial guardArguments .%} {%each argsInfo as arg %} {%if arg.isReturn %} {%if arg.shouldAlloc %} {{ arg.cType }}{{ arg.name }} = ({{ arg.cType }})malloc(sizeof({{ arg.cType|unPointer }})); ...
<commit_before>#if defined(LINUX) #include "user/util.h" #include "types.h" #include <fcntl.h> #include <unistd.h> #include <assert.h> #include <sys/stat.h> #define O_CREATE O_CREAT #define xfork() fork() #define xexit() exit(EXIT_SUCCESS) #define xmkdir(pathname) mkdir((pathname), S_IWUSR|S_IRUSR); #define mtenable(x)...
<commit_before>#include <QDebug> #include "FakeConnectionService.h" FakeConnectionService::FakeConnectionService() { } bool FakeConnectionService::isConnected() { qDebug() << "isConnected was Called"; return true; } void FakeConnectionService::connectDataSource(QString portName, int baudRate) { qDebug() << ...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All right...
<commit_before>#include <sys/time.h> #include "xxHash/xxh3.h" #define WYHASH_EVIL_FAST #include "wyhash.h" #include <iostream> #include <fstream> #include <vector> using namespace std; #define _PADr_KAZE(x, n) ( ((x) << (n))>>(n) ) uint32_t FNV1A_Pippip_Yurii(const char *str, size_t wrdlen) { const uint32_t PRIME = 5...
<commit_before>//===- Expressions.cpp - Expression Analysis Utilities --------------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // ...
<commit_before>// @(#)root/base:$Id$ // Author: Fons Rademakers 11/10/95 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>#include <iostream> #include <string> #include <stdlib.h> using namespace std; class Matrix { private: int columns; int strings; int **matrix; public: Matrix() { }; Matrix(int a, int b) { columns = b; strings = a; matrix = new int*[a]; for (int i = 0; i < a; i++) { matrix[i] ...
<commit_before>//===- RemarkParser.cpp --------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===-------------...
<commit_before>//===-- SILCleanup.cpp - Removes diagnostics instructions -----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>#include "../columns/Communicator.hpp" #include <assert.h> #include <gdal_priv.h> #include <mpi.h> #include <ogr_spatialref.h> #undef DEBUG_OUTPUT static void copyToLocBuffer(int buf[], LayerLoc * loc) { buf[0] = loc->nx; buf[1] = loc->ny; buf[2] = loc->nxGlobal; buf[3] = loc->nyGlobal; buf[4] = ...
<commit_before>// Qt includes #include <QUrl> #include <xbmcvideochecker/XBMCVideoChecker.h> XBMCVideoChecker::XBMCVideoChecker(const std::string & address, uint16_t port, uint64_t interval_ms, bool grabVideo, bool grabPhoto, bool grabAudio, bool grabMenu) : QObject(), _address(QString::fromStdString(address)), _p...
<commit_before>/** * @file serialization_macros.hpp * @author Simon Lynen <simon.lynen@mavt.ethz.ch> * @date Thu May 22 02:55:13 2013 * * @brief Comparison macros to facilitate checking in serialization methods. * * */ #ifndef SM_SERIALIZATION_MACROS_HPP #define SM_SERIALIZATION_MACROS_HPP #include <type...
<commit_before>#include <tellstore/ClientManager.hpp> #include <tellstore/ClientConfig.hpp> #include <crossbow/logger.hpp> #include <sys/mman.h> namespace tell { namespace store { namespace { void checkTableType(const Table& table, TableType type) { if (table.tableType() != type) { throw std::logic_err...
<commit_before>//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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>#include <common-ee.h> #include "../test_runner.h" static const u32 __attribute__((aligned(16))) C_ZERO[4] = {0x00000000, 0x00000000, 0x00000000, 0x00000000}; static const u32 __attribute__((aligned(16))) C_NEGZERO[4] = {0x80000000, 0x80000000, 0x80000000, 0x80000000}; static const u32 __attribute__((al...
<commit_before>// // leaf-node-line.cpp // gepetto-viewer // // Created by Justin Carpentier, Mathieu Geisert in November 2014. // Copyright (c) 2014 LAAS-CNRS. All rights reserved. // #include <gepetto/viewer/leaf-node-line.h> #include <osg/CullFace> #include <osg/LineWidth> #include <gepetto/viewer/node.h> nam...
<commit_before>//===-- LanaiDelaySlotFiller.cpp - Lanai delay slot filler ----------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>#pragma once #include "../lexer/position.hpp" #include "../lexer/lexer.hpp" #include <boost/spirit/include/qi_parse.hpp> namespace puppet { namespace compiler { /** * Declare a new terminal for Spirit. */ BOOST_SPIRIT_TERMINAL_EX(token_pos); }} // namespace puppet::compiler namesp...
<commit_before>/* * Copyright 2009-2011 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 * * http://www.apache.org/licenses/LICENS...
<commit_before>/* Copyright 2016 Fixstars 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 required by applicable law or agreed to in ...
<commit_before>////////////////////////////////////////////////////////////////////////////////////////// // // // The MIT License (MIT) // // // // Copyright (c) 2015 Pablo Ramon Soria // // // // Permission is hereby grante...
<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>/* * Copyright 2009-2018 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>/* virtual_keyboard.cpp: Copyright (C) 2006 Steven Yi 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 Lesser General Public License as published by the Free Software Foundation; either ver...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include <QVBoxLayout> #include <QHBoxLayout> #include <QJsonObject> #include <QJsonDocument> #include "offroad_alerts.hpp" #include "selfdrive/hardware/hw.h" #include "selfdrive/common/util.h" OffroadAlert::OffroadAlert(QWidget* parent) : QFrame(parent) { QVBoxLayout *layout = new QVBoxLayout(); l...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: propertysetinfo.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-09-17 17:19:18 $ * * The Contents of this file a...
<commit_before>//===--- ASTUnit.cpp - ASTUnit utility ------------------------------------===// // // 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) 2016, 2017 European Spallation Source ERIC */ #include <algorithm> #include <arpa/inet.h> #include <cassert> #include <cinttypes> #include <cstring> #include <tools/ReaderPcap.h> #include <netinet/ip.h> #include <netinet/udp.h> #include <fmt/format.h> // GCOVR_EXCL_START // Protocol ...
<commit_before>/* libClunk - cross-platform 3D audio API built on top SDL library * Copyright (C) 2007-2008 Netive Media Group * * 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>/* Copyright (c) 2011 Yahoo! Inc. All rights reserved. The copyrights embodied in the content of this file are licensed under the BSD (revised) open source license This creates a binary tree topology over a set of n nodes that connect. */ #ifdef _WIN32 #include <WinSock2.h> #include <Windows.h> #in...
<commit_before>// The MIT License (MIT) // Copyright (c) 2016, Microsoft // 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 // t...
<commit_before>// - Which Standard C++ library are we using? // NB: Can probably replace this with Boost's Predef system, though // requires Boost or a bcp import. // // For cross-compiling, *might* be able to use pragma/message to // generate output from the preprocessor, but this can be awkward. // Note the need to u...
<commit_before>/* $Id$Revision: */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public...
<commit_before>//===--- RawSyntax.cpp - Swift Raw Syntax Implementation ------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/** * Copyright 2016 by LRR-TUM * Jens Breitbart <j.breitbart@tum.de> * Josef Weidendorfer <weidendo@in.tum.de> * * Licensed under GNU Lesser General Public License 2.1 or later. * Some rights reserved. See LICENSE */ #include "distgen/distgen.h" #include "distgen/distgen_internal.h" #define...
<commit_before>// Copyright (c) 2016 ASMlover. 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 o...