text
stringlengths
54
60.6k
<commit_before> #ifndef AT_GLOBALS_HPP #define AT_GLOBALS_HPP #include <math.h> enum { AT_X = 0, AT_Y = 1, AT_Z = 2, AT_W = 3, AT_H = 0, AT_P = 1, AT_R = 2, AT_RED = 0, AT_GREEN = 1, AT_BLUE = 2, AT_ALPHA = 3 }; #define AT_PI (3.14159265358979) #define AT_DEFAULT_TOL...
<commit_before>/* * Copyright (C) 2003-2005 Tommi Maekitalo * * 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) any later ver...
<commit_before>#include <iostream> #include <sstream> #include <fstream> #include <string> // Loriano: let's try Armadillo quick code #include <armadillo> #define ENTDIM 8 #define COORDIM (ENTDIM-2) #define PARAMDIM 5 namespace { int numofline (const char * fname) { int number_of_lines = 0; std::stri...
<commit_before>#include "stdafx.h" #include "com4j.h" void error( JNIEnv* env, const char* file, int line, HRESULT hr, const char* msg ... ) { // format the message char w[1024]; va_list va; va_start(va,msg); vsprintf(w,msg,va); env->ExceptionClear(); env->Throw( (jthrowable)comexception_new_hr( env, env->NewS...
<commit_before>#include "Client.h" #include "Common.h" #include "SchemeHandlerFactory.h" #include "PrintHandler.h" #include "RenderHandler.h" #include "RenderProcessHandler.h" #include "RequestHandler.h" #include "include/base/cef_logging.h" #include "include/wrapper/cef_helpers.h" #include "include/base/cef_bind.h" #...
<commit_before><commit_msg>fix memory leak for python record reader<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2013 The Chromium Embedded Framework 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 "cefclient/cefclient.h" #include <stdio.h> #include <cstdlib> #include <sstream> #include <string> #include...
<commit_before>#include "Debug.h" #include "Editor.h" #include "Renderer.h" #include "Color.h" #include <cstdio> #define MODAL_BORDER 2 Editor::Editor(EditorState& editorState, bool wantsFocus) : mEditorState(editorState), mFocus(NULL), mModal(NULL), mIsDirty(true), mRedraw(true), mParent(NULL), mWantsFocus(wantsFo...
<commit_before>// $Id$ // Category: event // // See the class description in the header file. #include "AliStackingAction.h" #include "AliStackingActionMessenger.h" #include "AliTrackingAction.h" #include "AliGlobals.h" #include <G4Track.hh> #include <G4TrackStack.hh> #include <G4StackedTrack.hh> #include <G4StackMan...
<commit_before>#include <QtCore/QEventLoop> #include <QtTest/QtTest> #include <TelepathyQt4/Debug> #include <TelepathyQt4/Types> #include <TelepathyQt4/Client/AccountManager> #include <TelepathyQt4/Client/PendingOperation> using namespace Telepathy; using namespace Telepathy::Client; class TestAccountBasics : public...
<commit_before>/* * ty, a collection of GUI and command-line tools to manage Teensy devices * * Distributed under the MIT license (see LICENSE.txt or http://opensource.org/licenses/MIT) * Copyright (c) 2015 Niels Martignène <niels.martignene@gmail.com> */ #ifndef BOARD_HH #define BOARD_HH #include <QMutex> #incl...
<commit_before>#pragma once /* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #ifndef _QIMESSAGING_DETAILS_TYPE_HXX_ #define _QIMESSAGING_DETAILS_TYPE_HXX_ #include <qi/types.hpp> #include <cstring> #include <map> #include <vector> #include <list> #include <boost/mpl/for_each.hpp> #inclu...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>/* * lookup-atomese.cc * * Implement the word-lookup callbacks * * Copyright (c) 2022 Linas Vepstas <linasvepstas@gmail.com> */ #ifdef HAVE_ATOMESE #include <cstdlib> #include <opencog/atomspace/AtomSpace.h> #include <opencog/persist/api/StorageNode.h> #include <opencog/persist/cog-storage/CogStor...
<commit_before>#include <Refal2.h> namespace Refal2 { //----------------------------------------------------------------------------- // CError void CError::Reset() { ResetSeverity(); ResetFileName(); ResetToken(); ResetMessage(); } bool CError::IsSet() const { return ( Severity() != ES_None && !Message().empt...
<commit_before>#include "FTSize.h" #include "FTGL.h" FTSize::FTSize() : ftFace(0), size(0), err(0) {} FTSize::~FTSize() {} bool FTSize::CharSize( FT_Face* face, unsigned int point_size, unsigned int x_resolution, unsigned int y_resolution ) { ftFace = face; size = point_size; err = FT_Set_Char_Size( *ftFace,...
<commit_before>#include "Common.h" #include "Folder.h" #if !WINDOWS #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #endif VINYL_NS_BEGIN; FolderIndex::FolderIndex(const char* path, bool recursive) { s::String pathname = path; if (!pathname.EndsWith("/")) { pathname += "/"; } m_path = pathname...
<commit_before>#pragma once #include <iostream> #include <functional> #include <vector> #include <mutex> #include <boost/format.hpp> #include <crossbow/singleton.hpp> #include <crossbow/string.hpp> namespace crossbow { namespace logger { enum class LogLevel : unsigned char { TRACE = 0, DEBUG, INFO, ...
<commit_before>/** * @file descriptors_type.hpp * @brief Visual image search supported descriptors. * @author Paolo D'Apice */ #ifndef VIS_DESCRIPTORS_TYPE_HPP #define VIS_DESCRIPTORS_TYPE_HPP #include <string> namespace vis { /// Available descriptors types. enum DescriptorsType { HOG, ///< HOG desc...
<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 LexPOV.cxx ** Lexer for POV-Ray SDL (Persistance of Vision Raytracer, Scene Description Language). ** Written by Philippe Lhoste but this is mostly a derivative of LexCPP... **/ // Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org> // The License....
<commit_before>/* * Object.cpp * * Created on: Mar 7, 2016 * Author: mad */ #include <vnl/Object.h> #include <vnl/Pipe.h> #include <vnl/Sample.h> #include <vnl/Announce.hxx> #include <vnl/LogMsg.hxx> #include <vnl/Topic.hxx> #include <vnl/Shutdown.hxx> #include <vnl/Heartbeat.hxx> #include <vnl/Exit.hxx> #i...
<commit_before>/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs * * Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr> * * This program is f...
<commit_before>#include "include/Player.h" Player::Player(bool isSolid, int xPosition, int yPosition, double dir, std::string fileName) : Entity(isSolid, xPosition, yPosition, dir, fileName) // Call the superclass constructor in the subclass' initialization list. { m_weaponDamage =1; ...
<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>/************************************************************************************\ This source file is part of the KS(X) audio library * For latest info, see http://code.google.com/p/libxal/ * ********************************************...
<commit_before>#include <utility> #include <stdexcept> #include <iostream> #include "Sqlite.h" #include "SqliteError.h" #include <cstring> #include "Log.h" Sqlite::Sqlite(Log &log) : log_(&log), sql_(nullptr) { } Sqlite::~Sqlite() { close(); } void Sqlite::open(const std::string &filename, bool readOnly)...
<commit_before> #include <libclientserver.h> /** * SplitOne * @param[in] str The source string * @param[out] left This will be the value left of the deliminator * @param[out] right This will be the value right of the deliminator * @param[in] delim the value to split on * @return will return true if the operatio...
<commit_before><commit_msg>Revert "Fix issue with ROOT6 when merging with the alien plugin"<commit_after><|endoftext|>
<commit_before><commit_msg>Skip custom pile-up tagging in AOD filtering if available<commit_after><|endoftext|>
<commit_before>//===--- DeclSerialization.cpp - Serialization of Decls ---------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file was developed by Ted Kremenek and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===------...
<commit_before>#include "chromium_media_lib/resource_multibuffer.h" #include "base/lazy_instance.h" #include "net/http/http_response_headers.h" #include "net/proxy/proxy_config_service_fixed.h" #include "net/url_request/url_fetcher.h" #include "net/url_request/url_fetcher_response_writer.h" #include "net/url_request/u...
<commit_before>/** * Copyright (C) 2013 Regents of the University of California. * @author: Jeff Thompson <jefft0@remap.ucla.edu> * See COPYING for copyright and distribution information. */ #ifndef NDN_DATA_HPP #define NDN_DATA_HPP #include "common.hpp" #include "name.hpp" #include "util/signed-blob.hpp" #includ...
<commit_before>//---------------------------- rt_distorted_01.cc --------------------------- // rt_distorted_01.cc,v 1.3 2003/06/09 16:00:38 wolf Exp // Version: // // Copyright (C) 2003, 2005, 2006, 2007, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // wit...
<commit_before>// // Copyright 2011-2013 Jeff Bush // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
<commit_before>//===----------------------------------------------------------------------===// // // PelotonDB // // device_test.cpp // // Identification: tests/logging/device_test.cpp // // Copyright (c) 201CACHE_SIZE, Carnegie Mellon University Database Group // //===-------------------------...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 3 * * (c) 2006-2008 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>#include "HeatGeneration.h" #include "HeatStructureBase.h" #include "HeatStructureCylindrical.h" #include "HeatStructurePlate.h" #include "ReactorPower.h" registerMooseObject("THMApp", HeatGeneration); template <> InputParameters validParams<HeatGeneration>() { InputParameters params = validParams<Co...
<commit_before>/* * System.cpp * * Created on: Apr 29, 2014 * Author: Pimenta */ // this #include "System.hpp" // local #include "Defines.hpp" #include "FileSystem.hpp" using namespace std; using namespace concurrency; using namespace network; Thread* System::thread = nullptr; bool Sys...
<commit_before>#include <OpenCLcontext.h> #include <random> #include <iostream> #define X 800 #define Y 600 int main(void) { try { std::random_device rd; std::mt19937 mt(rd()); std::uniform_int_distribution<unsigned int> dist; unsigned int framebuffer[X*Y]; OpenCL_Manager...
<commit_before>/** * OpenAL cross platform audio library * Copyright (C) 2009 by Chris Robinson. * 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 Licens...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include "application.h" #include "midiio.h" #include "midiportsmodel.h" #include "programproxymodel.h" #include "utils.h" #include <QComboBox> #include <QFileDialog> #include <QPushButton> #include <QStandardPaths> #include <QtDebug> MainWindow::Mai...
<commit_before>#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1Map.h" #include "j1Colliders.h" #include "j1Scene.h" #include "j1Scene2.h" #include "j1Player.h" j1Scene::j1Scene() : j1Modu...
<commit_before>/** ========================================================================== * 2011 by KjellKod.cc. This is PUBLIC DOMAIN to use at your own risk and comes * with no warranties. This code is yours to share, use and modify with no * strings attached and no restrictions or obligations. * * For more inf...
<commit_before>#ifndef BFC_AST_TRAITS_HPP #define BFC_AST_TRAITS_HPP #include "types.h" #include "ast/base.hpp" #include "ast/seq.hpp" #include "ast/visitor.hpp" #include "source_loc.hpp" #include <cstddef> namespace bfc { namespace ast { /* Default implementations for accept and clone. We use the CRTP to avoid * h...
<commit_before>#include <catch.hpp> #include <rapidcheck-catch.h> #include "rapidcheck/shrink/Shrink.h" #include "rapidcheck/seq/Operations.h" #include "util/Util.h" #include "util/Meta.h" #include "util/TypeListMacros.h" using namespace rc; namespace { struct RemoveChunksProperties { template<typename T> ...
<commit_before>/* Copyright (c) 2006 Volker Krause <vkrause@kde.org> Copyright (c) 2008 Sebastian Trueg <trueg@kde.org> 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; eit...
<commit_before>/*- * Copyright (c) 2010 Benjamin Close <Benjamin.Close@clearchain.com> * 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. Redistributions of source code must retain the ...
<commit_before>// main.cpp #include <stdio.h> // This file implements an extremely simple example of loading and // executing a Slang shader program on the CPU. // // More information about generation C++ or CPU code can be found in docs/cpu-target.md // // NOTE! This test will only run on a system correctly where s...
<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>/************************************************************************* * * $RCSfile: dbwizsetup.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2005-02-17 11:08:12 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this fil...
<commit_before>/****************************************************************************** * Copyright (c) 2008 - 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies th...
<commit_before>// // Created by Ivan Shynkarenka on 03.02.2017. // #include "catch.hpp" #include "server/nanomsg/publisher_server.h" #include "server/nanomsg/subscriber_client.h" #include "threads/thread.h" #include <atomic> #include <chrono> #include <memory> #include <vector> using namespace CppCommon; using name...
<commit_before>/************************************************************************* * * $RCSfile: RowSetCacheIterator.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: oj $ $Date: 2002-11-13 06:56:59 $ * * The Contents of this file are made available subject to the terms of * either of the foll...
<commit_before> #include "zipios++/zipios-config.h" #include "zipios++/meta-iostreams.h" #include <vector> #include "zipios++/simplesmartptr.h" using namespace zipios ; using std::cerr ; using std::cout ; using std::endl ; using std::auto_ptr ; using std::ofstream ; using std::vector ; class Bogus { protected: ...
<commit_before>#include "cardcreator_app.h" #include <set> #include <sdl.h> #include <utils/filesystem/filesystem.h> #include <game_utils/tween/tween_utils.h> #include "component_framework/EntityManager.h" #include "component_framework/EventManager.h" #include "component_framework/gcomponents.h" #include "component_...
<commit_before>/*- * Copyright (c) 2008 Michael Marner <michael@20papercups.net> * 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. Redistributions of source code must retain the above ...
<commit_before>/**************************************************************************** * Copyright (C) 2015-2016 by Savoir-faire Linux * * Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> * * ...
<commit_before>/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * 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 c...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: metaOutput.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. See ITKCopyright....
<commit_before>// Copyright (c) 2014-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "base58.h" #include "hash.h" #include "uint256.h" #include <assert.h> #include <stdint.h> #include ...
<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>#ifndef VPP_ALGORITHMS_PYRLK_LK_HH_ # define VPP_ALGORITHMS_PYRLK_LK_HH_ # include <Eigen/Dense> # include <cfloat> namespace vpp { template <unsigned WS> struct lk_match_point_square_win { enum { window_size = WS }; template <typename F, typename GD> std::pair<vfloat2, float> operat...
<commit_before>/* * Copyright 2010 Martin Schreiber * * 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>#include "net/telnet.h" #include <arpa/telnet.h> namespace { std::string trim(std::string const& str) { // Find the first non-whitespace character auto first = std::find_if(std::begin(str), std::end(str), [](char const& c) { return !std::isspace(c); }...
<commit_before>/* * Copyright (c) 2011, Nathan Rajlich <nathan@tootallnate.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. * * THE SOFTWAR...
<commit_before>/* * Copyright (C) 2009, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ /** ** \file obje...
<commit_before>/******************************************************************************* * * MIT License * * Copyright (c) 2017 Advanced Micro Devices, Inc. * * 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 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "bouncer.h" #include <vespa/storageapi/message/state.h> #include <vespa/storageapi/message/persistence.h> #include <vespa/config/subscription/configuri.h> #include <vespa/confi...
<commit_before>/************************************************************************* * * $RCSfile: queue.hxx,v $ * * $Revision: 1.1 $ * * last change: $Author: mhu $ $Date: 2001-05-14 11:51:46 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before> /************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ascharanchoredobjectposition.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2007-09-27 08:53:34 $ * * The Contents o...
<commit_before>// Fill out your copyright notice in the Description page of Project Settings. #include "AttackOnPotato.h" #include "AttackOnPotatoCharacter.h" #include "Runtime/CoreUObject/Public/UObject/ConstructorHelpers.h" #include "Runtime/Engine/Classes/Components/DecalComponent.h" #include "Kismet/HeadMountedDis...
<commit_before>#pragma once /* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #ifndef _QITYPE_DETAILS_TYPE_HXX_ #define _QITYPE_DETAILS_TYPE_HXX_ #include <qi/types.hpp> #include <cstring> #include <map> #include <vector> #include <list> #include <qitype/details/bindtype.hxx> #include <b...
<commit_before> // Includes. #include "App/Lua/LuaNodeScript.h" #include "App/Logger.h" // Selene. #include <selene.h> // STD. #include <string> #include <sstream> #include <iostream> namespace { void logError(std::string message) { Logger::instance().logError(message); } void logMessage(std...
<commit_before>/*! * Copyright (C) 2014 Nomovok Ltd. All rights reserved. * Contact: info@nomovok.com * * This file may be used under the terms of the GNU Lesser * General Public License version 2.1 as published by the Free Software * Foundation and appearing in the file LICENSE.LGPL included in the * packaging ...
<commit_before>/* This file is part of KAddressBook. Copyright (c) 2002 Mike Pilone <mpilone@slac.com> This program is free software; you can redistribute it and/or modify it und...
<commit_before>#include "node-syslog.h" using namespace v8; using namespace node; #define NODE_LESS_THAN_5 (!(NODE_VERSION_AT_LEAST(0, 5, 4))) #define NODE_LESS_THAN_6 (!(NODE_VERSION_AT_LEAST(0, 6, 0))) Persistent<FunctionTemplate> Syslog::constructor_template; bool Syslog::connected_ = false; char Syslog::name[102...
<commit_before>#include <rtti/metadefine.h> #include <iostream> using namespace std::literals; namespace test { void greeting(char const *message) { std::cout << "Hello, " << message << std::endl; } class Point2D { DECLARE_CLASSINFO public: Point2D() : m_x(0), m_y(0) { } Point2D(int x, int y) ...
<commit_before>/** * This file is part of the CernVM File System. */ #include <gtest/gtest.h> #include <logging.h> #include "json_document.h" #include "pack.h" #include "receiver/reactor.h" #include "util/pointer.h" #include "util/string.h" #include "util_concurrency.h" using namespace receiver; // NOLINT class ...
<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 tha...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // Unit Test for Loki // // Copyright Terje Sletteb and Pavel Vozenilek 2002. // // Permission to use, copy, modify, and distribute this software for any // purpose is hereby granted without fee, provided that this copyright ...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: scuiimoptdlg.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:48:34 $ * * The Contents of this file are m...
<commit_before>#include "FAST/Data/Image.hpp" #include "FAST/Streamers/ImageFileStreamer.hpp" #include "FAST/Algorithms/UltrasoundVesselDetection/UltrasoundVesselDetection.hpp" #include "FAST/Algorithms/UltrasoundVesselDetection/VesselCrossSection.hpp" #include "FAST/Exporters/ImageExporter.hpp" #include "FAST/Algorith...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: highred.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: rt $ $Date: 2007-04-26 09:53:36 $ * * The Contents of this file are made ...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // Name: textfile.cpp // Purpose: Implementation of class wxExTextFileWithListView // Author: Anton van Wezenbeek // Copyright: (c) 2013 Anton van Wezenbeek /////////////////////////////////////////////////////////...
<commit_before>/* Copyright © 2016 Taylor C. Richberger <taywee@gmx.com> * This code is released under the license described in the LICENSE file */ #include <algorithm> #include <functional> #include <list> #include <sstream> #include <string> #include <vector> #include <exception> namespace args { class ParseE...
<commit_before>#ifndef URPC_CLIENT_HPP #define URPC_CLIENT_HPP #include <string> #include <boost/smart_ptr.hpp> #include <google/protobuf/message.h> #include "zmq.hpp" #include "dns/dns.hpp" namespace urpc { class Client { public: /** Create a connection to a service * \param connection ZMQ connection string ...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // This source file is part of Hect. // // Copyright (c) 2016 Colin Hill // // 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 (c) 2013-2020 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================...
<commit_before>/* * Smithsonian Astrophysical Observatory, Cambridge, MA, USA * This code has been modified under the terms listed below and is made * available under the same terms. */ /* * Copyright 1993-2004 George A Howlett. * * Permission is hereby granted, free of charge, to any person obtaining * a copy...
<commit_before>/* Copyright (C) 2000-2007 MySQL 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; version 2 of the License. This program is distributed in the hope that it will be us...
<commit_before>/* * Copyright 2021 Google LLC * * 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>/* Boar - Boar is a collection of tools to process text files. * Copyright (C) 2017 Katsuya Iida. All rights reserved. */ #include "stdafx.h" #include "boar.h" #include "count.h" namespace boar { namespace fs = boost::filesystem; static int CountUsage() { std::wcout << "Usage: boa...
<commit_before>/************************************************************************* * * $RCSfile: sdxmlwrp.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: cl $ $Date: 2000-11-08 12:41:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>// Copyright (c) 2015-2016 Andrew Sutton // All rights reserved #include "expression.hpp" #include "ast-expr.hpp" #include "context.hpp" #include "lookup.hpp" namespace banjo { // A helper function for the typing of expressions occurring in a // requires-expressions. This performs a lookup of an inii...
<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/gfx/gtk_util.h" #include <gdk/gdk.h> #include <gtk/gtk.h> #include <stdlib.h> #include "base/gfx/rect.h" #include "bas...
<commit_before>#include <bencode/tokenizer.h> #include <bencode/element.h> #include <cassert> #include <sstream> #define _THROW(d, ptr) { \ std::ostringstream __s; \ size_t pos = len - (end - ptr); \ __s << d; \ throw TokenizerError(__s.str(), pos); \ } #define THROW(d) _THROW(d, str) #define THROW_FIRST(d) _THR...