text
stringlengths
5
1.04M
/// @file /// @ingroup lxmax /// @copyright Copyright 2020 David Butler / The Impersonal Stereo. All rights reserved. /// @license Use of this source code is governed by the MIT License found in the LICENSE.md file. #pragma once #include <cmath> #include <vector> #include <mutex> #include <Poco/Net/DatagramSocket.h>...
//【P1583】魔法照片 - 洛谷 - 0 #include <iostream> #include <algorithm> struct People { //int w, d, c; int w, id; } *a; inline bool cmp(People p1, People p2) { if (p1.w == p2.w) return p1.id < p2.id; return p1.w > p2.w; } int main() { int n, k; std::cin >> n >> k; a = new People[n + 1]; int *e = new int[10 + 1]; ...
// Copyright (c) 2018 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "zhbetchain.h" #include "invalid.h" #include "main.h" #include "txdb.h" #include "ui_interface.h" // 6 comes from OPCODE (1) + v...
/* * Author: Brendan Le Foll <brendan.le.foll@intel.com> * Copyright (c) 2014 Intel Corporation. * * 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 * with...
// (C) Copyright 2002-2007 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty ...
// Copyright 2018 The MACE 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...
#ifndef MACROS_HPP__ #define MACROS_HPP__ #define TEST_SUITE REGISTER_NEW_TEST_SUITE(); #endif
#include <bits/stdc++.h> using namespace std; typedef struct { int index; int processTime; int fin_time; }pairs; typedef struct { int index; int burst; }arr; void sort(int *arrival_times, int * burst_times, int n){ int temp; for (int i=0; i< n-1; i++){ for(int j=0; j< n-i-1; j++){ if(arrival_times[j]>ar...
#ifndef OPENPOSE_PYTHON_HPP #define OPENPOSE_PYTHON_HPP #define BOOST_DATE_TIME_NO_LIB #include <openpose/flags.hpp> #include <openpose/headers.hpp> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <pybind11/numpy.h> #include <opencv2/core/core.hpp> #include <stdexcept> #ifdef _WIN32 #define OP_...
#include "follower_connections.hpp" #include <stdio.h> #include <stdlib.h> #include <sys/ioctl.h> #include <sys/poll.h> #include <sys/socket.h> #include <sys/time.h> #include <netinet/in.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <sys/un.h> #include <string> #include <netdb.h> #include...
//===-- ARMAsmPrinter.cpp - Print machine code to an ARM .s file ----------===// // // 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 // //===---------------------------...
/* SPDX-License-Identifier: MIT */ /** @file ntv2driverprocamp.cpp @brief Implementation of driver procamp utility functions. @copyright (C) 2003-2021 AJA Video Systems, Inc. @note Because this module is compiled into the driver, it must remain straight ANSI 'C' -- no C++ or STL. Since the Linux driver is no...
/* * CStubMakerMain.cpp * * Created on: 2016/04/19 * Author: Kensuke */ #include <iostream> #include <exception> #include <sstream> #include <iomanip> #include "CFuncExtracter.h" #include "CArgExtracter.h" #include "CCSrcCreator.h" #include "CCSrcStubCreator.h" #include "CCSrcIFCreator.h" #include "CCHeaderC...
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2013 Chris Higgs Copyright (C) 2015 Klaus Spanderen This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: ...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "arith_uint256.h" #include "uint256.h" #include "version.h" #include "test/test_konjungate.h" #include <boost/test/u...
// Copyright 2020 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 "third_party/blink/renderer/modules/webcodecs/video_decoder_broker.h" #include <memory> #include <string> #include "base/memory/weak_ptr.h" #in...
/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "shared/source/utilities/heap_allocator.h" #include "test.h" #include "gtest/gtest.h" #include <iostream> #include <random> using namespace NEO; const size_t sizeThreshold = 16 * 4096; const size_t allocationAlignme...
/* * Copyright © 2012 Intel Corporation * * 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, merge, pub...
#ifndef BOOST_MPL_AUX_PUSH_FRONT_IMPL_HPP_INCLUDED #define BOOST_MPL_AUX_PUSH_FRONT_IMPL_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2008 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http:...
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT A...
// Copyright (c) 2017-present, Qihoo, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #include <gtest/gtest....
/* Copyright 2019 Diligent Graphics 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * THE SOFTWARE IS PROVIDED "AS...
#include <algorithm> #include <betterchain/chain/apply_context.hpp> #include <betterchain/chain/chain_controller.hpp> #include <betterchain/chain/wasm_interface.hpp> #include <betterchain/chain/generated_transaction_object.hpp> #include <betterchain/chain/scope_sequence_object.hpp> #include <boost/container/flat_set.hp...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparamsbase.h" #include "tinyformat.h" #include "util.h" #include <ass...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
/**************************** Copyright © 2006-2015 Luke Salisbury This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includi...
/** * @file <argos3/plugins/simulator/entities/wifi_equipped_entity.cpp> * * @author Carlo Pinciroli - <ilpincy@gmail.com> */ #include "wifi_equipped_entity.h" #include <argos3/core/simulator/space/space.h> namespace argos { /****************************************/ /**************************************...
// Copyright (c) 2015 Ryan Prichard // // 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, merge, pub...
#include "utils.hpp" #include <iostream> namespace utils { std::string boolToString(bool b) { if (b) { return "True"; } else { return "False"; } } }
// Copyright 2014 BitPay, Inc. // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <stdint.h> #include <vector> #include <string> #include <map> #include <univalue.h> #include "test/test_rapture.h" #include <boost/test/uni...
#include <mathfunctions/MathFunctions.h> #include <cmath> namespace MathFunctions { auto sqrt(double x) -> double { return std::sqrt(x); } } // namespace MathFunctions
// 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 "base/bind.h" #include "base/location.h" #include "base/run_loop.h" #include "base/single_thread_task_runner.h" #include "base/threading/thread_t...
#include "./AudioMetadata_Format.hpp" namespace android::media { // Fields JObject AudioMetadata_Format::KEY_ATMOS_PRESENT() { return getStaticObjectField( "android.media.AudioMetadata$Format", "KEY_ATMOS_PRESENT", "Landroid/media/AudioMetadata$Key;" ); } JObject AudioMetadata_Format::KEY_AUDIO_ENCOD...
// Copyright (c) 2021 Srinivas Yadav // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <hpx/config.hpp> #if defined(HPX_HAVE_CXX20_EXPERIMENTAL_SIMD)...
// Copyright (C) 2010 - 2013 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2009 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, University of Heidelberg, // a...
/** * Nsmf_PDUSession * SMF PDU Session Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS, * CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. * * The version of the OpenAPI document: 1.1.0.alpha-1 * * NOTE: This class is auto generated by OpenAPI-Generator 4.1.1-SNAPSHOT. * https://openapi-generator.t...
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Test memcat * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redi...
// nnet2bin/nnet-get-egs.cc // Copyright 2012-2013 Johns Hopkins University (author: Daniel Povey) // See ../../COPYING for clarification regarding multiple 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 ob...
// Copyright 2018 The Fuchsia 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 "src/storage/blobfs/directory.h" #include <fuchsia/device/c/fidl.h> #include <lib/fidl-utils/bind.h> #include <lib/sync/completion.h> #include <s...
//===-- MIDriverBase.cpp ----------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#pragma once #include "use_asio.hpp" #include <string> #include <vector> #include <string_view> #ifdef _MSC_VER #include <filesystem> namespace fs = std::filesystem; #else #include <experimental/filesystem> namespace fs = std::experimental::filesystem; #endif #include "io_service_pool.hpp" #include "connection.hpp" #i...
#pragma once #include <QSlider> #include "QtWidgets/QAbstractSlider/qabstractslider_macro.h" #include "core/NodeWidget/nodewidget.h" class NSlider : public QSlider, public NodeWidget { Q_OBJECT NODEWIDGET_IMPLEMENTATIONS(QSlider) public: using QSlider::QSlider; // inherit all constructors of QSlider void ...
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include <engine/shared/config.h> #include <game/server/entities/wall.h> //#include <game/server/entities/zoomkill.h> #include ...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
// 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/views/frame/browser_desktop_window_tree_host_win.h" #include <dwmapi.h> #include "base/macros.h" #include "base/process/...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2017-2018 The PIVX developers // Copyright (c) 2018-2019 The NXBoost developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-lic...
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE...
#pragma once #include <Tanker/Crypto/PrivateSignatureKey.hpp> #include <Tanker/Crypto/PublicEncryptionKey.hpp> #include <Tanker/Crypto/SealedPrivateEncryptionKey.hpp> #include <Tanker/Trustchain/Actions/UserGroupMember2.hpp> #include <Tanker/Trustchain/Actions/UserGroupProvisionalMember3.hpp> #include <Tanker/Trustcha...
/** * @file Benchmark.cpp * * @brief Benchmarking tests for Zerocoin. * * @author Ian Miers, Christina Garman and Matthew Green * @date June 2013 * * @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green * @license This project is released under the MIT license. **/ ...
// Copyright 2018 the V8 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. #include "src/wasm/wasm-engine.h" #include "src/base/platform/time.h" #include "src/diagnostics/code-tracer.h" #include "src/diagnostics/compilation-st...
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
#pragma once #include "config.h" #include "compiler.hh" #include "Interface.hh" #include "Transaction.hh" class TransAlloc : public TObject { public: static constexpr TransItem::flags_type alloc_flag = TransItem::user0_bit; typedef void (*free_type)(void*); // used to free things only if successful commit...
// Font definition for LCD 3110 library // 5 x 7 font // 1 pixel space at left and bottom // index = ASCII - 32 #include <avr/pgmspace.h> //***** Small fonts (5x7) ********** // This does not strictly follow ASCII table // static const unsigned char smallFont[] PROGMEM = { 0x00, 0x00, 0x00, 0x00, 0x00 , // sp...
#include "duktowindow.h" #include "guibehind.h" #include "platform.h" #include "settings.h" DuktoWindow::DuktoWindow(QWindow *parent) : QmlApplicationViewer(parent), mGuiBehind(NULL){ this->setTitle(tr("Yetta")); // this->setIcon(QIcon("/usr/share/pixmaps/.png")); // 响应用户手册 mDaemonIpcD...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" #include "util.h" #include "sync.h" #include "ui_interface.h" #includ...
uint32_t to_uint32(const std::string& s) { size_t l = s.size(); return (uint32_t)std::stoul(s.c_str(), &l, 16); } bytes to_bytes(const std::string& source) { BOOST_REQUIRE(!(source.length() % 2)); bytes output(source.length()/2); fc::from_hex(source, output.data(), output.size()); return output...
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "mkldnn_pad_node.h" #include <legacy/ie_layers.h> #include <string> #include <cmath> #include <mkldnn_types.h> #include <mkldnn_extension_utils.h> #include <limits> #include "ie_parallel.hpp" #include "common/cpu_memcpy.h" #incl...
// Copyright 2020 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
#include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // to_string(nnn) // substr(m, n) // stoi(nnn) #include <complex> #include <tuple> // get<n>(xxx) #include <queue> #include <stack> #include <...
/* * Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com> * Copyright (c) 2014 Intel Corporation. * * 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 * ...
/*************************************************************************/ /* project_manager.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
//------------------------------------// // Author: Breno Cunha Queiroz // // Date: 2020-11-18 // // SCC0650 - Computação Gráfica (2020)// //------------------------------------// #ifndef KART_H #define KART_H #include <vector> #include "mesh.hpp" #include "texture.hpp" #include "shader.hpp" #i...
#include "Environment/ASTEvaluatePatternWithValueNode.hpp" #include "Environment/ASTSourcePosition.hpp" #include "Environment/ASTVisitor.hpp" #include "Environment/BootstrapTypeRegistration.hpp" namespace Sysmel { namespace Environment { static BootstrapTypeRegistration<ASTEvaluatePatternWithValueNode> ASTEvaluatePat...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "base58.h" #include "bitcoinrpc.h" #inclu...
/* * Copyright 2015, Andrea Del Prete, LAAS-CNRS * */ #ifndef __sot_torque_control_trajectory_generator_H__ #define __sot_torque_control_trajectory_generator_H__ /* --------------------------------------------------------------------- */ /* --- API ------------------------------------------------------------- */ /...
#include "engine/assets/Texture.h" #if ZE_WITH_EDITOR #include "assetdatacache/AssetDatacache.h" #include "assets/AssetCooker.h" #endif namespace ze { void TexturePlatformData::load(Texture* in_texture) { switch(in_texture->get_asset_format()) { case Texture::TextureAssetFormat::TextureEditor: #if ZE_WITH_EDITOR ...
/**************************************************************************** * Copyright (c) 2018-2019 by the Cabana authors * * All rights reserved. * * * * This ...
#include "graph.h" #include "general_cascade.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> //#include <time.h> #include <iostream> int GeneralCascade::n = 0; int GeneralCascade::m = 0; int GeneralCascade::targetSize = 0; int GeneralCascade::resultSize = 0; int GeneralCa...
#include <opencv2/imgproc.hpp> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include "originalVibe.h" #include<iostream> using namespace std; using namespace cv; int main(int, char*argv[]) { /*视频流的输入*/ VideoCapture cap(argv[1]); if(!cap.isOpened()) return -1; /*视频帧图像*/ Mat frame; /*前景-背景检测及...
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Mikael Lagerkvist <lagerkvist@gecode.org> * * Contributing authors: * Guido Tack <tack@gecode.org> * * Copyright: * Mikael Lagerkvist, 2006 * Guido Tack, 2006 * * Last modified: * $Date$ by $Author...
#ifndef I_APPLICATION_LISTENER_HPP #define I_APPLICATION_LISTENER_HPP namespace wgt { class IApplicationListener { public: virtual void applicationStarted() = 0; virtual void applicationStopped() = 0; }; } // end namespace wgt #endif // I_APPLICATION_LISTENER_HPP
/* Copyright 2013, 2015 Rogier van Dalen. 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 law or agreed to in writing, ...
/* Copyright (c) 2012-2013 Stanislaw Halik <sthalik@misaki.pl> * * 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 notice appear in all copies. */ /* * this file appeared origi...
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.org> * Copyright (c) 2020-2021, Linus Groh <linusg@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/Function.h> #include <AK/String.h> #include <LibJS/Runtime/AbstractOperations.h> #include <LibJS/Runtime/Accessor.h> #include <LibJS...
// // Created by vito on 31.10.20. // #include "game_guess_num_console_app/assets_loader.h" #include "game_guess_num/g_number_assets.h" #include "game_guess_num/g_number_logic.h" #include "game_guess_num/g_number_metainfo.h" void AssetsLoader::LoadStaticAssetsForGuessNumber(Culture::Language lang) { Game::Language...
/** * Copyright (C) 2015 MongoDB 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. * * This program is distributed in the hope that it will be usef...
/** * * Author: Juarez Paulino(coderemite) * Email: juarez.paulino@gmail.com * */ #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <map> using namespace std; int A[5]; int go(int k, int u) { if (k == 5) return u == 23; int ret = 0; if (!ret) ret |= go(k+1, u+A[...
/*************************************************************************/ /* shader_compiler_rd.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
// Copyright (c) 2011-2013 The VirtaCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "overviewpage.h" #include "ui_overviewpage.h" #include "virtacoinunits.h" #include "clientmodel.h" #include "guico...
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2016, George Kouros. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
// 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 "content/public/test/browsing_data_remover_test_util.h" #include "base/bind.h" #include "base/task/thread_pool/thread_pool_instance.h" #include ...
#include <JLHE.h> #include <JLHE/Core/EntryPoint.h> #include <Platform/OpenGL/OpenGLShader.h> #include <imgui/imgui.h> #include "Sandbox2D.h" // TEMPORARY #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> class ExampleLayer : public JLHE::Layer { public: ExampleLayer() : Layer("Example"), ...
/** * @cond doxygenLibsbmlInternal * * @file QualIdentifierConsistencyValidator.cpp * @brief Checks an SBML model for structural consistency * @author Sarah Keating * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http:...
//===-- RegisterContextPOSIX_ppc64le.cpp ----------------------------------===// // // 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 // //===---------------------------...
#include "../include/robot_hmi/qrviz.hpp" #include <QDebug> #include <QException> qrviz::qrviz(QVBoxLayout* layout) { //创建rviz panel render_panel_=new rviz::RenderPanel(); //向layout添加 layout->addWidget(render_panel_); //创建rviz控制对象 manager_=new rviz::VisualizationManager(render_panel_); tool...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/macie2/model/TagResourceResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/...
#include <mm/pmm.hpp> #include <debug.hpp> namespace pmm { class mem_chunk { public: mem_chunk(size_t base, size_t page_cnt); mem_chunk() = default; mem_chunk *append_chunk(mem_chunk &&chunk); size_t alloc(size_t cnt, size_t align); void free(size_t base, size_t cnt); size_t base; size_...
// C:\diabpsx\PSXSRC\MAIN.CPP #include "types.h" // address: 0x8007BA14 // line start: 133 // line end: 220 void AppMain() { { // register: 16 register int option_file; { { // register: 16 register int option_file; } } } } // address: 0x8007A2B8 // line start: 129 // line end: 200 void A...
#include "sendcoinsentry.h" #include "ui_sendcoinsentry.h" #include "guiutil.h" #include "bitcoinunits.h" #include "addressbookpage.h" #include "walletmodel.h" #include "optionsmodel.h" #include "addresstablemodel.h" #include <QApplication> #include <QClipboard> SendCoinsEntry::SendCoinsEntry(QWidget *parent) : ...
//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // 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://w...
/*========================================================================= Program: Visualization Toolkit Module: otherCoordinate.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software ...
// Copyright (c) 2017-2021 Andrey Valyaev <dron.valyaev@gmail.com> // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. #include "BlkRawTest.h" #include <2out/NamedTest.h> #include <goost/kuznyechik/BlkRaw.h> #include "TestBlockEqual.h" using na...
// Boost.Signals library // // Copyright (C) 2001-2002 Doug Gregor (gregod@cs.rpi.edu) // // Permission to copy, use, sell and distribute this software is granted // provided this copyright notice appears in all copies. // Permission to modify the code and to distribute modified code is granted // provided this ...
/* The MIT License (MIT) Copyright (c) 2013-2015 SRS(ossrs) 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, merg...
#include <iostream> #include <fstream> #include <string> using namespace std; #include "Semester.h" // this function recieves the mode search and prints the result void Semester:: search(char mode){ string search_term, term2; // identifies the "type" then loops inside the vector of that type ...
/* * Copyright (c) 2016 Jason Lowe-Power * 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 conditions a...
/* * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist...
//================================================================================================= /*! // \file src/mathtest/dvecdvecsub/VDaV5a.cpp // \brief Source file for the VDaV5a dense vector/dense vector subtraction math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file is ...