text
stringlengths
54
60.6k
<commit_before><commit_msg>zero sigaction structure in debugger<commit_after><|endoftext|>
<commit_before>Int_t AliTPCtest() { Int_t rc=0; //Test TPC simulation gROOT->LoadMacro("$(ALICE_ROOT)/macros/grun.C"); grun(); AliKalmanTrack::SetConvConst(100/0.299792458/0.2/gAlice->Field()->Factor()); Int_t ver=gAlice->GetDetector("TPC")->IsVersion(); delete gAlice; gAlice=0; if ((ver!=1)&&(...
<commit_before>#include "GameObject.h" #include "Application.h" #include "ModuleRenderer3D.h" #include "ModuleEditor.h" #include "ModuleScene.h" #include "cTransform.h" #include "cMesh.h" #include "cMaterial.h" #include "ResourceMesh.h" #include "cCamera.h" #include "MathGeoLib/MathGeoLib.h" #include "JSON/parson.h" #...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // // Unmanaged helpers called by the managed finalizer thread. // #include "common.h" #include "gcen...
<commit_before>/******************************************************************************* * Project: libopencad * Purpose: OpenSource CAD formats support library * Author: Alexandr Borzykh, mush3d at gmail.com * Author: Dmitry Baryshnikov, bishop.dev@gmail.com * Language: C++ **************************...
<commit_before>/***************************************************************************************** * * * GHOUL * * General Helpful Open Utility ...
<commit_before>/* * The MIT License * * Copyright 2017-2018 Norwegian University of Technology * * 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 ...
<commit_before>/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * DataManReader.cpp * * Created on: Feb 12, 2018 * Author: Jason Wang */ #include "DataManCommon.h" namespace adios2 { namespace core { namespace engine { DataManCom...
<commit_before>#include "common/api/os_sys_calls_impl.h" #include "common/common/assert.h" #include "common/common/fmt.h" #include "common/common/thread_impl.h" #include "common/filesystem/watcher_impl.h" namespace Envoy { namespace Filesystem { WatcherImpl::WatcherImpl(Event::Dispatcher& dispatcher, Api::Api& api) ...
<commit_before>/***************************************************************************** FILE : generate_mesh_netgen.cpp DESCRIPTION : This interface is used to call netgen internally inside CMGUI. CMGUI will generate triangular surface and export the surface into netgen. After netgen returns the vol...
<commit_before>#ifndef __CLITL_HPP__ #define __CLITL_HPP__ #include <cstdio> #include <locale> #include <ostream> #include <string> #include <tuple> #include <utility> #ifdef UNIX #include <sys/ioctl.h> #include <termios.h> #include <unistd.h> #elif WIN32 #include <conio.h> #include <Windows.h> #endif namespace clit...
<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>/* ************************************************************************ * Copyright 2015 Vratis, 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....
<commit_before>#include <ap_int.h> #include "best_track.h" using namespace std; //ap_uint<4> zero_count(ap_uint<8> larger); void best_track::zero_count_36bits(ap_uint<36> larger, ap_uint<6> *sum){ ap_uint<6> temp; #pragma HLS INLINE off #pragma HLS LATENCY max=0 #pragma HLS INTERFACE ap_ctrl_none port=return #pragma H...
<commit_before>#include "GamesDBScraper.h" #include "../components/ScraperSearchComponent.h" #include "../components/AsyncReqComponent.h" #include "../Log.h" #include "../pugiXML/pugixml.hpp" #include "../MetaData.h" #include "../Settings.h" #include <boost/assign.hpp> const char* GamesDBScraper::getName() { return "T...
<commit_before>#include "reader.h" #include <unistd.h> #include <iostream> #include <fcntl.h> #include <assert.h> using std::string; string linkResolve(string name) { char buf[1024]; int rc; for (;;) { rc = readlink(name.c_str(), buf, sizeof buf - 1); if (rc == -1) break; ...
<commit_before>/* This sample demonstrates the way you can perform independed tasks on the different GPUs */ // Disable some warnings which are caused with CUDA headers #if defined(_MSC_VER) #pragma warning(disable: 4201 4408 4100) #endif #include <iostream> #include "cvconfig.h" #include "opencv2/core/core.hpp" #...
<commit_before>/* * eos - A 3D Morphable Model fitting library written in modern C++11/14. * * File: include/eos/render/detail/texture_extraction_detail.hpp * * Copyright 2014, 2015 Patrik Huber * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
<commit_before>#ifndef BOUNDINGBOX_HPP_DEFINED #define BOUNDINGBOX_HPP_DEFINED #include "GeoCoordinate.hpp" namespace utymap { // Represents geo bounding box struct BoundingBox { // Point with minimal latitude and longitude. GeoCoordinate minPoint; // Point with maximum latitude and longitude. GeoCoo...
<commit_before>#include <catch.hpp> #include <experimental/filesystem> #include <pddlparse/AST.h> #include <pddlparse/Parse.h> namespace fs = std::experimental::filesystem; const pddl::Context::WarningCallback ignoreWarnings = [](const auto &, const auto &warning){std::cout << warning << std::endl;}; /////////////...
<commit_before>#include "font.h" #include <GLFW/glfw3.h> #pragma comment(lib, "glfw3.lib") #pragma comment(lib, "opengl32.lib") #include <vector> class Map { std::vector<int> tiles; int width, height; public: Map(int width, int height) : tiles(width * height, 0), width(width), height(height) {} int ...
<commit_before>#pragma once #include <gunrock/framework/operators/configs.hxx> namespace gunrock { namespace operators { namespace filter { namespace uniquify { template <filter_algorithm_t type, typename frontier_t> void execute(frontier_t* input, const float& uniquification_percent, cuda:...
<commit_before>/************************************************************************* * * $RCSfile: sdclient.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2003-11-24 17:10:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/* * Image.cpp * * Created on: Sep 8, 2009 * Author: rasmussn */ #include "Image.hpp" #include "../io/imageio.hpp"; #include <assert.h> namespace PV { Image::Image(const char * name, HyPerCol * hc) { initialize_base(name, hc); } Image::Image(const char * name, HyPerCol * hc, const char...
<commit_before>/************************************************************************* * * $RCSfile: sdclient.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: ka $ $Date: 2001-12-05 15:24:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge,...
<commit_before>/* * This source file is part of ArkGameFrame * For the latest info, see https://github.com/ArkGame * * Copyright (c) 2013-2018 ArkGame authors. * * 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 ...
<commit_before>/* Copyright (c) 2014 Quanta Research Cambridge, 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 us...
<commit_before>/************************************************************************** * Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/** \file new_journal_alert.cc * \brief Detects new journal issues for subscribed users. * \author Dr. Johannes Ruscheinski */ /* Copyright (C) 2016, Library of the University of Tübingen This program is free software: you can redistribute it and/or modify it under the terms of t...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ViewShellBase.hxx,v $ * * $Revision: 1.14 $ * * last change: $Author: hr $ $Date: 2005-09-23 14:59:28 $ * * The Contents of this file are...
<commit_before>/* * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information * * 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 Software Foundation; either version 3 of the...
<commit_before>// // audio-thread.cpp // ndnrtc // // Copyright 2013 Regents of the University of California // For licensing details see the LICENSE file. // // Author: Peter Gusev // #include "ndnrtc-namespace.h" #include "audio-thread.h" #include "segmentizer.h" using namespace ndnrtc::new_api; using namespa...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libetonyek 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 a...
<commit_before>#include <iostream> #include <cmath> #include <iomanip> using namespace std; int main() { string sstrana, suhlopricka; double strana, uhlopricka; cout << "Slyšel jsem, že neumíš spočítat obvod obdelníku." << endl; cout << "No, docela vostuda!" << endl; cout << "" << endl; cout ...
<commit_before>Bool_t ConfigPhiLeadingPb( AliRsnMiniAnalysisTask *task, Bool_t isMC = kFALSE, Bool_t isPP = kFALSE, Double_t nSigmaPart1TPC = -1, Double_t nSigmaPart2TPC = -1, Double_t nSigmaPart1TOF = -1, Double_t nSigmaPart2TOF = -1 ) { // -- Values ----------------------------------------------------...
<commit_before>// Copyright (c) 2012 Intel Corp // Copyright (c) 2012 The Chromium Authors // // 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 limita...
<commit_before>// $Id$ //************************************************************************** //* This file is property of and copyright by the ALICE HLT Project * //* ALICE Experiment at CERN, All rights reserved. * //* ...
<commit_before>#include "base_impl.h" #include "converter.h" #include "serial.h" namespace contourpy { SerialContourGenerator::SerialContourGenerator( const CoordinateArray& x, const CoordinateArray& y, const CoordinateArray& z, const MaskArray& mask, bool corner_mask, LineType line_type, FillType fill_type, ...
<commit_before>// This file is part of xsonrpc, an XML/JSON RPC library. // Copyright (C) 2015 Erik Johansson <erik@ejohansson.se // // 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; eit...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Build Suite. ** ** Commercial License Usage ** Licensees holding valid commercial Qt ...
<commit_before>// Copyright 20Tab S.r.l. #include "PyCommandlet.h" #include "UEPyModule.h" #include "Regex.h" UPyCommandlet::UPyCommandlet(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { LogToConsole = 1; } int32 UPyCommandlet::Main(const FString& CommandLine) { FScopePythonGIL gil; ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <sys/resource.h> #include <asm/errno.h> #include <sys/socket.h> #include <sys/time.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <malloc.h> #include <string.h> #include <utility> #include <map> #include <sys/types.h> #inc...
<commit_before>// -*- Mode:C++ -*- /**************************************************************************************************/ /* */ /* Copyright (C) 2014 University of Hull ...
<commit_before>// // Copyright (c) 2011 Kim Walisch, <kim.walisch@gmail.com>. // All rights reserved. // // This file is part of primesieve. // Visit: http://primesieve.googlecode.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following cond...
<commit_before>/******************************************************************************* Copyright (c) 2012-2016 Alex Zhondin <lexxmark.dev@gmail.com> Copyright (c) 2015-2019 Alexandra Cherdantseva <neluhus.vagus@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this fil...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2014 Preferred Networks and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License v...
<commit_before>/**************************************************************************** This file is part of the QtMediaHub project on http://www.qtmediahub.com Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).* All rights reserved. Contact: Girish Ramakrishnan girish@forwardbias.in Contact: N...
<commit_before> /* * File: lambdaout.cc * Author: mayfalk * * Created on May 20, 2011, 12:21 PM */ #include <stdlib.h> #include "lambdaout.h" #include <math.h> #include <list> #include <boost/lexical_cast.hpp> #include <iostream> #include <fstream> void CalcLambdaOut::Initialize(QMTopology *top, Property *opt...
<commit_before>#pragma once #include "detect_type.hpp" #include "lubee/meta/enable_if.hpp" #include "lubee/none.hpp" #include "argholder.hpp" #include <utility> namespace spi { using none_t = lubee::none_t; const static none_t none; template <class... Ts> auto construct(Ts&&... ts) { return ArgHolder<decltype(t...
<commit_before>/* * Copyright (C) 2010-2011 Dmitry Marakasov * * This file is part of glosm. * * glosm 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 opt...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2014 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>/* kopeteaccountmanager.cpp - Kopete Account Manager Copyright (c) 2002 by Martijn Klingens <klingens@kde.org> Copyright (c) 2003 by Olivier Goffart <ogoffart@tiscalinet.be> Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> *************************************...
<commit_before>/* * Copyright 2009-2019 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>#include "Atm_encoder.hpp" #include <limits.h> const char Atm_encoder::_enc_states[16] = {0, -1, 1, 0, 1, 0, 0, -1, -1, 0, 0, 1, 0, 1, -1, 0}; Atm_encoder& Atm_encoder::begin( int pin1, int pin2, int divider /* = 4 */ ) { // clang-format off const static STATE_TYPE state_table[] PROGMEM = { /* ...
<commit_before>/* ** Author(s): ** - Laurent LEC <llec@aldebaran-robotics.com> ** ** Copyright (C) 2012 Aldebaran Robotics */ #include <iostream> #include <istream> #include <sstream> #include <qimessaging/object.hpp> #include <qimessaging/session.hpp> qi::Session session; std::map<const std::string, qi::Object *> ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2012-2014 Jun Wu <quark@zju.edu.cn> // // 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 t...
<commit_before>#include "stream.h" Stream::Stream(QObject *parent) : VolumeObject(parent) { m_volumeWritable = false; m_hasVolume = false; } Stream::~Stream() { } QString Stream::name() const { return m_name; } Client *Stream::client() const { qDebug() <<"client"; return context()->clients()...
<commit_before>#ifndef SAVE_STATE_H # define SAVE_STATE_H # pragma once struct statebuf { void* sp; void* label; }; #if defined(__GNUC__) inline bool __attribute__((always_inline)) savestate(statebuf& ssb) noexcept { bool r; #if defined(i386) || defined(__i386) || defined(__i386__) asm volatile ( "movl %%esp...
<commit_before>//------------------------------------------------------------------------------ /// \file string.cpp //------------------------------------------------------------------------------ /// \brief Implementation of general purpose functions for string processing //------------------------------------------...
<commit_before>#include <test/mcmc/mock_hmc.hpp> #include <stan/mcmc/hmc/base_hmc.hpp> #include <boost/random/additive_combine.hpp> #include <gtest/gtest.h> #include <test/models/utility.hpp> typedef boost::ecuyer1988 rng_t; namespace stan { namespace mcmc { class mock_hmc: public base_hmc<mock_model...
<commit_before>// The MIT License (MIT) // // Copyright (c) 2013-2014 Sound Metrics Corporation. All Rights Reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restricti...
<commit_before>/* * 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/. * * Copyright (C) 2017, James R. Barlow (https://github.com/jbarlow83/) */ /* * Convert Python ...
<commit_before> // Include #include "nui.h" #include "nglThread.h" #include "nglThreadChecker.h" /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // nglThread class...
<commit_before>// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // Please see LICENSE.md in repository root for license information // https://github.com/AtomicGameEngine/AtomicGameEngine #include "AtomicEditor.h" #include <Atomic/IO/FileSystem.h> #include "../AEEditor.h" #include "../Project/AEP...
<commit_before><commit_msg>chore(tests): add stub for string formatter<commit_after>#include <blackhole/formatter/string.hpp> namespace blackhole { namespace testing { } // namespace testing } // namespace blackhole <|endoftext|>
<commit_before>// Copyright 2019 The Bazel 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 r...
<commit_before>/* This file is part of Strigi Desktop Search * * Copyright (C) 2007 Jos van den Oever <jos@vandenoever.info> * * 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; eithe...
<commit_before><commit_msg><commit_after><|endoftext|>
<commit_before>#include<iostream> extern "C"{ #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xresource.h> #include <X11/extensions/XTest.h> } #include "network.h" using namespace std; class MDisplay { Display* disp; // uint32_t SIGN_X = 1; public: MDisplay(); void mouse_move(uint32_t arg); v...
<commit_before>// ----------------------------------------------------------------------------- // // MIT License // // Copyright (c) 2016 Alberto Sola // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // i...
<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: *...
<commit_before>#include <babylon/engines/asset_container.h> #include <babylon/actions/abstract_action_manager.h> #include <babylon/animations/animation.h> #include <babylon/animations/animation_group.h> #include <babylon/audio/sound.h> #include <babylon/audio/sound_track.h> #include <babylon/bones/skeleton.h> #include...
<commit_before>/* * Copyright 2013 Gustaf Räntilä * * 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...
<commit_before>/* * The MIT License (MIT) * * Copyright (c) <2017> <Felix Retsch> * * 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...
<commit_before>// Copyright (c) 2012-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // SYSCOIN #include <primitives/transaction.h> #include <script/standard.h> #include <test/util/setup_common.h>...
<commit_before>#include "portability_analyser.h" #include "log.h" #include "types.h" namespace bpftrace { namespace ast { PortabilityAnalyser::PortabilityAnalyser(Node *root, std::ostream &out) : root_(root), out_(out) { } int PortabilityAnalyser::analyse() { Visit(*root_); std::string errors = err_.str();...
<commit_before>/* * Copyright 2011 Google 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 l...
<commit_before>#include "ghost/timing.h" #include "ghost/util.h" #include <map> #include <vector> #include <sstream> #include <iostream> #include <iomanip> #include <numeric> #include <algorithm> using namespace std; /** * @brief Region timing accumulator */ typedef struct { /** * @brief The runtimes of ...
<commit_before>#include <iostream> #include <string> #include <fstream> #include <vector> using namespace std; int main(int argc, char **argv) { string in_string, var_name; vector <string> names; int ctr=1, next_comma=0, len=0, start=0, file_ctr=0; vector <string> files; ifstream infile2; string filename(...
<commit_before>/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (cint@pcroot.cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ #include <iostream> ...
<commit_before>#include <SDL.h> #include <stdexcept> #include <string> #include <sstream> #include <iostream> #include "window.h" #include "timer.h" int main(int argc, char** argv){ //Start our window try { Window::Init("Lesson 8"); } catch (const std::runtime_error &e){ std::cout << e....
<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: ReportEngineJFree.hxx,v $ * $Rev...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011-2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //=================================...
<commit_before>/* <one line to give the library's name and an idea of what it does.> Copyright (C) 2013 David Edmundson <davidedmundson@kde.org> 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...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 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. Redistrib...
<commit_before>/* -*- C++ -*- */ /************************************************************************* * Copyright(c) 1995~2005 Masaharu Goto (cint@pcroot.cern.ch) * * For the licensing terms see the file COPYING * ************************************************************************/ #if defined(interp)...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlMasterFields.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: kz $ $Date: 2008-03-05 18:04:14 $ * * The Contents of this file ar...
<commit_before>/* Copyright 2012 Frederik Gladhorn <gladhorn@kde.org> 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>/** * @file * * @brief * * @copyright BSD License (see doc/COPYING or http://www.libelektra.org) */ #include <tests.hpp> #include <vector> #include <string> #include <stdexcept> TEST(meta, basic) { cout << "testing metainfo" << endl; Key test; succeed_if (test.hasMeta("mode") == false, "has ...
<commit_before>// Copyright (C) 2014 Jérôme Leclercq // This file is part of the "Nazara Engine - Renderer module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Renderer/UberShaderPreprocessor.hpp> #include <Nazara/Core/ErrorFlags.hpp> #include <Nazara/Core/File.hpp> #i...
<commit_before>/* The OpenTRV project licenses this file to you under the Apache Licence, Version 2.0 (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
<commit_before>/* * Copyright (C) 2018 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>/* * (C) Copyright 2015 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org...
<commit_before>/* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 * (at your op...
<commit_before>/* ** repository: https://github.com/trumanzhao/luna ** trumanzhao, 2016/10/19, trumanzhao@foxmail.com */ #include <stdint.h> #include <string.h> #include <algorithm> #include <lua.hpp> #include "lz4.h" #include "lua_archiver.h" #include "var_int.h" enum class ar_type { nill, number, integ...
<commit_before>// Copyright (c) 2014, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chunkserver_manager.h" #include <boost/bind.hpp> #include <gflags/gflags.h> #include <common/logging.h> #include "proto/status_co...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999 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. Redistri...
<commit_before>// Copyright 2010-2014 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 a...