text
stringlengths
54
60.6k
<commit_before>#include "stdafx.h" #include "AdvCalc.h" #include <intrin.h> AdvCalc::AdvCalc() { // ڴ m_pV = (float*)_aligned_malloc(sizeof(float) * c_len, 64); // for (int i = 0;i < c_len;i++) { m_pV[i] = 1.0f * rand() / RAND_MAX; } } AdvCalc::~AdvCalc() { _aligned_free(m_pV); m_pV = NULL; } // SIMD֧ BOOL...
<commit_before>#define png_infopp_NULL (png_infopp)NULL #define int_p_NULL (int*)NULL #include <boost/gil/extension/io/png_io.hpp> #include <cctag/fileDebug.hpp> #include <cctag/visualDebug.hpp> #include <cctag/progBase/exceptions.hpp> #include <cctag/progBase/MemoryPool.hpp> #include <cctag/detection.hpp> #include <c...
<commit_before><commit_msg>Fix warning<commit_after><|endoftext|>
<commit_before>#include <osgDB/Registry> #include <osgDB/Input> #include <osgDB/Output> #include <osgDB/WriteFile> #include <osg/ref_ptr> #include <iostream> #include "TXPNode.h" using namespace osg; bool TXPNode_readLocalData(osg::Object &obj, osgDB::Input &fr); bool TXPNode_writeLocalData(const osg::Object &obj, o...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>#include <sstream> #include <algorithm> #include <set> #include <memory> #include <dlfcn.h> #include "plugin-loader.hpp" #include "wayfire/output-layout.hpp" #include "wayfire/output.hpp" #include "../core/wm.hpp" #include "wayfire/core.hpp" #include <wayfire/util/log.hpp> namespace { template<clas...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AResultSetMetaData.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: obo $ $Date: 2006-09-17 02:15:19 $ * * The Contents of this fi...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo 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 ...
<commit_before>/**************************************************************************** * * USBSerial core library for Arduino STM32 + HAL + CubeMX (HALMX). * * Copyright (c) 2016 by Vassilis Serasidis <info@serasidis.gr> * Home: http://www.serasidis.gr * email: avrsite@yahoo.gr * * Arduino_STM32 f...
<commit_before>//-----------------------------------------------------------------------bl- //-------------------------------------------------------------------------- // // GRINS - General Reacting Incompressible Navier-Stokes // // Copyright (C) 2010-2013 The PECOS Development Team // // This library is free softw...
<commit_before>// Copyright (c) 2012 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 "chrome/browser/ui/webui/options/chromeos/keyboard_handler.h" #include "base/command_line.h" #include "base/values.h" #includ...
<commit_before>#include <qt/test/wallettests.h> #include <qt/test/util.h> #include <interfaces/chain.h> #include <interfaces/node.h> #include <qt/bitcoinamountfield.h> #include <qt/optionsmodel.h> #include <qt/platformstyle.h> #include <qt/qvalidatedlineedit.h> #include <qt/sendcoinsdialog.h> #include <qt/sendcoinsent...
<commit_before>#ifndef SAVE_STATE_H # define SAVE_STATE_H # pragma once struct statebuf { void* sp; void* label; }; #if defined(__GNUC__) inline bool savestate(statebuf& ssb) noexcept { bool r; #if defined(i386) || defined(__i386) || defined(__i386__) asm volatile ( "movl %%esp, %0\n\t" // store sp "movl $...
<commit_before>// Copyright 2019 Google LLC // // 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 applicable law ...
<commit_before>#include<iostream> #include<cstdio> #include<cctype> #include<string> #include<cstring> using namespace std; const int MAXN = 200 + 10; int dir[4][2] = {{1,0},{0,1},{-1,0},{0,-1}}; int m, n; int graph[MAXN][MAXN]; char alpha[7] = "ADJKSW"; int con[6]; int dic[6][2] = {{1, 0}, {3, 2}, {5, 1}, {4, 4}, {0...
<commit_before>/* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #include <iostream> #include <qi/log.hpp> #include <qimessaging/session.hpp> #include <qimessaging/url.hpp> #include "transportserver_p.hpp" #include "transportserverdummy_p.hpp" namespace qi { bool TransportServerDummyPr...
<commit_before>/* Copyright (c) 2003, 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>//===-- OptionGroupFormat.cpp -----------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "QXmppInformationRequestResult.h" #include "QXmppConstants.h" #include <QXmlStreamWriter> QXmppInformationRequestResult::QXmppInformationRequestResult() : QXmppIq(QXmppIq::Result) { } void QXmppInformationRequestResult::toXmlElementFromChild(QXmlStreamWriter *writer) const { writer->writeS...
<commit_before>#include "emu.h" #include <cstdio> #include "../fs/load.h" #include "../fs/util.h" EmuModule::EmuModule(SharedState& gui) : GUIModule(gui) { /*------------------------------- SDL init -------------------------------*/ fprintf(stderr, "[GUI][Emu] Initializing...\n"); // make window this->sd...
<commit_before>#ifndef FULL_MATRIX_HPP_ #define FULL_MATRIX_HPP_ #include <vector> #include <string> #include <iostream> #include <algorithm> #include "../Matrix.hpp" namespace aff3ct { namespace tools { /* * \param T must be int8_t or int16_t or int32_t or int64_t * Warning ! Never call modification methods (resi...
<commit_before>/****************************************************************************** * Copyright 2018 The Apollo 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 ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved */ #ifndef _Stroika_Foundation_Characters_StringBuilder_inl_ #define _Stroika_Foundation_Characters_StringBuilder_inl_ /* ******************************************************************************** ***********************...
<commit_before>#include <algorithm> #include <vector> #include "unittest/gtest.hpp" #include "btree/node.hpp" #include "btree/leaf_node.hpp" namespace unittest { // TODO: This is rather duplicative of fsck::check_value. void expect_valid_value_shallowly(const btree_value *value) { EXPECT_EQ(0, value->metadata_f...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 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. Redistri...
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved. #include "unittest/unittest_utils.hpp" #include <stdlib.h> #include "errors.hpp" #include <boost/bind.hpp> // These unit tests need to access some private methods. #include "arch/timing.hpp" #include "arch/runtime/starter.hpp" #include "rdb_proto...
<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>#include "lua.hpp" #include <osg/MatrixTransform> #include "osgLuaBinding.h" osg::Node* swig_lua_toOsgNode(lua_State* L, int index); osg::Node* lua_toOsgNode(lua_State *L, int index) { osg::ref_ptr<osg::Node> node = swig_lua_toOsgNode(L, index); if (!node && lua_istable(L, index) && lua_checkst...
<commit_before>/* * Copyright (C) 2008 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, thi...
<commit_before>#pragma once #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/version.hpp> #include "blackhole/error.hpp" #include "blackhole/factory.hpp" #include "blackhole/sink/files/rotation.hpp" namespace blackhole { namespace sink { class boost_backend_t { const boos...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2014 Ulrich von Zadow // // 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 of the Li...
<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> #include <gtest/gtest.h> #include <iostream> #include <array> #include "geometry.hpp" #include "origin.hpp" #include "point.hpp" #include "vector.hpp" TEST(Line, ShiftOrigin) { static constexpr const int dim = 3; using fptype = float; const fptype eps = 1e-4; struct TestCase { std::array<...
<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 (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #if !defined(CPPLINQ_LINQ_SELECT_HPP) #define CPPLINQ_LINQ_SELECT_HPP #pragma once namespace cpplinq { template <class Collection, class Selector> class linq_sel...
<commit_before>// RaceDetector.cpp (Oclgrind) // Copyright (c) 2013-2015, James Price and Simon McIntosh-Smith, // University of Bristol. All rights reserved. // // This program is provided under a three-clause BSD license. For full // license terms please see the LICENSE file distributed with this // source code. #in...
<commit_before>#pragma once #include <eosio/chain/types.hpp> #include <eosio/chain/webassembly/common.hpp> #include <eosio/chain/webassembly/eos-vm.hpp> #include <eosio/vm/backend.hpp> #include <eosio/vm/host_function.hpp> namespace eosio { namespace chain { namespace webassembly { namespace detail { templa...
<commit_before>/** * @file * @brief Parser */ #include <iostream> #include "parameter_parser.h" #include "parameters.h" taylortrack::utils::Parameters taylortrack::utils::ParameterParser::parse_streamer(int argc,const char **argv) { char *end; Parameters parameters; for(int i = 1; i < argc; i++) { if(arg...
<commit_before>/******************************************************************** Software License Agreement (BSD License) Copyright (c) 2016, Syler Wagner. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following cond...
<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>/* This file is part of KDE Kontact. Copyright (C) 2003 Cornelius Schumacher <schumacher@kde.org> Copyright (C) 2008 Rafael Fernández López <ereslibre@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 publis...
<commit_before>/* This file is part of KOrganizer. Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
<commit_before>/* This file is part of KOrganizer. Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> Copyright (c) 2004 David Faure <faure@kde.org> Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com> This program is free software; you can redistribute it and/or modify it under th...
<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>/********************************************************************** * $Id$ * * GEOS - Geometry Engine Open Source * http://geos.refractions.net * * Copyright (C) 2001-2002 Vivid Solutions Inc. * * This is free software; you can redistribute and/or modify it under * the terms of the GNU Lesse...
<commit_before>#include <sltypes.h> #include <slntuapi.h> #include <slc.h> #include <stdio.h> #include <pushbase.h> #include <hwinfo.h> #include <sladl.h> #include "AmdGpu.h" #define R6XX_CONFIG_MEMSIZE 0x5428 SlAdl RdnAdl; extern "C" UINT8 GetRadeonTemp() { UINT32 temp; temp = ReadGpuRegister(0x730); ...
<commit_before>// Copyright (c) 2010 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 "chrome/browser/views/options/content_settings_window_view.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #in...
<commit_before>/*************************************************************************** * Copyright (C) 2004 by * * Jason Kivlighn (jkivlighn@gmail.com) * * * ...
<commit_before>/*************************************************************************** * Copyright (C) 2004 by * * Jason Kivlighn (mizunoami44@users.sourceforge.net) * * Unai Garro (ugarro@users.sourceforge.net) * ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: BarChartTypeTemplate.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: vg $ $Date: 2007-05-22 18:45:18 $ * * The Contents of this fi...
<commit_before>/** @file Clculo del coste de los caminos mnimos. Algoritmo de Floyd. */ #include <iostream> using namespace std; #include <ctime> #include <cstdlib> #include <climits> #include <cassert> #include <cmath> static int const MAX_LONG = 10; /*******************************************...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <clifford@clifford.at> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission no...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before>/* This file is part of KOrganizer. Copyright (c) 2002 Cornelius Schumacher <schumacher@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 o...
<commit_before>/* This file is part of Magnum. Original authors — credit is appreciated but not required: 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 — Vladimír Vondruš <mosra@centrum.cz> 2013 — Jan Dupal <dupal.j@gmail.com> This is free and unencumbered softwar...
<commit_before>/* * This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT) * * Copyright (c) 2019 Grégory Van den Borre * * More infos available: https://engine.yildiz-games.be * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ass...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo 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 ...
<commit_before>/** * Copyright (c) 2011-2014 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin-explorer. * * libbitcoin-explorer 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 pub...
<commit_before>#include "FilesDecisionModel.h" FilesDecisionModel::FilesDecisionModel(TreeRootItem* root) : m_rootItem(root) { } FilesDecisionModel::~FilesDecisionModel() { if (m_rootItem) delete m_rootItem; } void FilesDecisionModel::setFilesInfo(TreeRootItem* rootItem) { m_rootItem = rootItem; ...
<commit_before>/* bzflag * Copyright (c) 1993 - 2005 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR ...
<commit_before>#include <rtcmix_types.h> #include <PField.h> #include <string.h> // for strcmp() #include <stdlib.h> // for free() Arg::~Arg() { if (_type == ArrayType) free(_val.array); } bool Arg::operator == (const char *str) const { return isType(StringType) && !strcmp(_val.string, str); } void Arg::printInl...
<commit_before>#include "REPL.h" #include "ConsoleWriter.h" #include <iostream> #include <parser/Parser.h> #include <common/Errors.h> #include <semantics/SemanticAnalyzer.h> #include <semantics/ScopedNodes.h> #include <cassert> #include <ast/ast.h> #include <semantics/GlobalScope.h> #include <semantics/FunctionOverload...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_draminit.C $ ...
<commit_before>/* Copyright (C) 2007 <SWGEmu> This File is part of Core3. 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 of the License, or (at your option) any later version....
<commit_before>/** * @file Cosa/Cipher/RC4.hh * @version 1.0 * * @section License * Copyright (C) 2013, Mikael Patel * * 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 * v...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include "libs/catch/catch.hpp" #include "libs/exceptionpp/exception.h" #include <iostream> #include "src/file.h" TEST_CASE("giga|config-probe") { giga::Config c = giga::Config(100, 200); std::shared_ptr<giga::Page> p (new giga::Page(1, "", 0, 100, false)); REQUIRE(c.probe(p, 0, 1000) == 200); REQ...
<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>/** \file system_monitor.cc * \brief Collect a few basic system metrics * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2019 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modi...
<commit_before>#include "Exception.h" using namespace CppUnit; const std::string CppUnit::Exception::UNKNOWNFILENAME = "<unknown>"; const int CppUnit::Exception::UNKNOWNLINENUMBER = -1; /// Construct the exception CppUnit::Exception::Exception (const Exception& other) : exception (other) { m_message =...
<commit_before>#include <qt/mintingtablemodel.h> #include <qt/mintingfilterproxy.h> #include <kernelrecord.h> #include <qt/transactiondesc.h> //#include <qt/guiutil.h> #include <qt/walletmodel.h> #include <qt/guiconstants.h> #include <qt/bitcoinunits.h> #include <qt/optionsmodel.h> #include <qt/addresstablemodel.h> ...
<commit_before>#include <osgAnimation/RigGeometry> #include <osgDB/ObjectWrapper> #include <osgDB/InputStream> #include <osgDB/OutputStream> static bool checkInfluenceMap( const osgAnimation::RigGeometry& geom ) { return geom.getInfluenceMap()->size()>0; } static bool readInfluenceMap( osgDB::InputStream& is, osg...
<commit_before>#include "transactionrecord.h" #include "headers.h" /* Return positive answer if transaction should be shown in list. */ bool TransactionRecord::showTransaction(const CWalletTx &wtx) { if (wtx.IsCoinBase()) { // Don't show generated coin until confirmed by at least one block after it ...
<commit_before>#include "utils.h" #include "crypto/sha2.h" #include "flaggedarrayset.h" #include "relayprocess.h" #include <stdio.h> #include <sys/time.h> #include <algorithm> #include <random> #include <string.h> #include <unistd.h> void fill_txv(std::vector<unsigned char>& block, std::vector<std::shared_ptr<std::ve...
<commit_before>#include "CUDADenseGraphBFSearcher.h" #include <sqaodc/common/internal/ShapeChecker.h> #include <sqaodc/cpu/SharedFormulas.h> #include "Device.h" #include <cmath> #include <float.h> #include <algorithm> #include <limits> namespace sqint = sqaod_internal; namespace sqcpu = sqaod_cpu; using namespace sqao...
<commit_before>/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file...
<commit_before>inline cov_mat_kth::cov_mat_kth( const std::string in_path, const std::string in_actionNames, const int in_scale_factor, const int in_shift, const int in_scene, //only for kth const int in_segment_length ) :path(in_path), actionNames(in_actionNames), scale_factor(in_scale_fact...
<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>/*========================================================================= Library: CTK Copyright (c) Kitware 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 ...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#include "mainwindow.h" #include "plugin.h" #include "pluginmanager.h" #include "pluginswindow.h" #include "ui_pluginswindow.h" #include <QDesktopServices> #include <QUrl> namespace OpenCOR { PluginDelegate::PluginDelegate(QStandardItemModel *pDataModel, QObject *pParen...
<commit_before>/* * Copyright 2014-2015 CyberVision, 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 a...
<commit_before>#include <QSettings> #include "QGCSettingsWidget.h" #include "MainWindow.h" #include "ui_QGCSettingsWidget.h" #include "LinkManager.h" #include "MAVLinkProtocol.h" #include "MAVLinkSettingsWidget.h" #include "GAudioOutput.h" //, Qt::WindowFlags flags QGCSettingsWidget::QGCSettingsWidget(QWidget *pare...
<commit_before>/* * Copyright (C) 2015 Luke San Antonio * All rights reserved. */ #include "element_iterator.h" namespace game { namespace ui { D_F_Elem_Iter::D_F_Elem_Iter(Shared_Element e) noexcept { path_.emplace_back(e); } D_F_Elem_Iter::D_F_Elem_Iter() noexcept { path_.emplace_back(nullptr); ...
<commit_before>#include "mapQGraphicsView.h" #include <QPointF> #include <QReadLocker> #include "poiQGraphicsEllipseItem.h" #include "wallQGraphicsLineItem.h" #include "atcQGraphicsRectItem.h" #include "fleetManager.h" #include <iostream> #include "mainwindow.h" #include <cmath> #include <QDebug> #include <QMessageBox>...
<commit_before>/* * This file is part of the CN24 semantic segmentation software, * copyright (C) 2015 Clemens-Alexander Brust (ikosa dot de at gmail dot com). * * For licensing information, see the LICENSE file included with this project. */ #include <iomanip> #include "Log.h" #include "GradientTester.h" #in...
<commit_before>#pragma once #include <vector> #include <distributions/clustering.hpp> #include <distributions/models/dd.hpp> #include <distributions/models/dpd.hpp> #include <distributions/models/nich.hpp> #include <distributions/models/gp.hpp> #include <distributions/mixture.hpp> #include <distributions/io/protobuf.h...
<commit_before>//Copyright (c) 2020 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include <algorithm> #include "ExtrusionLine.h" #include "linearAlg2D.h" namespace cura { ExtrusionLine::ExtrusionLine(const size_t inset_idx, const bool is_odd) : inset_idx(inset_idx) , is_odd(is_od...
<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 "SkWGL.h" #include "SkTDArray.h" #include "SkTSearch.h" bool SkWGLExtensions::hasExtension(HDC dc, const char* ext) const { if (NULL == this->fG...
<commit_before>/* Copyright (c) 2006, 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>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/parameterFitting/CExperimentSet.cpp,v $ $Revision: 1.19 $ $Name: $ $Author: shoops $ $Date: 2006/04/20 15:28:42 $ End CVS Header */ #include <algorithm> #include <limits> #include <math.h> #include "copasi...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2006 Torus Knot Software Ltd Also see acknowledgements in Readme.html This...
<commit_before>#include <cstdio> #include <queue> #include <iostream> using namespace std; struct inf { int t, mi, ma, i; } inp; struct pri { int n, d, t; }n, np; struct vinf { int d, t; }; struct hp2 { bool operator () (pri i, pri j) { if(i.d==j.d) { return i.t<j.t;...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Copyright (c) 2017-2019 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "validatio...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2012 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, ...
<commit_before><commit_msg>removed double definition of default template in sub_block<commit_after><|endoftext|>
<commit_before>#include <chrono> #include <thread> #include "SDL.h" #include "app.h" using namespace app; void App::mainLoop() { int i = 0; bool finished = false; bool leftMouseButtonDown = false; SDL_Event event = SDL_Event({ 0 }); std::chrono::system_clock::time_point now, frameEnd; ...
<commit_before>#include <rendering/texture_2d.h> #include <unordered_map> namespace rendering { namespace { struct texture_format_traits { GLint internalformat; GLenum format; GLenum type; }; std::unordered_map<texture_2d::texture_format, texture_format_traits> format_traits = { { texture_2d::TEXTU...
<commit_before>/************************************************************************* * * $RCSfile: dp_misc.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-04-13 12:07:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2011-2012, John Haddon. All rights reserved. // Copyright (c) 2011-2013, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modific...