text
stringlengths
54
60.6k
<commit_before> void AddTaskPIDconfig(Int_t CentralityTriggerSelection = AliVEvent::kMB, Double_t centralityMin=0, Double_t centralityMax=5 ,Double_t FilterBit=1, Bool_t PIDcuts=kFALSE,TString useroutputfile="output"){ AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager(); if (!mgr) { ::Er...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. ...
<commit_before>/*** Copyright (c) 2010 Data Intensive Cyberinfrastructure Foundation. All rights reserved. *** *** For full copyright notice please refer to files in the COPYRIGHT directory ***/ /* Written by Jean-Yves Nief of CCIN2P3 and copyright assigned to Data Intensive Cyberinfrastructure Found...
<commit_before>// Copyright 2013-2015 Eric Schkufza, Rahul Sharma, Berkeley Churchill, Stefan Heule // // 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/license...
<commit_before>/* * Copyright (C) 2012-2013 Matt Broadstone * Contact: http://bitbucket.org/devonit/qjsonrpc * * This file is part of the QJsonRpc Library. * * 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...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commerci...
<commit_before>/** * \file dcs/testbed/system_experiment.hpp * * \brief Performs system experiment experiments. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright 2012 Marco Guazzone (marco.guazzone@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
<commit_before> #include <iostream> #include "drake/systems/plants/collision/DrakeCollision.h" #ifdef BULLET_COLLISION #include "drake/systems/plants/collision/bullet_model.h" #endif using namespace std; using namespace Eigen; namespace DrakeCollision { const bitmask ALL_MASK(bitmask(0).set()); const bitmask NONE_...
<commit_before>#include "terminal.h" #include "mqttError.h" #include "frame.h" #include <random> #include <chrono> #include <string.h> #include <unistd.h> Terminal::Terminal(const std::string id, const User* u, uint32_t keepAlive, const Will* w) : isConnecting(false), cleanSession(false), ID(id), user(u), will(w), kee...
<commit_before>#include <sqlite_orm/sqlite_orm.h> #include <catch2/catch.hpp> using namespace sqlite_orm; #if SQLITE_VERSION_NUMBER >= 3006019 TEST_CASE("statement_serializator foreign key") { SECTION("one to one") { struct User { int id = 0; std::string name; }; ...
<commit_before>#ifndef INCLUDE_AL_GRAPHICS_MESH_HPP #define INCLUDE_AL_GRAPHICS_MESH_HPP /* Allocore -- Multimedia / virtual environment application class library Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB. Copyright (C) 2006-2008. The Regents of the University of California (REG...
<commit_before>#include "model_view_animation.hpp" namespace df { ModelViewAnimation::ModelViewAnimation(m2::AnyRectD const & startRect, m2::AnyRectD const & endRect, double aDuration, double mDuration, double sDuration) : BaseInterpolator(max(max(aDuration, mDuration), sDurat...
<commit_before>#include <algorithm> #include <iostream> #include <memory> #include <ncurses.h> #include <optional> #include <unistd.h> #include <variant> #include <vector> // Not a header file.... Mostly just lazy. The ncurses stuff is not // namespaced either, so it is not very clean anyway. using namespace std; /* ...
<commit_before><commit_msg>operate on UTF-8 encoded string, tdf#76870 follow-up<commit_after><|endoftext|>
<commit_before>#include <ros/ros.h> #include <ros/callback_queue.h> #ifndef ROS_HELPERS_HPP #define ROS_HELPERS_HPP namespace ROSHelpers { inline Spin(const double loop_period) { while (ros::ok()) { ros::getGlobalCallbackQueue()->callAvailable(ros::WallDuration(loop_period)); ...
<commit_before>/** * Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * libbitcoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free...
<commit_before>/************************************************************************* * * $RCSfile: excdefs.hxx,v $ * * $Revision: 1.37 $ * * last change: $Author: hr $ $Date: 2003-03-26 18:04:59 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#include "tidyup_actions/actionExecutorDetectObjects.h" #include <pluginlib/class_list_macros.h> #include <tidyup_msgs/RequestObjectsGraspability.h> #include "tidyup_utils/planning_scene_interface.h" PLUGINLIB_DECLARE_CLASS(tidyup_actions, action_executor_detect_objects, tidyup_actions::ActionEx...
<commit_before>// Ignore unused parameter warnings coming from cppunit headers #include <libmesh/ignore_warnings.h> #include <cppunit/extensions/HelperMacros.h> #include <cppunit/TestCase.h> #include <libmesh/restore_warnings.h> #include "libmesh/mesh.h" #include "libmesh/replicated_mesh.h" #include "libmesh/checkpoin...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: csvtablebox.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:18:49 $ * * The Contents of this file are ma...
<commit_before>// // yas_audio_kernel.cpp // #include "yas_audio_engine_node.h" using namespace yas; #pragma mark - audio::engine::kernel::impl struct audio::engine::kernel::impl : base::impl, manageable_kernel::impl { audio::engine::connection input_connection(uint32_t const bus_idx) { if (_input_conn...
<commit_before>#pragma once // standard #include <map> #include <memory> #include <unordered_set> #include <vector> // project #include "AssetManager.hpp" #include "Node.hpp" #include "depthai/openvino/OpenVINO.hpp" // shared #include "depthai-shared/pipeline/PipelineSchema.hpp" #include "depthai-shared/properties/G...
<commit_before>/* Copyright (c) 2007, 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) 2016, Tom Honermann // // This file is distributed under the MIT License. See the accompanying file // LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms // and conditions. #ifndef TEXT_VIEW_CONCEPTS_HPP // { #define TEXT_VIEW_CONCEPTS_HPP #include <utility> #...
<commit_before>/*************************************************************************** * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and * * Martin Renou * * Copyright (c) QuantStack ...
<commit_before>#include "ride/wx.h" #include <wx/stc/stc.h> #include <wx/aui/aui.h> #include <wx/filename.h> #include "ride/mainwindow.h" #include "ride/fileedit.h" #include "ride/settingsdlg.h" enum { ID_FIRST = wxID_HIGHEST, ID_FILE_RIDE_SETTINGS, ID_EDIT_MATCH_BRACE, ID_EDIT_SELECT_BRACE, ID_EDIT_GOTO_...
<commit_before>#include <iostream> #include <functional> #include <atomic> #include <future> #include "dronecode_sdk.h" #include "system.h" #include "integration_test_helper.h" #include "camera_test_helpers.h" using namespace dronecode_sdk; using namespace std::placeholders; // for `_1` // To run specific tests for Y...
<commit_before>#include <config.h> #include <dune/stuff/common/parameter/configcontainer.hh> #include <dune/stuff/fem/functions/integrals.hh> #include <dune/stuff/common/profiler.hh> #include <dune/gdt/operators/projections.hh> #include <dune/gdt/operators/prolongations.hh> #include <dune/gdt/spaces/constraints.hh> #in...
<commit_before>// Copyright (c) 2006-2008 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 <windows.h> #include <mmsystem.h> #include <process.h> #include "base/time.h" #include "testing/gtest/include/gtest/gtes...
<commit_before><commit_msg>IMPALA-2470: Enable quadratic probing on hash tables.<commit_after><|endoftext|>
<commit_before>#pragma once // simple testing framework // TODO: manual #include <vector> #include <string> #include <cstdio> #include <cstdarg> #include <cstring> #include <chrono> #define _CC(a, b) a ## b #define _MCC(a, b) _CC(a, b) #define STF_TEST(name) \ static void _MCC(_test_func_, __LINE__)(stf::r...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: types.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2006-11-06 14:49:13 $ * * The Contents of this file are made ava...
<commit_before>#pragma once #include <functional> #include <memory> #include <mutex> #include <unordered_map> #include "blackhole/error.hpp" #include "blackhole/repository/config/formatter.hpp" #include "blackhole/repository/config/sink.hpp" #include "blackhole/repository/factory/factory.hpp" namespace blackhole { ...
<commit_before>#include <config.h> #include <rsspp_internal.h> #include <utils.h> #include <cstring> namespace rsspp { void atom_parser::parse_feed(feed& f, xmlNode * rootNode) { if (!rootNode) throw exception(_("XML root node is NULL")); switch (f.rss_version) { case ATOM_0_3: ns = ATOM_0_3_URI; break; c...
<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 "sk_tool_utils.h" #include "SkCanvas.h" #include "SkColorFilter.h" #include "SkColorPriv.h" #include "SkFlattenablePriv.h" #include "Sk...
<commit_before>#include "move_manipulator.h" #include "util.h" #include <limits> #include <maya/MFnDependencyNode.h> #include <maya/MFnDagNode.h> #include <maya/MFnManip3D.h> #include <maya/MGLFunctionTable.h> #include <maya/MHardwareRenderer.h> const MTypeId MannequinMoveManipulator::id = MTypeId(0xcafebee); Manne...
<commit_before>/* Copyright 2011 Google 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 l...
<commit_before>#pragma once //=====================================================================// /*! @file @brief SEEDA03 (RX64M) コア @copyright Copyright 2017 Kunihito Hiramatsu All Right Reserved. @author 平松邦仁 (hira@rvf-rc45.net) */ //==============================================================...
<commit_before>#include "physics/barycentric_rotating_dynamic_frame.hpp" #include <memory> #include "astronomy/frames.hpp" #include "geometry/frame.hpp" #include "geometry/grassmann.hpp" #include "geometry/named_quantities.hpp" #include "geometry/rotation.hpp" #include "gmock/gmock.h" #include "gtest/gtest.h" #inclu...
<commit_before>#include <cassert> #include <stdexcept> #include "triton/ir/type.h" #include "triton/ir/context.h" #include "triton/ir/context_impl.h" #include "triton/ir/value.h" #include "triton/ir/constant.h" namespace triton{ namespace ir{ //===----------------------------------------------------------------------...
<commit_before>// Copyright (c) 2017 Kai Luo <gluokai@gmail.com>. All rights reserved. // Use of this source code is governed by the BSD license that can be found in // the LICENSE file. #include "logger.h" namespace kl { namespace logging { const char *kLogLevelString[5] = {"INFO", "DEBUG", "WARN", "ERROR", "FATAL"}...
<commit_before>#include "xchainer/python/device.h" #include <sstream> #include "xchainer/device.h" namespace xchainer { namespace py = pybind11; // standard convention void InitXchainerDevice(pybind11::module& m) { py::class_<Device>(m, "Device").def("__repr__", [](Device device) { std::ostringstream ...
<commit_before>#include <cstring> #include <cstdio> #include <cstdlib> #include <cassert> #include <sys/types.h> #include <dirent.h> #define I_ACKNOWLEDGE_THAT_NATUS_IS_NOT_STABLE #include <natus/natus.hpp> using namespace natus; #define ENGINEDIR "../engines/.libs" int doTest(Engine& engine, Value& global); int m...
<commit_before>#include "stack.h" namespace BMF { /* * TODO: * 1. Decide which info/format fields for each variant. * 2. Decide to have a number of fields */ SampleVCFPos::SampleVCFPos(std::unordered_map<std::string, UniqueObservation>& obs, int32_t tid, int32_t pos): size(obs.size()), ...
<commit_before>/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Data Differential YATL (i.e. libtest) library * * Copyright (C) 2012 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before>#include <iostream> #include <libwatcher/client.h> #include <libwatcher/labelMessage.h> #include <libwatcher/edgeMessage.h> #include <libwatcher/gpsMessage.h> #include <libwatcher/colorMessage.h> #include <libwatcher/colors.h> #include <libwatcher/watcherColors.h> #include <libwatcher/connectivityMessag...
<commit_before>/* * Copyright (C) LinBox * * ========LICENCE======== * This file is part of the library LinBox. * * LinBox 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 ...
<commit_before>#include "test.h" class fenwick_tree { public: fenwick_tree(int capacity); ~fenwick_tree(); void update(int index, int delta); int running_sum(int index) const; private: int m_capacity; int* m_elements; }; fenwick_tree::fenwick_tree(int capacity) : m_capacity(capacity) { thi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: addincol.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: ihi $ $Date: 2006-08-04 12:10:52 $ * * The Contents of this file are made...
<commit_before>#include "s3.h" using namespace himan; #ifdef HAVE_S3 #include "debug.h" #include "timer.h" #include "util.h" #include <iostream> #include <libs3.h> #include <mutex> #include <string.h> // memcpy namespace { static std::once_flag oflag; const char* access_key = 0; const char* secret_key = 0; const ch...
<commit_before>/* * An implementation of Markov chains for text generation using C++11 and STL * methods. * * Copyright (c) 2014 Bastian Rieck * * 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...
<commit_before> #include <iostream> #include <sstream> #include <random> #include <functional> #include <memory> #include <gui/application.h> #include <gui/dark_style.h> #include <gui/container.h> #include <gui/layouts.h> #include <gui/label.h> #include <gui/button.h> #include <gui/slider.h> #include <gui/background_c...
<commit_before>#include "markertracker.h" #include <iostream> #include <string> using namespace cv; using namespace std; MarkerTracker::MarkerTracker() { thresh = 100; max_value = 255; } void MarkerTracker::find(cv::Mat &img_bgr) { Mat img_grey, img_thresh; cv::vector<cv::vector<cv::Point>> contou...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <master/C...
<commit_before>/** * @file nmf_als.hpp * @author Sumedh Ghaisas */ namespace mlpack { namespace amf { /** * Construct the LMF object. */ template<typename InitializationRule, typename UpdateRule> AMF<InitializationRule, UpdateRule>::AMF( const size_t maxIterations, const double tolerance, con...
<commit_before>/** * @file gmm_impl.hpp * @author Parikshit Ram (pram@cc.gatech.edu) * @author Ryan Curtin * * Implementation of template-based GMM methods. */ #ifndef __MLPACK_METHODS_GMM_GMM_IMPL_HPP #define __MLPACK_METHODS_GMM_GMM_IMPL_HPP // In case it hasn't already been included. #include "gmm.hpp" #incl...
<commit_before>#ifndef BASEIO_HPP_ #define BASEIO_HPP_ /* * Author: jrahm * created: 2014/11/07 * BaseIO.hpp: <description> */ #include <types.h> #include <cstdio> namespace io { /** * @brief A simple class that can read, write and close. * * Basic I/O dascriptor. Can read, write and close. */ class BaseIO...
<commit_before>#include <unistd.h> #include <brick/httpclient/httpclient.h> #include "account.h" #include "httpclient/httpclient.h" #include "include/base/cef_logging.h" namespace { const char fake_id = -1; } Account::Account() { id_ = fake_id; login_ = ""; password_ = ""; domain_ = ""; secure_ = true;...
<commit_before>/* * Copyright (c) 1999-2003 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of ...
<commit_before>#include <iostream> #include <string> #include <sstream> #include <cgo/montecarlo/montecarlo_agent.hpp> using namespace cgo::base; using namespace cgo::standardin; MonteCarloAgent::MonteCarloAgent(Marker marker) : Agent(marker) {} /* virtual */ MonteCarloAgent::~MonteCarloAgent() {} Move MonteCarl...
<commit_before>#include <d3d11.h> #include <memory> #include <ting/Exc.hpp> #include <ting/Void.hpp> #include <ting/PoolStored.hpp> #include <ting/Buffer.hpp> #include "../Exc.hpp" #include "../App.hpp" using namespace morda; namespace { struct Direct3DContext : public ting::Void { IDXGISwapChain *swapchain; ...
<commit_before>/* * PixelBufferCarbon.cpp * OpenSceneGraph * * Created by Stephan Huber on 27.06.07. * Copyright 2007 __MyCompanyName__. All rights reserved. * */ #ifdef __APPLE__ #include <osg/observer_ptr> #include <osgViewer/api/Carbon/PixelBufferCarbon> #include <osgViewer/api/Carbon/GraphicsWindowCa...
<commit_before>/* * Glue for using libusb with libev * * Copyright (c) 2013 Micah Elizabeth Scott * * 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 wit...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 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>// // BatchEncoder - GetProgress MppDec // Copyright (C) 2005-2017 Wiesław Šoltés <wieslaw.soltes@gmail.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; version 2 of th...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2014-2016 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
<commit_before>#include "ofdpa_bridge.hpp" #include "roflibs/netlink/clogging.hpp" #include <cassert> #include <map> #include <cstring> #include <rofl/common/openflow/cofport.h> namespace basebox { ofdpa_bridge::ofdpa_bridge(rofl::rofl_ofdpa_fm_driver &fm_driver) : ingress_vlan_filtered(true), egress_vlan_filt...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>//STL //Native #include <windows.h> #include <psapi.h> #include <tlhelp32.h> //Qt #include <QtCore> //Project #include "functions.h" bool isSubPath(const QString& dir, const QString& path) { if (dir.isEmpty()) return false; QString nativeDir = QDir::toNativeSeparators(dir); QStri...
<commit_before>#include "pe.h" const unsigned char Pe::header_magic[] = { 'M', 'Z' }; size_t Pe::Leanify(size_t size_leanified /*= 0*/) { uint32_t pe_header = *(uint32_t *)(fp + 0x3C); // check PE signature: PE00 if (pe_header < size && *(uint32_t *)(fp + pe_header) != 0x00004550) { std::co...
<commit_before>#ifndef GF2_UTIL_HPP #define GF2_UTIL_HPP #include <vector> #include "Eigen/Dense" #include "opencv2/core/core.hpp" namespace GF2 { namespace util { template <typename Scalar> inline ::cv::Point3f hsv2rgb( ::cv::Point3_<Scalar> const& in ) { double hh, p, q, t, ff; long i; ::cv...
<commit_before>/* * Main Send File Transfer Window * * Copyright (C) 2011 David Edmundson <kde@davidedmundson.co.uk> * * 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 * ver...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include "listworker.h" #include <QMessageBox> #include <QDebug> #include <string> #include <QList> using namespace std; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); showCom...
<commit_before>#include <QFileDialog> #include <QImageReader> #include <QLabel> #include <QMessageBox> #include <QTimer> #include "canvaswidget.h" #include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); setA...
<commit_before>/* * Copyright (c) 2014-2019 Patrizio Bekerle -- http://www.bekerle.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; version 2 of the License. * * This program is dist...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: cgm.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-09 02:49:08 $ * * The Contents of this file are made avail...
<commit_before>/* Copyright (c) 2009-2014, Jack Poulson All rights reserved. This file is part of Elemental and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause */ // NOTE: It is possible to simply includ...
<commit_before>/************************************************************************* * UrBackup - Client/Server backup system * Copyright (C) 2011-2016 Martin Raiber * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public Licen...
<commit_before>/* * * Copyright (c) 2022 Project CHIP Authors * 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/l...
<commit_before>// ====================================================================== #include "TemplateFactory.h" #include <boost/filesystem/operations.hpp> #include <boost/make_shared.hpp> #include <spine/Exception.h> namespace SmartMet { namespace Plugin { namespace Dali { // -----------------------------------...
<commit_before>#include <osg/Notify> #include <osg/MatrixTransform> #include <osg/ShapeDrawable> #include <osg/PositionAttitudeTransform> #include <osg/Geometry> #include <osg/Texture2D> #include <osg/Geode> #include <osgUtil/Optimizer> #include <osgDB/Registry> #include <osgDB/ReadFile> #include <osgProducer/Viewer...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: galobj.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2006-06-19 14:37:49 $ * * The Contents of this file are made av...
<commit_before>/************************************************************************* * * $RCSfile: fmtclbl.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2003-07-16 18:04:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fmtsrnd.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-09 01:53:16 $ * * The Contents of this file are made a...
<commit_before>#ifndef slic3r_PresetComboBoxes_hpp_ #define slic3r_PresetComboBoxes_hpp_ #include <wx/bmpcbox.h> #include <wx/gdicmn.h> #include "libslic3r/Preset.hpp" #include "wxExtensions.hpp" #include "GUI_Utils.hpp" class wxString; class wxTextCtrl; class wxStaticText; class ScalableButton; class wxBoxSizer; cl...
<commit_before>/************************************************************************* * * $RCSfile: closedispatcher.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2004-02-25 17:33:40 $ * * The Contents of this file are made available subject to the terms of * either of the followin...
<commit_before>/* * Copyright 2004-present Facebook, 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 appl...
<commit_before>// ======================================================================== // // Copyright 2009-2016 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>/************************************************************************* * * $RCSfile: colorlistener.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: vg $ $Date: 2005-03-23 16:14:40 $ * * The Contents of this file are made available subject to the terms of * either of the following ...
<commit_before>/* * Funambol is a mobile platform developed by Funambol, Inc. * Copyright (C) 2008 Funambol, Inc. * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License version 3 as published by * the Free Software Foundation with t...
<commit_before>/* * SessionConsoleProcessInfo.cpp * * Copyright (C) 2009-17 by RStudio, Inc. * * 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 Af...
<commit_before>float rotx, roty, rotz; class Player{ public: float x,y,z; float lookat_x,lookat_y,lookat_z; }; class Level{ private: string cur_level_path; string cur_level; Model_OBJ *room; Model_OBJ *player; int g_rotation; Player *p; public: Level(string &l); void display(); void keyPress(unsigned ...
<commit_before>#include "version.hpp" #include "dvwindow.hpp" #include "dvqmlcommunication.hpp" #include "dvfolderlisting.hpp" #include "dvthumbnailprovider.hpp" #include <QApplication> #include <QQuickRenderControl> #include <QQuickWindow> #include <QQuickItem> #include <QQmlEngine> #include <QQmlContext> #include <QC...
<commit_before>#include "game.hpp" int Game::startGame() { std::string str; while(true) { std::getline(std::cin, str); if(!uciHandler(str)) { return 0; }; } } int64_t Game::mtdf(int64_t f, int depth) { int64_t bound[2] = {-WHITE_WIN, +WHITE_WIN}; do { double beta = f + (f == b...
<commit_before>///////////////////////////////////////////////////////////////////////////// // Name: ghistogram.cpp // Purpose: // Author: Eloy Martinez // Modified by: // Created: Mon 23 Jun 2008 11:40:03 CEST // RCS-ID: // Copyright: // Licence: ///////////////////////////////////...
<commit_before>/* * Copyright 2013, Mozilla Foundation and contributors * * 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 * * Un...
<commit_before>/*! * FrameReceiverZMQRxThread.cpp * * Created on: Feb 4, 2015 * Author: Tim Nicholls, STFC Application Engineering Group */ #include "FrameReceiverZMQRxThread.h" #include <unistd.h> using namespace FrameReceiver; FrameReceiverZMQRxThread::FrameReceiverZMQRxThread(FrameReceiverConfig& confi...
<commit_before>/************************************************************************* * * $RCSfile: registerservices.cxx,v $ * * $Revision: 1.17 $ * * last change: $Author: hr $ $Date: 2003-03-25 18:21:48 $ * * The Contents of this file are made available subject to the terms of * either of the follow...
<commit_before>// This file is part of gltfpack; see gltfpack.h for version/license details #include "gltfpack.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef __EMSCRIPTEN__ #include <emscripten.h> #endif static const char* kMimeTypes[][2] = { {"image/jpeg", ".jpg"}, {"image/jpeg", ".jpe...
<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" /* * Draw 50 semi-transparent circles with pseudo-random positions, radii, and * colors, using the default blend mode (SRC OVER). Use of Sk...