text
stringlengths
5
1.04M
version https://git-lfs.github.com/spec/v1 oid sha256:7e9ae251eb11acde281262ee85d5bb8652dae832fcad975efe47575a8550ffa4 size 4466
#include "Ent.h" Ent::Ent(int hp, int def, int atc, int spe, bool ai, bool ex) { setHP(hp); setDEF(def); setATC(atc); setSPE(spe); external = ex; AI = ai; if (ai) { for (int i = 0;i < 100; i++) { nodes.push_back(Rand::getRand(0.00, 1.00)); } } } ...
/* * Copyright 2016 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 contributing ...
// Copyright (C) 2017-2020 Internet Systems Consortium, Inc. ("ISC") // // 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 <config.h> #include <agent/parser_c...
#include <bits/stdc++.h> #define watch(x) std::cout << (#x) << " is " << (x) << std::endl using LL = long long; const int M = 1e9 + 7; int main() { //freopen("in", "r", stdin); std::cin.tie(nullptr)->sync_with_stdio(false); int n, m; std::cin >> n >> m; std::vector<int> p(m + 1), sz(m + 1, 1); std::iota(p.begin(...
/** * 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, software * distributed...
// // 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 ...
// // Created by tao on 7/22/21. // #include "gps_converter.h" #include <rosbag/bag.h> #include <sensor_msgs/NavSatFix.h> #include <boost/filesystem.hpp> namespace kaist2bag { GpsConverter::GpsConverter(const std::string &dataset_dir, const std::string &save_dir, const std::st...
#pragma once #include <memory> #include <string> #include <unordered_map> #include <vector> #include "all_parameter_variant.hpp" #include "operator_performance_data.hpp" #include "types.hpp" namespace opossum { class OperatorTask; class Table; class TransactionContext; enum class OperatorType { Aggregate, Alia...
/* ** EPITECH PROJECT, 2022 ** Arcade: Interface ** File description: ** Creation of Assets and Game objects */ /// @file /// /// Creation of Assets and Game Objects. #ifndef ARCADE_IASSET_MANAGER_HPP_ #define ARCADE_IASSET_MANAGER_HPP_ #include <memory> #include <string_view> #include "IAsset.hpp" #include "IDispl...
/* * @doc INTERNAL * * @module FONT.CPP -- font cache | * * Includes font cache, char width cache; * create logical font if not in cache, look up * character widths on an as needed basis (this * has been abstracted away into a separate class * so that different char width caching algos can * b...
// 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/connectivity/bluetooth/core/bt-host/l2cap/channel.h" #include "src/connectivity/bluetooth/core/bt-host/data/socket_channel_relay.cc" namesp...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017-2018 The FAQO & Bitfineon developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource....
////////////////////////////////////////////////////////////////////////////////////// // This file is distributed under the University of Illinois/NCSA Open Source License. // See LICENSE file in top directory for details. // // Copyright (c) 2020 QMCPACK developers. // // File developed by: Mark Dewing, markdewing@gm...
/* * Copyright (C) 2013 Trent Houliston <trent@houliston.me>, Jake Woods <jake.f.woods@gmail.com> * 2014-2017 Trent Houliston <trent@houliston.me> * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software...
// Copyright 2004-present Facebook. All Rights Reserved. #include "ABI14_0_0CxxMessageQueue.h" #include <folly/AtomicIntrusiveLinkedList.h> #include <unordered_map> #include <mutex> #include <queue> #include <glog/logging.h> namespace facebook { namespace ReactABI14_0_0 { using detail::BinarySemaphore; using deta...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
#include "gtest/gtest.h" #include <vector> #include "cfdcore/cfdcore_common.h" #include "cfdcore/cfdcore_script.h" #include "cfdcore/cfdcore_exception.h" // https://qiita.com/yohm/items/477bac065f4b772127c7 // The main function are using gtest's main(). // TEST(test_suite_name, test_name) using cfd::core::Script; ...
/** * * 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 <stdio.h> #include <math.h> int main() { long long n, tn; while(scanf("%lld", &n) == 1 && n) { if(n < 0) tn = -n; else tn = n; long long sq = sqrt(tn), i, j, k; int ans = 1; for(i = -sq; i <= sq; i++) { if(i == 0 || i == 1 || i == -1) conti...
// Copyright 2019 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "fiddle/examples.h" // HASH=888edd4c4a91ca62ceb01bce8ab675b2 REG_FIDDLE(Path_addRRect_2, 256, 256, false, 0) { void draw(SkCanvas* canvas) { SkPaint paint; paint.setAntiAli...
#include "brush.h" using namespace Tempest; Brush::Brush() :color(1.f){ } Brush::Brush(const Texture2d &texture, PaintDevice::Blend b) :tex(texture),color(1.f),blend(b) { info.w = texture.w(); info.h = texture.h(); info.invW = 1.f/info.w; info.invH = 1.f/info.h; } Brush::Brush(const Color &col...
// // Copyright (c) 2008-2020 the Urho3D project. // // 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, m...
/////////////////////////////////////////////////////////////// // Copyright 2012 John Maddock. 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_ #ifndef BOOST_MP_CPP_INT_HPP #define BOOST_MP_CPP_INT_HPP #include <iost...
#include "DvUpnpOrgAVTransport2.h" #include <OpenHome/Types.h> #include <OpenHome/Buffer.h> #include <OpenHome/Net/C/DviDeviceC.h> #include <OpenHome/Net/Core/DvProvider.h> #include <OpenHome/Net/C/OhNet.h> #include <OpenHome/Net/Core/DvInvocationResponse.h> #include <OpenHome/Net/Private/Service.h> #include <OpenHome/...
/*============================================================================= Copyright (c) 2001-2010 Joel de Guzman 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) =========================================...
#include <iostream> #include <string> #include <cstdlib> #include <fstream> #include <vector> #include <cmath> #include <sstream> #include <stdio.h> #include <unistd.h> #include <cstring> #include <sys/wait.h> #include <algorithm> using namespace std; #include "Base.h" Base::Base() { } Base::~Base() { }
#include "vsrtl_treeitem.h" #include "vsrtl_netlistmodel.h" #include <QMenu> namespace vsrtl { TreeItem::TreeItem(TreeItem* parent) { parentItem = parent; } TreeItem::~TreeItem() { qDeleteAll(childItems); } TreeItem* TreeItem::child(int number) { return childItems.value(number); } int TreeItem::childC...
#include "main.h" int main(int argc, char **argv) { // Define system System *base = new System(); base->setNumberOfParticles(2); base->setNumberOfDimensions(2); base->setEquilibrationFraction(0.001); base->initializeFromConfig(argc, argv); base->runSimulation(); return 0; }
#ifndef SHARED_FRACTALSHADER_OPTIONPARSER_HPP #define SHARED_FRACTALSHADER_OPTIONPARSER_HPP /**************************************************************************************************************************************************** * Copyright (c) 2014 Freescale Semiconductor, Inc. * All rights reserved. *...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #include "jitpch.h" #ifdef _MSC_VER #pragma hdrstop #endif #include "inlinepolicy.h" // Lookup table for inline description strings static const char* InlineDescriptions[] = { #de...
// Concept checking instantiations -*- C++ -*- // Copyright (C) 2001, 2002, 2003 Free Software Foundation // // This file is part of the GNU ISO C++ Library. This library 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 Soft...
// Copyright 2019 The MediaPipe 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 a...
/* * The MIT License (MIT) * * Copyright (c) 2018 Sylko Olzscher * */ #include "server.h" #include "session.h" namespace node { namespace modem { server::server(cyng::async::mux& mux , cyng::logging::log_ptr logger , bus::shared_type bus , std::chrono::seconds timeout , bool auto_answer ...
/* * sample_stress_test_coroutine.cpp * * Created on: 2014年5月11日 * Author: owent * * Released under the MIT license */ #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <inttypes.h> #include <stdint.h> // include manager header file #include <libcopp/coroutine/coroutine...
// Copyright 2018 Waitman Gobble // Copyright (c) 2011-2016 The Cryptonote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "stdafx.h" #include "PaymentServiceConfiguration.h" #include <iostream> #include...
// //////////////////////////////////////////////////////////////////////////// // // CEP event buffer // // structure to hold event information // // Authors: // P. Buehler, paul.buehler@oeaw.ac.at 27.06.2016 // // // ---------------------------------------------------------------------------- #include "CEPEvent...
/********************************************************************************** Infomap software package for multi-level network clustering Copyright (c) 2013, 2014 Daniel Edler, Martin Rosvall For more information, see <http://www.mapequation.org> This file is part of Infomap software package. Infomap...
// // Alert system // #include <boost/foreach.hpp> #include <map> #include "alert.h" #include "key.h" #include "net.h" #include "sync.h" #include "ui_interface.h" using namespace std; map<uint256, CAlert> mapAlerts; CCriticalSection cs_mapAlerts; static const char* pszMainKey = "044b87930b9bc8f049b044f6d6298f42130...
/* * 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-2013 The Bitcoin Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "compressor.h" #include "util.h" #include "test/test_sbpay.h" #include <stdint.h> #include <boost/test/unit_te...
// // write_at.hpp // ~~~~~~~~~~~~ // // Copyright (c) 2003-2011 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) // #ifndef BOOST_ASIO_WRITE_AT_HPP ...
// Source : https://oj.leetcode.com/problems/minimum-path-sum/ // Author : Venkata Anil Kumar /********************************************************************************** * * Given a m x n grid filled with non-negative numbers, find a path from top left to * bottom right which minimizes the sum of all number...
#include <Player.hpp> Player::Player() {} Player::Player(int piece) : piece_(piece), move_col_(-1), move_row_(-1) {} Player::Player(const Player &other) { *this = other; } Player &Player::operator=(const Player &other) { piece_ = other.getPiece(); move_col_ = other.getMoveCol(); return (*this); } Player::~Play...
//------------------------------------------------------------------------------ // Copyright 2015 The SageTV Authors. All Rights Reserved. // File: PsiParser.cpp // // Desc: DirectShow sample code - // // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------...
//************************************************************************************************** // hex // // This tool reads data from the standard input stream and prints to the standard output stream the // hexadecimal and ASCII codes for each byte. //********************************************************...
#include <AMReX_EB2.H> #include <AMReX_EB2_IF.H> #include <AMReX_ParmParse.H> #include <algorithm> #include <incflo.H> using namespace amrex; /******************************************************************************** * * * Functio...
/*******************************************************************\ Module: loop unwinding Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include <util/std_expr.h> #include <goto-programs/goto_functions.h> #include "unwind.h" #include "loop_ut...
// Copyright (c) TakagiY 2019 // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt) #ifndef COM_GITHUB_TAKAGIY_ZIGGYGO_BLOCK #define COM_GITHUB_TAKAGIY_ZIGGYGO_BLOCK #include "./declare.hpp" #include <cstddef> namespace ziggygo { ...
#include "RecoEcal/EgammaClusterAlgos/interface/SCEnergyCorrectorSemiParm.h" #include "CondFormats/DataRecord/interface/GBRDWrapperRcd.h" #include "RecoEcal/EgammaCoreTools/interface/EcalClusterTools.h" #include "DataFormats/EcalDetId/interface/EcalSubdetector.h" #include "DataFormats/VertexReco/interface/Vertex.h" #i...
#ifndef MULTITHREADED_ALGORITHM_HPP #define MULTITHREADED_ALGORITHM_HPP #include "Algorithm.hpp" #include <omp.h> class MultihreadedAlgorithm : public virtual Algorithm { public: MultihreadedAlgorithm(const Text &pattern, const Text &document, size_t threadsNum); virtual ~MultihreadedAlgorithm() = default; ...
//ALEJANDRO CORPAS CALVO //alcorpas10 #include <iostream> #include <iomanip> #include <fstream> #include <string> #include "bintree_eda.h" using namespace std; struct maximos{ int max; int maxRel; }; maximos diametro(const bintree<char>& arbol) { if (arbol.empty()) { return {...
/******************************************************************************* * Copyright 2016-2017 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://www.apa...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__short_rand_add_82a.cpp Label Definition File: CWE190_Integer_Overflow.label.xml Template File: sources-sinks-82a.tmpl.cpp */ /* * @description * CWE: 190 Integer Overflow * BadSource: rand Set data to result of rand() * GoodSource: Set ...
// 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 "extensions/shell/common/shell_content_client.h" #include "base/strings/string_piece.h" #include "base/strings/utf_string_conversions.h" #includ...
/* 假设你正在爬楼梯。需要 n 阶你才能到达楼顶。 每次你可以爬 1 或 2 个台阶。你有多少种不同的方法可以爬到楼顶呢? 注意:给定 n 是一个正整数。 示例 1: 输入: 2 输出: 2 解释: 有两种方法可以爬到楼顶。 1. 1 阶 + 1 阶 2. 2 阶 示例 2: 输入: 3 输出: 3 解释: 有三种方法可以爬到楼顶。 1. 1 阶 + 1 阶 + 1 阶 2. 1 阶 + 2 阶 3. 2 阶 + 1 阶 来源:力扣(LeetCode) 链接:https://leetcode-cn.com/problems/climbing-stairs 著作权归领扣网络所有。商业转载请联系官方授权,非商业...
/** * Copyright 2011-2015 Quickstep Technologies LLC. * Copyright 2015 Pivotal Software, Inc. * Copyright 2016, Quickstep Research Group, Computer Sciences Department, * University of Wisconsin—Madison. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ...
/* Copyright 2015 Google Inc. 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 agreed to in ...
#include "lafun/parse.h" #include "lafun/resolve.h" #include "lafun/codegen.h" #include "lafun/print.h" #include "lafun/prelude.h" #include "fun/IdentResolver.h" #include "fun/prelude.h" #include "fun/Codegen.h" #include "fun/print.h" #include "Reader.h" #include <fstream> #include <iostream> #include <sstream> #inclu...
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 1997, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the f...
#include <cstdio> #include <vector> #include <queue> #include <algorithm> using namespace std; const int MAX_N = 500; const int MAX_M = 50; const int MAX = MAX_N*2 + MAX_N*MAX_M*4 + 2; const int S = MAX - 2; const int E = MAX - 1; const int INF = 1e9; struct Edge{ int to, c, f; Edge *dual; Edge(): Edge(-1,...
/*- * SPDX-License-Identifier: Zlib * * Copyright (c) 2009-2018 Rink Springer <rink@rink.nu> * For conditions of distribution and use, see LICENSE file */ #include <machine/param.h> #include "kernel/console.h" #include "kernel/device.h" #include "kernel/init.h" #include "kernel/lib.h" #include "kernel/mm.h" #inclu...
#pragma once #include "../../BetterEdit.hpp" #include "Notification.hpp" class NotificationManager : public NotificationDelegate { protected: CCArray* m_pQueue; CCArray* m_pVisible; bool init(); void showNextNotificationInQueue(); void notificationClosed(Notification*) ov...
#pragma once #include "AbstractSparseMatrix.hpp" template <typename T> class SymmetricMatrix : public AbstractSparseMatrix<T> { std::vector<T> _val; // := upper triangle, row by row // virtual methods to be implemented T& _set(Index i, Index j) final { if (i > j) std::swap(i, j); return _val[j + _w * i - (i * i...
#include <eigen-checks/entrypoint.h> #include <eigen-checks/gtest.h> #include <gtest/gtest.h> //#include "voxblox/core/tsdf_map.h" #include "voxblox/core/common.h" #include "voxblox/core/layer.h" #include "voxblox/core/voxel.h" #include "voxblox/interpolator/interpolator.h" using namespace voxblox; // NOLINT class ...
/* * 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 ...
//==================================================================================================================================================== // Copyright 2020 Lake Orion Robotics FIRST Team 302 // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
// // FpsManager.cpp for zappy in /home/wilmot_g/Rendu/PSU_2015_zappy/LeHaineux/Zappy-SDL2 // // Made by guillaume wilmot // Login <wilmot_g@epitech.net> // // Started on Sun Jun 19 18:51:51 2016 guillaume wilmot // Last update Sun Jun 19 19:16:26 2016 guillaume wilmot // #include <iostream> #include "FpsManager.hp...
// Copyright © 2017-2019 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "Address.h" #include "PublicKey.h" #include "HexCo...
// PHZ // 2018-5-16 #if defined(WIN32) || defined(_WIN32) #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif #endif #include "H264Source.h" #include <cstdio> #include <chrono> #if defined(__linux) || defined(__linux__) #include <sys/time.h> #endif using namespace xop; using names...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE806_wchar_t_ncat_33.cpp Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE806.label.xml Template File: sources-sink-33.tmpl.cpp */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Initialize data a...
// (C) Copyright Edward Diener 2011-2015 // Use, modification and distribution are subject to 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). #include <boost/vmd/is_unary.hpp> #include <boost/vmd/is_multi.hpp> #include <boost/...
// 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...
// MSATcompare.cpp : Defines the entry point for the console application. #include <stdio.h> #include <iostream> #include <string.h> #include <stdlib.h> #include <time.h> #include <ctype.h> #include "ThroughputAlignment.h" //#include "DuplicationHistory.h" void generate_random(int seq_number,int min_seq_length,in...
#define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> #include <core/time.hh> namespace DP::Time { float seconds_since_start() { return glfwGetTime(); } }
// Meta_File //------------------------------------------------------------------------------ // Includes //------------------------------------------------------------------------------ #include "Meta_File.h" // Reflection //------------------------------------------------------------------------------ REFLECT_BEGIN...
#include "register_image_types.h" #include "core/engine.h" #include "drivers/png/image_loader_indexed_png.h" #include "drivers/png/resource_saver_indexed_png.h" #include "classes_enabled.gen.h" static _GoostImage *_goost_image = nullptr; static ImageLoaderIndexedPNG *image_loader_indexed_png; static Ref<ResourceSav...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include <LibraryResources.h> #include "TabBase.h" #include "TabBase.g.cpp" using namespace winrt; using namespace winrt::Windows::UI::Xaml; using namespace winrt::Windows::UI::Core; using namespace winrt::Microsoft...
#include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "addressbookpage.h" #include "optionsmodel.h" #include "sendcoinsentry.h" #include "guiutil.h" #include "askpassphrasedialog.h" #include "coincontrol.h" #include "coincontroldialog.h" #include "base...
/* * This file Copyright (C) Mnemosyne LLC * * 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. * * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html * * $Id: watchdir.cc 141...
// Copyright Takatoshi Kondo 2016 // // 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) #if !defined(MQTT_WS_ENDPOINT_HPP) #define MQTT_WS_ENDPOINT_HPP #include <boost/beast/websocket.hpp> #include <boost/beast/co...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/cur/model/DeleteReportDefinitionResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <a...
#ifdef PEGASUS_OS_HPUX #ifndef __UNIX_SOFTWAREFEATURESAPIMPLEMENTATION_PRIVATE_H #define __UNIX_SOFTWAREFEATURESAPIMPLEMENTATION_PRIVATE_H #endif #endif
#ifndef _MEDIAIO_PLUGIN_ASDCPLIB_UNWRAPPER_AS02_HPP_ #define _MEDIAIO_PLUGIN_ASDCPLIB_UNWRAPPER_AS02_HPP_ #include <mediaio/api/unwrapper/unwrapper.h> namespace AS_02 { namespace JP2K { class MXFReader; } } class UnwrapperAs02 { public: UnwrapperAs02(); ~UnwrapperAs02(); MediaioStatus open(MediaioPluginReader* ...
/*************************************************************************/ /* material.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2019, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
#include "Application.h" #include "ModuleGeometry.h" #include "ModuleImporter.h" #include "glew-2.1.0/include/GL/glew.h" #include "ResourceMesh.h" #include "Assimp/include/cimport.h" #include "Assimp/include/scene.h" #include "Assimp/include/postprocess.h" #include "Assimp/include/cfileio.h" #include "DevIL/include...
// bsls_exceptionutil.t.cpp -*-C++-*- #include <bsls_exceptionutil.h> #include <bsls_platform.h> #include <bsls_bsltestutil.h> #include <setjmp.h> #include <signal.h> #include <stdlib.h> #include <stdio.h> #include <string.h> using namespace BloombergLP; //================...
/* Copyright (c) 2005-2016 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://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE369_Divide_by_Zero__int_rand_modulo_83_goodB2G.cpp Label Definition File: CWE369_Divide_by_Zero__int.label.xml Template File: sources-sinks-83_goodB2G.tmpl.cpp */ /* * @description * CWE: 369 Divide by Zero * BadSource: rand Set data to result of rand(), which...
// // Created by yongxi on 2021/7/11. // #include "hardware_pybullet.h" #include <iostream> #include <utility> #include <pybind11/stl.h> int PybulletJointHandler::POSITION_CONTROL_; // definition int PybulletJointHandler::VELOCITY_CONTROL_; // definition int PybulletJointHandler::TORQUE_CONTROL_; // definition int P...
//----------------------------------------------------------------------------- // MurmurHash3 was written by Austin Appleby, and is placed in the public // domain. The author hereby disclaims copyright to this source code. // Note - The x86 and x64 versions do _not_ produce the same results, as the // algorithms are ...
#include <QApplication> #include "guiutil.h" #include "bitcoinaddressvalidator.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "util.h" #include "init.h" #include <QDateTime> #include <QDoubleValidator> #include <QFont> #include <QLineEdit> #include <QUrl> #include <QTextDocument> // For Qt::escape #...
/* * AppenderSkeleton.cpp * * Copyright 2001, LifeLine Networks BV (www.lifeline.nl). All rights reserved. * Copyright 2001, Bastiaan Bakker. All rights reserved. * * See the COPYING file for the terms of usage and distribution. */ #include "PortabilityImpl.hh" #include "log4cpp/AppenderSkeleton.hh" namespace ...
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, Nefelus 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: //...
#pragma once #include <string> #include <vector> #include <set> #include <map> #include <memory> #include <ostream> #include <boost/date_time/posix_time/posix_time_types.hpp> #include "orwell/game/CaptureState.hpp" namespace orwell { namespace game { class ItemEncoder; class Team; class Ruleset; class Item { prote...
// // Analog.cpp // // (C) MobiFlight Project 2022 // #include "mobiflight.h" #include "MFAnalog.h" #include "Analog.h" #if MF_ANALOG_SUPPORT == 1 namespace Analog { MFAnalog *analog[MAX_ANALOG_INPUTS]; uint8_t analogRegistered = 0; void handlerOnAnalogChange(int value, uint8_t pin, const char *n...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Client's C_BaseCombatCharacter entity // // $Workfile: $ // $Date: $ // //----------------------------------------------------------------------------- // $Log: $ // // $NoKeywords: $ //==============================...
/* * Copyright 2020-2021 Hewlett Packard Enterprise Development LP * Copyright 2004-2019 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with...
/* * Copyright (c) 2013 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...