text
stringlengths
7
961k
#include <iostream> using namespace std; struct Point { // Lippman, 7.5.5, p298. // All members must be public. // No ctors. // No in-class initializers. // No base classes or virtual functions. int x; int y; }; int main(int argc, char *argv[]) { Point p1 = { 20, 40 }; cout << "p...
/** * Implements powerd++ a drop in replacement for FreeBSD's powerd. * * @file */ #include "Options.hpp" #include "Cycle.hpp" #include "types.hpp" #include "constants.hpp" #include "errors.hpp" #include "clas.hpp" #include "utility.hpp" #include "sys/sysctl.hpp" #include "sys/pidfile.hpp" #include "sys/signal.h...
// Copyright 2014 the V8 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. #include "src/flags.h" #include "src/heap/gc-idle-time-handler.h" #include "src/heap/gc-tracer.h" #include "src/utils.h" namespace v8 { namespace inter...
// eccrypto.cpp - originally written and placed in the public domain by Wei Dai #include "pch.h" #include "config.h" #if CRYPTOPP_MSC_VERSION # pragma warning(push) # pragma warning(disable: 4127 4189 4505) #endif #if CRYPTOPP_GCC_DIAGNOSTIC_AVAILABLE # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-W...
// Our own includes #include "RecoLocalFastTime/FTLClusterizer/interface/MTDArrayBuffer.h" #include "RecoLocalFastTime/FTLClusterizer/interface/MTDThresholdClusterizer.h" #include "RecoLocalFastTime/FTLClusterizer/interface/BTLRecHitsErrorEstimatorIM.h" #include "DataFormats/ForwardDetId/interface/BTLDetId.h" #include...
#include <zmq.hpp> #include <stdio.h> #include <unistd.h> #include <string> #include <assert.h> #include <stdlib.h> #include <ctime> #include "hdaemon.pb.h" #include <iostream> class TestControl { public: TestControl() { msg_cnt = 0; } std::map <std::string, uint64_t> intStats; std::map <std::string, floa...
#include <QtWidgets> #include "ViewerWidget.h" ViewerWidget::ViewerWidget(const QList<Action>& actionList, QWidget *parentTableWidget) :QWidget(parentTableWidget), m_actionList(actionList) { setWindowTitle(tr("Domain Specific Language")); resize(525, 175); } void ViewerWidget::paintE...
/** * @author : Maruf Tuhin * @School : CUET CSE 11 * @Topcoder : the_redback * @CodeForces : the_redback * @UVA : the_redback * @link : http://www.fb.com/maruf.2hin */ #include<cstdio> #include<cstring> #include<cstdlib> #include<cctype> #include<cmath> #include<iostream...
/* * Copyright 2019-2022 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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....
// File implement/oglplus/enums/sync_condition_def.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/sync_condition.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2015 Matus Chochlik. // Distributed under the Boost Software Li...
#ifndef _CATCHEREXECUTOR_EXECUTETRESOLVETRETHROWUNDEFINED_HPP_ #define _CATCHEREXECUTOR_EXECUTETRESOLVETRETHROWUNDEFINED_HPP_ #include "Executors/Catchers/Executor/ErrorTResolveTRethrowT.hpp" namespace prm { template < typename PerformerT, typename ErrorT, typename ExecuteResolveArgT, bool IsEmplace,...
// Copyright (c) 2018-2021 Emil Dotchevski and Reverge Studios, Inc. // 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) #ifdef BOOST_LEAF_TEST_SINGLE_HEADER # include "leaf.hpp" #else # include <boost/leaf/on_err...
#include <iostream> #include <string> using namespace std; string exercicio() { return "Hello world!"; } int main() { cout << exercicio() << endl; return 0; }
/* Copyright 2020 The OneFlow 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 agre...
#include "che/alignment.h" namespace biosim { namespace che { // ctor from a structure (takes begin and end from given structure) alignment::alignment(structure __s) : _structures(1, __s), _begins(1, 0), _ends(1, __s.get_length()) {} // ctor from a list of structures, begins, and ends alignment::alig...
/* boost test_random_number_generator.cpp * * Copyright Jens Maurer 2000 * Copyright Steven Watanabe 2011 * 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) * * $Id: test_random_number_generator.cpp 71018 2011-...
--- base/native_library_unittest.cc.orig 2019-03-11 22:00:51 UTC +++ base/native_library_unittest.cc @@ -120,7 +120,7 @@ TEST(NativeLibraryTest, LoadLibrary) { // Android dlopen() requires further investigation, as it might vary across // versions with respect to symbol resolution scope. // TSan and MSan error out o...
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
#ifndef DATE_TIME_C_TIME_HPP___ #define DATE_TIME_C_TIME_HPP___ /* Copyright (c) 2002,2003,2005 CrystalClear Software, Inc. * Use, modification and distribution is 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) * Author: Jeff...
#include <cstring> #include <getopt.h> #include "selfdrive/modeld/runners/snpemodel.h" #include "selfdrive/modeld/thneed/thneed.h" #include "system/hardware/hw.h" #define TEMPORAL_SIZE 512 #define DESIRE_LEN 8 #define TRAFFIC_CONVENTION_LEN 2 // TODO: This should probably use SNPE directly. int main(int argc, char* ...
/* * cf. M. Hjorth-Jensen, Computational Physics, University of Oslo (2015) * http://www.mn.uio.no/fysikk/english/people/aca/mhjensen/ * Ernest Yeung (I typed it up and made modifications) * ernestyalumni@gmail.com * MIT License * cf. Chapter 3 Numerical differentiation and interpolation * 3.3 Classes in C++ ...
#ifndef OSMIUM_INDEX_MULTIMAP_HPP #define OSMIUM_INDEX_MULTIMAP_HPP /* This file is part of Osmium (http://osmcode.org/libosmium). Copyright 2013,2014 Jochen Topf <jochen@topf.org> and others (see README). Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any...
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2020 INRIA. * * 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 * *...
/* * * Copyright 2016 gRPC 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 agree...
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
// Copyright (c) 2014-2015 The FargoCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "timedata.h" #include "netbase.h" #include "sync.h" #include "ui_interface.h" #include "util.h" #include "utilstr...
/* Copyright 2016 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...
#include "TransportSubsystem.h" #include <frc/smartdashboard/SmartDashboard.h> TransportSubsystem::TransportSubsystem( rev::CANSparkMax& TransportDrive, frc::XboxController& stick ) : m_transportDrive{TransportDrive}, m_xbox{stick} { m_transportDrive.RestoreFactoryDefaults(); } void Transp...
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #include <GTGE/Editor.hpp> #include <GTGE/IO.hpp> #include <GTGE/GTEngine.hpp> #include <GTGE/ParticleSystemLibrary.hpp> #include <GTGE/ScriptLibrary.hpp> #include <GTGE/GUI/GUIServer.hpp> #include <GTGE/Core/Keyboard.hpp> #if defined(_MSC_VER) #pragm...
#pragma once #include<time.h> #include<random> #include<math.h> #include<assert.h> namespace rg { //PROBILITY is form 0 to 1 ,meanly enum RANDOMMODEL { NORMAL = 1, MEANLY = 2, PROBILITY = 3, NOREPEATINT = 4 }; class RandomGenerator { RANDOMMODEL RM; std::normal_distribution<double> normalDistribution; public:...
#include "addressbookpage.h" #include "ui_addressbookpage.h" #include "addresstablemodel.h" #include "optionsmodel.h" #include "bitcoingui.h" #include "editaddressdialog.h" #include "csvmodelwriter.h" #include "guiutil.h" #include <QSortFilterProxyModel> #include <QClipboard> #include <QtWidgets/QMessageBox> #include...
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
#ifndef CLOVER_DEBUGLOG_HPP #define CLOVER_DEBUGLOG_HPP #include "build.hpp" #include <fstream> namespace clover { namespace debug { /// Performs logging to file class Log { public: Log(); virtual ~Log(); /// Appends row void operator()(const char8 * msg); private: std::ofstream file; }; } // debug } // clo...
// AUTO GENERATED by vnxcppcodegen #ifndef INCLUDE_vnx_TimeServerBase_HXX_ #define INCLUDE_vnx_TimeServerBase_HXX_ #include <vnx/package.hxx> #include <vnx/Hash64.hpp> #include <vnx/Module.h> namespace vnx { class TimeServerBase : public ::vnx::Module { public: ::vnx::Hash64 remote_tunnel; int32_t interval_ms ...
/*========================================================================= * * 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 "MetroTexturesDatabase.h" #include "MetroReflection.h" #include "MetroTypes.h" #include "MetroBinArrayArchive.h" #include "MetroBinArchive.h" void MetroTextureInfo::Serialize(MetroReflectionReader& s) { METRO_READ_MEMBER(s, type); METRO_READ_MEMBER(s, texture_type); METRO_READ_MEMBER(s, source_na...
#include "bgHttpServerImp.h" #include "../Common/" #include "helper.h" EnHandleResult bgHttpServerListenerImpl::OnPrepareListen(ITcpServer* pSender, SOCKET soListen) { ::PostOn }
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2020 Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied warranty. // In no event will the authors be held liable for any damages a...
/** * Copyright 2019 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...
// // Created by School on 5/6/20. // #include "mylibrary/LevelOne.h" LevelOne::LevelOne() { this->screenSize = 800.0f; worldBottom = screenSize; level.setWorldBottom(worldBottom); // LevelMaker(screenSize, newLevel); this->spawnPoint.x = 125.0f; this->spawnPoint.y = screenSize - 150; this->endPoint.x...
/*************************************************************************/ /* rasterizer_storage_gles2.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/// /// \file AliFemtoCorrFctnNonIdDR.cxx /// #include "AliFemtoCorrFctnNonIdDR.h" #include <TH1D.h> //#include "AliFemtoHisto.h" #include <cstdio> #include <TNtuple.h> #ifdef __ROOT__ /// \cond CLASSIMP ClassImp(AliFemtoCorrFctnNonIdDR); /// \endcond #endif //____________________________ AliFemtoCorrFctnNonI...
/**************************************************************************** * Copyright (c) 2021, CEA * 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 retai...
#include "ConcurrentNavigableMap.h" #include "SortedMap.h" #include "NavigableSet.h" #include "Set.h" namespace skiplist { }
#include <Arduino.h> #include <SimpleTimer.h> void cycle_on(); void cycle_off(); /** * Arduino based Eurorack Clock generator and more. * * Inspired by SM Tik Tak. See https://www.youtube.com/watch?v=nBucMzlgESw * */ SimpleTimer timer; int count = 0; // Set the minimum and max range of the BPM input. int maxB...
// Copyright 2021 Tier IV, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
/* File: win32_program.cpp Author: Taylor Robbins Date: 09\24\2017 Description: ** Handles starting and interacting with external programs. #included from win32_main.cpp */ // +==============================+ // | Win32_StartProgramInstance | // +==============================+ // ProgramInstance_t StartProg...
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitt...
#include <iostream> #include <algorithm> #include "clause_impl.h" using namespace std; using namespace Sat; ClauseImpl::~ClauseImpl() { literalList.clear(); } void ClauseImpl::addLiteral(int lit) { literalList.push_back(lit); if (literalList.size() == 1) { maxNum = lit; } else { maxNu...
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentatio...
#include "sfge/behaviours/camera_behaviour.hpp" #include "sfge/infrastructure/attribute.hpp" #include "sfge/infrastructure/builtin_attributes.hpp" #include "sfge/infrastructure/game_object.hpp" #include "sfge/infrastructure/message_manager.hpp" #include "sfge/graphics/graphic_system.hpp" #include <SFML/Graphics/View....
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
// AUTO GENERATED by vnxcppcodegen #ifndef INCLUDE_mmx_solution_BLS_PubKey_is_valid_return_HXX_ #define INCLUDE_mmx_solution_BLS_PubKey_is_valid_return_HXX_ #include <mmx/solution/package.hxx> #include <vnx/Value.h> namespace mmx { namespace solution { class MMX_SOLUTION_EXPORT BLS_PubKey_is_valid_return : public ...
/* * File: ControlCentreModule.cpp * Author: Jehu Shaw * * Created on 2014_7_9, 16:00 */ #include "ControlCentreModule.h" #include "NodeDefines.h" #include "Log.h" #include "WorkerOperateHelper.h" #include "ControlArgument.h" using namespace mdl; using namespace util; using namespace evt; CControlCentreModu...
#include <iostream> #include <RED4ext/RED4ext.hpp> /* * To run this plugin you need to load it with RED4ext (https://github.com/WopsS/RED4ext). */ void PrintGameTime(RED4ext::IScriptable* aContext, RED4ext::CStackFrame* aFrame, void* aOut, int64_t a4) { /* * Access the property of 'GameTime' instance. ...
#ifndef THREAD_ABLE_HPP #define THREAD_ABLE_HPP #include "Thread.hpp" namespace se { class ThreadAble { private: unsigned long threadFunctionId = -1; Thread *thRef = nullptr; public: virtual void join(Thread& th) = 0; void setThreadFunctionId(const unsigned long id); unsigned long getThreadFunctionId() c...
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
#include <mpi.h> #include <stdio.h> #include <Eigen/Dense> #include <Eigen/Sparse> #include <iostream> #include <fstream> #include <fstream> #include <string> #include <algorithm> #include <random> #include <chrono> #include <memory> #include <cmath> #include <stdlib.h> #include <getopt.h> #include <unsupported/Eig...
#include <csvfreq/arguments.hpp> #include <csvfreq/frequency_analyzer.hpp> #include <csvfreq/io.hpp> #include <csvfreq/util.hpp> #include <exception> #include <iostream> #include <stdexcept> #include <string> int main(int argc, char** argv) { try { csv::args::ParsedArguments args = csv::args::parseAr...
// Copyright 2010-2018 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
/** * @file User.hpp * @author Devin-Can Firat (devinc.firat@gmail.com) * @brief * @version 0.9 * @date 2019-02-01 02:25 * * @copyright Copyright (c) 2019 * */ #ifndef USER_HPP #define USER_HPP #include <string> #include <cstdint> #include "util/Snowflake.hpp" #include "money/Money.hpp" namespace discordp...
// 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 "testing/gtest/include/gtest/gtest.h" #include "third_party/blink/renderer/core/css/media_list.h" #include "third_party/blink/renderer/core/css/m...
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #in...
// 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...
// // ACPIBattery.cpp // SMCBatteryManager // // Copyright © 2018 usrsse2. All rights reserved. // #include "ACPIBattery.hpp" #include <Sensors/Private/AppleSmartBatteryCommands.h> #include <Headers/kern_util.hpp> #include <Headers/kern_compat.hpp> uint32_t ACPIBattery::getNumberFromArray(OSArray *array, uint32_t ...
#include "pch.h" #include "BillsPanel.h" #include "HarvestBoom.h" BillsPanel::BillsPanel(HyEntity2d *pParent) : HyUiContainer(HYORIEN_Vertical, HyPanelInit("UI", "Bills"), pParent), m_BillsText(HyPanelInit(), "Game", "Main", this), m_FoodStocks(true, this), m_Savings(HyPanelInit(), "Game", "Small", this), m_Savin...
// Magic Software, Inc. // http://www.magic-software.com // http://www.wild-magic.com // Copyright (c) 2004. All Rights Reserved // // The Wild Magic Library (WML) source code is supplied under the terms of // the license agreement http://www.magic-software.com/License/WildMagic.pdf // and may not be copied or disclos...
// // MessagePack for C++ static resolution routine // // Copyright (C) 2015-2016 KONDO Takatoshi // // 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 MSGPACK_V1_TYPE_BOOST_FUSION_HPP #define MS...
// Copyright (C) 2003-2004 Jeremy B. Maitin-Shepard. // Copyright (C) 2005-2011 Daniel James // 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_UNORDERED_DETAIL_UNIQUE_HPP_INCLUDED #define BOOST_UNORDERE...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/media_galleries/win/portable_device_map_service.h" #include "base/check_op.h" #include "base/stl_util.h" #include "content/publi...
//----------------------------------------------------------------------- // This file is part of the Windows SDK Code Samples. // // Copyright (C) Microsoft Corporation. All rights reserved. // // This source code is intended only as a supplement to Microsoft // Development Tools and/or on-line documentation. See ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "policy/fees.h" #include "policy/policy.h" #include "amount.h" #include "pri...
/******************************************************************************* * * MIT License * * Copyright (c) 2019 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 * ...
/* */ #include <memory> #include <cstring> #include <vector> #include "network.hpp" extern "C" { #include <crc16.h> } #include <FS.h> #include <scripting.hpp> #define WIFI_getChipId() ESP.getChipId() #define FileSystemFS SPIFFS #define FileSystemFSBegin() SPIFFS.begin() #include <WiFiManager.h> // https://github.c...
#include "bits/stdc++.h" using namespace std; # define s(n) scanf("%d",&n) # define sc(n) scanf("%c",&n) # define sl(n) scanf("%lld",&n) # define sf(n) scanf("%lf",&n) # define ss(n) scanf("%s",n) # define I...
//===--- UnwrappedLineParser.cpp - Format C++ code ------------------------===// // // 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 // //===---------------------------...
/** * \file * \author Karsten Rink * \date 2012-09-27 * \brief Implementation of readMeshFromFile function. * * \copyright * Copyright (c) 2012-2016, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or *...
// Includes #include "LightBulb/Learning/Evolution/WeightDecayFitnessFunction.hpp" #include "LightBulb/Learning/Evolution/AbstractIndividual.hpp" #include "LightBulb/NeuralNetwork/AbstractNeuralNetwork.hpp" #include "LightBulb/NetworkTopology/AbstractNetworkTopology.hpp" #include "LightBulb/LinearAlgebra/Matrix.hpp" /...
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Elliptic/DiscontinuousGalerkin/Initialization.hpp" #include <array> #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #include "DataStructures/Tensor/EagerMath/Determinant.hpp" #include "DataStructure...
#pragma once // Fortnite (1.8) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif namespace SDK { //--------------------------------------------------------------------------- //Classes //--------------------------------------------------------------------------- // BlueprintGeneratedClass DanceClub_Wall_03.DanceC...
// This file is part of CaptureTheBanana++. // // Copyright (c) 2018 the CaptureTheBanana++ contributors (see CONTRIBUTORS.md) // This file is licensed under the MIT License; see LICENSE file in the root of this // project for details. #ifndef ENGINE_CORE_LEVEL_HPP #define ENGINE_CORE_LEVEL_HPP #include <Box2D/Box2D....
//------------------------------------------------------------------------------------- // BC6HBC7.cpp // // Block-compression (BC) functionality for BC6H and BC7 (DirectX 11 texture compression) // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDIN...
//===--- ARCMT.cpp - Migration to ARC mode --------------------------------===// // // 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 "MyProgram.hpp" #include "Arp/System/Commons/Logging.h" #include "Arp/System/Core/ByteConverter.hpp" namespace ns1 { namespace ns2 { namespace ProjectWithoutProj { namespace CustomNamespace { void MyProgram::Execute() { //implement program } }}}} // end of namespace ns1::ns2::ProjectWithoutProj::Custom...
#include "scenerunner.h" #include "scenedecay.h" #include "scenenightvision.h" #include "scenepaint.h" #include "scenesky.h" #include "scenewood.h" #include "scenenoise.h" #include "scenerust.h" #include <memory> std::map<std::string, std::string> sceneInfo = { { "noise", "just display the raw noise texture" }, {...
class Solution { public: string shortestPalindrome(string s) { int n = s.length(); if (!n) return ""; string d = s; string temp = s + '?'; reverse(s.begin(), s.end()); temp += s; int m = temp.length(); int lps[m ...
//********************************************************* // Cell_Use.cpp - check the cell use restrictions //********************************************************* #include "Microsimulator.hpp" //--------------------------------------------------------- // Cell_Use //--------------------------------------------...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
//%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 2021 The XLS Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
// Copyright 2015 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/favicon/large_icon_service_factory.h" #include "base/memory/singleton.h" #include "base/task/post_task.h" #include "build/build_...
/** * Copyright (c) 2017-present, Facebook, Inc. and its affiliates. * 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. */ #include <fcntl.h> #include <initializer_list> #include <iostream> #include <memory> #i...
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2018, ITU/ISO/IEC * All rights reserve...
/* * Copyright (C) 2013-2015 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 conditi...
/* Copyright 2021 Aristocratos (jakob@qvantnet.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 required by applicable law ...
// C++ program for the above approach #include <bits/stdc++.h> using namespace std; // Find all subsequences void printSubsequence(string input, string output) { // Base Case // if the input is empty print the output string if (input.empty()) { cout << output << endl; return; } // output is passed with inclu...
/* Copyright 2014-2016 Glen Joseph Fernandes (glenjofe@gmail.com) Distributed under the Boost Software License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_ALIGN_DETAIL_ALIGN_HPP #define BOOST_ALIGN_DETAIL_ALIGN_HPP #include <boost/align/detail/is_alignment.hpp> #include <boost/assert.hpp> n...
#ifndef GEOM_GRAPHICS_VIEW_H #define GEOM_GRAPHICS_VIEW_H #include <QGraphicsView> #include <QGraphicsScene> #include <QPainter> #include <QWheelEvent> #include <qmath.h> #include <QVector> #include <QPointF> #include <QPoint> #include <QGraphicsItem> #include <vector> #include "../Cons/geom.hpp" #include "../Cons/ob...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "dot_product_blueprint.h" #include "dot_product_search.h" #include <vespa/vespalib/objects/visit.hpp> namespace search::queryeval { DotProductBlueprint::DotProductBlueprint(const FieldSpec ...