text
stringlengths
54
60.6k
<commit_before>/* * Copyright (c) 2008 James Molloy, Jörg Pfähler, 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...
<commit_before>/* Copyright 2008 Brain Research Institute, Melbourne, Australia Written by J-Donald Tournier, 27/06/08. This file is part of MRtrix. MRtrix 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 Sof...
<commit_before>// ---------------------------------------------------------------------------- // Copyright 2017 Nervana Systems 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 // // ...
<commit_before>#pragma once #include "macros.h" #include <openrave/openrave.h> #include <map> #include <boost/make_shared.hpp> #include "utils/logging.hpp" #include <iostream> #pragma GCC diagnostic ignored "-Wdeprecated-declarations" namespace trajopt { #if OPENRAVE_VERSION_MINOR > 8 #define TRAJOPT_DATA ("__trajo...
<commit_before>/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) ...
<commit_before>//===-- examples/clang-interpreter/main.cpp - Clang C Interpreter Example -===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before><commit_msg>coverity#1242717 Untrusted loop bound<commit_after><|endoftext|>
<commit_before>#include <netdb.h> #include <unistd.h> #include <sys/fcntl.h> #include "client.h" #include "duckchat.h" #include "raw.h" // Variables struct sockaddr_in client_addr; struct sockaddr_in server_addr; int client_socket; struct addrinfo *server_info; char *channel; // Prints an error message and exits th...
<commit_before>#include <cstdio> #include <cstdlib> #include <locale> #include <string> #include <vector> #include <iv/stringpiece.h> #include <iv/ustringpiece.h> #include <iv/about.h> #include <iv/cmdline.h> #include <iv/lv5/lv5.h> #include <iv/lv5/railgun/command.h> #include <iv/lv5/railgun/interactive.h> #include <i...
<commit_before> /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <guido.tack@monash.edu> * Gleb Belov <gleb.belov@monash.edu> */ /* 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 distri...
<commit_before>#include "bvs/bvs.h" #include "bvs/traits.h" #include "control.h" #include "loader.h" #ifdef BVS_LOG_SYSTEM #include "logsystem.h" #endif BVS::BVS::BVS(int argc, char** argv, std::function<void()>shutdownHandler) : config{"bvs", argc, argv}, shutdownHandler(shutdownHandler), info(Info{config, 0, {...
<commit_before>#ifndef MJOLNIR_POTENTIAL_GLOBAL_IGNORE_MOLECULE_HPP #define MJOLNIR_POTENTIAL_GLOBAL_IGNORE_MOLECULE_HPP #include <mjolnir/util/throw_exception.hpp> #include <string> #include <memory> // In some case, we need to ignore intra- or inter-molecule interaction. // For example, consider you have an elastic ...
<commit_before>/* * Copyright (c) 2013-2016, The PurpleI2P Project * * This file is part of Purple i2pd project and licensed under BSD3 * * See full license text in LICENSE file at top of project tree */ #include <algorithm> #include <boost/filesystem.hpp> #ifdef _WIN32 #include <shlobj.h> #endif #include "Base.h" #...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: undomanager.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2008-03-12 11:30:20 $ * * The Contents of this file are ma...
<commit_before>/************************************************************************* * * $RCSfile: SdUnoSlideView.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: obo $ $Date: 2004-06-03 11:54:39 $ * * The Contents of this file are made available subject to the terms of * either of the followin...
<commit_before>// Copyright (c) 2015 Andrew Sutton // All rights reserved #ifndef LINGO_NODE_HPP #define LINGO_NODE_HPP #include <cassert> #include <vector> #include <type_traits> // This module provides defines a node abstraction for various // kinds of trees used in different languages and facilities // for workin...
<commit_before>// This file is part of the AliceVision project. // Copyright (c) 2016 AliceVision contributors. // Copyright (c) 2012 openMVG 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 obtai...
<commit_before>#include "StepEdgeModel.hpp" #include "FAST/Data/Image.hpp" #include "FAST/Algorithms/ModelBasedSegmentation/Shape.hpp" namespace fast { StepEdgeModel::StepEdgeModel() { mLineLength = 0; mLineSampleSpacing = 0; } typedef struct DetectedEdge { int edgeIndex; float uncertainty; } DetectedEdge;...
<commit_before>/****************************************** Author: Tiago Britto Lobão tiago.blobao@gmail.com */ /* Purpose: Control an integrated circuit Cirrus Logic - CS5490 Used to measure electrical quantities MIT License ******************************************/ #include "CS5490.h" /******* Init...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #define TEST //#define REAL //#define WINDOWS #define MAC MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; } void MainWindow::exit() {...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include "graphSettingsPopup.h" #include <QDateTime> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); #ifdef PMD_HAMP ui->pbtn_StartStop->setChecked(true); #endif ...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { // Set up Qt toolbar window ui->setupUi(this); ui->contourTable->horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed); ui->pointEdito...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include "Sniffer.h" #include "dialoginterface.h" #include <QFileDialog> #include <cstdlib> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); ui->pb_scroll->setCheckable(true); ...
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http...
<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. // This file implements the ViewGLContext and PbufferGLContext classes. #include <dlfcn.h> #include <GL/glew.h> #include <GL/glxew.h> ...
<commit_before>/*************************************************************************** * * Project: libLAS -- C/C++ read/write library for LAS LIDAR data * Purpose: LAS information with optional configuration * Author: Howard Butler, hobu.inc at gmail.com *****************************************************...
<commit_before>//Olivier Goffart <ogoffart@kde.org> // 2003 06 26 #include "historyplugin.h" //just needed because we are a member of this class // we don't use any history function here /**----------------------------------------------------------- * CONVERTER from the old kopete history....
<commit_before>/* * assembler32.cpp * * Created on: Jul 23, 2014 * Author: Pimenta */ #include <cstdint> #include <cstdio> #include <fstream> #include <map> #include <set> #include <string> #include <sstream> using namespace std; typedef uint32_t uword_t; #ifndef MEM_WORDS #define MEM...
<commit_before><commit_msg>Tentative compile fix.<commit_after><|endoftext|>
<commit_before>/* For copyright information please refer to files in the COPYRIGHT directory */ #include "debug.hpp" #include "locks.hpp" #include "filesystem.hpp" #include "utils.hpp" #include "irods_log.hpp" #include "initServer.hpp" #include "irods_server_properties.hpp" int lockMutex( mutex_type **mutex ) { s...
<commit_before>/* RTcmix - Copyright (C) 2004 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ #include <stdlib.h> #include <assert.h> #include <math.h> #include <RTcmix.h> #include "minc_internal....
<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>// -*- c++ -*- // Program to extract word cooccurrence counts from a memory-mapped word-aligned bitext // stores the counts lexicon in the format for mm2dTable<uint32_t> (ug_mm_2d_table.h) // (c) 2010-2012 Ulrich Germann #include <queue> #include <iomanip> #include <vector> #include <iterator> #include ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkImageMIPFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Thanks: Thanks to Abdalmajeid M. Alyassin who developed this class. Copyright (c) 1993-1995...
<commit_before>// Time: O(n) // Space: O(1) // Heap solution. class Solution { public: int nthUglyNumber(int n) { long long ugly_number = 0; priority_queue<long long , vector<long long>, greater<long long>> heap; heap.emplace(1); for (int i = 0; i < n; ++i) { u...
<commit_before>/*========================================================================= Program: Visualization Library Module: Collect.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>/* * File: RotatorMPMCQueue.hpp * Author: Barath Kannan * * Created on 25 September 2016, 12:04 AM */ #ifndef CONQ_ROTATORMPMCQUEUE_HPP #define CONQ_ROTATORMPMCQUEUE_HPP #include "CONQ/MPMCQueue.hpp" #include <thread> namespace CONQ{ template <typename T, size_t SUBQUEUES> class RotatorMPMCQu...
<commit_before>#ifndef ENGINE_SPRITENODE_HPP #define ENGINE_SPRITENODE_HPP #include "Node.hpp" #include "SFML/Graphics/Texture.hpp" #include <functional> namespace engine { class Animation { protected: std::vector<sf::IntRect> m_frames; bool m_looping; float m_speed; float m_currentTime; size_t m_current...
<commit_before>#include "SkEndian.h" #include "SkFontHost.h" #include "SkStream.h" struct SkSFNTHeader { uint32_t fVersion; uint16_t fNumTables; uint16_t fSearchRange; uint16_t fEntrySelector; uint16_t fRangeShift; }; struct SkTTCFHeader { uint32_t fTag; uint32_t fVers...
<commit_before>#include <iostream> #include <iomanip> #include <chrono> #include <arm_neon.h> #include <stdlib.h> #include <inttypes.h> #include <thread> #include <mutex> #include <condition_variable> #include <signal.h> std::mutex m ; std::condition_variable cv ; std::chrono::high_resolution_clock::time_point mid ; s...
<commit_before>#include "DSVSCA.h" int DSVSCA::process_filter_graph(process_info info) { AVPacket packet, packet0; AVFrame *frame = av_frame_alloc(); AVFrame *filt_frame = av_frame_alloc(); AVFrame *comb_virt_frame = av_frame_alloc(); int got_frame; std::unordered_map<Filter::Channel, Virtuali...
<commit_before>#ifndef DURATION_H #define DURATION_H #include <string> namespace sys { class Duration { public: Duration(); Duration(const Duration &duration); Duration & operator = (const Duration &duration); unsigned long elapsed() const; private: unsigned long _start; }; } #endif // DUR...
<commit_before>// Copyright (C) 2017 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/Flags.hpp> #include <Nazara/Core/Debug.hpp> namespace Nz { /*! * \ingroup core * \class Nz::Flags * \br...
<commit_before>#include "client.h" Client::Client(std::string&& id, std::string&& nick, std::string&& ident, std::string&& gecos, std::string&& pass, std::string&& socktype, const Protocol* mod) : User(std::forward<std::string> (id), std::forward<std::string> (nick), std::forward<std::string> (ident), std::forward<st...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011. // 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>/* Copyright (c) 2008, 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 condi...
<commit_before>/* Copyright (c) 2003 - 2005, 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 notic...
<commit_before>/* Copyright (c) 2005, 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 condi...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 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>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2011 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>// Scintilla source code edit control /** @file LexLua.cxx ** Lexer for Lua language. ** ** Written by Paul Winwood. ** Folder by Alexey Yutkin. ** Modified by Marcos E. Wurzius & Philippe Lhoste **/ #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> ...
<commit_before>// Scintilla source code edit control /** @file LexLua.cxx ** Lexer for Lua language. ** ** Written by Paul Winwood. ** Folder by Alexey Yutkin. ** Modified by Marcos E. Wurzius & Philippe Lhoste **/ #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdarg.h> #include <stdio.h> ...
<commit_before>#include "Logger.h" #include <ctime> #include <QTextStream> DEFINE_SINGLETON_SCOPE( Logger ); Logger::Logger() : mFile( NULL ), mProcessMessages( false ) { } Logger::~Logger() { if( mFile ) { delete mFile; mFile = NULL; } } void Logger::StartProcessing() { mProcessMessages = true; ...
<commit_before>/* Copyright (C) 2016 - Gbor "Razzie" Grzsny 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, merge...
<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>/*========================================================================= Program: Visualization Toolkit Module: vtkTransformFilter.hh Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1995 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighte...
<commit_before>#pragma once #include "zmsg_types.hpp" namespace zmsg { template<> struct zmsg<mid_t::set_fs_spec> { public: uint16_t window_x_row; // unit: pixel uint16_t window_x_col; // unit: pixel uint16_t window_y_row; // unit: pixel uint16_t window_y_col; // unit: pixel uint32_t nm_per_pixel; //...
<commit_before>#pragma once #include <cassert> #include <type_traits> #include <initializer_list> #include <gpc/gui/renderer.hpp> // TODO: other source & namespace #include "./basic_types.hpp" #include "./geometry.hpp" #include "./aspects.hpp" #include "./layouting.hpp" //#include "./Stylesheet.hpp" #include "./Res...
<commit_before>#include <QCoreApplication> #include <QTemporaryFile> #include <QDir> #include <objedutils/objedconsole.h> #include <objedutils/objedconf.h> #include <objedutils/objedexp.h> #include <objedutils/objedio.h> #include <objed/src/additivecl.h> #include <objed/src/linearcl.h> #include "visualizer.h" int V...
<commit_before>#include "Player.h" #include "InputHandler.h" /** * The joystick button and sticks states are checked. If the button 1 (B on * xbox controller) is pressed, the player's speed is increased (it makes him * run), if the left stick is tilted in any direction, the player's velocity is * set. */ void Pla...
<commit_before>/* * template.cpp * * Just some boilerplate stuff to use for each file. */ #include <iostream> #include <complex> using namespace std; struct Vector { int size; double *elem; }; void vector_init(Vector & v, int s) { v.elem = new double[s]; v.size = s; } double read_and_sum(int s) ...
<commit_before>#include "RTimer.h" #include "RTimerEvent.h" #include "RCoreApplication.h" #include "RScopedPointer.h" RTimer::RTimer() : mIsSingleShot(false) { // NOTE: Set timer run as idle task by default, but we can't set interval to // zero, otherwise the created timer will return to NULL, so we give value 1 ....
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distributed WIT...
<commit_before>#include "SAMdisk.h" #include "Sector.h" Sector::Sector (DataRate datarate_, Encoding encoding_, const Header &header_, int gap3_) : header(header_), datarate(datarate_), encoding(encoding_), gap3(gap3_) { } bool Sector::operator== (const Sector &sector) const { // Headers must match if (sector.head...
<commit_before>#include <Shifty.h> Shifty::Shifty() { } void Shifty::setBitCount(int bitCount) { this->bitCount = bitCount; this->byteCount = bitCount/8; for(int i = 0; i < this->byteCount; i++) { this->writeBuffer[i] = 0; this->dataModes[i] = 0; this->readBuffer[i] = 0; } } void Shifty::setPin...
<commit_before> /* * Stream.hpp * sfeMovie project * * Copyright (C) 2010-2014 Lucas Soltic * lucas.soltic@orange.fr * * This program 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; eith...
<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>#ifndef RDB_PROTOCOL_CHANGEFEED_HPP_ #define RDB_PROTOCOL_CHANGEFEED_HPP_ #include <deque> #include <exception> #include <map> #include "errors.hpp" #include <boost/variant.hpp> #include "concurrency/rwlock.hpp" #include "containers/counted.hpp" #include "containers/scoped.hpp" #include "protocol_api...
<commit_before>#ifndef RDB_PROTOCOL_CHANGEFEED_HPP_ #define RDB_PROTOCOL_CHANGEFEED_HPP_ #include <deque> #include <exception> #include <map> #include "errors.hpp" #include <boost/variant.hpp> #include "concurrency/rwlock.hpp" #include "containers/counted.hpp" #include "containers/scoped.hpp" #include "protocol_api...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 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 2017 QReal Research Group * * 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 applica...
<commit_before>/* * Copyright 2016 neurodata (http://neurodata.io/) * Written by Disa Mhembere (disa@jhu.edu) * * This file is part of knor * * 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 Licens...
<commit_before>#include "test_driver.h" #include <cstdio> #include <cstdlib> #include <fstream> #include <errno.h> #include <fcntl.h> #include <sys/stat.h> #ifdef _WIN32 #include <io.h> #include <windows.h> #else #include <dirent.h> #endif namespace ONNX_NAMESPACE { namespace testing { bool FileExists(const std::stri...
<commit_before>#include <jni.h> #include <sstream> #include <string> #include <stdio.h> #include <android/log.h> #include "utils.cpp" #include "amanda.cpp" extern "C" { // Process a frame JNIEXPORT jboolean JNICALL Java_com_danycabrera_signcoach_LearnActivity_processFrame(JNIEnv *env, jobject instance, ...
<commit_before>// (C) Copyright Gennadiy Rozental 2001-2014. // 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) // See http://www.boost.org/libs/test for the library home page. // //!@file //!@brief algorith...
<commit_before>/** * \file * \brief SerialPort class header * * \author Copyright (C) 2016 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 * distributed wit...
<commit_before>/* * (C) 2020 Jack Lloyd, René Meusel, Hannes Rantzsch * * Botan is released under the Simplified BSD License (see license.txt) */ /* * This test case ensures that we avoid crashing in PKCS8::load_key due to a bug in Clang 8. * * A detailed description of the issue can be found here: https://github.c...
<commit_before>/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file...
<commit_before>#include <stdint.h> #include <avr/pgmspace.h> #include "hsv2rgb.h" #include "colorutils.h" void fill_solid( struct CRGB * pFirstLED, int numToFill, const struct CRGB& color) { for( int i = 0; i < numToFill; i++) { pFirstLED[i] = color; } } void fill_rainbow( struct CR...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "ExecutionContext.h" #include...
<commit_before> // ================================================================================================= // This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This // project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max- // wi...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 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>//******************************************************************* // Copyright (C) 2012 Centre National Etudes Spatiales // // 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 Foun...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 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>/* * Copyright (C) 2004 Steve Harris, Uwe Koloska * * This program 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) any ...
<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 Qt Compositor. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No...
<commit_before>/* Copyright (c) 2012-2014 The SSDB 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 <stdio.h> #include <stdlib.h> #include <time.h> #include <vector> #include "log.h" #include "sorted_set.h" int main(int argc, ch...
<commit_before>#include "TRDData.h" #include "TRDModuleImp.h" #include "AliLog.h" #include "AliTRDhit.h" #include "AliTRDcluster.h" #include "AliTRDcalibDB.h" #include "AliTRDpadPlane.h" #include "AliTRDgeometry.h" #include "AliTRDdigitsManager.h" using namespace Reve; using namespace Alieve; using namespace std; C...
<commit_before>// // Urho3D Engine // Copyright (c) 2008-2011 Lasse rni // // 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 right...
<commit_before>#include "GameObject.h" #include "BaseComponent.h" #include "Globals.h" #include <GL/glew.h> #include "TransformComponent.h" #include <MathGeoLib/include/Math/float4x4.h> GameObject::GameObject() { BoundingBox.SetNegativeInfinity(); } GameObject::~GameObject() { } void GameObject::SetParent(GameObje...
<commit_before>/* This file is part of the Pangolin Project. * http://github.com/stevenlovegrove/Pangolin * * Copyright (c) 2013 Steven Lovegrove * * 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>/* * PlaceStructureSessionImplementation.cpp * * Created on: Jun 13, 2011 * Author: crush */ #include "server/zone/objects/player/sessions/PlaceStructureSession.h" #include "server/chat/ChatManager.h" #include "server/zone/managers/planet/PlanetManager.h" #include "server/zone/managers/struct...
<commit_before>#include "stdafx.h" #include "spline_renderer.h" #include <glm/gtx/spline.hpp> #include <glm/gtx/compatibility.hpp> //for lerp #include "asdf_multiplat/utilities/utilities.h" #include "asdf_multiplat/data/gl_state.h" namespace asdf { namespace hexmap { using namespace data; namespace ui { nam...
<commit_before>/** * The MIT License (MIT) * * Copyright (c) 2015 Nathan Osman * * 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 ...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>// This file is part of Honeydew // Honeydew is licensed under the MIT LICENSE. See the LICENSE file for more info. #pragma once #include <honeydew/task_t.hpp> namespace honeydew { /** * Class that allows for easy building of task_t* structures. * Usage is expected to be via daisy-chaining of functi...
<commit_before>/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Written (W) 1999-2008 Gunnar Raetsch * Writ...
<commit_before>/** * @file: TeamSymbols.cpp * @author: <a href="mailto:scheunem@informatik.hu-berlin.de">Marcus Scheunemann</a> * * First created on 9. April 2009, 18:10 */ #include "TeamSymbols.h" void TeamSymbols::registerSymbols(xabsl::Engine& engine) { engine.registerDecimalInputSymbol("team.members_alive_...
<commit_before>/* Sirikata -- Platform Dependent Definitions * Platform.hpp * * Copyright (c) 2009, Ewen Cheslack-Postava and Daniel Reiter Horn * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
<commit_before>/* * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> */ #include <cstdio> #include <cstdlib> #include <algorithm> #include <board.hpp> #include <chip.h> #include <uavcan_lpc11c24/uavcan_lpc11c24.hpp> #include <uavcan/protocol/global_time_sync_slave.hpp> #include <uavcan/protocol/dynamic_n...