text
stringlengths
54
60.6k
<commit_before>/** * @copyright * ==================================================================== * Copyright (c) 2008 CollabNet. All rights reserved. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms * are also availab...
<commit_before>/** * @defgroup pwglf_forward_trains_util Utilities for Train setups * * @ingroup pwglf_forward_trains */ /** * @file OutputUtilities.C * @author Christian Holm Christensen <cholm@master.hehi.nbi.dk> * @date Tue Oct 16 17:55:32 2012 * * @brief Special output handling * * @ingroup pwglf...
<commit_before>void CreateResCalib(int run=245231 ,Long64_t tmin=0 ,Long64_t tmax= 9999999999 ,const char * resList="lst.txt" ) { gROOT->ProcessLine(".L /home/shahoian/tpcCalib/vClass/AliTPCDcalibRes.cxx+g"); AliTPCDcalibRes* clb = new AliTPCDcalibRes(run, tmin, tmax, resList); clb->SetOCDBPath("loc...
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #if defined(OS_WIN) #include <windows.h> #endif #include "content/common/gpu/gpu_channel.h" #include "base/bind.h" #include "base/com...
<commit_before>/* * Copyright 2015-2019 Arm Limited * * 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 applicab...
<commit_before>/* * IceWM * * Copyright (C) 1998-2003 Marko Macek & Nehal Mistry * * Changes: * * 2003/06/14 * * created gnome2 support from gnome.cc */ #include "config.h" #ifdef CONFIG_GNOME_MENUS #include "ylib.h" #include "default.h" #include "ypixbuf.h" #include "yapp.h" #include "sysdep.h" ...
<commit_before>/* * OCILIB - C Driver for Oracle (C Wrapper for Oracle OCI) * * Website: http://www.ocilib.net * * Copyright (c) 2007-2016 Vincent ROGIER <vince.rogier@ocilib.net> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
<commit_before>#include <ros/ros.h> // PCL specific includes #include <actionlib/client/simple_action_client.h> #include <actionlib/client/terminal_state.h> #include <jaco_msgs/SetFingersPositionAction.h> #include <jaco_msgs/ArmPoseAction.h> #include <jaco_msgs/FingerPosition.h> #include <boost/thread/mutex.hpp> #inc...
<commit_before>#define LOG_MODULE CommonLogModuleIpUtils #include "Logger.h" #include "IpAddress.h" #include "IpUtils.h" #include <string.h> #ifdef WIN32 #include <winsock2.h> #include <ws2tcpip.h> #endif namespace pcpp { IPAddress::~IPAddress() { } bool IPAddress::equals(const IPAddress* other) { if (other == N...
<commit_before>#include <iostream> #include <sstream> #include <fstream> #include <iomanip> #include <string> #include <map> #include <set> // Loriano: let's try Armadillo quick code #include <armadillo> #include <cassert> #include <sys/stat.h> #include <getopt.h> #include <unistd.h> #include <alloca.h> #include <p...
<commit_before>//===--- SILLocation.cpp - Location information for SIL nodes -------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>#ifndef __RANK_FILTER__ #define __RANK_FILTER__ #include <deque> #include <cassert> #include <functional> #include <iostream> #include <iterator> #include <boost/array.hpp> #include <boost/container/set.hpp> #include <boost/container/node_allocator.hpp> #include <boost/math/special_functions/round.hpp...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 req...
<commit_before>/************************************************************************* * * $RCSfile: xmlfiltertabdialog.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2003-12-01 09:35:14 $ * * The Contents of this file are made available subject to the terms of * either of the follo...
<commit_before>// ----------------------------------------------------------------------------- // Copyright 2016 Marco Biasini // // 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>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009, 2010 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it ...
<commit_before>/************************************************************************* * * $RCSfile: GroupManager.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2003-03-25 18:01:17 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Version: MPL 1.1 / GPLv3+ / LGPLv3+ * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may ...
<commit_before>//////////////////////////////////////////////////////////// // // Utility Library // Copyright (C) 2012 Chase Warrington (staff@spacechase0.com) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages arising from t...
<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 (c) 2019, Vinitha Ranganeni, Brian Lee // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are m...
<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>// RUN: %clang_cc1 -fsyntax-only -verify %s // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++17 void foo(int* a, int *b) { a -= b; // expected-warning {{incompatible integer to pointer conversion assigning to 'int *' from 'long'}} } template<typename T> T declval(); struct true_type { static const...
<commit_before>/** * \file * \brief SignalsWaitTestCase class implementation * * \author Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * 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 ...
<commit_before>//===- include/seec/Trace/StateMovement.hpp ------------------------- C++ -===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// //...
<commit_before>// $Id: Parameters_test.C,v 1.4 2001/08/27 09:06:00 aubertin Exp $ #include <BALL/CONCEPT/classTest.h> /////////////////////////// #include <BALL/FORMAT/parameters.h> /////////////////////////// START_TEST(Parameters, "$Id: Parameters_test.C,v 1.4 2001/08/27 09:06:00 aubertin Exp $") ///////////////...
<commit_before>#ifndef ARROWS_VERT_GLSL_HXX #define ARROWS_VERT_GLSL_HXX static const std::string ARROWS_VERT_GLSL = R"LITERAL( #version 330 uniform mat4 uProjectionMatrix; uniform mat4 uModelviewMatrix; uniform vec2 uZRange; in vec3 ivPosition; in vec3 ivNormal; in vec3 ivInstanceOffset; in vec3 ivInstanceDirection; ...
<commit_before>/* * TTBlue Audio Engine * Copyright © 2008, Timothy Place * * License: This code is licensed under the terms of the GNU LGPL * http://www.gnu.org/licenses/lgpl.html */ #include "TTAudioEngine.h" #include "TTEnvironment.h" #define thisTTClass TTAudioEngine TTAudioEngine::TTAudioEngine() :TTO...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkCompositePainter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkWin32OpenGLTextMapper.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserve...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: previewbase.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 23:48:00 $ * * The Contents of this file are ma...
<commit_before>// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "StdAfx.h" #include "BatchEncoder.h" #include "Hyperlink.h" #include ".\hyperlink.h" IMPLEMENT_DYNAMIC(CHyperlink, CStatic) CHyperlink::C...
<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>/// \file dtscfix.cpp /// Contains the code that will attempt to fix the metadata contained in an DTSC file. #include <string> #include <mist/dtsc.h> #include <mist/json.h> #include <mist/config.h> ///\brief Holds everything unique to converters. namespace Converters { class HeaderEntryDTSC { pub...
<commit_before>// This file is part of OpenCV project. // It is subject to the license terms in the LICENSE file found in the top-level directory // of this distribution and at http://opencv.org/license.html. #ifndef OPENCV_DNN_SRC_CUDA_FUNCTORS_HPP #define OPENCV_DNN_SRC_CUDA_FUNCTORS_HPP #include <cuda_runtime.h> ...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2014 Couchbase, 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 a...
<commit_before>#include "variant/pwm_platform.hpp" #include "hal.h" static const PWMConfig motor_pwm_config = { 500000, // 500 kHz PWM clock frequency. 1000, // PWM period 2.0 ms. NULL, // No callback. { {PWM_OUTPUT_ACTIVE_HIGH, NULL}, {PWM_OUTPUT_ACTIVE_HIGH, NULL}, {PWM_OUTPUT_ACTIV...
<commit_before>#include <vector> #include <thread> #include <memory> #include <queue> #include <opencv2/highgui.hpp> #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> Mutex mu; struct ThreadSafeContainer { queue<unsigned char*> safeContainer; }; struct Producer { Producer(std::shared_ptr<ThreadSa...
<commit_before><commit_msg>Update the EventSendingController to send complete touch events.<commit_after><|endoftext|>
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Jolla Ltd. ** Contact: Vesa-Matti Hartikainen <vesa-matti.hartikainen@jollamobile.com> ** ****************************************************************************/ #include <QLocale> #include <QStr...
<commit_before>/* Copyright (c) 2007, Un Shyam All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>/* ofxTableGestures (formerly OF-TangibleFramework) Developed for Taller de Sistemes Interactius I Universitat Pompeu Fabra Copyright (c) 2010 Daniel Gallardo Grassot <daniel.gallardo@upf.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this ...
<commit_before> #include "CCameraController.h" #include <ionWindow.h> #include <glm/gtc/matrix_transform.hpp> namespace ion { CCameraController::CCameraController(Scene::ICamera * Camera) { this->Camera = Camera; this->Phi = 0; this->Theta = 1.5708f; this->Tracking = false; this->MoveSpe...
<commit_before>/*========================================================================= Program: Visualization Library Module: StreamL.cc Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reprodu...
<commit_before>// $Id$ // // Test Suite for geos::operation::polygonize::Polygonizer class. // // Port of junit/operation/polygonize/PolygonizeTest.java // // tut #include <tut.hpp> // geos #include <geos/operation/polygonize/Polygonizer.h> #include <geos/geom/GeometryFactory.h> #include <geos/geom/Geometry.h> #inclu...
<commit_before>#ifndef DISSENT_CRYPTO_CPP_DSA_PUBLIC_KEY_H_GUARD #define DISSENT_CRYPTO_CPP_DSA_PUBLIC_KEY_H_GUARD #include <stdexcept> #include <QByteArray> #include <QDebug> #include <QFile> #include <QString> #include <cryptopp/aes.h> #include <cryptopp/ccm.h> #include <cryptopp/des.h> #include <cryptopp/dsa.h> #...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: statusbarfactory.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-09 02:01:05 $ * * The Contents of this file a...
<commit_before>/** * @file llweb.cpp * @brief Functions dealing with web browsers * @author James Cook * * $LicenseInfo:firstyear=2006&license=viewergpl$ * * Copyright (c) 2006-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Linde...
<commit_before>void input_init() { } void input_update(SDL_Event event) { } const char *input_event_type_to_string(unsigned int type) { switch(type) { case SDL_KEYDOWN: return "keydown"; case SDL_KEYUP: return "keyup"; case SDL_MOUSEMOTION: return "mousemove"; } return "none"; }<commit_msg>Added SDL...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before><commit_msg>Range-based for-loops.<commit_after><|endoftext|>
<commit_before>#include <vtkSmartPointer.h> #include <vtkActor.h> #include <vtkImageCanvasSource2D.h> #include <vtkLogoRepresentation.h> #include <vtkLogoWidget.h> #include <vtkPolyData.h> #include <vtkPolyDataMapper.h> #include <vtkProperty2D.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #inc...
<commit_before>/* * Distributed under the OSI-approved Apache License, Version 2.0. See * it->first ==ompanying file Copyright.txt for details. * * CompressSZ.cpp * * Created on: Jul 24, 2017 * Author: William F Godoy godoywf@ornl.gov */ #include "CompressSZ.h" #include <cmath> //std::ceil #include...
<commit_before>#include "irgen.h" #include "llvmirgen.h" #include <llvm/IR/Value.h> #include <llvm/IR/Type.h> #include <llvm/IR/Function.h> #include <llvm/IR/IRBuilder.h> #include <llvm/IR/LLVMContext.h> #include <llvm/IR/Module.h> #include <llvm/IR/BasicBlock.h> #include <iostream> #include <string> #include "astnode....
<commit_before>/* Copyright (c) 2008-2013, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of ...
<commit_before>/********************************************************************* * tm700_demo_node.cpp * * Copyright 2016 Copyright 2016 Techman Robot 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 ...
<commit_before> #include <gloperate/rendering/Drawable.h> #include <cassert> #include <cppassist/memory/make_unique.h> #include <glbinding/gl/enum.h> #include <globjects/VertexArray.h> #include <globjects/VertexAttributeBinding.h> namespace gloperate { Drawable::Drawable() : m_vao(cppassist::make_unique<globjec...
<commit_before>#pragma once #include <glowutils/RawFile.h> #include <algorithm> #include <fstream> #include <glow/logging.h> namespace glowutils { template<typename T> RawFile<T>::RawFile(const std::string & filePath) : m_filePath(filePath) , m_valid(false) { read(); } template<typena...
<commit_before>#include <ir/index_manager/index/Indexer.h> #include <ir/index_manager/index/FieldIndexer.h> #include <ir/index_manager/index/TermReader.h> #include <ir/index_manager/index/TermPositions.h> #include <ir/index_manager/index/EPostingWriter.h> #include <ir/index_manager/store/IndexInput.h> #include <boost/...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012, John Haddon. All rights reserved. // Copyright (c) 2013, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are per...
<commit_before>#include <iostream> #include <sstream> #include <string> #include <unordered_set> #include <unordered_map> #include <fstream> #include "../AngelixCommon.h" #include "SMTLIB2.h" std::unordered_set<VarDecl*> collectVarsFromScope(const ast_type_traits::DynTypedNode node, ASTContext* context) { const Fu...
<commit_before>#include "binlog.h" #include <assert.h> #include "common/asm_atomic.h" #include "common/logging.h" #include "leveldb/write_batch.h" #include "utils.h" namespace galaxy { namespace ins { const std::string log_dbname = "#binlog"; const std::string length_tag = "#BINLOG_LEN#"; int32_t LogEntry::Dump(std...
<commit_before>#include <node.h> #include <v8.h> #include <git2.h> #include <map> #include <algorithm> #include <set> #include <openssl/crypto.h> #include <mutex> #include "../include/init_ssh2.h" #include "../include/lock_master.h" #include "../include/nodegit.h" #include "../include/context.h" #include "../include/...
<commit_before>/* * Microscope.cpp * * Author: Nathan Clack <clackn@janelia.hhmi.org> * Date: Apr 28, 2010 */ /* * Copyright 2010 Howard Hughes Medical Institute. * All rights reserved. * Use is subject to Janelia Farm Research Campus Software Copyright 1.1 * license terms (http://license.janelia.org/license...
<commit_before>/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2022 Baldur Karlsson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
<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>//////////////////////////////////////////////////////////////////////////////// // // File: OutputFld.cpp // // For more information, please see: http://www.nektar.info/ // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of Aeronaut...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // File: OutputFld.cpp // // For more information, please see: http://www.nektar.info/ // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of Aeronaut...
<commit_before>/*========================================================================= Program: Visualization Library Module: XglrRen.cc Language: C++ Date: $Date$ Version: $Revision$ This file is part of the Visualization Library. No part of this file or its contents may be copied, reprodu...
<commit_before>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 app...
<commit_before>/* This file is part of KAddressbook. Copyright (c) 2003 - 2003 Daniel Molkentin <molkentin@kde.org> Tobias Koenig <tokoe@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pu...
<commit_before>#include <PCU.h> #include "parma.h" #include "diffMC/maximalIndependentSet/mis.h" #include <parma_dcpart.h> #include <limits> namespace { int numSharedSides(apf::Mesh* m) { apf::MeshIterator *it = m->begin(m->getDimension()-1); apf::MeshEntity* e; int cnt = 0; while( (e = m->iterate(it...
<commit_before>#include <pqxx/stream_from> #include <pqxx/transaction> #include "../test_helpers.hxx" namespace { auto make_focus(pqxx::dbtransaction &tx) { return pqxx::stream_from{tx, pqxx::from_query, "SELECT * from generate_series(1, 10)"}; } void test_cannot_run_statement_during_focus() { pqxx::connection ...
<commit_before>#include "Todo.h" #include "TodoConfig.h" #include "DataTypes.h" #include "FileIO.h" #include <rapidjson\document.h> #include <rapidjson\prettywriter.h> #include <rapidjson\stringbuffer.h> Todo::Todo() { todoConfig = new TodoConfig(); } Todo::~Todo() { delete todoConfig; } int Todo::getTodoCount(){...
<commit_before>#include <cstring> #include <set> #include <map> #include <functional> #include <queue> #include <unistd.h> #include <sys/time.h> #include <sys/wait.h> #include <sys/stat.h> #include "judge.h" #include "global.h" #define BSIZ (1 << 18) using namespace std; typedef function<char(char, char*, char*, ...
<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>/****************************************************************************** * Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions a...
<commit_before>//======================================================================= // Copyright (c) 2014-2015 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>#include <GL/glut.h> #define X_MAX 50 #define Y_MAX 50 #define dx 5 #define dy 5 GLfloat x[X_MAX] = {0.0}; GLfloat y[X_MAX] = {0.0}; GLfloat x_start = 50, y_start = 50; void display() { glClear(GL_COLOR_BUFFER_BIT); for (int i = 0; i < X_MAX; i++) x[i] = x_start + i * dx; for (int i = 0; i < Y_MAX...
<commit_before>// Copyright 2018 Proyectos y Sistemas de Mantenimiento SL (eProsima). // // 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>//===--- 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>/* * SessionPdfLatex.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTAB...
<commit_before><commit_msg>replace auto with type<commit_after><|endoftext|>
<commit_before>/*! * \file * \brief Monitors the simulated frames, tells if there is a frame errors and counts the number of bit errors. * * \section LICENSE * This file is under MIT license (https://opensource.org/licenses/MIT). */ #ifndef MONITOR_HPP_ #define MONITOR_HPP_ #include <stdexcept> #include <csignal...
<commit_before>/* dirservconfigpage.cpp This file is part of kleopatra Copyright (c) 2004 Klar�vdalens Datakonsult AB Libkleopatra 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 Free Software Foundati...
<commit_before>// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Core/HashDigest.hpp> #include <Nazara/Core/Config.hpp> #include <Nazara/Core/Error.hpp> #include <algorithm> #inc...
<commit_before>/* * ===================================================================================== * * Filename: Handler.cpp * * Description: * * Version: 1.0 * Created: 2013年09月22日 16时53分45秒 * Revision: none * Compiler: gcc * * Author: imane (), ima...
<commit_before>#ifndef ENTT_ENTITY_ENTITY_HPP #define ENTT_ENTITY_ENTITY_HPP #include <cstddef> #include <cstdint> #include <type_traits> #include "../config/config.h" namespace entt { /** * @cond TURN_OFF_DOXYGEN * Internal details not to be documented. */ namespace internal { template<typename, typename ...
<commit_before>// Copyright (C) 2014 Jérôme Leclercq // This file is part of the "Nazara Engine - Utility module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Utility/Utility.hpp> #include <Nazara/Core/CallOnExit.hpp> #include <Nazara/Core/Core.hpp> #include <Nazara/Co...
<commit_before>/* * phdcontrol.cpp * PHD Guiding * * Created by Andy Galasso * Copyright (c) 2013 Andy Galasso * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and binary forms, with or without * modification, are...
<commit_before>#include <iostream> #include <fstream> #include <algorithm> #include <string> #include <sstream> #include <sys/stat.h> using namespace std; void help() { cout << "xxd: make a hexdump" << endl; cout << "visit https://HelloACM.com" << endl; cout << "-u uppercase" << endl; co...
<commit_before><commit_msg>Minor fix for GLES2<commit_after><|endoftext|>
<commit_before>#include "StdInc.h" #include "Diagnostic.hpp" #include "ConsoleColors.h" #include "StringRef.h" #include <Frontend/SourceCode.h> #include <Frontend/LocationSer.h> static int _reportingEnabled = 1; static int _numErrors = 0; static int _numSupppresedErrors = 0; namespace { void doReport(const Locati...
<commit_before>/* This file is part of Kontact. Copyright (c) 2004 Tobias Koenig <tokoe@kde.org> adapted for karm 2005 by Thorsten Staerk <kde@staerk.de> 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 th...
<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>#include <cassert> #include <sstream> #include <iostream> #include <iomanip> #include <ctime> #include <chrono> using namespace std; typedef chrono::system_clock Clock; typedef chrono::nanoseconds ClockResolution; #include <boost/format.hpp> boost::format log_fmt; #include <mpi.h> #define WITH_MPI #i...
<commit_before>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009, 2015 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute it ...
<commit_before>/** \copyright * Copyright (c) 2013, Balazs Racz * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice,...
<commit_before>//===-- Writer.cpp - Library for Printing VM assembly files ------*- C++ -*--=// // // This library implements the functionality defined in llvm/Assembly/Writer.h // // This library uses the Analysis library to figure out offsets for // variables in the method tables... // // TODO: print out the type nam...