text
stringlengths
54
60.6k
<commit_before>#ifndef __TEST__MODELS__MODEL_TEST_FIXTURE_HPP__ #define __TEST__MODELS__MODEL_TEST_FIXTURE_HPP__ #include <gtest/gtest.h> #include <test/models/utility.hpp> #include <stan/mcmc/chains.hpp> #include <utility> #include <boost/math/distributions/students_t.hpp> #include <boost/math/distributions/binomial....
<commit_before>/* * Copyright 2009-2020 The VOTCA Development Team (http://www.votca.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
<commit_before>/* dlvhex -- Answer-Set Programming with external interfaces. * Copyright (C) 2005, 2006, 2007 Roman Schindlauer * * This file is part of dlvhex. * * dlvhex 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 2017 WebAssembly Community Group participants * * 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 * * Unl...
<commit_before>// // ulib - a collection of useful classes // Copyright (C) 2004,2005,2006,2007,2008,2018 Michael Fink // /// \file VersionInfoResource.cpp version info resource class // #include "stdafx.h" #include <ulib/win32/VersionInfoResource.hpp> #include <winbase.h> // for VOS_* constants #include <winver.h> // ...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regarding t...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 2001-2002 The Apache Software Foundation. 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. Redistr...
<commit_before>#ifndef STAN_MATH_PRIM_MAT_FUN_TO_ARRAY_1D_HPP #define STAN_MATH_PRIM_MAT_FUN_TO_ARRAY_1D_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> #include <stan/math/prim/scal/meta/scalar_type.hpp> #include <vector> namespace stan { namespace math { // real[] to_array_1d(matrix) // real[] to_array_1...
<commit_before>#include <stan/version.hpp> #include <gtest/gtest.h> TEST(Stan, macro) { EXPECT_EQ(2, STAN_MAJOR); EXPECT_EQ(6, STAN_MINOR); EXPECT_EQ(3, STAN_PATCH); } TEST(Stan, version) { EXPECT_EQ("2", stan::MAJOR_VERSION); EXPECT_EQ("6", stan::MINOR_VERSION); EXPECT_EQ("3", stan::PATCH_VERSION); } <co...
<commit_before>/* * Copyright 2009-2020 The VOTCA Development Team (http://www.votca.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svgwriter.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:57:21 $ * * The Contents of this file are made...
<commit_before>//===- PrettyResultPrinter.cpp ---------------------------------------------===// // // The pat Team // // This file is distributed under the New BSD License. // See LICENSE for details. // //===----------------------------------------------------------------------===// #include <pat...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2009, Willow Garage, Inc. * 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...
<commit_before>/* * Odometer.cpp - Handles the gyroscope (L3G4200D) sensor of the Smartcar. * Version: 0.3 * Author: Dimitris Platis (based on the bildr.org example: http://bildr.org/2011/06/l3g4200d-arduino/) * License: GNU GPL v3 http://www.gnu.org/licenses/gpl-3.0.html */ #include "CaroloCup.h" /* ---- GYROSCOPE...
<commit_before>/* This file is part of the KDE project Copyright (C) 2004,2006 Matthias Kretz <kretz@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This prog...
<commit_before>#include "Hierarchy.h" #include "Application.h" #include "Editor.h" #include "GameObject.h" #include "Component.h" #include "ComponentTransform.h" #include "ComponentLight.h" #include "ModuleGOManager.h" #include "LayerSystem.h" Hierarchy::Hierarchy() { active = true; flags |= ImGuiWindowFlags_NoRes...
<commit_before>//===--- DebuggerTestingTransform.cpp - Transform for debugger testing ----===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>//===-- MipsTargetMachine.cpp - Define TargetMachine for Mips -------------===// // // The LLVM Compiler Infrastructure // // This file was developed by Bruno Cardoso Lopes and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. // //==...
<commit_before># include "particle-functions.h" # include <application.h> extern WeatherData weather; void WeatherData :: message(int data) // defined outside class definition { Serial.print("Timestamp: "); Serial.println(_weatherTime); Serial.print("Temp (F): "); Serial.println(_greenhouseTemp); Serial.print(...
<commit_before>#include "thermistor-library.h" Thermistor::Thermistor(int pin, int resistor) { _pin = pin; _resistor = resistor; } void Thermistor::begin(void) { pinMode(_pin, INPUT); } int Thermistor::getTempRaw(bool smooth=false) { delay(1); if(smooth==true) { int total = 0; for(int i=0; i<100; i++...
<commit_before>#include <shogun/features/SimpleFeatures.h> #include <shogun/kernel/GaussianKernel.h> #include <shogun/kernel/DistantSegmentsKernel.h> #include <shogun/base/init.h> #include <shogun/lib/common.h> #include <shogun/lib/io.h> #include <stdio.h> using namespace std; using namespace shogun; void print_messa...
<commit_before>#ifndef SRC_NODES_BASE_NODE_HPP_ #define SRC_NODES_BASE_NODE_HPP_ #include <flexcore/extended/node_fwd.hpp> #include <flexcore/ports.hpp> #include <adobe/forest.hpp> #include <cassert> #include <string> #include <memory> namespace fc { class graph_node : public node { public: graph_node(graph::conne...
<commit_before>#define SP_USE_DEBUG 1 #include "simplesp.h" #include "spex/spgl.h" using namespace sp; class KinectFusionGUI : public BaseWindow { private: // Kinect Fusion KinectFusion m_kfusion; CamParam m_cam; // image Mem2<Col3> m_img; // object mesh model Mem1<Mesh3> m_model; ...
<commit_before>/// @file /// @author uentity /// @date 22.11.2017 /// @brief BS tree-related functions impl /// @copyright /// 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 https://mozilla.org/M...
<commit_before>// __BEGIN_LICENSE__ // Copyright (C) 2006-2010 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <vw/gui/WebTileGenerator.h> #include <vw/FileIO/MemoryImageResource.h> using namespa...
<commit_before>#include "sim.h" #include <sim/file.h> #include <simlib/filesystem.h> Sim::FilePermissions Sim::files_get_permissions(ContestPermissions cperms) noexcept { STACK_UNWINDING_MARK; using PERM = FilePermissions; using CPERM = ContestPermissions; if (uint(cperms & CPERM::ADMIN)) { return PERM::ADD | ...
<commit_before>/** * @file strings.hpp * @brief Elementary algorithms from e-maxx.ru library * @author Ivan Deviatkin <devyatkin.ivan@gmail.com>, great thanks to Maksim Ivanov **/ #pragma once #include <vector> #include <string> namespace Fudzi { /* * Class stores algorithms related to strings op...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2014 Paul Asmuth, Google Inc. * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public Licen...
<commit_before>#ifndef STAN_MATH_OPENCL_KERNEL_CL_HPP #define STAN_MATH_OPENCL_KERNEL_CL_HPP #ifdef STAN_OPENCL #include <stan/math/opencl/buffer_types.hpp> #include <stan/math/opencl/matrix_cl_view.hpp> #include <stan/math/opencl/opencl_context.hpp> #include <stan/math/opencl/matrix_cl.hpp> #include <stan/math/opencl...
<commit_before>#ifndef STAN_MATH_PRIM_FUN_INV_PHI_HPP #define STAN_MATH_PRIM_FUN_INV_PHI_HPP #include <stan/math/prim/fun/abs.hpp> #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/constants.hpp> #include <stan/math/prim/fun/log1m.hpp> #include <stan/math/prim/fun/Phi.hp...
<commit_before>//Moose Includes #include "Moose.h" #include "UpdateAuxVars.h" #include "KernelFactory.h" #include "MaterialFactory.h" #include "BoundaryCondition.h" #include "BCFactory.h" #include "ParallelUniqueId.h" //libMesh includes #include "numeric_vector.h" #include "petsc_matrix.h" #include "sparse_matrix.h" #...
<commit_before>/* * Copyright (c) [2004-2014] Novell, Inc. * Copyright (c) [2016-2017] 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. *...
<commit_before><commit_msg>INTEGRATION: CWS ooo64bit01 (1.7.414); FILE MERGED 2004/03/15 23:18:30 fa 1.7.414.1: First bits of 64-bitness. #i25651# & more<commit_after><|endoftext|>
<commit_before>#pragma once namespace frea { #define countof(a) (sizeof(a)/sizeof(a[0])) #define DEF_OP(func, op) \ template <class R> \ static auto func(const R& t0, const R& t1) { \ R ret; \ for(int i=0 ; i<int(countof(t0.m)) ; i++) \ ret.m[i] = t0.m[i] op t1.m[i]; \ return ret; \ } template <c...
<commit_before>#pragma once #include <cassert> #include <cstring> #include <string> #include <unordered_map> namespace xmlpp { enum class entity_type { tag }; /** * @brief A parser adhering to SAX inteface. * * The class itself acts as an iterator, a foward one. So each * time you call next() (or operator++()) i...
<commit_before>/*$TET$actor*/ /*--------------------------------------------------------------------------*/ /* Copyright 2017 Sergei Vostokin */ /* */ /* Licensed under the Apache License, Version 2.0 (t...
<commit_before>/* Copyright (c) 2015 Michael C. Miller. All right reserved. 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...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: imp_op.hxx,v $ * * $Revision: 1.35 $ * * last change: $Author: rt $ $Date: 2006-01-13 16:59:52 $ * * The Contents of this file are made a...
<commit_before> #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "kmmimeparttree.h" #include "kmreaderwin.h" #include "partNode.h" #include "kmmsgpart.h" #include "kmkernel.h" #include "objecttreeparser.h" using KMail::ObjectTreeParser; #include <kdebug.h> #include <klocale.h> #include <kfiledialog.h> #inclu...
<commit_before><commit_msg>Adds NetCDF outputs NPP, GPP, Burned soil C.<commit_after><|endoftext|>
<commit_before><commit_msg>Skip cameras without global R in viewer<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2004, Mart Kelder (mart.kde@hccnet.nl) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later ...
<commit_before>#include "formulation/scalar/cfem_diffusion.h" #include <array> #include <memory> #include <cstdlib> #include "data/cross_sections.h" #include "domain/tests/finite_element_mock.h" #include "material/tests/mock_material.h" #include "test_helpers/gmock_wrapper.h" #include "test_helpers/test_helper_functi...
<commit_before><commit_msg>Refactored ConsumeLoop and ConsumeNum Execute()<commit_after><|endoftext|>
<commit_before><commit_msg>Added test02 information<commit_after><|endoftext|>
<commit_before><commit_msg>INTEGRATION: CWS calcuno01 (1.14.242); FILE MERGED 2005/03/07 15:53:04 sab 1.14.242.5: #i22706#; solve merge conflicts 2005/02/22 13:04:09 sab 1.14.242.4: RESYNC: (1.16-1.17); FILE MERGED 2005/01/06 10:49:15 sab 1.14.242.3: RESYNC: (1.15-1.16); FILE MERGED 2004/10/13 11:07:44 sab 1.14.242.2: ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: docglos.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2006-08-14 15:58:24 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * $RCSfile: pagefrm.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: od $ $Date: 2002-09-03 07:51:04 $ * * 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: unsort.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2006-08-14 16:51:45 $ * * The Contents of this file are made av...
<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>// Copyright 2019 The TCMalloc Authors // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applic...
<commit_before>/** * @file lcc_main.cpp * @author Nishant Mehta * * Executable for Local Coordinate Coding. */ #include <mlpack/core.hpp> #include "lcc.hpp" PROGRAM_INFO("Local Coordinate Coding", "An implementation of Local Coordinate Coding (LCC), which " "codes data that approximately lives on a manifo...
<commit_before>/** * @file sparse_coding_impl.hpp * @author Nishant Mehta * * Implementation of Sparse Coding with Dictionary Learning using l1 (LASSO) or * l1+l2 (Elastic Net) regularization. */ #ifndef __MLPACK_METHODS_SPARSE_CODING_SPARSE_CODING_IMPL_HPP #define __MLPACK_METHODS_SPARSE_CODING_SPARSE_CODING_IMP...
<commit_before>/** * @file * @brief Implementation of ROOT data file reader module * @copyright Copyright (c) 2017 CERN and the Allpix Squared authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the pr...
<commit_before><commit_msg>return nullptr in indirect symbol if indirect symbol could not resolve<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2011-2014 Intel Corporation. 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 ...
<commit_before>/* This file is part of the KDE project Copyright (C) 2006 Matthias Kretz <kretz@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 version 2 as published by the Free Software Foundation. This l...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2014, University of Toronto * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
<commit_before>// // Copyright (c) 2016 CNRS // Authors: Florent Lamiraux // // This file is part of hpp-core // hpp-core 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 // 3 of the Lic...
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availa...
<commit_before>/******************************************************************************* * thrill/core/stage_builder.hpp * * Part of Project Thrill. * * Copyright (C) 2015 Sebastian Lamm <seba.lamm@gmail.com> * * This file has no license. Only Chuck Norris can compile it. ********************************...
<commit_before>/* Copyright 2015 The TensorFlow 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/licenses/LICENSE-2.0 Unless required by appl...
<commit_before><commit_msg>fix linux build<commit_after><|endoftext|>
<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>// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s // RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s // RUN: %clangxx_asan -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s // REQUIRES: compiler-rt...
<commit_before>// brpc - A framework to host and access services throughout Baidu. // Copyright (c) 2014 Baidu, Inc. // Date: 2018/09/19 14:51:06 #include <pthread.h> #include <gtest/gtest.h> #include <gflags/gflags.h> #include "butil/macros.h" #include "bthread/bthread.h" #include "brpc/circuit_breaker.h" #include "...
<commit_before>/* * ===================================================================================== * * Filename: warp.cpp * * Description: Demonstrate various projection of an image onto a flat screen * * Version: 0.0.1 * Created: 06/03/2014 13:38:27 * Revision: none *...
<commit_before>#include "Halide.h" #include <stdio.h> #ifndef _MSC_VER #include <unistd.h> #endif using namespace Halide; int main(int argc, char **argv) { // Make sure it's possible to generate object files for lots of // targets. This provides early warning that you may have broken // Halide on some o...
<commit_before>/** * Copyright (C) Mellanox Technologies Ltd. 2001-2016. ALL RIGHTS RESERVED. * Copyright (C) UT-Battelle, LLC. 2016. ALL RIGHTS RESERVED. * Copyright (C) ARM Ltd. 2016.All rights reserved. * See file LICENSE for terms. */ extern "C" { #include <uct/api/uct.h> #include <uct/ib/rc/base/rc_ep.h> #includ...
<commit_before>/************************************************************************* * * $RCSfile: markarr.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: er $ $Date: 2002-01-18 12:01:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before><commit_msg>properly inherit relative and 3D flags when extending, tdf#83365 related<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: formel.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: vg $ $Date: 2007-02-27 12:33:39 $ * * The Contents of this file are made av...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xeroot.hxx,v $ * * $Revision: 1.18 $ * * last change: $Author: obo $ $Date: 2006-03-22 12:07:50 $ * * The Contents of this file are made ...
<commit_before>//===-- RecordLayout.cpp - Layout information for a struct/union -*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===--- CGBlocks.cpp - Emit LLVM Code for declarations -------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#ifndef _ANY_H #define _ANY_H #include <iostream> #include <memory> #include <typeindex> class Any { public: Any() : m_typeIndex(std::type_index(typeid(void))) {} Any(Any& other) : m_basePtr(other.clone()), m_typeIndex(other.m_typeIndex) {} Any(Any&& other) : m_basePtr(std::move(other.m_bas...
<commit_before>#include "nwg_server.h" namespace Nwg { void EVCB::doAccept(evutil_socket_t listener, short event, void *arg) { // printf("doAccept()\n"); ListenerEventArg *listenerEventArg = (ListenerEventArg *) arg; struct event_base *base = listenerEventArg->base; Server &server = *listenerEventAr...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (C) 2010 Dan Leinir Turthra Jensen <admin@leinir.dk> * Copyright (c) 2010 Arjen Hiemstra <ahiemstra@heimr.nl> * * This library is free software; you can r...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/isteps/istep16/call_host_activate_slave_cores.C $ ...
<commit_before>#include "MiNodeMIC.h" MiNodeMIC::MiNodeMIC() : pin(NULL),currentAD(-1),count(0) { this->baseId = MINODE_ID_MODULE_LIGHT; system_timer_add_component(this); } MiNodeMIC::~MiNodeMIC() { if(pin) { delete pin; } system_timer_remove_component(this); } void MiNodeMIC::attach(AnalogConnName con...
<commit_before>#include "MoveDummy.h" #include "ObjectDummy.h" #include "BodyDummy.h" #include "ShapeCapsule.h" #include "Utils.h" #include "Engine.h" #include "Physics.h" #include "Game.h" #include "World.h" #define MOVE_DUMMY_IFPS (1.0f/100.0f) #define MOVE_DUMMY_CLAMP 89.9f #define MOVE_DUMMY_COLLISI...
<commit_before> #ifndef AT_FILE_HPP #define AT_FILE_HPP #include "atSymbols.h++" // Microsoft has a different name for the access function. // The flags for read access, write access, and so on also need to be defined. #ifdef _MSC_VER #include <direct.h> #include <io.h> #define chdir _chdir #define ...
<commit_before>//===-- sanitizer_win.cc --------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "OSGWidget.h" #include "PickHandler.h" #include <osg/Camera> #include <osg/DisplaySettings> #include <osg/Geode> #include <osg/Material> #include <osg/Shape> #include <osg/ShapeDrawable> #include <osg/StateSet> #include <osgDB/WriteFile> #include <osgGA/EventQueue> #include <osgGA/TrackballM...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>//===------ macho2yaml.cpp - obj2yaml conversion tool -----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/**************************************************************************** ** ** Copyright (C) 1992-$THISYEAR$ $TROLLTECH$. All rights reserved. ** ** This file is part of the $MODULE$ of the Qt Toolkit. ** ** $TROLLTECH_DUAL_LICENSE$ ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INC...
<commit_before>#pragma once //=====================================================================// /*! @file @brief EFO Test・アプリケーション・クラス @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/bl...
<commit_before>/********************************************************************* ** Author: Zach Colbert ** Date: 1 November 2017 ** Description: *********************************************************************/ #include <string> #include "Player.hpp" #ifndef TEAM_HPP #define TEAM_HPP class Team { priva...
<commit_before>/* * Object to format common types of MIDI events into raw MIDI event dictionaries * Copyright © 2011, Timothy Place * * License: This code is licensed under the terms of the "New BSD License" * http://creativecommons.org/licenses/BSD/ */ #include "TTGraphObjectBase.h" #include "TTMidiFormat.h" ...
<commit_before>// [standard includes] #include <vector> #include <set> #include <queue> #include <algorithm> #include <fstream> #include <sstream> #include <iostream> #include <thread> #include <mutex> #include <condition_variable> #include <atomic> #include <memory> #include <cstdio> #include <typeinfo> // [external ...
<commit_before>/* GNE - Game Networking Engine, a portable multithreaded networking library. * Copyright (C) 2001 Jason Winnebeck (gillius@mail.rit.edu) * Project website: http://www.rit.edu/~jpw9607/ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Ge...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 The Apache Software Foundation. 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. Redi...
<commit_before>//Jordan Cazamias //9-19-2012 #include <iostream> #include <string> #include <sstream> #include <fstream> #include <vector> #include <assert.h> #include <stdlib.h> using namespace std; int main(int argc, char *argv[]) { ifstream input; stringstream ss; const int IGNORE_LINES = 3; //Number of init...
<commit_before>//===- lib/MC/MCAsmStreamer.cpp - Text Assembly Output --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===-- Writer.cpp - Library for Printing VM assembly files ------*- C++ -*--=// // // This library implements the functionality defined in llvm/Assembly/Writer.h // // This library uses the Analysis library to figure out offsets for // variables in the method tables... // // TODO: print out the type nam...
<commit_before>/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 r...
<commit_before>#include "context.h" #include "runtime.h" #include "value.h" #include "function_arguments.h" // The class of the global object. static JSClass globalClass = { "global", JSCLASS_GLOBAL_FLAGS, JS_PropertyStub, JS_DeletePropertyStub, JS_PropertyStub, JS_StrictPropertyStub, JS_En...
<commit_before>/* This file is part of the KDE project Copyright (C) 2004 David Faure <faure@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 version 2 as published by the Free Software Foundation. This library is...
<commit_before>/* ***** BEGIN LICENSE BLOCK ***** * * Copyright (C) 2014, Peter Hatina <phatina@redhat.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, either version ...