text
stringlengths
54
60.6k
<commit_before>// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #include "OpenableControlViewModelBase.h" #include "IReactionControllerModel.h" namespace ExampleApp { namespace OpenableControl { namespace View { OpenableControlViewModelBase::OpenableControlViewModelBase(Reac...
<commit_before>/* * Copyright (C) 2004-2009 See the AUTHORS file for details. * * 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. */ #include "DCCSock.h" #include "User.h" #inclu...
<commit_before>//===--- Stack.h - Utilities for dealing with stack space -------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before> // Copyright (c) 2012, 2013 Pierre MOULON. // 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 "openMVG/robust_estimation/rand_sampling.hpp" #i...
<commit_before> // // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2018 Francois Beaune, The appleseedhq ...
<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 // "Lic...
<commit_before>#ifndef STAN_ANALYZE_MCMC_COMPUTE_POTENTIAL_SCALE_REDUCTION_HPP #define STAN_ANALYZE_MCMC_COMPUTE_POTENTIAL_SCALE_REDUCTION_HPP #include <stan/math/prim/mat.hpp> #include <stan/analyze/mcmc/autocovariance.hpp> #include <stan/analyze/mcmc/split_chains.hpp> #include <boost/accumulators/accumulators.hpp> #...
<commit_before>// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2009 Eckhart Wörner <ewoerner@kde.org> // #include "GpsdConnection....
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 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>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usag...
<commit_before>/** Copyright (c) 2012, 2013 * Ares Programming Language Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the abov...
<commit_before>/* * Copyright 2001,2004 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 * * Unl...
<commit_before>#include "dsa_common.h" #include "simple_storage.h" #include <boost/asio/strand.hpp> #include <boost/filesystem.hpp> #include <fstream> namespace dsa { namespace fs = boost::filesystem; using boost::filesystem::path; #if (defined (_WIN32) || defined (_WIN64)) static std::string storage_root = "C:\\te...
<commit_before>// STL #include <iostream> #include <string> // CPPUNIT #include <test/com/CppUnitCore.hpp> // RMOL #include <rmol/RMOL_Service.hpp> // RMOL Test Suite #include <test/OptimiseTestSuite.hpp> // ////////////////////////////////////////////////////////////////////// void testOptimiseHelper() { try { ...
<commit_before><commit_msg>remove reseed division<commit_after><|endoftext|>
<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 "base/string_piece.h" #include "base/string_util.h" #include "base/sys_string_conversions.h" #include "testing/gtest/incl...
<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 "base/message_loop.h" #include "base/platform_thread.h" #include "base/waitable_event.h" #include "base/waitable_event_wa...
<commit_before>/** * @file ModelParametersIRFRLS.hpp * @brief ModelParametersIRFRLS class header file. * @author Freek Stulp, Thibaut Munzer * * This file is part of DmpBbo, a set of libraries and programs for the * black-box optimization of dynamical movement primitives. * Copyright (C) 2014 Freek Stulp, EN...
<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 "gpu/command_buffer/service/shader_translator.h" #include <string.h> #include "base/at_exit.h" #include "base/logging.h" na...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // author: Baozeng Ding <sploving1@gmail.com> // author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch> // // This file is dual-licensed: you can choose to license it under t...
<commit_before>// btlso_tcptimereventmanager.cpp -*-C++-*- // ---------------------------------------------------------------------------- // NOTICE // // This component is not up to date with current BDE coding standards, and // should not be used ...
<commit_before>#include "sharedmemorysource.h" #include "shared/guiconst.h" #include "shmtypes/sharedmemorysourcebasewidget.h" #include "shmtypes/sharedmemconnector.h" #include "shmtypes/sharedmemposix.h" #ifdef Q_OS_UNIX #include "shmtypes/sysv_shm.h" #endif const QString SharedMemorySource::ID = QString("SharedMemor...
<commit_before>/* Copyright (c) 2008-2019 the MRtrix3 contributors. * * 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/. * * Covered Software is provided under this L...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (c) 2010 Arjen Hiemstra <ahiemstra@heimr.nl> * Copyright (c) 2010 Laszlo Papp <djszapi@archlinux.us> * * This library is free software; you can redistribu...
<commit_before>/* Copyright (C) 2015 Vladimir "allejo" Jimenez 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, me...
<commit_before>/* ptptest.cc - PLIC Test Program * Copyright (C) 2008 Tim Janik * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your op...
<commit_before>#include <curses.h> #include <stdio.h> #include "debugC.h" #include "machine.h" using namespace std; debugC::debugC(machine* BFM){ localMachine = BFM; } debugC::~debugC(){ delete this; } void debugC::setupDebugger(){ initscr(); raw(); noecho(); start_color(); curs_set(0); init_pair(1, COLOR_...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * * Razor - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2011 Razor team * Authors: * Alexander Sokoloff <sokoloff.a@gmail.ru> * * This program or library is free software; you can redistribute it * and/or modify it under the t...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p10/procedures/hwp/io/p10_io_init_done.C $ ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/mss_utils.H $ ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/* Luwra * Minimal-overhead Lua wrapper for C++ * * Copyright (C) 2015, Ole Krüger <ole@vprsm.de> */ #ifndef LUWRA_STATEWRAPPER_H_ #define LUWRA_STATEWRAPPER_H_ #include "common.hpp" #include "auxiliary.hpp" #include <string> #include <utility> LUWRA_NS_BEGIN /** * Accessor for an entry in the ...
<commit_before>//.............................................................................. // // This file is part of the Jancy toolkit. // // Jancy is distributed under the MIT license. // For details see accompanying license.txt file, // the public copy of which is also available at: // http://tibbo.com/dow...
<commit_before>/* ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio 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>/* The OpenTRV project licenses this file to you under the Apache Licence, Version 2.0 (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
<commit_before>#ifndef REFLEXION_STRUCT2_HPP #define REFLEXION_STRUCT2_HPP #include <boost/preprocessor/seq/for_each.hpp> #include <boost/preprocessor/seq/for_each_i.hpp> #include <boost/preprocessor/variadic/to_seq.hpp> #include <boost/preprocessor/cat.hpp> #define RXN_GENERATE_FIELDS(r, fields, generato...
<commit_before>/******************************************************************************* * Common definitions for parsing sample data. ******************************************************************************/ #include "sys/time.h" #include "sample_data.hpp" //Get the time in milliseconds uint64_t msecT...
<commit_before>#include <numeric> #include <ros/ros.h> #include <algorithm> #include <geometry_msgs/PointStamped.h> #include <geometry_msgs/PoseStamped.h> #include <pcl/point_types.h> #include <pcl_ros/point_cloud.h> #include <pcl/point_cloud.h> #include <tf/transform_listener.h> #include <opencv/cv.h> #include <image...
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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>// Hossein Moein // July 24, 2019 /* Copyright (c) 2019-2022, Hossein Moein All rights reserved. Redistribution and use in source and binary forms, with or without odification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright ...
<commit_before>#ifndef ALEPH_PERSISTENT_HOMOLOGY_CALCULATION_HH__ #define ALEPH_PERSISTENT_HOMOLOGY_CALCULATION_HH__ #include <aleph/config/Defaults.hh> #include <aleph/persistenceDiagrams/PersistenceDiagram.hh> #include <aleph/persistenceDiagrams/Calculation.hh> #include <aleph/persistentHomology/PersistencePairing...
<commit_before>// // Copyright (c) 2013-2014 Christoph Malek // See LICENSE for more information. // #ifndef RJ_CORE_MAIN_MENU_MENU_START_HPP #define RJ_CORE_MAIN_MENU_MENU_START_HPP #include "items.hpp" #include "menu_component.hpp" #include <rectojump/game/components/player.hpp> #include <rectojump/game/factory.hp...
<commit_before>// Copyright 2014 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 "components/cronet/android/cronet_library_loader.h" #include <jni.h> #include "base/android/base_jni_registrar.h" #include "base...
<commit_before>/**************************************************************************** * * Copyright (c) 2018 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
<commit_before>#include <errno.h> #include <netdb.h> #include <poll.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <linux/errqueue.h> #include <linux/icmp.h> #include <sys/socket.h> #include <sys/time.h> #include "udpping.h" namespace { bool getAddress(const QString &address, sockaddr_any ...
<commit_before>/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>/* * Copyright (c) 2016 Boulanger Guillaume, Chathura Namalgamuwa * The file is distributed under the MIT license * The license is available in the LICENSE file or at https://github.com/boulangg/phoenix/blob/master/LICENSE */ #include <mm/VirtualArea.hpp> #include <include/constant.h> #include <algo...
<commit_before>#include "twitter.h" #include <QUrl> #include <QNetworkAccessManager> #define STR__(x) #x #define STR_(x) STR__(x) // うーむ、 static const int dataStreamVersion = QDataStream::Qt_5_8; static const QString keyAuthToken = "token"; static const QString keyAuthTokenSecret = "tokenSecret"; static const QString...
<commit_before>// // Copyright (c) 2011 Kim Walisch, <kim.walisch@gmail.com>. // All rights reserved. // // This file is part of primesieve. // Homepage: http://primesieve.googlecode.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
<commit_before>#include "splitSolver.h" #include "readConfig.h" void SplitSolver::setOptions(const ConfigOptions& options_) { options = options_; useBalancedSplitting = (options.splittingMethod == "balanced"); dt = options.globalTimestep; } void SplitSolver::resize(index_t nRows, index_t nCols) { stat...
<commit_before> #include "stringmanip.h" #include "types.h" #include <cstdio> #include <sstream> #include <iomanip> #include <algorithm> #ifdef __linux__ #include <dirent.h> #include <sys/stat.h> #elif _WIN32 #include <windows.h> #endif uint32 CountCharsInString(const std::string &strTarget, uchar8 chChar){ uint32...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "cling/Interpreter/CIFactory.h...
<commit_before>/* * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood * 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 *...
<commit_before>#include "util/typedefs.hpp" #include "util/coordinate_calculation.hpp" #include "util/dynamic_graph.hpp" #include "util/static_graph.hpp" #include "util/fingerprint.hpp" #include "util/graph_loader.hpp" #include "util/make_unique.hpp" #include "util/exception.hpp" #include "util/simple_logger.hpp" #incl...
<commit_before>#include <sys/time.h> #include <iostream> #include <stack> #define SMOOTH(s) for(int _smooth=0;_smooth<s;++_smooth) /* Return the time spent in secs. */ inline double operator- ( const struct timeval & t1,const struct timeval & t0) { return (t1.tv_sec - t0.tv_sec)+1e-6*(t1.tv_usec - t0.tv_usec); } ...
<commit_before>#include "Array.h" #include "preprocessor/llvm_includes_start.h" #include <llvm/IR/Module.h> #include <llvm/IR/Function.h> #include "preprocessor/llvm_includes_end.h" #include "RuntimeManager.h" #include "Runtime.h" #include "Utils.h" #include <set> // DEBUG only namespace dev { namespace eth { names...
<commit_before>/* * * Copyright (C) 2016 Luxon Jean-Pierre * gumichan01.olympe.in * * This library is under the MIT license * * Luxon Jean-Pierre (Gumichan01) * luxon.jean.pierre@gmail.com * */ #ifndef UTF8_STRING_HPP_INCLUDED #define UTF8_STRING_HPP_INCLUDED #include <string> #include <iostream> class UTF8iterato...
<commit_before>// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details #include "meshoptimizer.h" #include <assert.h> #include <string.h> // This work is based on: // TODO: references namespace meshopt { const size_t kVertexBlockSize = 256; static unsigned char* encodeVertexBl...
<commit_before>/* Copyright © 2010, 2011, 2012 Vladimír Vondruš <mosra@centrum.cz> This file is part of Magnum. Magnum is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 only, as published by the Free Software Foundation. ...
<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 // "Lic...
<commit_before>/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * 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>/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in s...
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // sqlite.cpp // // Identification: src/wire/sqlite.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===------------------------------------------------...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2011 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, 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>/* This file is part of Kontact. Copyright (c) 2001 Matthias Hoelzer-Kluepfel <mhk@kde.org> 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...
<commit_before>//===--- AMDGPUPropagateAttributes.cpp --------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>// Copyright 2013 Sean McKenna // // 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 ...
<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 // "Lic...
<commit_before>// This file is part of the "libxzero" project // (c) 2009-2015 Christian Parpart <https://github.com/christianparpart> // (c) 2014-2015 Paul Asmuth <https://github.com/paulasmuth> // // libxzero is free software: you can redistribute it and/or modify it under // the terms of the GNU Affero General P...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // // File SharedArray.hpp // // For more information, please see: http://www.nektar.info // // The MIT License // // Copyright (c) 2006 Scientific Computing and Imaging Institute, // University of Utah (USA) and Department o...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id: Value.cpp 48537 2013-02-11 17:30:03Z vvassilev $ // author: Axel Naumann <axel@cern.ch> //----------------------------------------------------------------------...
<commit_before>//===-- TargetData.cpp - Data size & alignment routines --------------------==// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. //...
<commit_before>// Copyright 2014 Toggl Desktop developers. #include <QApplication> #include <QMetaType> #include <QDebug> #include <QVector> #include <stdint.h> #include <stdbool.h> #include "qtsingleapplication.h" // NOLINT #include <QCommandLineParser> #include "./autocompleteview.h" #include "./bugsnag.h" #incl...
<commit_before> /*! * \file cuda_utilities_tests.cpp * \author Robert 'Bob' Caddy (rvc@pitt.edu), Helena Richie (helenarichie@pitt.edu) * \brief Tests for the contents of cuda_utilities.h and cuda_utilities.cpp * */ // STL Includes #include <vector> #include <string> #include <iostream> // External Includes #inc...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, PAL Robotics, S.L. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
<commit_before>/*************************************************************************** * Copyright (C) 2004 by * * Jason Kivlighn (jkivlighn@gmail.com) * * * ...
<commit_before>/* Copyright 2018 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>sal_Bool -> bool in address.cxx<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: optutil.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: ihi $ $Date: 2006-08-04 12:12:20 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: xelink.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2003-11-05 13:40:19 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>/************************************************************************* * * $RCSfile: xeroot.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2003-08-07 15:30:48 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>/************************************************************************* * * $RCSfile: xeroot.hxx,v $ * * $Revision: 1.15 $ * * last change: $Author: vg $ $Date: 2005-02-21 13:43:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before><commit_msg>(multiplayer-basic) Cleanup of a few code comments.<commit_after><|endoftext|>
<commit_before>#include "gmock/gmock.h" #include "gtest/gtest.h" #include "physics/solar_system.hpp" #include "quantities/quantities.hpp" #include "quantities/si.hpp" #include "integrators/symplectic_runge_kutta_nyström_integrator.hpp" #include "geometry/epoch.hpp" #include "geometry/named_quantities.hpp" namespace p...
<commit_before> #include "drake/examples/kuka_iiwa_arm/iiwa_simulation.h" #include "drake/examples/kuka_iiwa_arm/iiwa_status.h" #include "drake/Path.h" #include "drake/systems/LCMSystem.h" #include "drake/systems/plants/BotVisualizer.h" #include "drake/systems/plants/RigidBodyTree.h" #include "lcmtypes/drake/lcmt_iiwa...
<commit_before>#include "gmock/gmock.h" #include "gtest/gtest.h" #include "physics/solar_system.hpp" #include "quantities/quantities.hpp" #include "quantities/si.hpp" #include "integrators/symplectic_runge_kutta_nyström_integrator.hpp" #include "geometry/epoch.hpp" #include "geometry/named_quantities.hpp" #include "qu...
<commit_before>/** @file * * @ingroup dspWindowFunctionLib * * @brief Generalized Window Function Wrapper for Jamoma DSP * * @details * * @authors Tim Place, Nathan Wolek, Trond Lossius, * * @copyright Copyright © 2010 by Timothy Place @n * This code is licensed under the terms of the "New BSD License" @n *...
<commit_before>/* Copyright (C) 2002 by Jorrit Tyberghein, Daniel Duhprey 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 ...
<commit_before><commit_msg>coverity#1226487 Dereference null return value<commit_after><|endoftext|>
<commit_before>/// \file ROOT/RError.h /// \ingroup Base ROOT7 /// \author Jakob Blomer <jblomer@cern.ch> /// \date 2019-12-11 /// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback /// is welcome! /******************************************************...
<commit_before>// ========================================================================== // samcat // ========================================================================== // Copyright (c) 2006-2014, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and use ...
<commit_before>/*************************************************************************** * Copyright (C) 2007 by Robert Zwerus <arzie@dds.nl> * * * * This program is free software; you can redistribute it and/or modify ...
<commit_before>/* * Copyright (c) 2017 SLIBIO. All Rights Reserved. * * This file is part of the SLib.io 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 at http://mozilla.org/MPL...
<commit_before>/** * @file kmeans_main.cpp * @author Ryan Curtin * * Executable for running K-Means. */ #include <mlpack/core.hpp> #include "kmeans.hpp" #include "allow_empty_clusters.hpp" #include "refined_start.hpp" using namespace mlpack; using namespace mlpack::kmeans; using namespace std; // Define paramet...
<commit_before>/** * @file cnn_pooling_connection.hpp * @author Shangtong Zhang * @author Marcus Edel * * Implementation of the pooling connection between input layer and output layer * for the convolutional neural network. */ #ifndef __MLPACK_METHODS_ANN_CONNECTIONS_POOLING_CONNECTION_HPP #define __MLPACK_METHO...
<commit_before>/** * @file dual_tree_kmeans_rules_impl.hpp * @author Ryan Curtin * * A set of tree traversal rules for dual-tree k-means clustering. */ #ifndef __MLPACK_METHODS_KMEANS_DUAL_TREE_KMEANS_RULES_IMPL_HPP #define __MLPACK_METHODS_KMEANS_DUAL_TREE_KMEANS_RULES_IMPL_HPP // In case it hasn't been included...
<commit_before>#include "ctextparser.h" DISABLE_COMPILER_WARNINGS #include <QDebug> RESTORE_COMPILER_WARNINGS #include <set> inline int priority(TextFragment::Delimiter delimiter) { return delimiter; } CStructuredText CTextParser::parse(const QString& text) { struct Delimiter { QChar delimiterCh...
<commit_before>// Copyright (C) 2013 by Martin Moene // // 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...