text
stringlengths
7
961k
//================================================================================================= /*! // \file src/mathtest/inversion/DenseTest.cpp // \brief Source file for the dense matrix inversion test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze lib...
static bool eigen_did_assert = false; #define eigen_assert(X) if(!eigen_did_assert && !(X)){ std::cout << "### Assertion raised in " << __FILE__ << ":" << __LINE__ << ":\n" #X << "\n### The following would happen without assertions:\n"; eigen_did_assert = true;} #include <iostream> #include <Eigen/Eigen> #ifndef M_PI...
/** * Copyright 2014-2017 Andreas Schäfer * Copyright 2018 Google * * Distributed under the Boost Software License, Version 1.0. (See accompanying * file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) */ #ifndef FLAT_ARRAY_TESTBED_CPU_BENCHMARK_HPP #define FLAT_ARRAY_TESTBED_CPU_BENCHMARK_HPP #include...
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T.Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) *...
#include <wx/wx.h> #include "job.h" /******************************************************************************/ /********************* Queue *******************************************/ /******************************************************************************/ void Queue::AddJob(const tJOB& job, const tPRIO...
// 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...
#define LOG4Z_FORMAT_INPUT_ENABLE #include "libs/log4z.h" #include "core/network/NetworkServer.h" #include "showcase/NetworkServer.h" #include <boost/thread.hpp> #include <boost/functional.hpp> #include <boost/bind.hpp> int main(int argc, char *argv[]) { LOGFMT_INFO(LOG4Z_MAIN_LOGGER_ID, "Start server ..."); ...
/*========================================================================= * * 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 "Text.h" #include "BF/Graphics/Renderers/RenderLayer.h" #include "BF/System/Debug.h" namespace BF { namespace Graphics { namespace Renderers { namespace SpriteRendererComponents { using namespace std; using namespace BF::Math; using namespace BF::Graphics::API; using namespace BF::...
// 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 "content/browser/plugin_data_remover_impl.h" #include <limits> #include "base/bind.h" #include "base/metrics/histogram.h" #include "base/se...
#include <iostream> #include <string> #include <map> #include <algorithm> #include <vector> #include <cmath> using namespace std; struct student { string id; int gp, gmid, gfinal, g; student() {gp = gmid = gfinal = g = -1;} }; map<string, student> mp; vector<student> stus; int P, M, N; bool cmp(student&...
#include "Util.hpp" #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb/stb_image_write.h" #include <ctime> #include <iostream> #include <sstream> #include <future> #include <glbinding/Binding.h> // Execute on dedicated graphics card if possible #if defined(WIN32) || defined(_WIN32) extern "C" { __declspec(dllex...
// Copyright (c) 2019 PaddlePaddle 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...
/** * (c) Klemens Jahrmann * klemens.jahrmann@net1220.at */ #include "AutoMover.h" #include <glm/gtx/transform.hpp> AutoMover::AutoMover(SceneObject& obj, const double delay, const double speed, const std::vector<glm::vec3>& points, bool loop) : AutoTransformer(obj, delay), s(speed), p(points), nextPoint(0), curPoin...
//%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 (c) 2009-2012 Bitcoin Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <iostream> #include <fstream> #include "init.h" // for pwalletMain #include "bitcoinrpc.h" #include "ui_interface.h" #in...
#include "motor.h" #include "Configuration.h" #include "DualMC33926MotorShield.h" extern DualMC33926MotorShield md1; extern DualMC33926MotorShield md2; //////////////////////////////////////////// // Brushed Motor Functions //////////////////////////////////////////// void stopIfFault() { #ifdef POLOLU_BOARD_1 if ...
#include "edge-selectors.h" #include "arithmetics.hpp" namespace msdfgen { #define DISTANCE_DELTA_FACTOR 1.001 TrueDistanceSelector::EdgeCache::EdgeCache() : absDistance(0) { } void TrueDistanceSelector::reset(const Point2 &p) { double delta = DISTANCE_DELTA_FACTOR*(p-this->p).length(); minDistance.distanc...
//================================================================================================= /*! // \file src/mathtest/dmatdvecmult/M16x8aVHa.cpp // \brief Source file for the M16x8aVHa dense matrix/dense vector multiplication math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // //...
/* * Copyright (C) 2017 Apple 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 a...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "LayersPrivatePCH.h" #include "Layers/Layer.h" #define LOCTEXT_NAMESPACE "Layer" FLayerViewModel::FLayerViewModel( const TWeakObjectPtr< ULayer >& InLayer, const TSharedRef< ILayers >& InWorldLayers, const TWeakObjectPtr< UEditorEngine >& InEditor...
// Copyright 2009 by BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" #include "English/values/en_DeprecatedEventValueRecognizer.h" #include "Generic/common/ParamReader.h" #include "Generic/theories/DocTheory.h" #include "Generic/theories/SentenceTheory.h" #include "Generic/the...
#include "Player.hh" #include <set> #include <map> /** * Write the name of your player and save this file * with the same name and .cc extension. */ #define PLAYER_NAME Dummy1234 struct PLAYER_NAME : public Player { /** * Factory: returns a new instance of this class. * Do not modify this function. */...
/** * \file * \copyright * Copyright (c) 2012-2019, 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 "MFront.h" #include <MGIS/Behaviou...
/* * Copyright(c) 2019 Netflix, Inc. * SPDX - License - Identifier: BSD - 2 - Clause - Patent */ /****************************************************************************** * @file VideoSource.cc * * @brief Impelmentation class for video source & video file source. * * @author Cidana-Ryan * *************...
#include "Fuji_Internal.h" #if MF_RENDERER == MF_DRIVER_XBOX #include "MFMaterial.h" #endif
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
#include "common/upstream/logical_dns_cluster.h" #include <chrono> #include <list> #include <string> #include <vector> #include "envoy/common/exception.h" #include "envoy/config/cluster/v3/cluster.pb.h" #include "envoy/config/core/v3/address.pb.h" #include "envoy/config/endpoint/v3/endpoint.pb.h" #include "envoy/stat...
/* Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc. 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, mer...
////////////////////////////////////////////////////////////////////// // // biospecbsdfmaker.cpp - This is a utility that makes an RGB bsdf // using the biospec model to be used by a data driven bsdf // during rendering. // // Author: Aravind Krishnaswamy // Date of Birth: February 22, 2005 // Tabs: 4 // C...
/*! /brief BOW-a film guessing game This is the classic film guessing game which all you have enjoyed playing at free time. I have only ported it to computer based game. Why have I created it? Because I want to. Hope you like it */ #include "stdafx.h" #include "BOW-a film guessing game.h" using namespace std; void Gam...
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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...
// Copyright (c) 2015 Daniel Bourgeois // Copyright (c) 2020 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) #include <pika/init.hpp> #include <pika/module...
/* * 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 <iostream> using namespace std; void printAsc(int start, int end); int main() { printAsc(0, 10); return 0; } void printAsc(int start, int end) { if (start == end) { cout << start << endl; } else { int mid = (start + end) / 2; printAsc(start, mid); printAs...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #ifndef __PRINTSERVER_HPP__ #define __PRINTSERVER_HPP__ namespace System { namespace Printing { /// <su...
// Copyright 2014 The Crashpad 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 ...
/*============================================================================= Copyright (c) 2018 Nikita Kniazev 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) ====================================================...
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
// Method - Iteration from beggining(Brute Force) // Time Complexity T = O(n) // Space Complexity S = O(1) class Solution { public: int lengthOfLastWord(string s) { // initialize count variable to count the last word of the given string and return it int count = 0; // finding...
#pragma once #include "messaging.hpp" #ifdef __APPLE__ #include <OpenGL/gl3.h> #define NANOVG_GL3_IMPLEMENTATION #define nvgCreate nvgCreateGL3 #else #include <GLES3/gl3.h> #include <EGL/egl.h> #define NANOVG_GLES3_IMPLEMENTATION #define nvgCreate nvgCreateGLES3 #endif #include <atomic> #include <map> #include <strin...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ struct X { int a = -1; int b{-2}; int c{}; int d; X() = default; X(int a, int b) : a(a + b) {} }; struct Y { X x1{1,...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2019 The Bitstock developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcconsole.h" #inc...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" namespace ngraph { namespace onnx_import { namespace op { namespace set_1 { OutputVector non_max_suppression(const Node& node); } // namespace set_1 } ...
/*******************************************************************\ Module: Symbolic Execution of ANSI-C Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ #include <goto-symex/goto_symex.h> #include <goto-symex/reachability_tree.h> #include <langa...
// (C) Copyright John Maddock 2006. // 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) #ifndef BOOST_MATH_TOOLS_TEST_DATA_HPP #define BOOST_MATH_TOOLS_TEST_DATA_HPP #include <bo...
// 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 "net/url_request/url_request_http_job.h" #include <vector> #include "base/base_switches.h" #include "base/bind.h" #include "base/bind_helpe...
#include "funcs/visuals/esp/esp.h" #include "globals.h" #include "utils/cvars/cvars.h" #include "funcs/utils.h" #include "funcs/filter/filter.h" namespace Cvars { cvar_t* esp; cvar_t* esp_box_r; cvar_t* esp_box_g; cvar_t* esp_box_b; cvar_t* esp_name_r; cvar_t* esp_name_g; cvar_t* esp_name...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/assign/list_of.hpp> #include "wallet.h" #include "walletdb.h" #include...
#pragma once #include <map> #include <set> #include "Plugin.hpp" #include "Services/Events/Events.hpp" #include "Services/Hooks/Hooks.hpp" #include "API/CNWSCreature.hpp" #include "API/CNWSCreatureStats.hpp" #include "API/CNWSItem.hpp" const int NWNX_WEAPON_OPT_GRTFOCUS_AB_BONUS = 0; const int NWNX_WEAPON_OPT_GRTSPEC...
// -*- C++ -*- // Copyright (C) 2005-2016 Free Software Foundation, Inc. // // 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 Software // Foundation; either version 3...
//================================================================================================= /*! // \file src/mathtest/operations/dvecdveccross/VDbV3a.cpp // \brief Source file for the VDbV3a dense vector/dense vector cross product math test // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved ...
#pragma once /** * @file LoadFile.hpp * * This module declares the LoadFile function. */ #include <string> #include <SystemAbstractions/DiagnosticsSender.hpp> /** * This function loads the contents of the file with the given path * into the given string. * * @param[in] filePath * This is the path of the...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/medialive/model/ArchiveOutputSettings.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws...
// -*- coding: us-ascii-unix -*- // Copyright 2015 Lukas Kemmer // // 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 a...
// simple recursive solution, not DP or BFS class Solution { public: int jump(vector<int>& nums) { this->jumps = vector<int>(nums.size(), INT_MAX); return jump_(nums, 0); } private: vector<int> jumps; int jump_(const vector<int> &nums, int pos) { if (pos >= nu...
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
#include <vili/node.hpp> #include <vili/parser.hpp> #include <vld8/validator.hpp> #include <Animation/Animation.hpp> #include <Animation/AnimationGroup.hpp> #include <Animation/Exceptions.hpp> #include <Config/Validators.hpp> #include <Engine/ResourceManager.hpp> #include <System/Path.hpp> namespace obe::Animation { ...
#include <ftxui/dom/elements.hpp> // for text, operator|, border, Element, vbox, center, Fit, dbox #include <ftxui/screen/screen.hpp> // for Full, Screen #include <memory> // for allocator #include "ftxui/dom/flexbox_config.hpp" // for ftxui #include "ftxui/dom/node.hpp" // for Render ...
// Copyright © 2017-2021 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 "proto/Cosmos.pb.h" #include "Cosmos/Signer.h" #in...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.cpp :+: :+: :+: ...
#pragma once #include <QtCore/QUuid> #include <QtWidgets/QGraphicsObject> class QGraphicsSceneMouseEvent; namespace QtNodes { class FlowScene; class Connection; class ConnectionGeometry; class Node; /// Graphic Object for connection. Adds itself to scene class ConnectionGraphicsObject : public QGraphicsObject {...
#include <mitsuba/render/texture.h> #include <mitsuba/render/srgb.h> #include <mitsuba/core/plugin.h> #include <mitsuba/core/properties.h> NAMESPACE_BEGIN(mitsuba) /**! .. _spectrum-srgb_d65: sRGB D65 spectrum (:monosp:`srgb_d65`) -------------------------------------- This is a convenience wrapper around both the...
/* ************************************************************************ * Copyright (C) 2016-2022 Advanced Micro Devices, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
#pragma once /* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2020-01-01 * * On the date above, in accordance with the Business Source License, use * of this softw...
// Copyright (c) 2018-2019 Philip Deljanov // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, p...
// 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. // TODO(beaudoin): What is really needed here? #include <deque> #include <string> #include "base/memory/scoped_ptr.h" #include "base/stl_util.h" #in...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017-2018 The Bitesax developers // Distributed under the MIT software license, see the accompanying // file COPYIN...
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * 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 noti...
/* * Copyright 2021-2022 Hewlett Packard Enterprise Development LP * 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 the License. * * You may obtai...
#include "MLAlg.h" MLAlg::MLAlg(type t) { tp=t; // *** Parameters *** // KNN K=10; // SVM svmparams.svm_type = CvSVM::C_SVC; // C_SVC o NU_SVC svmparams.kernel_type = CvSVM::RBF; // SIGMOID or RBF; svmparams.gamma = 1.0; // for poly/rbf/sigmoid svmparams.coef0 = 0.0; // for poly/sigmoid svmparam...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "coincontroldialog.h" #include "ui_coincontroldialog.h" #include "addresstablemodel.h" #include "zurcoinunits.h" #i...
//===----------- commands.cpp - SYCL commands -------------------*- 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 "Framework.h" int GameMath::Random(int min, int max) { return rand() % (max - min) + min; } float GameMath::Random(float min, float max) { float normal = rand() / (float)RAND_MAX; return min + (max - min) * normal; } Vector3 GameMath::Random(Vector3 min, Vector3 max) { Vector3 result; result.x = Rando...
#include <Arduino.h> #include <NewPing.h> #include <SimpleKalmanFilter.h> #include <ros.h> #include <sensor_msgs/Range.h> #include <std_msgs/String.h> // ARDUINO ULTRASONIC RANGE PUBLISHER // This script will allow users to publish ultrasonic sensor data to ROS // via Arduino formatted as sensor_msgs/Range message #d...
// 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 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/ec2/model/LaunchTemplateInstanceMetadataOptions.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStre...
//===-- CommandLine.cpp ---------------------------------------------------===// // // The ONNC Project // // See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #include <onnc/Option/CommandLine.h> #include <onnc/Option/OptionPool...
#include "illuminate.hpp" TEST_CASE(ASSERT_NE) { ASSERT_NE(1+1,2+2) ASSERT_NE(1+2,2+1) ASSERT_NE(2+1,1+2) }
//Language: GNU C++ #include<iostream> #include<vector> #include<string> using namespace std; const int maxn=510; int used[maxn][maxn]; string mp[maxn]; struct move{ int x,y,type; // 0 = B // 1 = R // 2 = D }; vector<move> moves; int n,m; void dfs(int x,int y,bool first){ if(x<0 || y<0 || x>=n || y>=m) return...
// // Copyright (C) 2002-2005 3Dlabs Inc. Ltd. // Copyright (C) 2012-2016 LunarG, Inc. // Copyright (C) 2017 ARM Limited. // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // Redist...
#include <scriptbuilder/scriptbuilder.h> #include <vector> #include <assert.h> using namespace std; #include <stdio.h> #if defined(_MSC_VER) && !defined(_WIN32_WCE) && !defined(__S3E__) #include <direct.h> #endif #ifdef _WIN32_WCE #include <windows.h> // For GetModuleFileName() #endif #if defined(__S3E__) || defined(...
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018 www.open3d.org // // Permissio...
// Copyright (c) 2017-2021 oknenavin. // Licensed under the MIT license. See LICENSE file in the library root for full license information. // // SPDX-License-Identifier: MIT #ifndef CXON_LIB_STD_MAP_ # define CXON_LIB_STD_MAP_ # include <map> # ifdef CXON_JSON_DEFINED # include "cxon/lang/json/lib/std/m...
// Copyright (c) 2012 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "filter_block.h" #include "../hyperleveldb/filter_policy.h" #include "../util/coding.h" name...
#include <stdio.h> #include <testComponent978/lib1.h> int testComponent978_2 () { printf("Hello world!\n"); return 0; }
#ifndef __MY_DEBUG_CPP_ #define __MY_DEBUG_CPP_ #include "../../../include/tools/my_debug/my_debug.h" Globaldebug gdb; #endif
// Copyright (c) 2013-2016 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/tx_verify.h" #include "consensus/validation.h" #include "data/sighash.json.h" #include "hash.h" #include ...
/* *********************************************************************************************************************** * * Copyright (c) 2017-2020 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
// 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 "tools/gn/standard_out.h" #include <stddef.h> #include <vector> #include "base/command_line.h" #include "base/logging.h" #include "base/st...
// Copyright (c) 2019-2020 The PIVX developers // Copyright (c) 2021-2022 The DECENOMY Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "qt/pivx/settings/settingsinformationwidget.h" #include "qt/pivx/set...
// Copyright(c) 2018-2020, Intel Corporation // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of conditions and...
#ifndef AppComponent_hpp #define AppComponent_hpp #include "websocket/WSListener.hpp" #include "oatpp-websocket/ConnectionHandler.hpp" #include "oatpp/web/server/HttpConnectionHandler.hpp" #include "oatpp/web/server/HttpRouter.hpp" #include "oatpp/network/tcp/server/ConnectionProvider.hpp" #include "oatpp/parser/js...
// *************************************************************** // Copyright (c) 2021 Jittor. All Rights Reserved. // Maintainers: Dun Liang <randonlang@gmail.com>. // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. // ******************...
//******************************************************************** //* //* Warning: This file was generated by ecore4CPP Generator //* //******************************************************************** #ifndef FUMLPLUGIN_HPP #define FUMLPLUGIN_HPP #include "pluginFramework/EcoreModelPlugin.hpp" namespace...
// Copyright (c) 2013 The Chromium Embedded Framework 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 "libcef/browser/request_context_impl.h" #include "libcef/browser/browser_context.h" #include "libcef/browser/context.h" #i...
/* This file is a part of: Lina Engine https://github.com/inanevin/LinaEngine Author: Inan Evin http://www.inanevin.com Copyright (c) [2018-2020] [Inan Evin] 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 t...
/* * Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.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-2.0 * * Unless requir...
#include "../state.h" #include <iostream> using namespace state; using namespace std; void Observable::registerObserver (IObserver* observer){ observers.push_back(observer); } void Observable::notifyObservers (const StateEvent& e, State& state){ for(auto observer : observers){ cout<<"Render notified"<<endl; ob...
// // M A R I A D B + + // // Copyright The ViaDuck Project 2016 - 2018. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef MARIADBCLIENTPP_CONVERSION_HELPER_H #define MARIADBCLIENTPP_CONVERSI...