text
stringlengths
54
60.6k
<commit_before>#include "utils.hpp" #include "libdnf/dnf-sack-private.hpp" #include "libdnf/sack/advisorymodule.hpp" #include <tinyformat/tinyformat.hpp> #include <algorithm> #include <sys/stat.h> #include <dirent.h> #include <cstring> #include <stdexcept> extern "C" { #include <solv/solv_xfopen.h> }; #include <err...
<commit_before>/* * GStreamer * Copyright (C) 2008-2009 Julien Isorce <julien.isorce@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License...
<commit_before>// RUN: %clang_cc1 -triple i686-pc-linux-gnu %s -o - -emit-llvm -verify | FileCheck %s struct A { void operator delete(void*,__typeof(sizeof(int))); int x; }; void a(A* x) { delete x; } // CHECK: call void @_ZN1AdlEPvj(i8* %0, i32 4) <commit_msg>Fix for Release-Assert.<commit_after>// RUN: %clang_cc1 -...
<commit_before>//Copyright (c) 2020 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include "Application.h" //To set up a slice with settings. #include "Slice.h" //To set up a scene to slice. #include "slicer.h" //Starts the slicing phase that we want to test. #include "utils/FMatrix4...
<commit_before>// Test device data sharing codegen. ///==========================================================================/// // RUN: %clang_cc1 -verify -fopenmp -x c++ -triple powerpc64le-unknown-unknown -fopenmp-targets=nvptx64-nvidia-cuda -emit-llvm-bc %s -o %t-ppc-host.bc // RUN: %clang_cc1 -verify -fopenmp...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICE...
<commit_before>// ======================================================================== // // Copyright 2017-2018 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
<commit_before>/** * Appcelerator Kroll - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved. */ #include "python_module.h" namespace kroll { SharedBoundObject PythonUtils::scope; const char * Python...
<commit_before>#include "core/tz.hpp" #include "gl/impl/backend/vk2/descriptors.hpp" void basic_descriptor_layout() { using namespace tz::gl::vk2; PhysicalDevice pdev = get_all_devices().front(); LogicalDeviceInfo linfo; linfo.physical_device = pdev; linfo.surface = &get_window_surface(); linfo.features = {Devic...
<commit_before>/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License....
<commit_before>#include "AuthenticatedClient.h" #include <gmock/gmock.h> #include <memory> using namespace Instagram; using namespace testing; TEST(UserTest, findsUserById) { ClientPtr client = CreateClient("d7b1086490044ada88da482a87b073f3"); UserPtr user = client->findUserById("1479058533"); EXPECT_T...
<commit_before>// // test-MSONValueMemberParser.cc // snowcrash // // Created by Pavan Kumar Sunkara on 10/22/14. // Copyright (c) 2014 Apiary Inc. All rights reserved. // #include "snowcrashtest.h" #include "MSONValueMemberParser.h" using namespace snowcrash; using namespace snowcrashtest; TEST_CASE("Parse cano...
<commit_before>#include <stdio.h> #include <tightdb.h> #include <UnitTest++.h> #include <assert.h> #include "../Support/mem.h" #include "../Support/number_names.h" #define OLD_TEST #ifndef OLD_TEST uint64_t rand2() { return (uint64_t)rand()*(uint64_t)rand()*(uint64_t)rand()*(uint64_t)rand()*rand(); } TDB_TABLE_1(I...
<commit_before><commit_msg>axial special case fix<commit_after><|endoftext|>
<commit_before>#include "log/leveldb_db.h" #include <gflags/gflags.h> #include <glog/logging.h> #include <stdint.h> #include <map> #include <string> #include "monitoring/latency.h" #include "monitoring/monitoring.h" #include "proto/ct.pb.h" #include "proto/serializer.h" #include "util/util.h" using cert_trans::seria...
<commit_before>// Copyright (c) 2010 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/notifications/desktop_notification_service.h" #include "base/task.h" #include "base/waitable_event.h" #includ...
<commit_before>#include "musicmydownloadrecordobject.h" MusicMyDownloadRecordObject::MusicMyDownloadRecordObject(QObject *parent) : MusicAbstractXml(parent) { } void MusicMyDownloadRecordObject::writeDownloadConfig(const MusicDownloadRecord &record) { if( !writeConfig( MusicObject::getAppDir() + DOWNLOADINFO...
<commit_before>#if HAVE_CONFIG_H #include <config.h> #endif #include <stdexcept> #include <fstream> #include <xorg/gtest/xorg-gtest.h> #include <X11/extensions/XInput.h> #include <X11/extensions/XInput2.h> #include "input-driver-test.h" int InputDriverTest::RegisterXI2(int major, int minor) { int event_start; ...
<commit_before>// @(#)root/tree:$Name: $:$Id: TFriendElement.cxx,v 1.1 2001/04/09 07:52:33 brun Exp $ // Author: Rene Brun 11/02/97 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>/** * This file is part of the CernVM File System. * * This module forks a watchdog process that listens on * a pipe and prints a stackstrace into syslog, when cvmfs * fails. * * Also, it handles getting and setting the maximum number of file descriptors. */ #include "cvmfs_config.h" #include "m...
<commit_before>#include"panelview.h" PMonitor::PMonitor(void) : Dialog(false) { const int width = qApp->desktop()->rect().width(); const int height = qApp->desktop()->rect().height(); setSceneRect(0, 0, width, height); setViewportUpdateMode(QGraphicsView::NoViewportUpdate); setAttribute(Qt::WA_PaintUnclipped);...
<commit_before>#include "parser_impl.hpp" #include <boost/spirit/include/qi_uint.hpp> #define BOOST_SPIRIT_NO_PREDEFINED_TERMINALS // #define BOOST_SPIRIT_QI_DEBUG // shorthand namespace qi = boost::spirit::qi; // integer grammar implementation formast::Parser::Impl::integer_grammar::integer_grammar() : integer_gr...
<commit_before>/*************************************************************************** * Copyright (C) 2006 by Felix Hammer * * f.hammer@web.de * * * * This program is free software; you can redistribute it and/or modify * * ...
<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>#include "PsfLoader.h" #include "StdStream.h" #include "psx/PsxBios.h" #include "ps2/PsfBios.h" #include "Iop_PsfSubSystem.h" #include "Ps2Const.h" #include "psp/Psp_PsfSubSystem.h" #include <boost/filesystem.hpp> #include <boost/lexical_cast.hpp> using namespace Framework; using namesp...
<commit_before>#include "ExecutionEngine.h" #include <chrono> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" #include <llvm/IR/LLVMContext.h> #include <llvm/IR/Module.h> #include <llvm/ADT/Triple.h> #include <llvm/ExecutionEngine/ExecutionEngine.h> #include <llvm/ExecutionEngine/Sect...
<commit_before>#include <vector> #include <string> #include <sstream> #include <deque> #include <list> #include <set> #include <algorithm> #include "moses/ScoreComponentCollection.h" #include "moses/TargetPhrase.h" #include "moses/Hypothesis.h" #include "moses/FF/NMT/NMT_Wrapper.h" #include "moses/FF/NeuralScoreFeature...
<commit_before>/* Program which runs the performance tests and decides whether they succeeded. Copyright 2014 Ilja Honkonen 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 c...
<commit_before>/* * Copyright (c) 2013 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* * This test ensures that the PNaCl backends can deal with volatile * operations, C++11 atomic primitives and compiler ...
<commit_before>#include <exception> #include <iostream> #include <memory> #include <mpi.h> #include <random> #include <functional> #include <sstream> #include <string> #include <typeinfo> #include <vector> #include <ctime> #include "BenchmarkRunner.h" #include "Configuration.h" #include "matrix/smp/SMPMatrixElf.h" #in...
<commit_before>/* * Unit tests for the TTValue object * Copyright © 2011, Timothy Place * * License: This code is licensed under the terms of the "New BSD License" * http://creativecommons.org/licenses/BSD/ */ #include "TTValueTest.h" #define thisTTClass TTValueTest #define thisTTClassName "value.test" #de...
<commit_before>// MIT License // // Copyright (c) 2017 Artur Wyszyński, aljen at hitomi dot pl // // 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 lim...
<commit_before> #include <string> #include <windows.h> #include <shlobj.h> #include "./linc_dialogs.h" namespace linc { namespace dialogs { //forward declare common helper std::string open_select_path(int type, const std::string &title, const std::vector<lincDialogsFilter> &filters); std::s...
<commit_before>#include "word-tag.hpp" #include "fast-sprintf.hpp" extern "C" { #ifdef DEBUG #include <build-disjuncts.h> // for prt_exp_mem() #include <dict-api.h> // for print_expression() #endif #include "error.h" #include "utilities.h" } #define D_IC 6 void WordTag::insert_connectors(Exp* exp, in...
<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 "base/file_util.h" #include "base/memory/ref_counted.h" #include "base/path_service.h" #include "chrome/browser/download/downl...
<commit_before>#include "testing/testing.hpp" #include "storage/country_tree.hpp" namespace { template <class Node> struct Calculator { size_t count; Calculator() : count(0) {} void operator()(Node const &) { ++count; } }; } // namespace UNIT_TEST(CountryTree_Smoke) { using Tree = storage::CountryTree::Node;...
<commit_before> // // This file is part of Easylogging++ samples // Very basic sample - log using multiple loggers // // Revision 1.0 // @author mkhan3189 // // You can also uncomment this line and achieve same result using LOG(..) macro // #define _LOGGER "default", "network" #include "easylogging++.h" _INITI...
<commit_before>/************************************************************************* * * $RCSfile: replace.cxx,v $ * * $Revision: 1.1 $ * * last change: $Author: nf $ $Date: 2000-12-11 14:00:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before> #include <OpenSim/OpenSim.h> using SimTK::Inertia; using SimTK::Pi; using SimTK::Vec3; using OpenSim::Body; using OpenSim::CoordinateSet; using OpenSim::DisplayGeometry; using OpenSim::Model; using OpenSim::PinJoint; /** * Creates an OpenSim model of a three-legged animal. The animal has only one *...
<commit_before><commit_msg>-Werror=shadow<commit_after><|endoftext|>
<commit_before><commit_msg>Update the comment & use the column position of the last formula record.<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fumark.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: kz $ $Date: 2006-07-21 13:50:34 $ * * The Contents of this file are made av...
<commit_before>#if !defined(_MUTEX_HPP_INCLUDED_) #define _MUTEX_HPP_INCLUDED_ #include <stdint.h> #include <netinet/in.h> #include <pthread.h> class Mutex { private: pthread_mutex_t m_mutex; public: void Lock(void) { pthread_mutex_lock(&m_mutex); } void Unlock(void) { pthread_mutex_unlock(&m_mutex); } Mute...
<commit_before>/// \file /// \ingroup tutorial_tmva /// \notebook -nodraw /// This macro provides an example of how to use TMVA for k-folds cross /// evaluation. /// /// As input data is used a toy-MC sample consisting of two guassian /// distributions. /// /// The output file "TMVA.root" can be analysed with the use o...
<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 <vector> #include "base/base_paths.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/logging.h" #i...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: intlwrapper.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2006-04-07 16:29:14 $ * * The Contents of this file are ma...
<commit_before>#ifndef FILES_HPP #define FILES_HPP #define NUMBER_OF_FILES 12 const char* src_file_names[NUMBER_OF_FILES] = {"/home/sahand/Documents/EPFL/Courses/Master/MA1/Program Parallelization on PC Clusters/Project/images/binary/avatar.bmp", "/home/sahand/Documents/...
<commit_before>#include "common/params.h" #include <dirent.h> #include <sys/file.h> #include <csignal> #include <unordered_map> #include "common/swaglog.h" #include "common/util.h" #include "system/hardware/hw.h" namespace { volatile sig_atomic_t params_do_exit = 0; void params_sig_handler(int signal) { params_d...
<commit_before>#include "space.hpp" #include "string.hpp" namespace space { namespace exception { base::base(const std::string& s) : std::runtime_error(s) {} base::base(const char* s) : std::runtime_error(s) {} base::~base() noexcept {} cell_occupied::cell_occupied() : base("this cell already...
<commit_before>/* * Copyright (c) 2007 The Hewlett-Packard Development Company * All rights reserved. * * Redistribution and use of this software in source and binary forms, * with or without modification, are permitted provided that the * following conditions are met: * * The software must be used only for Non...
<commit_before><commit_msg>Add EnsureUnion patch op conformance test for union structs<commit_after><|endoftext|>
<commit_before>/* Copyright (C) 2016-2018 Rodrigo Jose Hernandez Cordoba 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 la...
<commit_before>//===--- TestTU.cpp - Scratch source files for testing --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright 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 "cc/output/render_surface_filters.h" #include <algorithm> #include "cc/output/filter_operation.h" #include "cc/output/filter_ope...
<commit_before>// Copyright (c) 2010 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. // // Broker RPC Client implementation. #include "ceee/ie/broker/broker_rpc_client.h" #include "base/lock.h" #include "base/logging.h"...
<commit_before>// Copyright (c) 2009 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/basictypes.h" #include "base/file_path.h" #include "base/path_service.h" #include "base/utf_string_conversions.h" #inclu...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: gtkframe.hxx,v $ * * $Revision: 1.26 $ * * last change: $Author: rt $ $Date: 2007-04-26 10:40:36 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * $RCSfile: salplug.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2004-05-17 13:45:37 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before><commit_msg>Resolves: #i119458# fix master's subtitle is modified when save .pot template<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: LayerTabBar.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: ihi $ $Date: 2006-11-14 14:25:34 $ * * The Contents of this file are m...
<commit_before><commit_msg>LOKit: ensure DrawViewShell is available (prevent crash)<commit_after><|endoftext|>
<commit_before><commit_msg>coverity#1209611 Explicit null dereferenced<commit_after><|endoftext|>
<commit_before><commit_msg>tdf#91721: fix crash during listbox control editing in database form<commit_after><|endoftext|>
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the...
<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>/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. * * All rights reserved. Email: russ@q12.org Web: www.q12.org * * ...
<commit_before>#include <maya/MArgDatabase.h> #include <maya/MArgList.h> #include <maya/MSelectionList.h> #include <maya/MStatus.h> #include "Asset.h" #include "AssetNode.h" #include "AssetCommand.h" #include "AssetSubCommand.h" #include "AssetSubCommandLoadAsset.h" #include "AssetSubCommandSync.h" #include "util.h" ...
<commit_before>#include <GL/glut.h> #include <cmath> #include <iostream> #define PI 3.14159265359 using namespace std; double a = -10; double v = 0; double y = 0.0; double x = 0.0; double y00 = 5; double t = 0; void radioactive(); void time_pass(); void init(); void Mouse( int button, int state, int x, int y); int...
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2010-2015 Belledonne Communications SARL, All rights reserved. This program 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 S...
<commit_before>#include "command.hh" #include "shared.hh" #include "local-store.hh" #include "remote-store.hh" #include "util.hh" #include "serialise.hh" #include "archive.hh" #include "globals.hh" #include "derivations.hh" #include "finally.hh" #include "legacy.hh" #include "daemon.hh" #include <algorithm> #include <...
<commit_before>#include "command.hh" #include "globals.hh" #include "eval.hh" #include "eval-inline.hh" #include "names.hh" #include "get-drvs.hh" #include "common-args.hh" #include "json.hh" #include "json-to-value.hh" #include "shared.hh" #include <regex> #include <fstream> using namespace nix; std::string wrap(st...
<commit_before>#include "command.hh" #include "globals.hh" #include "eval.hh" #include "eval-inline.hh" #include "names.hh" #include "get-drvs.hh" #include <regex> using namespace nix; std::string hilite(const std::string & s, const std::smatch & m) { return m.empty() ? s : std::string(m....
<commit_before>// v8 #include <v8.h> // node #include <node.h> #include <node_version.h> #include <node_object_wrap.h> // OSRM #include <osrm/OSRM.h> #include <osrm/RouteParameters.h> #include <osrm/Reply.h> // STL #include <memory> namespace node_osrm { using namespace v8; typedef std::shared_ptr<OSRM> osrm_ptr;...
<commit_before>#include "occaTools.hpp" #include "occa.hpp" // For kernelInfo namespace occa { mutex_t::mutex_t(){ #if (OCL_OS == OCL_LINUX_OS) || (OCL_OS == OCL_OSX_OS) int error = pthread_mutex_init(&mutexHandle, NULL); if(error){ std::cout << "Error initializing mutex\n"; throw 1; } ...
<commit_before>/* Copyright (c) 2007, Un Shyam & 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 notic...
<commit_before>/* This file is part of the PhantomJS project from Ofi Labs. Copyright (C) 2010 Ariya Hidayat <ariya.hidayat@gmail.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...
<commit_before>/* This file is part of the PhantomJS project from Ofi Labs. Copyright (C) 2010 Ariya Hidayat <ariya.hidayat@gmail.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...
<commit_before>/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit Demo * =============== * Copyright (C) 2015 Treasure Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
<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 2011 Simon A. F. Lund <safl@safl.dk> * * This file is part of cphVB. * * cphVB 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 yo...
<commit_before>/* * diagonalize.cc */ #include "llvm/Pass.h" #include "llvm/Function.h" #include "llvm/Constants.h" #include "llvm/Instructions.h" #include "llvm/Analysis/LoopPass.h" #include "llvm/ADT/ValueMap.h" #include "llvm/Support/PatternMatch.h" #include <Eigen/Core> #include <Eigen/Eigenvalues> using names...
<commit_before>/* <plugins/director/ObjectCache.cpp> * * This file is part of the x0 web server project and is released under AGPL-3. * http://www.xzero.io/ * * (c) 2009-2014 Christian Parpart <trapni@gmail.com> */ #include "ObjectCache.h" #include "RequestNotes.h" #include "Director.h" #include <x0/io/BufferRef...
<commit_before>#include "xchainer/native/native_device.h" #include <cassert> #include <cstdint> #ifdef XCHAINER_ENABLE_BLAS #include <cblas.h> #endif // XCHAINER_ENABLE_BLAS #include "xchainer/array.h" #include "xchainer/device.h" #include "xchainer/dtype.h" #include "xchainer/indexable_array.h" #include "xchainer/...
<commit_before><commit_msg>Setting the data type from the command line.<commit_after>// Copyright 2014 Alessio Sclocco <a.sclocco@vu.nl> // // 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>/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under both the Apache 2.0 license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tre...
<commit_before>// apt_signs.cxx -- build airport signs on the fly // // Written by Curtis Olson, started July 2001. // // Copyright (C) 2001 Curtis L. Olson - http://www.flightgear.org/~curt // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public Lice...
<commit_before>// Copyright (c) 2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "scicon.h" #include <QApplication> #include <QColor> #include <QIcon> #include <QImage> #include <QPalette> #i...
<commit_before><commit_msg>dev: Fixed some issues with console functions.<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcclient.h" #include "rpcprotocol.h" #include "util.h" #incl...
<commit_before>/* * Copyright (c) 2014 liblcf authors * This file is released under the MIT License * http://opensource.org/licenses/MIT */ #include "reader_options.h" #include "rpg_actor.h" #include "rpg_event.h" #include "rpg_map.h" #include "rpg_mapinfo.h" #include "rpg_system.h" #include "rpg_save.h" #include ...
<commit_before>/* * This file is part of liblcf. Copyright (c) 2018 liblcf authors. * https://github.com/EasyRPG/liblcf - https://easyrpg.org * * liblcf is Free/Libre Open Source Software, released under the MIT License. * For the full copyright and license information, please view the COPYING * file that was dis...
<commit_before>#include <nan.h> #include <v8.h> #include <stdio.h> #include <stdint.h> #include <string.h> #include <algorithm> extern "C" { #include "rpi_ws281x/ws2811.h" } using namespace v8; #define DEFAULT_TARGET_FREQ 800000 #define DEFAULT_GPIO_PIN 18 #define DEFAULT_DMANUM 5 ws2811_t ...
<commit_before>#include "scheduler.h" #include "thread_state.h" #include "util.h" #include <future> #include <thread> #include <chrono> #include <cassert> using std::future; using std::unique_lock; using std::mutex; using std::make_shared; using std::make_unique; class LocalThreadScheduler : public Scheduler { publi...
<commit_before>#include "../../include/debug.h" #include "../../include/sim/conver.h" #include "../../include/sim/judge_worker.h" #include "../../include/sim/problem_package.h" #include "../../include/spawner.h" #include "../../include/utilities.h" #include "../../include/zip.h" #include "default_checker_dump.h" using...
<commit_before>// Copyright (c) 2009 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 <cmath> #include "media/base/filter_host.h" #include "media/filters/null_audio_renderer.h" namespace media { // How "long" ...
<commit_before>/* Copyright 2012-2015 David Robillard <http://drobilla.net> 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. THIS SOFTWARE IS PROVI...
<commit_before>#include "pel_entry.hpp" #include <iostream> #include <xyz/openbmc_project/Common/error.hpp> namespace openpower { namespace pels { namespace common_error = sdbusplus::xyz::openbmc_project::Common::Error; bool PELEntry::managementSystemAck(bool value) { auto current = sdbusplus::org::open_power::...
<commit_before>/* * File: VirtualJudger.cpp * Author: 51isoft * * Created on 2014年1月31日, 下午9:08 */ #include "VirtualJudger.h" const int VirtualJudger::MIN_SOURCE_LENGTH = 15; const int VirtualJudger::SLEEP_INTERVAL = 10; const int VirtualJudger::SUBMIT_NORMAL = 0; const int VirtualJudger::SUBMIT_S...
<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 ...