text
stringlengths
5
1.04M
//===- CodeCoverage.cpp - Coverage tool based on profiling instrumentation-===// // // 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 "common/upstream/logical_dns_cluster.h" #include <chrono> #include <list> #include <string> #include <vector> #include "common/common/fmt.h" #include "common/config/utility.h" #include "common/network/address_impl.h" #include "common/network/utility.h" #include "common/protobuf/protobuf.h" #include "common/p...
#ifndef DISPLAY_INCLUDE_GUARD_ #define DISPLAY_INCLUDE_GUARD_ #include <stdint.h> //***************************************************************************** // // Make sure all of the definitions in this header have a C binding. // //***************************************************************************** #...
/** * Copyright (c) 2016-present, Facebook, 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 "...
// Copyright (c) 2013, Facebook, 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. // // Copyright (c) 2011 The...
#include "TFOpacityWidget.h" #include "TFOpacityInfoWidget.h" #include "TFUtils.h" #include <QAction> #include <QPaintEvent> #include <QPainter> #include <glm/glm.hpp> #include <vapor/ParamsMgr.h> #include <vapor/RenderParams.h> using namespace VAPoR; using glm::clamp; using glm::vec2; using std::vector; static vec2 ...
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Restricted Libraries source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4RestrictedLicense.pdf // and may not be copie...
/* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved. */ #include <boost/uuid/uuid_io.hpp> #include <vnc_cfg_types.h> #include <cmn/agent_cmn.h> #include <ifmap/ifmap_node.h> #include <cfg/cfg_init.h> #include <cfg/cfg_listener.h> #include <oper/agent_sandesh.h> #include <oper/ifmap_dependency_manager...
static const char *value_errors[] = { "test/errors/value/io/open1.yasl", "test/errors/value/io/open2.yasl", "test/errors/value/io/open3.yasl", "test/errors/value/io/read1.yasl", "test/errors/value/io/read2.yasl", "test/errors/value/io/seek.yasl", "test/errors/value/list/__get.yasl", "test/errors/value/l...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkAndroidCodec.h" #include "SkBitmap.h" #include "SkCodec.h" #include "SkCommonFlags.h" #include "SkImageEncoder.h" #include "SkOSPath.h" #include "SkStream.h" #inc...
/* * Author: Crownstone Team * Copyright: Crownstone (https://crownstone.rocks) * Date: Apr 15, 2020 * License: LGPLv3+, Apache License 2.0, and/or MIT (triple-licensed) */ #include <ble/cs_Nordic.h> #include <drivers/cs_GpRegRet.h> #include <logging/cs_Logger.h> #include <util/cs_BleError.h> // Set true to enab...
#include <halley/concurrency/concurrent.h> #include <halley/concurrency/executor.h> #include <halley/support/exception.h> #include "halley/text/string_converter.h" #include "halley/support/logger.h" using namespace Halley; Executors* Executors::instance = nullptr; ExecutionQueue::ExecutionQueue() : aborted(false) {...
// Leetcode 146. LRU Cache class LRUCache { public: int capacity, cnt; struct Node{ Node *l,*r; int key; int value; }; Node *head,*tail; unordered_map<int,Node*> cache_map; LRUCache(int capacity): capacity(capacity) { head = new Node(); tail = new Node(); ...
/*========================================================================= * * 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...
// t0533.cc // double-typed expr void f(double,double); // line 4: this is the right one void f(int,int); void foo() { double d; f(2*d+4, 3.0); // calls 'f' on line 4 f(4+2*d, 3.0); // calls 'f' on line 4 __checkType(2*d+4, (double)0); __checkType(4+2*d, (double)0); char *p; ...
// 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 "chrome/browser/chromeos/net/network_portal_detector_strategy.h" #include "base/logging.h" #include "chromeos/network/network_handler.h" #includ...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied w...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" #include "extern/beatsaber-hook/shared/utils/byref.hpp" // Including type: LiteNetLib.Net...
/* * Copyright (c) 2017-2021 Arm Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
#include "ini_file.h" #include <fstream> #include <cstring> #include <algorithm> #include <iostream> namespace ini_file { IniFile::IniFile() : comment_delimiter_("#") { } IniFile::IniFile(string& file_name): comment_delimiter_("#") { Load(file_name); } int IniFile::Load(const string& file_name) { string line; ...
// Copyright (c) 2020 Microsoft Corporation. // Licensed under the MIT License. #include "Behaviors/UxtHandConstraintComponent.h" #include "Engine/World.h" #include "HandTracking/UxtHandTrackingFunctionLibrary.h" #include "Utils/UxtFunctionLibrary.h" namespace { // Like FMath::LineBoxIntersection but from the insid...
#ifndef SAGA_IMPL_PACKAGES_CPR_CPR_JOB_CPI_HPP #define SAGA_IMPL_PACKAGES_CPR_CPR_JOB_CPI_HPP #if defined(__WAVE__) && defined(SAGA_CREATE_PREPROCESSED_FILES) #pragma wave option(preserve: 2, line: 0, output: "preprocessed/cpr_job_cpi.hpp") #endif // Copyright (c) 2005-2009 Hartmut Kaiser // // Distributed under th...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universi...
//===--- LoadableByAddress.cpp - Lower SIL address-only types. ------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include "AST/Type.h" #include "frontend/lexer.h" #include "LLVM/context.h" #include "AST/declarations/class-decl.h" std::shared_ptr<AST::Type> AST::BasicType::String = std::make_shared<BasicType>(K_string), AST::BasicType::Int = std::make_shared<BasicType>(K_int), AST::BasicType::Long = std::make_shared<BasicType>(K_...
// Copyright Carl Philipp Reh 2006 - 2019. // 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 SGE_OPENCL_KERNEL_LOCAL_BUFFER_HPP_INCLUDED #define SGE_OPENCL_KERNEL_LOCAL_BUFFER_HPP_INCL...
// // Created by vitor on 25-08-2018. // #ifndef CIRCUITSIM_BASIC_RESISTOR_HH #define CIRCUITSIM_BASIC_RESISTOR_HH #include <string_view> #include "basic_component.hh" #include "component_with_value.hh" #include "../dc_context_view.hpp" namespace circuitsim { template<class Derived> class basic_resistor : ...
/* * ***** BEGIN LICENSE BLOCK ***** * Version: MIT * * Copyright (c) 2010-2013 Alan Antonuk * * 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 withou...
#pragma once #include <wls/app/plugin.hpp> #include <wls/chain/database.hpp> #include <wls/chain/comment_object.hpp> #include <boost/multi_index/composite_key.hpp> #include <fc/thread/future.hpp> #include <fc/api.hpp> namespace wls { namespace tags { using namespace wls::chain; using namespace boost::multi_index; ...
/* * Problema: Lendo Livros * https://www.urionlinejudge.com.br/judge/pt/problems/view/1542 */ #include <iostream> #include <iomanip> #include <cstdio> #include <cstdlib> #include <numeric> #include <string> #include <sstream> #include <iomanip> #include <locale> #include <bitset> #include <map> #include <vector> #incl...
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* reverseList(ListNode* head) { //头插法逆置单链表,每次都把下一个节点插到头部 ListNode* root = head; while(root && head->...
#include "voxigen/queueThread.h" #include "voxigen/fileio/log.h" namespace voxigen { QueueThread::QueueThread(std::condition_variable *completeEvent): m_completeEvent(completeEvent) { processRequest=std::bind(&QueueThread::defaultCallback, this, std::placeholders::_1 ); } void QueueThread::setCallback(proces...
/**************************************************************************** * ==> PSS_UserEntity ------------------------------------------------------* **************************************************************************** * Description : Provides an user entity * * Devel...
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Render.h" #include "j1Textures.h" #include "j1Fonts.h" #include "j1Input.h" #include "j1Gui.h" #include <iostream> #include <sstream> #define LAYER 10 // Class Gui ------------------------- // ----------------------------------- j1Gui::j1Gui() :...
#include "stdafx.h" #include "FallingItem.hpp" #include "Shadow.hpp" #include "ScreenManager.hpp" #include "Game.hpp" #include "stdlib.hpp" #include "Function.hpp" #include "Events.hpp" #include "Sfx.hpp" #include "SwitchStates.hpp" #include "Sound/Midi.hpp" #include "ParticleBurst.hpp" #include "Particle.hpp" #include...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | +---------...
#include <gpd_ros/grasp_detection_server_prl.h> GraspDetectionServerPRL::GraspDetectionServerPRL(ros::NodeHandle& node){ std::string cfg_file; node.param("config_file", cfg_file, std::string("")); grasp_detector_ = new gpd::GraspDetector(cfg_file); // Read parameters from configuration file. gpd::util::Con...
/* * Copyright (c) 2008, Willow Garage, Inc. * Copyright (c) 2017, Open Source Robotics Foundation, 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: * * * Redistributions of source...
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #include "test_utils.h" #include <intel_gpu/primitives/input_layout.hpp> #include <intel_gpu/primitives/convolution.hpp> #include ...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcconsole.h" #include "ui_debugwindow.h" #include "bantablemo...
// Copyright (c) 2019 The Refnet Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <test/util.h> #include <chainparams.h> #include <consensus/merkle.h> #include <consensus/validation.h> #include <key_io.h...
#include "act_map/voxblox_utils.h" #include "act_map/voxblox/integrator/occupancy_integrator.h" #include "act_map/sampler.h" #include "act_map/optim_orient.h" namespace act_map { namespace utils { void setPointsInOccupancyLayer(const Eigen::Matrix3Xd& points_w, act_map::OccupancyLayer* ...
#include <bits/stdc++.h> using namespace std; char M[16][16]; int C[17][17], Row[16], n; bool Col[16]; bool check(int i, int j) { for (int k=0; k<j; ++k) if (abs(i-Row[k]) == abs(j-k)) return 0; return 1; } int backtrack(int j) { if (j == n) return 1; for (int i=0; i<n; ++i) ...
// Copyright 2018 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...
// Copyright (c) 2014-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // Copyright (c) 2014-2017 The Dash Core developers // Copyright (c) 2018 The GeekCash developers // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #i...
// Copyright (c) 2014 Dropbox, 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 t...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #include "cbase.h" #include "movevars_shared.h" #if defined( TF_CLIENT_DLL ) || defined( TF_DLL ) #include "tf_gamerules.h" #endif // memd...
#include<bits/stdc++.h> using namespace std; int cnt[50]; random_device rd; mt19937 ran(rd()); int dice(int n) { uniform_int_distribution<int> uid(1,n); return uid(ran); } int main() { int dice_size=4; int show_fields=3; int rolls=1e6; srand(time(0)); int num_fields=40; int GO =0; in...
#pragma once #include <Register/Utility.hpp> namespace Kvasir { //Serial peripheral interface namespace Spi2Cr1{ ///<control register 1 using Addr = Register::Address<0x40013000,0xffff0000,0x00000000,unsigned>; ///Bidirectional data mode enable constexpr Register::FieldLocat...
// Copyright (c) 2009-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 "script/standard.h" #include "pubkey.h" #include "script/script.h" #inc...
/*========================================================================= Program: Visualization Toolkit Module: vtkEmptyCell.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 is ...
// -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*- /* * Copyright 2008-2011 ZXing 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://...
#include "splash.h" #include <unistd.h> #include <sys/stat.h> #include <stdio.h> void splash_timeout(void *param) { ((Fl_Double_Window*) param)->hide(); } int cnt = 0; float r_from = 0x33; float g_from = 0x99; float b_from = 0xff; float r_to = 0xff; float g_to = 0xff; float b_to = 0xff; void fadein_timeout(voi...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
# include "../headers/unixclientstream.hpp" # include "../headers/exception.hpp" # include <string> # include <iostream> # include <string.h> // Builds a connection to /tmp/unixsocket and sends/receives data using it. int main(void) { using libsocket::unix_stream_client; using std::string; string path = ...
/** * Author: soosoo * Time: 2021-02-20 12:44:44 **/ #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pll; typedef pair<string, string> pss; typedef vector<int> vi; typedef vector<vi> vvi; typedef vector<pii> vii; typedef vector<ll> vl; typedef vect...
// Copyright (c) 2015-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 <stdio.h> #includ...
#include "xuly.h" void thiBay(ThuBay *dv1, ThuBay *dv2) { dv1->bay(); dv2->bay(); } void thiBoi(ThuBoi *dv1, ThuBoi *dv2) { dv1->boi(); dv2->boi(); } void thuanhoaThu(ThuDeCon *dv) { ThuDeCon con = dv->deCon(); } void nuoiCa(LopCa *dv) { dv->boi(); LopCa con = dv->deTrung(); } void nuoiBoSat(LopBoSat *dv) {...
/** * 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 John McFarlane 2015 - 2017. // 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 <cnl/_impl/type_traits/identical.h> #include <cnl/static_number.h> #include <gtest/gtes...
class Solution { public: double myPow(double x, int nn) { double ans(1.0); int sig = (nn < 0 ? -1 : 1); long long n = abs(nn); if(n == 0) return 1; if(x == 1.0) return 1.0; while(n) { if(n & 1) ans = ans * x; x = x * x; n >>= 1; } if(sig == -1) ...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "op_fuzzy.hpp" #include <cnpy.h> #include <fstream> #include "engines_util/test_engines.hpp" #include "ngraph/ngraph.hpp" #include "paddle_utils.hpp" #include "util/test_control.hpp" using namespace ngraph; using namesp...
#include "stdafx.h" #include <regex> namespace Oobe { namespace internal { // The parsing function attempts to read the launcher file in a type safe way. // Should new requirements need to extend the parsing grammar, here is what needs to be done: // 1. Add new entries in the SupportedT...
/* Copyright 2018 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...
#ifndef FACTORY_DECODER_LDPC_HPP #define FACTORY_DECODER_LDPC_HPP #include <vector> #include <string> #include <memory> #include <map> #include "Tools/Arguments/Argument_tools.hpp" #include "Tools/Algo/Matrix/Sparse_matrix/Sparse_matrix.hpp" #include "Module/Encoder/Encoder.hpp" #include "Module/Decoder/Decoder_SIHO....
#include "space_age.h" namespace space_age { long long space_age::seconds() const { return _ageInSeconds; } double space_age::on_earth() const { return _ageInSeconds / _earthSecondsPerYear; } double space_age::on_jupiter() const { return _ageInSeconds / _jupiterSecondsPerYear; } double space_age::on_mars() con...
/* * 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...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <omp.h> typedef struct __attribute__((__aligned__(16))) { float x, y, z; } float3; typedef struct __attribute__((__aligned__(16))) { float x, y, z, w; } float4; #pragma omp declare target inline float3 operator*(const float3 &a, const float b) { ...
// (C) Copyright 2009 Andrew Sutton // // Use, modification and distribution are subject to the // Boost Software License, Version 1.0 (See accompanying file // LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) #ifndef TEST_DESTRUCTION_HPP #define TEST_DESTRUCTION_HPP #include <boost/concept/assert.hpp> #inclu...
/* Copyright(c) 2015 - 2022 Denis Blank <denis.blank at outlook dot com> 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 u...
// /* // Copyright 2016 AROGAN 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 agreed to in ...
// // // #ifndef AEYON3D_ENTITYID_HPP #define AEYON3D_ENTITYID_HPP #include "UUID.hpp" namespace aeyon { using EntityID = UUID; } #endif
/* * LPDegreeOrdered.cpp * * Created on: 24.09.2013 * Author: cls */ #include <unordered_map> #include "LPDegreeOrdered.h" #include "../auxiliary/Log.h" #include "../auxiliary/Parallel.h" namespace NetworKit { LPDegreeOrdered::LPDegreeOrdered(const Graph& G) : CommunityDetectionAlgorithm(G) {} void LPDe...
// Copyright (c) 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 "net/quic/congestion_control/prr_sender.h" #include <algorithm> #include "base/logging.h" #include "net/quic/crypto/crypto_protocol.h" #inc...
/* Copyright 2019 Ilia S. Kovalev 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...
/* AUTHOR: julianferres, dom 16 ago 2020 11:56:03 -03 */ #include <bits/stdc++.h> using namespace std; typedef long long ll; typedef vector<ll> vi; typedef pair<ll,ll> ii; typedef vector<ii> vii; typedef vector<bool> vb; #define FIN ios::sync_with_stdio(0);cout.tie(0) #define forr(i, a, b) for(int i = (a); i < (int)...
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/heap/scavenger.h" #include "vm/dart.h" #include "vm/dart_api_state.h" #include "vm/flag_l...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
/****************************************************** * Cloud WebAccess * http://gitlab.qq/cloudproject/backend-web-access.git * Created: 01.04.2020 * Copyright (C) goganoga 2020 *******************************************************/ #include "FHT/Common/DBFacade/Postgresql/Postgresql.h" #include "FHT/Common/Te...
// Copyright 2016 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 "ash/system/tray/tray_popup_utils.h" #include <algorithm> #include <memory> #include <utility> #include "ash/public/cpp/ash_constants.h" #inclu...
/*************************************************************************** * Copyright (c) Johan Mabille, Sylvain Corlay and Wolf Vollprecht * * Copyright (c) QuantStack * * * * Distribute...
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <Rcpp.h> using namespace Rcpp; // initFactories void initFactories(std::string data_folder); RcppExport SEXP _flowshopNehBasedHeuristicRecommendation_initFactories(SEXP data_folder...
#include "json.h" #include "ui_json.h" #include <QNetworkRequest> #include <QJsonDocument> #include <QJsonArray> #include <QJsonObject> #include <QVariantMap> #include <QDebug> json::json(QWidget *parent) : QWidget(parent), ui(new Ui::json) mNetManager(new QNetworkAccessManager(this)), mNetRep...
#include "stm32f051/gpio.hpp" #include "stm32f051/rcc.hpp" using namespace JL; static void configGpio(void) { Rcc::hsiConfig(pllMul12, ahbPre1, apbPre1); ClockPack<PortA::Clock, PortB::Clock, PortC::Clock>::Enable(); PinPack<PinC8, PinC9>::Config(modeOutput, speedHigh, pupdNone); } int main(void) { configGpi...
// Copyright (C) 2019-2020 Zilliz. 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 l...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-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 <wallet/wallet.h> #include <checkpoints.h> #include <chain.h> #include ...
#include <boost/python.hpp> #include <boost/python/suite/indexing/indexing_suite.hpp> #include <boost/python/suite/indexing/map_indexing_suite.hpp> #include <boost/python/suite/indexing/vector_indexing_suite.hpp> #include <lanelet2_core/LaneletMap.h> #include <lanelet2_core/primitives/BasicRegulatoryElements.h> #inclu...
// Copyright (c) 2009-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 "alert.h" #include "checkpoints.h" #include "db.h" #include "txdb.h" #inc...
/* Copyright (C) 2013-2020 Sysdig Inc. This file is part of sysdig. 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...
#include "stdafx.h" #include "build.h" #include "../xrlc_light/xrdeflector.h" #include "../xrlc_light/xrThread.h" #include "../xrLC_Light/xrLC_GlobalData.h" #include "../xrLC_Light/xrLightVertex.h" #include "net.h" //#include "../xrLC_Light/net_task_manager.h" #include "../xrLC_Light/lcnet_task_manager.h" #include "....
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD license as follow...
/*********************************************************************************** ** MIT License ** ** ** ** Copyright (c) 2018 Victor DENIS (victordenis01@gmail.com) ...
#ifdef _USE_DIRECTX12 #include "DX12MeshRenderer.h" #include "revGraphics.h" DX12MeshRenderer::DX12MeshRenderer() { } DX12MeshRenderer::~DX12MeshRenderer() { } void DX12MeshRenderer::SetModel(const revModel* model) { revMeshRenderer::SetModel(model); uint32 transformCount = static_cast<uint32>(transforms.size())...
#ifndef FSLDEMOAPP_BASE_SERVICE_EVENTS_BASIC_MOUSEMOVEEVENT_HPP #define FSLDEMOAPP_BASE_SERVICE_EVENTS_BASIC_MOUSEMOVEEVENT_HPP /**************************************************************************************************************************************************** * Copyright (c) 2014 Freescale Semiconduc...
// g2o - General Graph Optimization // Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard // 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 cod...
#ifndef GRAPH_CONTRACTOR_HPP #define GRAPH_CONTRACTOR_HPP #include "contractor/query_edge.hpp" #include "util/binary_heap.hpp" #include "util/deallocating_vector.hpp" #include "util/dynamic_graph.hpp" #include "util/integer_range.hpp" #include "util/percent.hpp" #include "util/simple_logger.hpp" #include "util/timing_...
#include "../directx11lib.h" #include "directx11buffer.h" #include "../directx11rendercontext.h" #include "directx11vertexarray.h" #include "Generic/bytebuffer.h" namespace Engine { namespace Render { DirectX11Buffer::DirectX11Buffer(UINT bind, const ByteBuffer &data) : mSize(data.mSize) , mBi...
/* See LICENSE file in root folder */ #ifndef ___C3D_BonesInstantiationComponent_H___ #define ___C3D_BonesInstantiationComponent_H___ #include "Castor3D/Model/Mesh/Submesh/Component/BonesComponent.hpp" #include "Castor3D/Model/Mesh/Submesh/Component/InstantiationComponent.hpp" #include "Castor3D/Shader/ShaderBuffer.h...
#include "WavWriter.hh" #include "MSXException.hh" #include "Math.hh" #include "vla.hh" #include "endian.hh" #include <cstring> #include <vector> namespace openmsx { WavWriter::WavWriter(const Filename& filename, unsigned channels, unsigned bits, unsigned frequency) : file(filename, "wb") , byt...
/********************* */ /*! \file equality_engine.cpp ** \verbatim ** Top contributors (to current version): ** Dejan Jovanovic, Guy Katz, Andrew Reynolds ** This file is part of the CVC4 project. ** Copyright (c) 2009-2016 by the authors listed in the fil...