text
stringlengths
54
60.6k
<commit_before>/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include <algorithm> #include <cassert> #include <cstdlib> #include <memory> #include "buffer.hpp" #include "malloc_utils.hpp" namespace ftcxx { const size_t Buffer::INITIAL_CAPACITY = 1<<10; const size_t Buffer::MAXIMUM_CAPACI...
<commit_before>#include <iostream> #include <string> #include <stack> #include <map> #include <assert.h> #include <fstream> // From git file #include "include/yaml.h" #include "yaml-cpp/yaml.h" // --------------------------------------------------------------------------------- // ------------------------------- liby...
<commit_before>/* * GStreamer * Copyright (C) 2016 Freescale Semiconductor, Inc. All rights reserved. * * 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 L...
<commit_before>// phan_client.C - simplest example: generates a flat horizontal plane #include <stdio.h> // for printf, NULL #include <time.h> // for nanosleep #include <algorithm> // for std::min_element #include <iostream> // for std::cout #include <string> #include <vector> #include <fstream> #include <ss...
<commit_before>// this file defines the itkBasicFiltersTest for the test driver // and all it expects is that you have a function called RegisterTests #include "itkTestMain.h" void RegisterTests() { REGISTER_TEST(itkAntiAliasBinaryImageFilterTest ); REGISTER_TEST(itkBinaryMinMaxCurvatureFlowImageFilterTest ); R...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkLargeImageWriteReadTest.cxx Language: C++ Date: $Date$xgoto-l Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reser...
<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: RptObject.hxx,v $ * $Revision: 1...
<commit_before>#include "text/table.h" #include "text/cmdline.h" #include "cortex/tensor.h" #include "math/random.hpp" #include "tensor/random.hpp" #include "tensor/conv2d_cpp.hpp" #include "tensor/conv2d_dyn.hpp" #include "tensor/conv2d_eig.hpp" #include "tensor/corr2d_cpp.hpp" #include "tensor/corr2d_dyn.hpp" #includ...
<commit_before>/* * Copyright (C) 20011 Francesco Nwokeka <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License version 2 as * published by the Free Software Foundation * * This program is distributed ...
<commit_before>// Copyright (C) 2014 David Helkowski // License GNU AGPLv3 #include<stdio.h> #include<stdlib.h> #include<string.h> #include<unistd.h> #include<libgen.h> // Text to print before every hexidecimal byte representation #define HEX_PREFIX "~" // Characters to show normally instead of in hex #define OK_CHA...
<commit_before>/*--------------------------------------------------------------------------------------------- * Copyright (c) Wilsen Hernandez. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-----------------------------------------------------...
<commit_before>// // WebRequestExample.cpp // ExampleApp // // Created by eeGeo on 30/04/2013. // Copyright (c) 2013 eeGeo. All rights reserved. // #include "WebRequestExample.h" #include <map> #include <string> using namespace Eegeo::Web; namespace { class ExternalHandlerType_NotPartOfPublicAPI : public IWe...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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>/* This file is part of the KDE project Copyright (C) 2006 Matthias Kretz <[email protected]> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This l...
<commit_before>/* Copyright (c) 2016, oasi-adamay 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 and the...
<commit_before>/** * @file emst_test.cpp * * Test file for EMST methods. */ #include <mlpack/core.hpp> #include <mlpack/methods/emst/dtb.hpp> #include <boost/test/unit_test.hpp> using namespace mlpack; using namespace mlpack::emst; BOOST_AUTO_TEST_SUITE(EMSTTest); /** * Simple emst test with small, synthetic da...
<commit_before>/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm/gm.h" #include "include/core/SkCanvas.h" #include "include/core/SkColor.h" #include "include/core/SkPaint.h" #include "include/core/SkPath.h" #incl...
<commit_before>/** \copyright * Copyright (c) 2018, 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 notic...
<commit_before>#include <unistd.h> #include "txn_btree.h" #include "thread.h" #include "util.h" #define VERBOSE(expr) ((void)0) using namespace std; using namespace util; bool txn_btree::search(transaction &t, key_type k, value_type &v) { assert(!t.btree || t.btree == this); t.btree = this; // priority is ...
<commit_before>#include <ros/ros.h> #include <tf2_ros/transform_broadcaster.h> #include <geometry_msgs/PointStamped.h> #include <geometry_msgs/TransformStamped.h> class TomatoBroadcaster { tf2_ros::TransformBroadcaster broadcaster_; geometry_msgs::TransformStamped transform_; ros::Subscriber sub_; public: To...
<commit_before>#include <algorithm> #include <fstream> #include <iostream> #include <map> #include <sstream> #include <string> #include <vector> #include <getopt.h> #include "persistenceDiagrams/IO.hh" #include "persistenceDiagrams/PersistenceDiagram.hh" #include "persistenceDiagrams/PersistenceIndicatorFunction.hh" ...
<commit_before>// Copyright 2014 MongoDB 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 law or a...
<commit_before>/* * Copyright 2002-2013 Jose Fonseca * * 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. * * This library is distributed in the ...
<commit_before>// (C) 2014 Arek Olek #pragma once #include <random> #include <vector> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/random_spanning_tree.hpp> #include <boost/graph/named_function_params.hpp> #include "range.hpp" template <class Vertex, class Graph> Vertex random_neighbor(Vertex co...
<commit_before>/* __ __ _ * / // /_____ ____ (_) * / // // ___// __ \ / / * / // // /__ / /_/ // / * /_//_/ \___/ \____//_/ * https://bitbucket.org/galaktor/llcoi * copyright (c) 2011, llcoi Team * MIT license applies - see file "LICENSE" for details. */ #include "root_bind.h" #...
<commit_before>/* LED bar library V2.0 2010 Copyright (c) Seeed Technology Inc. All right reserved. Original Author: LG Modify: Loovee, 2014-2-26 User can choose which Io to be used. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Publi...
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2013, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2013, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: formatclipboard.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-09 04:30:53 $ * * The Contents of this file ar...
<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>/* FILNAMN: NetClient.cc PROGRAMMERARE: hanel742, eriek984, jened502, tobgr602, niker917, davha227 SKAPAD DATUM: 2013-11-19 BESKRIVNING: */ #include "NetClient.h" #include "../gui/gui.h" using namespace std; NetClient::NetClient(QString username, QString inAddress, Gui* myGui, QObject *parent) ...
<commit_before>/* * nextpnr -- Next Generation Place and Route * * Copyright (C) 2018 Miodrag Milanovic <[email protected]> * * 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 thi...
<commit_before>#include "quimby/MMapFile.h" /* #include <errno.h> #include <math.h> #include <string.h> */ #include <unistd.h> #include <fcntl.h> #include <stdlib.h> #include <sys/mman.h> #include <stdio.h> #include <stdexcept> namespace quimby { MMapFile::MMapFile() : _fd(-1), _size(0), _data((char *)MAP_FAILED) ...
<commit_before>#include "Moose.h" #include "Factory.h" #include "NonlinearSystem.h" #include "PetscSupport.h" #include "ActionWarehouse.h" #include "ActionFactory.h" // objects that can be created by MOOSE #include "TimeDerivative.h" #include "Diffusion.h" #include "CoupledForce.h" #include "UserForcingFunction.h" #in...
<commit_before>#include "Platform.hpp" #include <cmath> #include "util/Log.hpp" using Diggler::Util::Log; using namespace Diggler::Util::Logging::LogLevels; static const char *TAG = "Platform"; const char *Diggler::UserdataDirsName = "Diggler"; static struct PathCache { std::string executableBin, execut...
<commit_before>/**************************************************************************************/ /* */ /* Visualization Library */ /* http://www.visualizationlibrary...
<commit_before>/** * @brief This file is the execution node of the Human Tracking * @copyright Copyright (2011) Willow Garage * @authors Koen Buys, Anatoly Baksheev **/ #include <pcl/pcl_base.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/common/time.h> #include <pcl/console/parse.h> #i...
<commit_before>// Copyright (c) 2014 Robert Kooima // // 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, ...
<commit_before>#ifndef __AXIS_HPP #define __AXIS_HPP #ifndef __ODRIVE_MAIN_HPP #error "This file should not be included directly. Include odrive_main.hpp instead." #endif // Warning: Do not reorder these enum values. // The state machine uses ">" comparision on them. enum AxisState_t { AXIS_STATE_UNDEFINED = 0, ...
<commit_before>/* DAcase2.c This program connects to the DAQ data source passed as argument and populates local "./result.txt" file with the ids of events received during the run. The program exits when being asked to shut down (daqDA_checkshutdown) or End of Run event. Messages on stdout are exported to DAQ log sy...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkRotationFilter.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>/// \file PasskeySetup.cpp //----------------------------------------------------------------------------- #include "stdafx.h" #include "PasswordSafe.h" #include "corelib/PWCharPool.h" // for CheckPassword() #include "ThisMfcApp.h" #include "corelib/PwsPlatform.h" #if defined(POCKET_PC) #include "poc...
<commit_before>#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" #include "cinder/MotionManager.h" #include "cinder/Capture.h" #include "cinder/Log.h" #include "GridMesh.h" #include "CameraLandscape.h" #include "GridTexture.h" #include "TimeGrid.h" #include "Landscape.h" #includ...
<commit_before>#include "RGBColor.h" RGBColor::RGBColor() : r(.0f), g(.0f), b(.0f) { } RGBColor::RGBColor(const float red, const float green, const float blue) : r(red), g(green), b(blue) { } RGBColor::~RGBColor() { r = .0f; g = .0f; b = .0f; }<commit_msg>Added constructor with a single value<commit_afte...
<commit_before>#include "cinder/app/App.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" #include "GridMesh.h" #include "cinder/MotionManager.h" using namespace ci; using namespace ci::app; using namespace std; using namespace soso; class GridSpaceApp : public App { public: void setup() override; v...
<commit_before>/** * @file mega/posix/drivenotifyposix.cpp * @brief Mega SDK various utilities and helper classes * * (c) 2013-2020 by Mega Limited, Auckland, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and...
<commit_before>#include "application.h" #include "Adafruit_LEDBackpack.h" Adafruit_8x8matrix matrix1; Adafruit_8x8matrix matrix2; Adafruit_8x8matrix matrix3; static const uint8_t smile[] = { 0b00111100, 0b01000010, 0b10100101, 0b10000001, 0b10100101, 0b10011001, 0b01000010, 0b00111100 }; void setup()...
<commit_before>// Copyright (c) 2009-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 "primitives/transaction.h" #include "hash.h" #include "tinyformat.h" #include "utilstrencodings.h" ...
<commit_before>// Copyright 2018 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> #ifndef MANIFOLDS_FUNCTIONS_UNARY_MINUS_HH #define MANIFOLDS_FUNCTIONS_UNARY_MINUS_HH #include "full_function_defs.hh" #include "function.hh" namespace manifolds { template <class Func> struct UnaryMinus : Function<list<int_<24>, typename Func::indices>, Func::input_dim, ...
<commit_before>/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2013 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2005-12-21 ...
<commit_before>/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "...
<commit_before>/* * WindowTestLayer.cpp * * Created on: Sep 27, 2011 * Author: slundquist */ #include "WindowTestLayer.hpp" #include <utils/conversions.h> namespace PV { WindowTestLayer::WindowTestLayer(const char * name, HyPerCol * hc, int numChannels) { initialize_base(); initialize(name, hc, numC...
<commit_before>#pragma once #include "utility/memory_cast.hpp" #include "sha3.h" #include <assert.h> #include <array> #include <stdint.h> template <size_t NBits> class Sha3_Hasher { public: inline Sha3_Hasher() noexcept { if constexpr (NBits == 256) sha3_Init256(&_c); else if constexpr (NBit...
<commit_before>/* Copyright (c) 2015 Brian R. Bondy. Distributed under the MPL2 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 with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "./hash_set_wrap...
<commit_before>/* * Chemharp, an efficient IO library for chemistry file formats * Copyright (C) 2015 Guillaume Fraux * * 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...
<commit_before>/* Sirikata * main.cpp * * Copyright (c) 2008, 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 are * met: * * Redistributions of source code must retain t...
<commit_before>#include "Segmentation.h" #include "Lab.h" #include "RGB.h" template <> double Segmentation<ImgClass::RGB>::distance(const ImgClass::RGB& lvalue, const ImgClass::RGB& rvalue) { return sqrt( SQUARE(lvalue.R - rvalue.R) + SQUARE(lvalue.G - rvalue.G) + SQUARE(lvalue.B - rvalue.B)); } te...
<commit_before> #include <cv.h> #include "opencv2/opencv.hpp" #include <SongLoader.h> #include <SongPlayer.h> //for the rasperry pi #ifndef INT64_C #define INT64_C(c) (c ## LL) #define UINT64_C(c) (c ## ULL) #endif extern "C" { #include <SDL.h> #include <SDL_thread.h> #include <SDL_ttf.h> } #include <ios...
<commit_before>/* * colourcombo.cpp - colour selection combo box * Program: kalarm * (C) 2001 - 2003 by David Jarvie [email protected] * * Some code taken from kdelibs/kdeui/kcolorcombo.cpp in the KDE libraries: * Copyright (C) 1997 Martin Jones ([email protected]) * * This program is free softwar...
<commit_before>#include "arpTable.hpp" using namespace std; using namespace headers; constexpr array<uint8_t, 6> ARPTable::nextHop::invalidMac; void ARPTable::createCurrentTable(std::shared_ptr<RoutingTable> routingTable){ logDebug("ARPTable::createCurrentTable constructing tables for mapping"); // create a new t...
<commit_before>#include "stdafx.h" #include "plugin.h" #include "EditorTab.h" #include "rapidjson/document.h" #include<vector> #define IDS_MENU_TEXT 1 #define IDS_STATUSMESSAGE 2 #define IDI_ICON 101 std::vector<HWND> windows_; EditorStatus status_; bool restoring_; void StoreEditorStatus() { if (restoring_) {...
<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>/* * Copyright (c) 2014 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementati...
<commit_before>/* This file is part of Fabula. Copyright (C) 2010 Mike McQuaid <[email protected]> Fabula 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 ...
<commit_before>//@author A0097630B #include "stdafx.h" #include "You-QueryEngine/task_model.h" #include "exception.h" #include "query_parser.h" using Assert = Microsoft::VisualStudio::CppUnitTestFramework::Assert; namespace You { namespace NLP { namespace UnitTests { using boost::gregorian::date; using boost::posix...
<commit_before>#include "TmxScene.h" using namespace hb; TmxScene::TmxScene(const std::string& scene_name, const std::string& file_name, std::function<void(const Tmx::Map*)>&& post_init): Game::Scene(scene_name, [](){}), m_post_init(std::move(post_init)) { HB_CHECK_TMXPARSER_VERSION(); m_init = [this, file_name]() ...
<commit_before>#pragma once #include <array> #include <cmath> #include <string> #include <memory> #include <typeinfo> #include <typeindex> #include "./debugger.hpp" namespace darwin { enum class status { null,ready,busy,leisure,error }; enum class results { null,success,failure }; enum class colors { ...
<commit_before>/* * File: TopologyOracle.hpp * Author: manuhalo * * Created on 25 giugno 2012, 10.36 */ #ifndef TOPOLOGYORACLE_HPP #define TOPOLOGYORACLE_HPP #include "Topology.hpp" #include "SimTimeInterval.hpp" #include "zipf_distribution.hpp" #include <fstream> #include "Cache.hpp" // % of requests takin...
<commit_before>// Begin CVS Header // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/UI/CQCopasiApplication.cpp,v $ // $Revision: 1.1 $ // $Name: $ // $Author: shoops $ // $Date: 2012/02/22 16:28:45 $ // End CVS Header // Copyright (C) 2011 by Pedro Mendes, Virginia Tech Intellectual // Propertie...
<commit_before>/*************************************************************************/ /* translation_loader_po.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>// Copyright (c) 2017 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "accumulatormap.h" #include "accumulators.h" #include "main.h" #include "txdb.h" #include "libzerocoin/Denominatio...
<commit_before>/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * Copyright 2020 Axel Waggershauser * * 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.o...
<commit_before>#ifdef WIN32 #include <intrin.h> #include <windows.h> #endif #include "glresource.hpp" #include "event.hpp" #if !defined(WIN32) && !defined(ANDROID) #include <GL/glx.h> #include "glxext.h" #endif namespace rs { namespace { bool g_bglfuncInit = false; } #define GLGETPROC(name) SDL_GL_GetProcAdd...
<commit_before>/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "SkSurface.h" #include "SkCanvas.h" static void drawContents(SkSurface* surface, SkColor fillC) { SkSize size = SkSize::Make(surfa...
<commit_before>/* * File: newsimpletest.cpp * Author: msk * * Created on Feb 4, 2013, 2:33:58 PM */ #include <stdlib.h> #include <iostream> /* * Simple C++ Test Suite */ void hazelcast::client::IMap::remove(K key); void testRemove() { K key; hazelcast::client::IMap iMap; iMap.remove(key); ...
<commit_before>/* Library EDK - How to use Extensible Development Kit Copyright (C) 2013 Eduardo Moura Sales Martins 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 Li...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: attrlistimpl.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-08 12:03:33 $ * * The Contents of this file are m...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: listenercalls.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: kz $ $Date: 2006-07-21 14:41:30 $ * * The Contents of this file are ...
<commit_before>/* This file is part of KOrganizer. Copyright (c) 2001 Cornelius Schumacher <[email protected]> Copyright (C) 2003-2004 Reinhold Kainhofer <[email protected]> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Lice...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of duihome. ** ** If you have questions regarding the use...
<commit_before>/* fileInstaller.cc KPilot ** ** Copyright (C) 1998-2001 by Dan Pilone ** ** This is a class that does "the work" of adding and deleting ** files in the pending_install directory of KPilot. It is used ** by the fileInstallWidget and by the daemon's drag-and-drop ** file accepter. */ /* ** This program...
<commit_before>/* KPilot ** ** Copyright (C) 1998-2001 by Dan Pilone ** ** This is a class that does "the work" of adding and deleting ** files in the pending_install directory of KPilot. It is used ** by the fileInstallWidget and by the daemon's drag-and-drop ** file accepter. */ /* ** This program is free software; ...
<commit_before>/* This file is part of the kolab resource - the implementation of the Kolab storage format. See www.kolab.org for documentation on this. Copyright (c) 2004 Bo Thorsen <[email protected]> This library is free software; you can redistribute it and/or modify it under the terms of the GN...
<commit_before>/* * Copyright 2019 Benoy Bose * * 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><commit_msg>make style<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2015 Pavel Novy. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "rfl-scan/compilation_db.h" #include "llvm/ADT/SmallString.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/Path.h" #include "l...
<commit_before>#include <sys/errno.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> #include <fcntl.h> #include <netdb.h> #include <common/buffer.h> #include <common/endian.h> #include <event/action.h> #include <event/callback.h> #...
<commit_before>#ifndef ITERBASE_HPP_ #define ITERBASE_HPP_ // This file consists of utilities used for the generic nature of the // iterable wrapper classes. As such, the contents of this file should be // considered UNDOCUMENTED and is subject to change without warning. This // also applies to the name of the file...
<commit_before>/* * Copyright 2016-2017 [email protected] * * 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/. */ #include <ox/fs/filesystem.hpp> #include <ox/std/s...
<commit_before>// Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2014-2019 The DigiByte Core developers // Copyright (c) 2014-2019 The Auroracoin Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME #define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>/* * Copyright 2010 Utkin Dmitry * * 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>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME #define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...
<commit_before>#include <iostream> #include <string> #include <vector> #include <stdexcept> #include <boost/compute.hpp> #include <algorithm> #include <QtGui> #include <QtOpenGL> #include <boost/compute/command_queue.hpp> #include <boost/compute/kernel.hpp> #include <boost/compute/program.hpp> #include <boost/compute/s...
<commit_before>// // Copyright (c) 2010 Advanced Micro Devices, Inc. All rights reserved. // #ifndef VERSIONS_HPP_ #define VERSIONS_HPP_ #include "utils/macros.hpp" #ifndef AMD_PLATFORM_NAME # define AMD_PLATFORM_NAME "AMD Accelerated Parallel Processing" #endif // AMD_PLATFORM_NAME #ifndef AMD_PLATFORM_BUILD_NUMBE...