text
stringlengths
7
961k
// 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 "components/browsing_data/content/cookie_helper.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/bind_helpers....
/* * test_deflate.cpp * * Created on: Jun 28, 2020 * Author: mad */ #include <vnx/vnx.h> #include <vnx/LogMsg.hxx> #include <vnx/addons/DeflatedValue.hxx> using namespace vnx; int main() { { auto value = LogMsg::create(); value->level = 1337; value->message.resize(16 * 1024 * 1024 + 1337); fo...
/* * Copyright (C) 2012, Google 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, this list of conditions an...
// // Created by efarhan on 20.01.20. // #include <benchmark/benchmark.h> #include <cstdlib> #include <iostream> #include <cmath> const unsigned long fromRange = 32; const unsigned long toRange = 1024; static int* v = nullptr; static const size_t length = 1024 * 1024; //4MB static void CustomArguments(benchmark::in...
// Copyright Low Entry. Apache License, Version 2.0. #include "K2Node_LowEntry_LocalVariable.h" #include "EdGraph/EdGraphPin.h" #include "Engine/Blueprint.h" #include "Framework/Commands/UIAction.h" #include "Framework/MultiBox/MultiBoxBuilder.h" #include "EdGraphSchema_K2.h" #include "EdGraph/EdGraphNodeUtils.h" #i...
class Solution { public: int maximumGap(vector<int>& nums) { sort(nums.begin(), nums.end()); vector<int> diffs; diffs.reserve(nums.size()-1); for (int i=1; i<nums.size(); ++i) { diffs.push_back(nums[i] - nums[i-1]); } return diffs.empty()? 0: *max_element(diffs.begin(), diffs.end()); }...
#ifndef _UTIL_STACKTRACE_HPP_ #define _UTIL_STACKTRACE_HPP_ #include <string> namespace util { std::string getStackTrace(bool writeVariables = false); } // namespace util #endif // !_UTIL_STACKTRACE_HPP_
/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across * ...
/* //@HEADER // ************************************************************************ // // KokkosKernels 0.9: Linear Algebra and Graph Kernels // Copyright 2017 Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retain...
// Copyright (c) 2013-2019 The PaydayCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <validation.h> #include <boost/algorithm/string.hpp> #include <rpc/util.h> #include <wallet/rpcwallet.h> #inclu...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2018 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-li...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include <windows.h> #include <vss.h> #include <vswriter.h> #include <vsbackup.h> #pragma prefast(push) #pragma prefast(disable:28196, "Do not bother us with atlbase/atlcomcli, someone else owns that.") #pragma prefast(disable:28205, "Do not ...
/// @ref core /// @file glm/detail/type_gentype.hpp #pragma once namespace glm { enum profile { nice, fast, simd }; typedef std::size_t sizeType; namespace detail { template < typename VALTYPE, template <typename> class TYPE > struct genType { public: enum ctor{null}; typedef VALTYPE value_...
// 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 <vector> #include "base/memory/scoped_ptr.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/ozone/platform/drm/gpu/crtc_controller....
#include <Arduino.h> #include <LittleFS.h> #include "rtc.h" #include "alarms.h" struct alarm_config the_alarms[ALARMS_COUNT] = {EMPTY_ALARM_CONFIG}; Timer the_timer; #define ALARM_HAS_REPEATS(alarm) ( \ (alarm).repeat_on_sunday || \ (alarm).repeat_on_monday || \ (alarm).repeat_on_tuesday || \ (alarm).repeat_o...
#include "VulkanRenderSurface.h" #pragma warning(disable: 26812) namespace Jimara { namespace Graphics { namespace Vulkan { VulkanWindowSurface::VulkanWindowSurface(VulkanInstance* instance, OS::Window* window) : RenderSurface(instance), m_window(window) { #ifdef _WIN32 VkWin32SurfaceCreateInfoKHR create...
#include <iostream> #include <string> int h(std::string x){ int i, sum = 0; for(i = 0; i < x.length(); i++){ sum += (int)x.at(i) * (i+1); } return sum % 101; } int hInt(int x){ return x % 101; } struct Node{ int key; std::string value; Node(int k, std::string val){ ke...
/* * (C) Copyright 2013 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an intergo...
#include <eosio/chain/block_state.hpp> #include <eosio/chain/exceptions.hpp> namespace eosio { namespace chain { namespace { constexpr auto additional_sigs_eid = additional_block_signatures_extension::extension_id(); /** * Given a complete signed block, extract the validated additional signatur...
#include "BiffFileHeader_st.hpp" #include "API/Functions.hpp" #include "Platform/ASLR.hpp" namespace NWNXLib { namespace API { } }
#include "CondTools/Ecal/interface/EcalLaserHandler.h" #include "CondTools/Ecal/interface/EcalTPGOddWeightIdMapHandler.h" #include "OnlineDB/EcalCondDB/interface/EcalLogicID.h" #include "OnlineDB/EcalCondDB/interface/RunTPGConfigDat.h" #include "OnlineDB/EcalCondDB/interface/FEConfigMainInfo.h" #include "OnlineDB/Ecal...
/* * 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 "License"); you may ...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Atom/RHI.Reflect/Null/ShaderStageFunction.h> #include <AzCore/Utils/TypeHash.h> #include...
// Copyright (c) 2011-2016 The Bitcoin Core developers // Copyright (c) 2017 The ProofOfGaming Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "util.h" #include "clientversion.h" #include "primitives/tr...
// HexEdit.cpp : Defines the class behaviors for the application. // // Copyright (c) 2015 by Andrew W. Phillips // // This file is distributed under the MIT license, which basically says // you can do what you want with it and I take no responsibility for bugs. // See http://www.opensource.org/licenses/mit-license.php...
/****************************************************************************** * $Id$ * * Project: GDAL * Purpose: CPLStringList implementation. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copyright (c) 2011, Frank Warme...
//===---------------------------------------------------------------------===// // // 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 // //===----------------------------...
/* * DIPlib 3.0 viewer * This file contains functionality for the nD image slice viewer. * * (c)2017, Wouter Caarls * * 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...
// 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. // // This test creates a fake safebrowsing service, where we can inject // malware and phishing urls. It then uses a real browser to go to // these u...
/** * Copyright (C) 2016, Canonical Ltd. * 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. * * Author: Justin Mc...
#ifndef INCG_PHI_CORE_TYPE_TRAITS_IS_NOTHROW_COPY_CONSTRUCTIBLE_HPP #define INCG_PHI_CORE_TYPE_TRAITS_IS_NOTHROW_COPY_CONSTRUCTIBLE_HPP #include "phi/phi_config.hpp" #if PHI_HAS_EXTENSION_PRAGMA_ONCE() # pragma once #endif #include "phi/compiler_support/inline_variables.hpp" #include "phi/compiler_support/intrins...
/* libs/pixelflinger/scanline.cpp ** ** Copyright 2006-2011, The Android Open Source Project ** ** 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/LI...
/* Copyright 2017 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 applicable law or a...
/* ******************************************************************************* * Copyright (c) 2020-2021, STMicroelectronics * All rights reserved. * * This software component is licensed by ST under BSD 3-Clause license, * the "License"; You may not use this file except in compliance with the * License. You...
/**************************************************************************** * * 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: * * 1. Redistri...
#include "llvm/ProfileData/MemProf.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/MapVector.h" #include "llvm/DebugInfo/DIContext.h" #include "llvm/DebugInfo/Symbolize/SymbolizableModule.h" #include "llvm/Object/ObjectFile.h" #include "llvm/ProfileData/InstrProf.h" #include "llvm/ProfileData/MemProfData.inc" #inc...
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Copyright 2010 California Institute of Technology. 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...
// This file is made available under Elastic License 2.0. // This file is based on code available under the Apache license here: // https://github.com/apache/incubator-doris/blob/master/be/test/runtime/buffer_control_block_test.cpp // Licensed to the Apache Software Foundation (ASF) under one // or more contributor ...
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. Module Name: convolve.cpp Abstract: This module implements the convolution operation. --*/ #include "mlasi.h" // // Define the number of working buffer elements required per thread. // #define MLAS_CONV_WORK...
#include <onut/ActionManager.h> #include <onut/Font.h> #include "PanelsManager.h" #include "GUIContext.h" #include "Theme.h" #include "globals.h" #include "AssetPanel.h" #include "ProjectPanel.h" #include "EntityPanel.h" #include "ScenePanel.h" #include "SceneViewPanel.h" #include "TimelinePanel.h" #include "AssetsPane...
#include "vulpch.h" #include "WindowsWindow.h" #include "Vulture/Core/Log.h" #include "Vulture/events/ApplicationEvent.h" #include "Vulture/events/MouseEvent.h" #include "Vulture/events/KeyEvent.h" #include "Platform/OpenGL/OpenGLContext.h" namespace Vulture { static bool s_GLFWInitialized = false; static void GLF...
// LIC// ==================================================================== // LIC// This file forms part of oomph-lib, the object-oriented, // LIC// multi-physics finite-element library, available // LIC// at http://www.oomph-lib.org. // LIC// // LIC// Copyright (C) 2006-2021 Matthias Heil and Andrew Hazel // LIC// ...
/* GUIDO Library Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz Copyright (C) 2002-2013 Grame 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/. Grame ...
// Copyright Aleksey Gurtovoy 2001-2004 // // 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://www.boost.org/libs/mpl for documentation. // $Id$ // $Date$ // $Revision$ #include <boost/mpl/joint_vi...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2016-2020 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chain.h" #include "legacy/sta...
// Copyright (c) 2013 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/test/chromedriver/chrome/chrome_android_impl.h" #include "chrome/test/chromedriver/chrome/device_manager.h" #include "chrome/test/ch...
// Copyright (c) 2007-2014 Simul Software Ltd // All Rights Reserved. // // This source code is supplied under the terms of a license agreement or // nondisclosure agreement with Simul Software Ltd and may not // be copied or disclosed except in accordance with the terms of that // agreement. // Framebuffer.cpp A re...
#ifndef __SILVERNEGI_TRIE_HPP__ #define __SILVERNEGI_TRIE_HPP__ #include <string> #include <memory> #include <unordered_map> namespace{ using namespace std; template <class T> class Trie{ public: unordered_map<char, shared_ptr<Trie<T>>> branches; bool endHere; T cargo; Trie() : endHere(false) {} ...
// Copyright 2017 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 or agreed to in ...
// Copyright Aleksey Gurtovoy 2001-2004 // // 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) // // Preprocessed version of "boost/mpl/aux_/template_arity.hpp" header // -- DO NOT modify by hand! namespace geofe...
#include "framebuffer.hpp" namespace vkBasalt { std::vector<VkFramebuffer> createFramebuffers(LogicalDevice* pLogicalDevice, VkRenderPass renderPass, VkExtent2D& extent, std::vector<std::vector<VkImageView>> imageViews) { std::vector<VkFramebuffer> framebuffers(imageViews[0].size()); std::v...
// // test_env.cpp // MNN // // Created by MNN on 2021/08/18. // Copyright © 2018, Alibaba Group Holding Limited // #ifndef TEST_ENV_HPP #define TEST_ENV_HPP #include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc/imgproc.hpp> #include "imgproc/imgproc.hpp" ...
// Copyright (c) 2011-2018 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 <test/test_bitcoin.h> #include <banman.h> #include <chainparams.h> #include <consensus/consensus.h> #include <conse...
#include "BookmarkTester.h" void BookmarkTester::initTest() { fPath = QDir::currentPath().append("/bookmark.tmp"); //init query SearchQuery query; QList<QString> datasets; datasets.append("dataset1"); datasets.append("dataset2"); query.setDatasets(datasets); //init result SearchRe...
#include <despot/simple_tui.h> #include "tag.h" using namespace despot; class TUI: public SimpleTUI { public: TUI(string lower_bound_str, string base_lower_bound_str, string upper_bound_str, string base_upper_bound_str) : SimpleTUI(lower_bound_str, base_lower_bound_str, upper_bound_str, base_...
//================================================================================================== /*! @file Aggregate SIMD numerical and type limits for PPC QPX @copyright 2012 - 2015 NumScale SAS Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at htt...
#include <QtTest/QtTest> #include "GammaEffectTest.h" #include "GrayEffectTest.h" #include "BinarizationEffectTest.h" #include <iostream> int main(int argc, char* argv[]) { GammaEffectTest gammaTest; GrayEffectTest grayTest; BinarizationEffectTest bintest; int result = 0; freopen("results1.xml", ...
/* * Copyright 2010-2016 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" file...
/* Point.cpp * BRL-CAD * * Copyright (c) 1994-2016 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as published by ...
/** * 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 * "License"); you...
#include "askpassphrasedialog.h" #include "ui_askpassphrasedialog.h" #include "guiconstants.h" #include "walletmodel.h" #include <QMessageBox> #include <QPushButton> #include <QKeyEvent> extern bool fWalletUnlockStakingOnly; AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) : QDialog(parent),...
// Copyright 2011 the V8 project authors. 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 ...
#include <google/protobuf/descriptor.h> #include "rpc.pb.h" #include "atp_buffer.h" #include "atp_tcp_conn.h" #include "atp_rpc_channel.h" #include "glog/logging.h" namespace atp { RpcChannel::RpcChannel() : prototype_(&RpcMessage::default_instance()) { } RpcChannel::~RpcChannel() { LOG(INFO) << "RpcChanne...
// Copyright (C) 2020-2021 Jonathan Müller <jonathanmueller.dev@gmail.com> // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. #include "../../examples/json.cpp" #include <doctest/doctest.h> #include <lexy/input/string_input.hpp> #include <lexy/ma...
#include "ResponseManager.h" #include "CedrusAssert.h" #include "Connection.h" #include "DeviceConfig.h" #include "constants.h" Cedrus::ResponseManager::ResponseManager(std::shared_ptr<const DeviceConfig> devConfig ) : m_BytesInBuffer(0), m_XIDPacketIndex(INVALID_PACKET_INDEX), m_numKeysDown(0), ...
#include "types.h" /* Generated from dpostproc .section .rodata # 0x804732E0 - 0x8049E220 .global lbl_80485050 lbl_80485050: .4byte 0x3234362D .4byte 0x556A6962 .4byte 0x4D677200 .global lbl_8048505C lbl_8048505C: .4byte 0x83458357 .4byte 0x83938352 ...
// Copyright (c) 2016-2018 William W. Fisher (at gmail dot com) // This file is distributed under the MIT License. #include "ofp/rawmessage.h" #include "ofp/writable.h" using namespace ofp; UInt32 RawMessageBuilder::send(Writable *channel) { UInt8 version = channel->version(); size_t msgLen = sizeof(header_) + ...
#include "sbs/rendering/renderer.h" #include "sbs/rendering/pick.h" #include <imgui/backends/imgui_impl_glfw.h> #include <imgui/backends/imgui_impl_opengl3.h> #include <imgui/imgui.h> #include <sbs/physics/simulation.h> namespace sbs { namespace rendering { renderer_base_t* renderer_base_t::active_renderer = nullpt...
/* * CurveballUniformTradeGenerator.cpp * * Created on: 01.06.2019 * Author: Manuel Penschuck <networkit@manuel.jetzt> */ // networkit-format #include <omp.h> #include <algorithm> #include <numeric> #include <vector> #include <networkit/Globals.hpp> #include <networkit/auxiliary/Parallel.hpp> #include <networ...
/****************************************************************** Copyright © Deng Zhimao Co., Ltd. 1990-2021. All rights reserved. * @projectName GlowText * @brief glowtext.cpp * @author Deng Zhimao * @email 1252699831@qq.com * @net www.openedv.com * @date 2021-05-21 *****...
/************************************************************************************//** // Copyright (c) 2006-2015 Advanced Micro Devices, Inc. All rights reserved. /// \author AMD Developer Tools Team /// \file ****************************************************************************************/ // This is the i...
// Copyright 2018 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 w...
#include "software_renderer/feature_styler.hpp" #include "software_renderer/proto_to_styles.hpp" #include "software_renderer/glyph_cache.hpp" #include "software_renderer/geometry_processors.hpp" #include "indexer/drawing_rules.hpp" #include "indexer/feature.hpp" #include "indexer/feature_visibility.hpp" #include "inde...
/** * @file methods/amf/update_rules/nmf_mult_div.hpp * @author Mohan Rajendran * * Update rules for the Non-negative Matrix Factorization. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of the 3-clause BSD license. You should have received a copy of the * 3-clause BSD ...
// Copyright 2017 The Ray 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
#include "stdafx.h" void Model::LoadModel(const String& path) { const unsigned int ImportFlags = aiProcess_CalcTangentSpace | aiProcess_Triangulate | aiProcess_SortByPType | aiProcess_GenNormals | aiProcess_OptimizeMeshes | aiProcess_Debone | aiProcess_JoinIdenticalVertices | aiProcess_ValidateDataStr...
/* This file is part of Cloudy and is copyright (C)1978-2019 by Gary J. Ferland and * others. For conditions of distribution and use see copyright notice in license.txt */ #include "cddefines.h" #include "quantumstate.h" /*StateJunk set all elements of transition struc to dangerous values */ void Junk(qStateProxy s...
//-------------------------------------------------------------------------- // MIT License // // Copyright (c) 2021 Yoshiya Usui // // 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 withou...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__char_connect_socket_w32CreateFile_43.cpp Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-43.tmpl.cpp */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: connect_socket Read data usi...
/*! \file \brief The AnnotationManager that generates InterActive INTERprocedurally. \authors Michelle Strout \version $Id: ManagerInterActive.cpp,v 1.2 2005/06/10 02:32:02 mstrout Exp $ Copyright (c) 2002-2005, Rice University <br> Copyright (c) 2004-2005, University of Chicago <br> Copyright (c) 2006...
// Copyright Joyent, Inc. and other Node contributors. // // 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, modi...
// Copyright 2013 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/policy/configuration_policy_handler_list_factory.h" #include <limits.h> #include <stddef.h> #include <utility> #include <vector...
/* * sql_plan_factory.cc.c * Copyright (C) 4paradigm 2021 chenjing <chenjing@4paradigm.com> * 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-...
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2017, ITU/ISO/IEC * All rights reserve...
/** * \copyright * Copyright (c) 2015, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license * */ #include "tools.h" #include <cfloat> #include "displa...
/* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
#include "EventDispatcher.h" DWORD EventDispatcher::run() { exit = false; while(!exit) { WaitForSingleObject(eventSem, INFINITE); processQueue(); } return 0; } void EventDispatcher::processQueue() { std::shared_ptr<Event> event; while(!events.empty()) { if(events.try_pop(event)) { broadcast(event); ...
#include "ygz/Frame.h" /*** * 本程序测试在EUROC数据集上前后帧的匹配算法 */ #include<iostream> #include<algorithm> #include<fstream> #include<chrono> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/highgui/highgui.hpp> #include <common/include/ygz/Featu...
/*---------------------------------------------------------------------------*\ Copyright (C) 2011 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of CAELUS. CAELUS is free software: you can redistribute it and/or modify it under...
// Copyright 2019 The Dawn 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #include "pch.h" #include "common.h" #include "BreadcrumbIterable.h" #include "BreadcrumbIterator.h" BreadcrumbIterable::BreadcrumbIterable() { } BreadcrumbIterabl...
/*============================================================================= Copyright (c) 2011-2015 Bolero MURAKAMI https://github.com/bolero-MURAKAMI/Sprout 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) ==...
/* https://github.com/peterix/dfhack Copyright (c) 2009-2012 Petr Mrázek (peterix@gmail.com) 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 softwa...
/* * Copyright (c) 2014 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. All contribut...
/****************************************************************** * File: CoActionRecursive.cpp * Description: Contains code for compiling, running C Lambda * scripting language. * See file CoActionRecursive.c955 to understand * what the script does. * Author: Vincen...
/* * Copyright 2019 Xilinx Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/******************************************************************************* * * File Name: H01indexedCSVdatabaseAlgorithms.cpp * Author: Richard Bruce Baxter - Copyright (c) 2021 Baxter AI (baxterai.com) * License: MIT License * Project: H01LocalConnectome * Requirements: see H01indexedCSVdatabase.hpp * Com...
/* * Copyright 2016-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/** * Copyright (C) 2017 Alibaba Group Holding Limited. 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 * * ...
// Copyright (c) 2019-2020 The TradeTensor developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "qt/tradetensor/receivewidget.h" #include "qt/tradetensor/forms/ui_receivewidget.h" #include "qt/tradetensor/requestd...