text
stringlengths
5
1.04M
#include "optionsmodel.h" #include "gxcoinunits.h" #include "init.h" #include "walletdb.h" #include "guiutil.h" #include <QSettings> OptionsModel::OptionsModel(QObject *parent) : QAbstractListModel(parent) { Init(); } bool static ApplyProxySettings() { QSettings settings; CService addrProxy(settings...
/////////////////////////////////////////////////////////////////////// // File: tablefind.cpp // Description: Helper classes to find tables from ColPartitions. // Author: Faisal Shafait (faisal.shafait@dfki.de) // // (C) Copyright 2009, Google Inc. // Licensed under the Apache License, Version 2.0 (the "Li...
// 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8PermissionStatus.h" #include "bindings/core...
#ifndef PCL_TRACKING_IMPL_TRACKING_H_ #define PCL_TRACKING_IMPL_TRACKING_H_ #include <pcl/common/eigen.h> #include <ctime> #include <pcl/tracking/boost.h> #include <pcl/tracking/tracking.h> namespace pcl { namespace tracking { struct _ParticleXYZRPY { PCL_ADD_POINT4D; union { str...
/* * librdkafka - Apache Kafka C library * * Copyright (c) 2016, Magnus Edenhill * 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...
// // Copyright (c) 2009, Markus Rickert // 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...
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
//===-- RenameTests.cpp -----------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
#include "ai/hl/stp/action/chip_action.h" #include <gtest/gtest.h> #include "ai/intent/chip_intent.h" #include "ai/intent/move_intent.h" TEST(ChipActionTest, robot_behind_ball_chipping_towards_positive_x_positive_y) { Robot robot = Robot(0, Point(-0.5, 0), Vector(), Angle::zero(), A...
/*********************************************************************** created: Tue Mar 7 2006 author: Paul D Turner <paul@cegui.org.uk> *************************************************************************/ /*************************************************************************** * Copyright...
// // HAPFakeGatoSwitch.cpp // Homekit // // Created on: 21.12.2019 // Author: michael // #include "HAPFakeGatoSwitch.hpp" #include "HAPServer.hpp" #define HAP_FAKEGATO_SIGNATURE_LENGTH 1 // number of 16 bits word of the following "signature" portion #define HAP_FAKEGATO_DATA_LENGTH 11 // lengt...
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 ...
/* * This file is part of the Simutrans-Extended project under the Artistic License. * (see LICENSE.txt) */ #include <stdlib.h> #include <algorithm> #include <cmath> #include "simdebug.h" #include "simunits.h" #include "simworld.h" #include "simware.h" #include "player/finance.h" // convert_money #include "player/...
//remember to add the library // lib_deps = // WiFiConnector #include <Arduino.h> #include <ESP8266WiFi.h> #include <WiFiConnector.h> #include <ESP8266WebServer.h> #ifndef WIFI_SSID #define WIFI_SSID "ssid" #define WIFI_PASSPHRASE "password" #endif WiFiConnector wifi(WIFI_SSID, WIFI_PASSPHRASE); ESP826...
/* Copyright 2007-2015 QReal Research Group * * 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...
/* * Copyright (C) 2018 by Author: Aroudj, Samir * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the License.txt file for details. */ #include "App/TSR.h" #incl...
#ifndef SYNOPSIS_H #define SYNOPSIS_H #include <stdlib.h> #include <iostream> #define TRANS_FAULT_AMNT 7 #define PERM_FAULT_AMNT 7 extern int DRAMMODULES; class Synopsis{ public: int dram_module; int sim_num; // the simulation number int sim_stat; //The status of a simulation instance. 0 - no fa...
/* * Copyright 2009-2017 Alibaba Cloud 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...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <sys/stat.h> #include <pthread.h> #include <fcntl.h> #include <fstream> #include <iostream> #include <string> #include <unordered_map> #include <vector> #include <memory> #include <nlohmann/json.hpp> #include "eluvio/argutils.h" #i...
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Lightmap only shader // // $Header: $ // $NoKeywords: $ //=============================================================================// #include "BaseVSShader.h" #include "lightmappedgeneric_decal.inc" #include "mathlib/bump...
// // main.cpp // tests // // Created by bwk on 11.05.15. // Copyright (c) 2015 php. All rights reserved. // // This tells Catch to provide a main() - only do this in one cpp file #define CATCH_CONFIG_MAIN #include <catch2/catch.hpp>
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===---------------------------------...
/* Copyright (c) 2017-2020, Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable Energy, LLC. See the top-level NOTICE for additional details. All rights reserved. SPDX-License-Identifier: BSD-3-Clause */ #pragma once #include "../core/Core.hpp" #include "Federate.hpp" #inc...
// based on ex15.15 #include <string> #include <iostream> class Quote { public: Quote() = default; Quote(const std::string &book, double pri) : bookNo(book), price(pri) { } virtual ~Quote() = default; std::string isbn() const { return bookNo; } virtual double net_price(std::size_t n) const { return n...
#include "mouse_event.h" namespace Echo { MouseEvent::MouseEvent() { } MouseEvent::~MouseEvent() { } void MouseEvent::bindMethods() { CLASS_BIND_METHOD(MouseEvent, getScreenPosition, DEF_METHOD("getScreenPosition")); CLASS_BIND_METHOD(MouseEvent, getWorldPosition, DEF_METHOD("getWorldPosition")); CLA...
/************************************************************************* * * * Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. * * All rights reserved. Email: russ@q12.org Web: www.q12.org * * ...
#include <microscopes/irm/model.hpp> #include <microscopes/common/relation/dataview.hpp> #include <microscopes/common/random_fwd.hpp> #include <microscopes/models/distributions.hpp> #include <random> #include <iostream> using namespace std; using namespace distributions; using namespace microscopes::common; using nam...
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> START_ATF_NAMESPACE struct BASE_HACKSHEILD_PARAMVtbl { bool (WINAPIV *IsLogPass)(struct BASE_HACKSHEILD_PARAM *_this); bool (WINAPIV *OnCheckSes...
//===-- lib/Semantics/mod-file.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 // //===---------------------------...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2011 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and ...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2015 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, to any person o...
/*************************************************************************/ /* polygon_path_finder.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include <iostream> using namespace std; int main(void) { short a, b; cin >> a >> b; if ((a + b) % 2 == 0) cout << "Bino"; else cout << "Cino"; cout << endl; return 0; }
#include "ledplayer.h" LEDPlayer::LEDStatus::LEDStatus(const int& cc, const int& a) { colorCode = cc; alpha = a; } LEDPlayer::LEDStatus& LEDPlayer::LEDStatus::operator=(const LEDPlayer::LEDStatus& ls) { colorCode = ls.colorCode; alpha = ls.alpha; return *this; } LEDPlayer::Frame::Frame(const size...
/*********************************************************\ * File: Script.cpp * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #ifndef INOU_H #define INOU_H #include "lgraph.hpp" #include "options.hpp" // Abstract class that any inou block must support class Inou { private: protected: public: Inou() { } virtual std::vector<LGraph *> tolg() = 0; // Ou...
// 692. Top K Frequent Words // Given a non-empty list of words, return the k most frequent elements. // Your answer should be sorted by frequency from highest to lowest. If two words have the same frequency, then the word with the lower alphabetical order comes first. // Example 1: // Input: ["i", "love", "leetcode"...
//STARTHEADER // $Id: ClusterSequencePassiveArea.hh 2687 2011-11-14 11:17:51Z soyez $ // // Copyright (c) 2005-2011, Matteo Cacciari, Gavin P. Salam and Gregory Soyez // //---------------------------------------------------------------------- // This file is part of FastJet. // // FastJet is free software; you can red...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
#include <catch.hpp> #include <mw/mmr/MMR.h> #include <mw/mmr/backends/VectorBackend.h> using namespace mmr; TEST_CASE("mmr::MMR") { auto pBackend = std::make_shared<VectorBackend>(); MMR mmr(pBackend); std::vector<uint8_t> leaf0({ 0, 1, 2 }); std::vector<uint8_t> leaf1({ 1, 2, 3 }); std::vector...
// Copyright 2019 DeepMind Technologies Ltd. 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 require...
/* * Copyright (c) 2020 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O1 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK // RUN: %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHE...
#include <iostream> using namespace std; int main() { int a, i, fib, fib_1; cout << "Ingrese el n-esimo termino de la sucesion de Fibonnacci que quiere imprimir: "; cin >> a; /* fib_1 = 1; cout << fib_1 << endl; */ a = a - 1; fib = 1; fib_1 = 1; for (i = 2; i <= a; i++) { ...
/** @file A brief file description @section license License 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 und...
/****************************************************************************** * Copyright (c) 2020, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception. * *****************************************************************************/ // // Created by mmoiseev on 06/1...
#include <mysql/mysql.h> #include <stdio.h> #include <string> #include <string.h> #include <stdlib.h> #include <list> #include <pthread.h> #include <iostream> #include "sqlConnectionPool.h" using namespace std; ConnectionPool::ConnectionPool() { m_CurConn = 0; m_FreeConn = 0; } ConnectionPool *ConnectionPool::GetI...
#pragma once #include "../../../JObject.hpp" class JArray; namespace android::service::autofill { class Validators : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit Validators(const char *className, const char *sig, Ts...agv) : JObject(className, sig, std::forwa...
// // Created by 陈广祥 on 2019-09-19. // #include <sstream> #include "TxtPlugin.h" #include "PlainTextFormat.h" #include "TxtReader.h" #include "TxtChapterDetector.h" static const std::string TAG = "TxtPlugin"; TxtPlugin::TxtPlugin() : mTxtReaderPtr(nullptr) { } TxtPlugin::~TxtPlugin() { if (mTxtReaderPtr != null...
#include <iostream> #include <queue> #include <cstring> #define nullptr 0 using namespace std; struct edge { int to, val, next; }e[40010]; int head[1010], tot = 0; void add_edge(int from, int to, int val) { e[++tot].to = to; e[tot].val = val; e[tot].next = head[from]; head[from] = tot; } bool in_que[1010]; int...
// Copyright (c) 2012-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 "consensus/merkle.h" #include "merkleblock.h" #include "serialize.h" #include "streams.h" #include "uint256.h" #incl...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
#pragma once #include <functional> #include <optional> #include <type_traits> #include <boost/range.hpp> #include <boost/range/join.hpp> #include "all_type_variant.hpp" #include "constant_mappings.hpp" #include "storage/pos_lists/row_id_pos_list.hpp" #include "types.hpp" namespace opossum { // Generic class which ...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
// Copyright 2020 Open Source Robotics Foundation, 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 appli...
#ifndef BOOST_MPL_SET_SET30_HPP_INCLUDED #define BOOST_MPL_SET_SET30_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // Copyright David Abrahams 2003-2004 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICEN...
// Ivan Carvalho // Solution to https://dmoj.ca/problem/mnyc17p3 #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<ll,ll> ii; const ll MOD1 = 1e9 + 9; const ll prime1 = 999983; const ll MOD2 = 1e9 + 7; const ll prime2 = 999979; const ll invprime1 = 943912055; const ll invprime2 = 67249012...
#pragma once #include "../acl_cpp_define.hpp" namespace acl { class ACL_CPP_API noncopyable { protected: noncopyable() {} ~noncopyable() {} private: noncopyable( const noncopyable& ); const noncopyable& operator=( const noncopyable& ); }; } // namespace acl
/********************************************************************************* * OKVIS - Open Keyframe-based Visual-Inertial SLAM * Copyright (c) 2015, Autonomous Systems Lab / ETH Zurich * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
#include "scene_model.hpp" #include <memory> namespace rtc { struct collada_format : public rtc::scene_model { public: explicit collada_format(const std::string&); ~collada_format(); private: struct collada_format_impl; std::unique_ptr<collada_format_impl> collada_formatimpl; }; }
#include <fstream> using namespace std; class FileObject1 { public: FileObject1(); ~FileObject1(); int num; private: }; FileObject1::FileObject1() { } FileObject1::~FileObject1() { } int main() { ifstream readFile; readFile.open("123.txt", ios::in || ios::binary); if (readFile.is_open() == false) { r...
/* * Sketchy HTTP client * (C) 2013,2016 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/http_util.h> #include <botan/parsing.h> #include <botan/hex.h> #include <botan/internal/stl_util.h> #include <sstream> #if defined(BOTAN_HAS_BOOST_ASIO) /* * We don't ne...
#include <iostream> #ifndef _BOTZONE_ONLINE #include "core.h" #include "parser.h" #include "faan.h" #include "bot.h" #endif void init(const Game &game) { using namespace faan::probability; // 0.05 ~ 0.3 results in human understandable behavior // however, larger decay may bring suprising performance decay_per_til...
// Copyright 2021 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/metrics/power/power_metrics_reporter.h" #include <memory> #include "base/test/metrics/histogram_tester.h" #include "base/test/t...
/****************************************************************************** * Code generated with sympy 1.9 * * * * See http://www.sympy.org/ for more information. * ...
#include "caffe2/operators/onnxifi_op.h" namespace caffe2 { namespace { void SetInputTensorDescriptorTypeAndBuffer( const Tensor& cpu_tensor, onnxTensorDescriptorV1* desc) { if (cpu_tensor.template IsType<float>()) { desc->dataType = ONNXIFI_DATATYPE_FLOAT32; desc->buffer = reinterpret_cast<onnxPoi...
// Copyright (c) 2016 Zahra Khatami, Hartmut Kaiser // // 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> #include <hpx/concurrency/cache...
// Copyright (c) 2011-2013 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 "aboutdialog.h" #include "ui_aboutdialog.h" #include "clientmodel.h" #include "clientversion.h" // Copyright year (...
#include "stdafx.h" #include "control_path_builder.h" #include "control_manager.h" #include "BaseMonster/base_monster.h" #include "../../game_location_selector.h" #include "../../level_location_selector.h" #include "../../detail_path_manager.h" #include "../../ai_object_location.h" #include "../../ai_space.h" #include ...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
// Copyright (C) 1997-2018 by Synge Todo <wistaria@phys.s.u-tokyo.ac.jp> // // 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 <gtest/gtest.h> #include <standards/square.hpp> void test(standards::square cons...
// Copyright 2019 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/webgpu/gpu_command_encoder.h" #include "third_party/blink/renderer/bindings/modules/v8/double_sequence_or_gp...
/** * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
//--------------------------------------------------------------------------- #include "logger.h" #include <cstring> //--------------------------------------------------------------------------- namespace lsm { namespace tools { //--------------------------------------------------------------------------- Logger g_log...
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #include "table/block_based/block_based_table_reader.h" ...
/* * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
#ifndef Magnum_SceneGraph_Animable_hpp #define Magnum_SceneGraph_Animable_hpp /* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015 Vladimír Vondruš <mosra@centrum.cz> Permission is hereby granted, free of charge, to any person obtaining a copy of this software a...
#include "animatorOperations.h" #include "GUI/qtUtils.h" #include "GUI/asyncAnimatorPanel.h" #include "animation/asyncAnimator.h" #include "common/importFiles.h" #include "common/exportFiles.h" #include "drawables/drawableCage.h" #include "drawables/drawableSkeleton.h" #include "drawables/drawableCharacter.h" #includ...
// Copyright (c) 2011-2014 The Phtevencoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "utilitydialog.h" #include "ui_helpmessagedialog.h" #include "phtevencoingui.h" #include "clientmodel.h" #incl...
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved #include "AndroidRoutingServiceProxy.h" #include "AndroidRoutingServiceExampleView.h" JNIEXPORT void JNICALL Java_com_eegeo_examples_routingservice_RoutingServiceJniMethods_MoveUp( JNIEnv* jenv, jobject obj, jlong nativeObjectPtr) { Examples...
#include<iostream> using namespace std; class Node { public : int data; Node* right,*left; }node; Node* newNode(int data) { Node* temp = new Node(); temp->data = data; temp->left = temp->right = NULL; return temp; } int level(Node* root,Node* a,int lev) { if(!root) return 0; if(root == ...
/*! @authors Andrei Novikov (pyclustering@yandex.ru) @date 2014-2020 @copyright BSD-3-Clause */ #pragma once #include <vector> #include <pyclustering/container/adjacency.hpp> #include <pyclustering/container/adjacency_connector.hpp> #include <pyclustering/container/dynamic_data.hpp> #include <pyclustering/contain...
// Copyright 2017 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/subresource_filter/content/browser/content_subresource_filter_throttle_manager.h" #include <map> #include <memory> #include <tuple> ...
/** * Copyright (C) 2014 Patrick Mours. All rights reserved. * License: https://github.com/crosire/reshade#license */ #pragma once #include <d3d11_4.h> #include "draw_call_tracker.hpp" struct DECLSPEC_UUID("27B0246B-2152-4D42-AD11-32489472238F") D3D11DeviceContext : ID3D11DeviceContext4 { D3D11DeviceContext(D3D1...
#include "math.h" #include "gtest/gtest.h" #include "expressions/parameterized_array_type/ParameterizedArrayTypeExpression.h" #include "zserio/RebindAlloc.h" namespace expressions { namespace parameterized_array_type { using allocator_type = ParameterizedArrayTypeExpression::allocator_type; template <typename T> u...
// Copyright 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 "cc/quads/render_pass.h" #include "cc/base/math_util.h" #include "cc/base/scoped_ptr_vector.h" #include "cc/output/copy_output_request.h" #inclu...
#include "editaddressdialog.h" #include "ui_editaddressdialog.h" #include "addresstablemodel.h" #include "guiutil.h" #include <QDataWidgetMapper> #include <QMessageBox> #include <QClipboard> EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) : QDialog(parent), ui(new Ui::EditAddressDialog), map...
#include <torch/extension.h> #include <torch/csrc/autograd/variable.h> #include <pybind11/pybind11.h> #include "common.h" #include "cpu.cpp" namespace py = pybind11; using namespace pybind11::literals; using namespace std::string_literals; #ifdef NOCUDA Descent descend(MCTS m) { return mctscpu::descend(m); } TT ...
/* _______ ________ \ \ / _____/ ____ ___ / | \/ \ ____/ __ \ / \ / | \ \_\ \ ___/| | \ \____|__ /\______ /\___ >___| / \/ \/ \/ \/ The MIT License (MIT) COPYRIGHT (C) 2018 FIXCOM, LLC Permission is hereby granted, free of charge, to any pe...
/******************************************************************** Rhapsody : 8.0.5 Login : Paul Elder Component : DefaultComponent Configuration : DefaultConfig Model Element : Publisher_comp //! Generated Date : Fri, 18, Jul 2014 File Path : DefaultComponent\DefaultConfig\Publisher_comp.cpp ***********...
//----------------------------------------------------------------------------------------------- // SmoothNoise.cpp // #include "./RawNoise.hpp" #include <glm/vec2.hpp> #include <glm/vec3.hpp> #include <glm/vec4.hpp> #include <glm/common.hpp> #include <glm/geometric.hpp> ///////////////////////////////////////////...
//-------------------------------------------------- // // File: SequenceTree_MostParsimonious.cpp // // Author: Isaac Elias // e-mail: isaac@nada.kth.se // // cvs: $Id: SequenceTree_MostParsim...
/********** 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.1 of the License, or (at your option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.) This libr...
//===-- SBDebugger.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 // //===---------------------------...
// bslstp_hashtable.cpp -*-C++-*- #ifndef BDE_OPENSOURCE_PUBLICATION // STP #include <bslstp_hashtable.h> namespace bsl { // Force instantiation. template class _Stl_prime<bool>; } // close namespace bsl #endif // BDE_OPENSOURCE_PUBLICATION -- STP
// Copyright (c) 2012-2017, The CryptoNote developers, The Marcoin developers // // This file is part of Marcoin. // // Bytecoin 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 3 of the...
/////////////////////////////////////////////////////////////////////////////////////////////////// // OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net) /////////////////////////////////////////////////////////////////////////////////////////////////// // Created : 2006-04-19 // Updated ...
/* * Copyright (c) 2020, The OpenThread 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: * 1. Redistributions of source code must retain the above copyright * notice, this ...