text
stringlengths
54
60.6k
<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: rtlproto.hxx,v $ * $Revision: 1....
<commit_before>/** * @file winmmshim.cpp * @brief controls volume level of process by intercepting calls to winmm.dll * * $LicenseInfo:firstyear=2010&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/...
<commit_before>/*========================================================================= Program: Visualization Library Module: AppendP.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>/*************************************************************************/ /* audio_driver_javascript.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/* vim: set sw=4 ts=4: */ /* * BindingConverter.cpp * Implements an AST Consumer that outputs clay bindings * */ #include <iostream> #include <sstream> #include <vector> using namespace std; #include "llvm/Config/config.h" #include "llvm/Support/raw_ostream.h" #include "clang/AST/ASTConsumer.h" #i...
<commit_before>// Copyright Andrew Resch 2008. Use, modification and distribution is // subject to 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) #include <libtorrent/ip_filter.hpp> #include <boost/python.hpp> #include "gil.hpp" usin...
<commit_before>/************************************************************************* * * $RCSfile: viewaccess.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2003-04-17 13:33:29 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>#include "StringfyHelper" #include "json/JSONIterator.h" namespace rho { namespace apiGenerator { using namespace rho::json; using namespace rho::common; void StringifyVector::push_back(const rho::String& value, bool escape) { m_bufferLen += 1...
<commit_before>// call from command line like, for instance: // root -l 'vincemark.cpp()' R__LOAD_LIBRARY(libRooFit) #include <chrono> #include <iostream> #include <sstream> #include <fstream> #include <string> #include <unistd.h> // usleep #include <sys/types.h> // for kill #include <signal.h> // for kill usi...
<commit_before>#include "io.hh" #include "conf.hh" #include "FeatureGenerator.hh" #include "SpeakerConfig.hh" conf::Config config; FeatureGenerator gen; bool raw_output = false; SpeakerConfig speaker_conf(gen); void print_feature(const FeatureVec &fea) { // Raw output if (raw_output) { for (int i = 0; i < fea...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2018 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>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/hwpf/fapi2/include/error_info_defs.H $ ...
<commit_before>#include <iostream> #include "initConfig.h" #include "libconfig.h++" #include "getopt.h" using namespace watcher; using namespace libconfig; using namespace std; bool watcher::initConfig( libconfig::Config &config, int argc, char **argv, std::string &...
<commit_before>#include <iostream> #include <boost/asio.hpp> #include <google/protobuf/descriptor.h> #include <google/protobuf/service.h> #include "vtrc-common/vtrc-pool-pair.h" #include "vtrc-common/vtrc-connection-iface.h" #include "vtrc-common/vtrc-call-context.h" #include "vtrc-common/vtrc-exception.h" #include "...
<commit_before>/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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 "State.h" using namespace std; // num_cols should be set in constructor State::State(MatrixD &data, vector<int> global_row_indices, vector<int> global_col_indices, int N_GRID) { crp_alpha = 0.8; int num_rows = data.size1(); construct_hyper_grids(data, N_GRID); vector<vector<int> ...
<commit_before>#include "quering.hh" unsigned char * read_binary_file(const char * filename, size_t filesize) { //Get filesize int fd; unsigned char * map; fd = open(filename, O_RDONLY); if (fd == -1) { perror("Error opening file for reading"); exit(EXIT_FAILURE); } map = (unsigned char *)mmap...
<commit_before>// Copyright (c) 2011 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 "content/gpu/gpu_info_collector.h" #include <dlfcn.h> #include <vector> #include "base/file_util.h" #include "base/logging.h...
<commit_before>#ifndef ITER_TAKEWHILE_H_ #define ITER_TAKEWHILE_H_ #include "filter.hpp" #include "internal/iterator_wrapper.hpp" #include "internal/iterbase.hpp" #include <iterator> #include <utility> namespace iter { namespace impl { template <typename FilterFunc, typename Container> class Taker; us...
<commit_before>/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full r...
<commit_before>// C++ General Utility Library (mailto:cgul@zethes.com) // Copyright (C) 2012-2014, Joshua Brookover and Amber Thrall // All rights reserved. /** @file Timer.cpp */ #include "Timer.hpp" #if defined(CGUL_LINUX) || defined(CGUL_MACOS) # include <sys/time.h> # include <unistd.h> #endif CGUL::Float64...
<commit_before> /* * * Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation,...
<commit_before>#define CATCH_CONFIG_RUNNER #include <QCanBusFrame> #include <QJsonArray> #include <QSignalSpy> #include <QStandardItemModel> #include <QTableView> #include <Qt> #include <QtWidgets/QApplication> #include <catch.hpp> #include <context.h> #include <fakeit.hpp> #include <canrawview.h> #include <gui/crvgui...
<commit_before>#include "qmljscompletioncontextfinder.h" #include <QtCore/QDebug> #include <QtGui/QTextDocument> using namespace QmlJS; /* Saves and restores the state of the global linizer. This enables backtracking. Identical to the defines in qmljslineinfo.cpp */ #define YY_SAVE() LinizerState savedS...
<commit_before>/*********************************************************************** dummy.cpp - Exists solely to fix a problem with Visual Studio: it won't show the C/C++ project settings unless there is a *.cpp file in the project. Rather than rename all the *.cc files, I'm just adding this to the projects fo...
<commit_before>#pragma once #include <iostream> #include "binary.hxx" #include "bitnode.hxx" namespace despairagus { namespace bitwisetrie { using std::cout; using std::ostream; template <typename A> class bitwisetrie final { template<typename B> using conref = const B &; using bitA = std::bitset...
<commit_before>#include "render_graph_builder.hpp" #include <minitrace.h> #include <rx/core/algorithm/max.h> #include <rx/core/algorithm/min.h> #include <rx/core/log.h> #include "nova_renderer/constants.hpp" namespace nova::renderer::shaderpack { RX_LOG("RenderGraphBuilder", logger); /*! * \brief Adds ...
<commit_before>#include <common/test.h> #include <common/thread/mutex.h> #include <common/thread/thread.h> #define NTHREAD 8 #define ROUNDS 1024 static LockClass test_lock_class("TestMutexClass"); static Mutex test_mtx(&test_lock_class, "TestMutex"); class TestThread : public Thread { Test *test_main_; Test *te...
<commit_before>#pragma once /* MIT License Copyright (c) 2017 Blockchain-VCS 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,...
<commit_before>/* * #%L * %% * Copyright (C) 2016 BMW Car IT GmbH * %% * 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 * * Unles...
<commit_before>/* -------------------------------------------------------------------------- */ /* Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs */ /* */ /* Licensed under the Apache License, Version 2.0 (the "Licens...
<commit_before>/* * SessionHttpConnectionUtils.cpp * * Copyright (C) 2020 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affer...
<commit_before>/* * Copyright (c) 2015 Mikhail Baranov * Copyright (c) 2015 Victor Gaydov * * 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 "roc_rtp/...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkShepardMethod.cc Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1996 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted ...
<commit_before>// __BEGIN_LICENSE__ // Copyright (C) 2006-2009 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <fstream> #include <vw/config.h> #include <vw/Core/Thread.h> #include <vw/Core/Cache...
<commit_before>#include <boost/asio.hpp> #include <boost/thread.hpp> #include <boost/lexical_cast.hpp> #include "client.h" #include <libwatcher/testMessage.h> #include "initConfig.h" #include "singletonConfig.h" using namespace std; using namespace watcher; using namespace watcher::event; using namespace boost; usin...
<commit_before>#include <boost/asio.hpp> #include <boost/thread.hpp> #include <boost/lexical_cast.hpp> #include "client.h" #include <libwatcher/testMessage.h> #include "initConfig.h" #include "singletonConfig.h" using namespace std; using namespace watcher; using namespace watcher::event; using namespace boost; usin...
<commit_before>/* * Copyright 2007-2019 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...
<commit_before>/** @file A brief file description @section license License 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 fi...
<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 "build/build_config.h" #include "ipc/ipc_tests.h" #if defined(OS_MACOSX) extern "C" { #include <sandbox.h> } #endif #include...
<commit_before>//===-- tsan_suppressions.cc ----------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
<commit_before>#include "answer/Utils.hh" #include <string> #include <iostream> #include <sstream> #include <string.h> using namespace std; namespace anubis { namespace webservice { string encodeForXml( const string &sSrc, bool encode_special ) { ostringstream sRet; for ( string::const_iterator iter = sSrc....
<commit_before>// Copyright © 2014, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. // // Author: Christian Kellner...
<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 under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Lice...
<commit_before><commit_msg>Fix name of OBJ file in demo (capitalization)<commit_after><|endoftext|>
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #include "config.h" #include <iostream> #include <cstdlib> #include <utility> #include <list> #include "common.hh" #include "item_pager.hh" #include "ep.hh" static const double EJECTION_RATIO_THRESHOLD(0.1); static const s...
<commit_before>//-----------------------------------------------------------------------bl- //-------------------------------------------------------------------------- // // GRINS - General Reacting Incompressible Navier-Stokes // // Copyright (C) 2010-2013 The PECOS Development Team // // This library is free softw...
<commit_before>#include "fmwebdav.h" fmwebdav::fmwebdav(QObject *parent) : QNetworkAccessManager(parent) ,wdRootPath(), wdUsername(), wdUassword(), wdBaseUrl(), wdCurrentConnectionType(QWebdav::HTTP){ // typical Qnetwork connection stuff goes here // probably ssl parts too } fmwebdav::~fmwebdav(){ } QString fmwebdav...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fil...
<commit_before>#include <algorithm> #include <cmath> #include "DcoConicConstraint.hpp" #include "DcoModel.hpp" class OsiRowCut; #define EPS1 1e-5 /** Default constructor. */ DcoConicConstraint::DcoConicConstraint() { members_ = 0; size_ = 0; // cone is lorentz cone by default. type_ = OSI_QUAD; } /** Usefu...
<commit_before>// Copyright (C) 2017 roki #ifndef INCLUDED_SROOK_ALGORITHM_LCS_HPP #define INCLUDED_SROOK_ALGORITHM_LCS_HPP #include <srook/config.hpp> #include <srook/type_traits.hpp> #include <vector> namespace srook { namespace algorithm { SROOK_INLINE_NAMESPACE(v1) /* * * generic function logest common substri...
<commit_before>#include <osg/Notify> #include <osg/Geometry> #include <osg/AnimationPath> #include <osgDB/Registry> #include <osgDB/Input> #include <osgDB/Output> using namespace osg; using namespace osgDB; // forward declare functions to use later. bool AnimationPath_readLocalData(osg::Object &obj, osgDB::Input &...
<commit_before>#include <iostream> #include <cmath> #include <fstream> #include <cstdio> #include <sstream> #include <cassert> #include <vector> #include <string> #include <cstdlib> #include <iomanip> #include "bond_length.h" using namespace std; extern int totalatoms; //referring to totalatoms in extraction.cpp ext...
<commit_before>#pragma once #include <GLFW/glfw3.h> #include <json/json.h> #include <vector> class Input { public: ///The information needed to identify a button. struct Button { ///A string describing the action, e.g "Fire". char action[255]; ///The GLFW key to press. i...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one ...
<commit_before>// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once #include <cstdint> #include <cstring> #include <memory> #inc...
<commit_before>/******************************************************************************\ * ___ __ * * /\_ \ __/\ \ * * \//\ \ /\_\ \ \____ ___ _____ _____ __ ...
<commit_before>#pragma once #include <string> #include <fc/reflect/reflect.hpp> #include <iosfwd> namespace eosio::chain { struct name; } namespace fc { class variant; void to_variant(const eosio::chain::name& c, fc::variant& v); void from_variant(const fc::variant& v, eosio::chain::name& check); } // fc name...
<commit_before>#pragma once #include <atomic> #include "Core/Core.hpp" // Allocated memory aligned to alignment. Supports any alignment and size. // This may cause more memory overhead than necessary. For smaller alignments, consider implementing small alignment versions. void* alignedMalloc(std::size_t alig...
<commit_before>/// Poset.hpp /// Shaun Harker /// 2015-05-15 #ifndef DSGRN_POSET_HPP #define DSGRN_POSET_HPP #ifndef INLINE_IF_HEADER_ONLY #define INLINE_IF_HEADER_ONLY #endif #include "Poset.h" INLINE_IF_HEADER_ONLY Poset:: Poset ( void ) { dataPoset_ . reset ( new Poset_ ); } INLINE_IF_HEADER_ONLY Poset:: Pose...
<commit_before>/** @file config.hpp @brief Configuration. @author Tim Howard @copyright 2013 Tim Howard under the MIT license; see @ref index or the accompanying LICENSE file for full text. */ #ifndef HORD_CONFIG_HPP_ #define HORD_CONFIG_HPP_ #include <cstddef> #include <cstdint> /** @addtogroup config @{ */ /**...
<commit_before>#pragma once #include "base/assert.hpp" #include <cstddef> #include <functional> #include <unordered_map> #include <boost/circular_buffer.hpp> template<class Key, class Value> class FifoCache { template <typename K, typename V> friend class FifoCacheTest; public: using Loader = std::function<voi...
<commit_before>// // For more information, please see: http://software.sci.utah.edu // // The MIT License // // Copyright (c) 2009 Scientific Computing and Imaging Institute, // University of Utah. // // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software ...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before><commit_msg>Snapshot explorer hwp and xml from ekb/master<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <array> #include <asio/steady_timer.hpp> #include <asio.hpp> #include <chrono> using namespace std; using asio::ip::udp; class server { public: server(asio::io_service& io_service, short listen_port, short send_port) : io_service_(io_service), ...
<commit_before>#ifndef CLPP_EXCEPTION2_H #define CLPP_EXCEPTION2_H #include "clpp/detail/common.hpp" #include <stdexcept> #include <string> namespace cl { namespace error { class AnyError : public std::runtime_error { public: using std::runtime_error::runtime_error; virtual auto what() const noexcept -> ...
<commit_before>// This object is built with some original images. // Its job is to take transform parameters, // then build a volume and an associated mask. #ifndef STACK_HPP_ #define STACK_HPP_ #include "itkImage.h" #include "itkTileImageFilter.h" #include "itkResampleImageFilter.h" #include "itkVectorResampleImageF...
<commit_before>/* Copyright (c) 2013-2015 Jeffrey Pfau * * 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 "AudioProcessorQt.h" #include "AudioDevice.h" ...
<commit_before>/*************************************************************************** kalendarVariables.cpp - description ------------------- begin : Sun Jan 6 2002 copyright : (C) 2002 by Tuukka Pasanen email : illuusio@mailcity.com *****...
<commit_before><commit_msg>Duplicated fileDesc is not closed when input file is not forward-lock content. Fix for bug 4606053.<commit_after><|endoftext|>
<commit_before>/* addcontactwizard.cpp - Kopete's Add Contact Wizard Copyright (c) 2002 by Nick Betcher <nbetcher@kde.org> Copyright (c) 2002 by Duncan Mac-Vicar Prett <duncan@kde.org> Kopete (c) 2002 by the Kopete developers <kopete-devel@kde.org> **********************************...
<commit_before>#include <lug/Graphics/Vulkan/Render/BufferPool/Light.hpp> #include <lug/Graphics/Scene/Node.hpp> #include <lug/Graphics/Vulkan/API/CommandBuffer.hpp> #include <lug/Graphics/Vulkan/Renderer.hpp> namespace lug { namespace Graphics { namespace Vulkan { namespace Render { namespace BufferPool { Light::Li...
<commit_before>/* Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition (HOOMD-blue) Open Source Software License Copyright 2008-2011 Ames Laboratory Iowa State University and The Regents of the University of Michigan All rights reserved. HOOMD-blue may contain modifications ("Contributions") provide...
<commit_before>// Time: O(nlogn) // Space: O(n) class Solution { public: enum {start, end, height}; /** * @param buildings: A list of lists of integers * @return: Find the outline of those buildings */ vector<vector<int> > buildingOutline(vector<vector<int> > &buildings) { return Co...
<commit_before> #include <iostream> using namespace std; void func1() { cout << "func1" << endl; } void func2() { cout << "func2" << endl; } void func3() { cout << "func3" << endl; } void main() { cout << "Hello World" << endl; func1(); func2(); func3(); } <commit_msg>Revert "update func3"<commit_after> ...
<commit_before>/* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #include <qitype/genericvalue.hpp> #include <qimessaging/message.hpp> #include <qimessaging/datastream.hpp> #include <qi/log.hpp> #include <qi/types.hpp> #include <vector> #include <cstring> #include "src/buffer_p.hpp" #if...
<commit_before>inline void K_point::initialize() { PROFILE("sirius::K_point::initialize"); zil_.resize(ctx_.lmax_apw() + 1); for (int l = 0; l <= ctx_.lmax_apw(); l++) { zil_[l] = std::pow(double_complex(0, 1), l); } l_by_lm_ = Utils::l_by_lm(ctx_.lmax_apw()); int bs = ctx_.cyc...
<commit_before>#pragma once /** @file @brief converter between integer and string @author MITSUNARI Shigeo(@herumi) */ #include <memory.h> #include <limits.h> #include <limits> #include <cybozu/exception.hpp> namespace cybozu { namespace atoi_local { template<typename T, size_t n> T convertToInt(bool *b, const ...
<commit_before>/* * Copyright 2016 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 "Resources.h" #include "SkImageDecoder.h" #include "SkPixelXorXfermode.h" #include "SkStream.h" class PixelXorXfermodeGM : public ski...
<commit_before>/*ckwg +5 * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "image_helper.h" #include <vistk/pipeline_types/image_types.h> #inc...
<commit_before>//----------------------------------------------------------------------------- // MurmurHash3 was written by Austin Appleby, and is placed in the public // domain. mmh3 Python module was written by Hajime Senuma, // and is also placed in the public domain. // The authors hereby disclaim copyright to the...
<commit_before>/* * Copyright 2002-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/bootstrap.h" #include "include/dart_api.h" #if !defined(DART_PRECOMPILED_...
<commit_before>/* * Copyright (c) 2015 Novell, Inc. * Copyright (c) [2016-2018] SUSE LLC * * All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as published * by the Free Software Foundation. * * Thi...
<commit_before>/** * This file defines the core graph analysis algorithm. */ #ifndef D2_ANALYSIS_HPP #define D2_ANALYSIS_HPP #include <d2/types.hpp> #include <boost/assert.hpp> #include <boost/concept_check.hpp> #include <boost/foreach.hpp> #include <boost/graph/depth_first_search.hpp> #include <boost/graph/graph_...
<commit_before>// Scintilla source code edit control /** @file KeyMap.cxx ** Defines a mapping between keystrokes and commands. **/ // Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include "Platform.h" #inclu...
<commit_before>//-----------------------------------------------------------------------bl- //-------------------------------------------------------------------------- // // GRINS - General Reacting Incompressible Navier-Stokes // // Copyright (C) 2014-2015 Paul T. Bauman, Roy H. Stogner // Copyright (C) 2010-2013 The...
<commit_before>#include <QGuiApplication> #include <QScreen> #include <QX11Info> #include "LinuxWindowCapture.h" #include <xcb/xcb_icccm.h> #define WM_WINDOW_INSTANCE "Hearthstone.exe" #define WM_CLASS "Hearthstone.exe" LinuxWindowCapture::LinuxWindowCapture() : mWindow( 0 ) { } bool LinuxWindowCapture::WindowFoun...
<commit_before>#include "caffe2/core/common_cudnn.h" #include "caffe2/core/context_gpu.h" #include "caffe2/operators/conv_pool_op_base.h" namespace caffe2 { namespace { template <typename T> void setTensorDescriptor( const int size, const StorageOrder order, const int N, const int C, const int H,...
<commit_before>#include <osg/GL> #include <osg/GLU> #include <osg/Image> #include <osg/Notify> #include <osg/Geode> #include <osg/GeoSet> #include <osg/StateSet> #include <osg/Texture> using namespace osg; using namespace std; Image::Image() { _fileName = ""; _s = _t = _r = 0; ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fuspell.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-12-14 17:04:36 $ * * The Contents of this file are made a...
<commit_before>/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal...
<commit_before>/** * Templated default configuration */ const char* config_template = R"( static_resources: listeners: - name: base_api_listener address: socket_address: protocol: TCP address: 0.0.0.0 port_value: 10000 api_listener: api_listener: "@type": type.g...
<commit_before>#ifndef _SDD_VALUES_UNIQUE_FLAT_SET_HH_ #define _SDD_VALUES_UNIQUE_FLAT_SET_HH_ #include <algorithm> // copy, set_difference, set_intersection, set_union #include <functional> // hash #include <initializer_list> #include <iosfwd> #include <iterator> // inserter #include <utility> // pair #include...
<commit_before>/* vim:set noet ts=4: */ /* * ibus - The Input Bus * * Copyright (c) 2007-2008 Huang Peng <shawn.p.huang@gmail.com> * * 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;...
<commit_before>// Scintilla source code edit control /** @file LexAsm.cxx ** Lexer for Assembler, just for the Masm Syntax ** Written by The Black Horus **/ // Copyright 1998-2002 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #in...
<commit_before>/*----------------------------------------------------------------------------- NeXus - Neutron & X-ray Common Data Format Utility to convert a NeXus file into HDF4/HDF5/XML/... Author: Freddie Akeroyd, Ray Osborn This library is free software; you can redistribute it and/or mod...
<commit_before>/** -*- C++ -*- * union_dataset.cc * Mich, 2016-09-14 * This file is part of MLDB. Copyright 2016 Datacratic. All rights reserved. **/ #include "union_dataset.h" #include <thread> #include <math.h> #include "mldb/builtin/id_hash.h" #in...