text
stringlengths
7
961k
// // detail/impl/epoll_reactor.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef N...
/* * Copyright 2019 Amadeus s.a.s. * 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, publish, distr...
/* Copyright 2017 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...
// { dg-do compile { target c++11 } } // Copyright (C) 2009-2017 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 Found...
#include <iostream> #include <string.h> #include <stdio.h> #include <opencv2/opencv.hpp> #include "BackgroundSubtract.h" using namespace std; int main(int argc, char* argv[]) { cv::VideoCapture cap(0); if(cap.isOpened()==NULL) { cout<<"shit"<<endl; return -1; } cv::Mat image, imageGray; cv::Mat foreground...
/** * Client connection event adapter. * * Copyright (c) 2015 Alex Jin (toalexjin@hotmail.com) */ #include "c11httpd/conn_event_adapter.h" namespace c11httpd { uint32_t conn_event_adapter_t::on_connected( ctx_setter_t& ctx_setter, const config_t& cfg, conn_session_t& session, buf_t& send_buf) { if (this->m_...
#include "Environment.h" #include "Logger.h" #include "Profiler.h" #include "ResourceManager.h" #include "SceneLoadContext.h" #include "entity/GeometryDev.h" #include "entity/GeometryRepr.h" #include "entity/IEntity.h" #include "entity/IEntityPlugin.h" #include "geometry/GeometryPoint.h" #include "math/Projection.h" #i...
// Copyright 2017-2020 The Verible 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 o...
#include <iostream> using namespace std; int main() { int a, b, prod; cin >> a >> b; prod = a * b; cout << "PROD = " << prod << "\n"; return 0; }
// smart_test.cpp : Defines the entry point for the console application. // #include <lean/depconfig.h> // Use Boost.Test as header-only library #define BOOST_TEST_MODULE smart #include <boost/test/included/unit_test.hpp>
// Copyright (c) 2019 by Robert Bosch GmbH. 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 "slang-ir-any-value-marshalling.h" #include "slang-ir-generics-lowering-context.h" #include "slang-ir.h" #include "slang-ir-insts.h" namespace Slang { // This is a subpass of generics lowering IR transformation. // This pass generates packing/unpacking functions for `AnyValue`s, // and replaces a...
#include <vector> #include <string> #include <memory> #include <utility> #include <cwctype> #include "t42wregex.hpp" namespace t42 { namespace wpike { typedef std::wstring::iterator derivs_t; bool scan (derivs_t& sp0, std::wstring pat, std::vector<derivs_t>& m) { m.clear (); derivs_t sp = sp0; derivs_t i...
#include "contrib/kafka/filters/network/source/mesh/command_handlers/produce_record_extractor.h" namespace Envoy { namespace Extensions { namespace NetworkFilters { namespace Kafka { namespace Mesh { std::vector<OutboundRecord> RecordExtractorImpl::extractRecords(const std::vector<TopicProduceData>& data) const { s...
#pragma once #include "../../JObject.hpp" class JObjectArray; class JArray; class JArray; namespace java::io { class File; } class JClass; class JObject; class JString; namespace java::security { class Provider; } namespace java::util { class LinkedHashSet; } namespace java::util { class Properties; } namespace ...
/* * Copyright 2016 Freeman Zhang <zhanggyb@gmail.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 applic...
// // Simple and accurate tick counter on AVR microcontrollers // https://github.com/malcom/AVR-Tick-Counter // // Copyright (C) 2017 Marcin 'Malcom' Malich <me@malcom.pl> // Released under the MIT License. // #include <inttypes.h> #include <stdio.h> #include <avr/io.h> #include <util/delay.h> #include "lcd.h" #incl...
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
#include <QtGlobal> // Automatically generated by extract_strings.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *bitcoin_strings[] = { QT_TRANSLATE_NOOP("bitcoin-core", "" "%s, you must set a rpcpassword in the configuration file:\n" " %s\n" "It is recomm...
/* Copyright (c) 2016-2017, 2019-2020, Arvid Norberg All rights reserved. You may use, distribute and modify this code under the terms of the BSD license, see LICENSE file. */ #ifndef TORRENT_SCOPE_END_HPP_INCLUDED #define TORRENT_SCOPE_END_HPP_INCLUDED #include <utility> namespace libtorrent { namespace aux { t...
/// @copyright /// Copyright (C) 2020 Assured Information Security, Inc. /// /// @copyright /// 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 limita...
// Copyright (c) 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) 2015-2017 The LILI developers // Distributed under the MIT software license, see the accompanying // file COPYING or ht...
/**************************************************************************** * * Copyright (c) 2012-2015 PX4 Development Team. 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. Red...
#include <gtest/gtest.h> #include <iostream> #include <string> using namespace std; /** * This file is generated by leetcode_add.py * * 67. * Add Binary * * ––––––––––––––––––––––––––––– Description ––––––––––––––––––––––––––––– * * Given two binary strings ‘a’ and ‘b’ , return “their sum as a binary *...
/* * Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
#include <iostream> using namespace std; class Stack { int max_, top_; char elems_[100]; public: Stack() { max_ = 100; top_ = 0; } void push(char new_element) { if (isFull()) { return; } elems_[top_++] = new_element; } char pop() { if (isEmpty()) { return - 1; ...
// Copyright (c) 2009 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. // // Unit test compact language detector // // Small version, covering these languages only: // Arabic Bulgarian Catalan Chinese ChineseT Croatian Cze...
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
#include <fcntl.h> #include "../vp8/util/memory.hh" #include "../io/BrotliCompression.hh" #include "../io/ioutil.hh" #include "../io/Seccomp.hh" namespace { uint32_t LEtoUint32(const uint8_t*buffer) { uint32_t retval = buffer[3]; retval <<=8; retval |= buffer[2]; retval <<= 8; retval |= buffer[1]; ...
#include <complex> #include <cmath> #include <iomanip> #include <limits> #include <iostream> #include <cstdlib> using namespace std; bool almost_equal(complex<float> x, complex<float> y, int ulp) { return std::abs(x-y) <= std::numeric_limits<float>::epsilon() * std::abs(x+y) * ulp || std::abs(x-y) < std::numeric_l...
#include<bits/stdc++.h> using namespace std; int KnapSack(int val[], int wt[], int n, int W) { int mat[2][W+1]; memset(mat, 0, sizeof(mat)); int i = 0; while (i < n) { int j = 0; if (i%2!=0) { while (++j <= W) { ...
//-***************************************************************************** // // Copyright (c) 2009-2011, // Sony Pictures Imageworks Inc. and // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. // // All rights reserved. // // Redistribution and use in source and binary forms, with ...
// 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 (C) 2012 The Elastos 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 // // ...
#ifndef CAFFE_DATA_LAYERS_HPP_ #define CAFFE_DATA_LAYERS_HPP_ #include <vector> #include "caffe/blob.hpp" #include "caffe/data_transformer.hpp" #include "caffe/internal_thread.hpp" #include "caffe/layer.hpp" #include "caffe/proto/caffe.pb.h" #include "caffe/util/blocking_queue.hpp" namespace caffe { /** * @brief P...
// 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 "consensus/validation.h" #include "key.h" #include "validation.h" #include "miner.h" #include "pubkey.h" #include "t...
//%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 2017 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...
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <RequestServer/ConnectionFromClient.h> #include <RequestServer/Request.h> namespace RequestServer { // FIXME: What about rollover? static i32 s_next_id = 1; Request::Request(ConnectionFromCli...
/* * This file provides some useful opengl abstraction classes. * * It needs some new opengl features like GL_ARB_direct_state_access for some classes. * */ #pragma once #include <epoxy/gl.h> //#include <epoxy/glx.h> #include "application/log.hpp" #include <string> namespace gl { /* * this class abstracts a g...
// 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 "bitcoinamountfield.h" #include "bitcoinunits.h" #include "guiconstants.h" #include "qvaluecombobox.h" #include <Q...
// Copyright 2016 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/views/window_impl.h" #include "libcef/browser/thread_util.h" #include "libcef/browser/views/display_impl.h" #...
#include "pinball.h" #include "GL/glut.h" Pinball::Pinball() { CreateWorld(); CreateWall(); CreateWater(); CreateStars(); CreatePiston(); CreateFlippers(); CreateObstacles(); AddBall(); soundManager_->PlayBackgroundMusic(); } Pinball::~Pinball() { } void Pinball::AddBall() ...
class Solution { public: int removeDuplicates(vector<int>& nums) { return distance(nums.begin(),unique(nums.begin(),nums.end())); } };
// 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 "ash/wm/window_cycle/window_cycle_controller.h" #include "ash/accelerators/accelerator_controller_impl.h" #include "ash/accessibility/accessibil...
// // Created by blinku on 28.05.19. // #include "shader.h" #include "src/core/platform/opengl/shaders/opengl_shader.h" namespace Bald::Graphics { std::shared_ptr<Shader> Shader::Create(const char* vertexPath, const char* fragmentPath) { return std::shared_ptr<Shader>(new Bald::Platform::Graphics::OpenG...
// Copyright 2020 The Defold Foundation // Licensed under the Defold License version 1.0 (the "License"); you may not use // this file except in compliance with the License. // // You may obtain a copy of the License, together with FAQs at // https://www.defold.com/license // // Unless required by applicable law or agr...
/* * BSD 3-Clause License * * Copyright (c) 2019, Analog Devices, 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 copyrigh...
/* Simple DirectMedia Layer Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.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 arising from the use of this software. Permission is granted to anyone to use this ...
#include <iostream> #include <list> using namespace std; int main(){ list <string> list; int n; cout<<"n="; cin>>n; for(int i=1; i<=n; i++){ string name; cout<<"Name = "; cin>>name; list.push_back(name); } cout<<"\nKimni qidirmoqchisiz?\n"; string find; cin>>find; for(auto it=list.begin...
// Generated by Haxe 4.2.1+bf9ff69 #include <hxcpp.h> #include <stdio.h> extern "C" void __hxcpp_main(); extern "C" void __hxcpp_lib_main(); #ifndef INCLUDED_ApplicationMain #include <ApplicationMain.h> #endif #ifndef INCLUDED_sys_thread__Thread_Thread_Impl_ #include <sys/thread/_Thread/Thread_Impl_.h> #endif HX_LO...
#include "StreamingFloatTRedAction.h" #include <Engine/Core/AssetLibrary/AssetLibrary.h> #include <Engine/Core/Trigger/Trigger.h> StreamingFloatTRedAction::StreamingFloatTRedAction(void) {} StreamingFloatTRedAction::StreamingFloatTRedAction(int32 _type): AbstractAction(_type) {} StreamingFloatTRedAction::~Stream...
/* License: Apache 2.0. See LICENSE file in root directory. Copyright(c) 2017 Intel Corporation. All Rights Reserved. */ #include <thread> #include <sstream> #include "types.h" #include <librealsense2/rs_advanced_mode.h> #include "core/advanced_mode.h" #include "api.h" #define STRCASE(T, X) case RS2_##T##_##X: {\...
// // Created by Lubos Ilcik on 29/01/2018. // #include <boost/test/unit_test.hpp> #include <boost/assign/list_of.hpp> #include <graphene/chain/database.hpp> #include <graphene/chain/committee_member_object.hpp> #include <graphene/chain/market_object.hpp> #include <graphene/chain/vesting_balance_object.hpp> #include...
// Copyright 2017 Benjamin Glatzel // // 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...
//===- ELFObjcopy.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 // //===---------------------------...
// Copyright Daniel Wallin 2006. Use, modification and distribution is // 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_PARAMETER_NAME_060806_HPP # define BOOST_PARAMETER_NAME_060806_HPP # include <boost/par...
/** * 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 "patcher.hpp" #include "koalabox/util/util.hpp" #include "koalabox/win_util/win_util.hpp" #include <chrono> #include <cstring> namespace patcher { using namespace lyptus; struct PatternMask { [[maybe_unused]] String binary_pattern; [[maybe_unused]] String mask; }; /** ...
/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "samplecode/Sample.h" #include "include/core/SkCanvas.h" #include "include/core/SkPath.h" #include "include/core/SkRRect.h" #include "include/core/SkTime.h" #include ...
/* * Copyright 2016 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
// // Beer.hpp // Bar // // Created by Gabriel Kapach on 19/09/2017. // Copyright © 2017 Gabriel Kapach. All rights reserved. // #ifndef Beer_hpp #define Beer_hpp #include <stdio.h> #include "Drink.hpp" class Beer : public Drink { public: Beer(string name) : Drink(name) {}; string prepare(); }; #en...
#include <vnl/vnl_matrix_fixed.hxx> VNL_MATRIX_FIXED_INSTANTIATE(float,3,3);
/** * This file is part of mediasoup_client project. * Author: Jackie Ou * Created: 2021-11-01 **/ #include "mac_video_renderer.h" #include <thread> #include <array> #include <QTimer> #include "logger/u_logger.h" #include "absl/types/optional.h" #include "api/video/video_rotation.h" #include "common_video/lib...
#pragma once #include <cstdint> #include <string> #include <vector> #include <unordered_map> #include "zztElements.hpp" #include "../node_modules/@metaverse-systems/zzt_status_el_component/src/zzt_status_el_component.hpp" class zztWorld; class zztBoard; class zztLabel { public: void Add(int16_t addr); int...
// 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 "chrome/common/extensions/chrome_manifest_handlers.h" #include "chrome/common/extensions/api/commands/commands_handler.h" #include "chrome/c...
// -*- C++ -*- // // Package: L1TriggerConfig // Class: DTTFRSKeysOnlineProd // /**\class DTTFRSKeysOnlineProd DTTFRSKeysOnlineProd.h L1TriggerConfig/DTTFConfigProducers/src/DTTFRSKeysOnlineProd.cc Description: <one line class summary> Implementation: <Notes on implementation> */ // // Original Author...
//================================================================================================== /* EVE - Expressive Vector Engine Copyright : EVE Contributors & Maintainers SPDX-License-Identifier: MIT */ //================================================================================================== #pr...
// 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 (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 "bitcoinunits.h" #i...
// Copyright (c) 2012, 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/bootstrap.h" #include "include/dart_api.h" #include "vm/bootstrap_natives.h" #include "v...
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
 #pragma once #define NO_S3D_USING #include <Siv3D.hpp> #include "../ComponentEngine/ComponentEngine.hpp" #include "Collision/ShapeTransform.hpp" namespace ComponentEngine::Siv { class Line : public ComponentEngine::AttachableComponent { using Shape = s3d::Line; private: Shape shape; ...
#include "pch.h" #include "catch.hpp" using namespace winrt; using namespace Windows::Foundation; using namespace std::string_view_literals; TEST_CASE("IReference, boxing round trip") { { const uint8_t value = 42; Windows::Foundation::IInspectable object = box_value(value); REQUIRE(unbox_v...
//-------------------------------------------------------------------------------------- // File: ModelLoadSDKMESH.cpp // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNES...
#include "Cylinder.hpp" #include <iostream> GLuint Cylinder::vertexBuffer = 0; GLuint Cylinder::normalBuffer = 0; GLuint Cylinder::indexBuffer = 0; GLuint Cylinder::vertexLength = 0; constexpr GLuint CYLINDER_SEGMENT_COUNT = 40; constexpr GLuint DOUBLE_CYLINDER_SEGMENT_COUNT = 2*CYLINDER_SEGMENT_COUNT; void Cylinder::...
/* 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...
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 Intel Corporation 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, includi...
#include "Stack.h" #include <cstdio> #include <stdlib.h> void Init(Stack* stack) { stack->head = (Node*)malloc(sizeof(Node)); stack->head->next = nullptr; stack->dataSize = 0; return; } void Push(Stack* stack, int data) { if (stack->dataSize > 0) { Node* pNewNode = (Node*)malloc(sizeof(Node)); Node* pNode =...
/* * Copyright (c) 2021 Grant Erickson * 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 <bits/stdc++.h> using namespace std; using namespace __gnu_cxx; typedef double db; typedef long long ll; typedef pair<int,int> ii; #define F first #define S second #define pnl printf("\n") #define sz(x) (int)x.size() #define sf(x) scanf("%d",&x) #define pf(x) printf("%d\n",x) #de...
/* * Copyright 2016-present Facebook, 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 a...
/// /// SpriteVertex.hpp /// galaxy /// /// Refer to LICENSE.txt for more details. /// #ifndef GALAXY_GRAPHICS_VERTEX_SPRITEVERTEX_HPP_ #define GALAXY_GRAPHICS_VERTEX_SPRITEVERTEX_HPP_ #include <glm/vec2.hpp> #include "galaxy/meta/Concepts.hpp" namespace galaxy { namespace graphics { /// /// Represents a sing...
// Copyright 2009-2010 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/profiler/heap-profiler.h" #include "src/api.h" #include "src/debug/debug.h" #include "src/heap/heap-inl.h" #include "src/profiler/al...
#undef IS_ADDRESS_SPACE_CONSTRAINED #define OPEN_ENCLAVE #define OPEN_ENCLAVE_SIMULATION #define USE_RESERVE_MULTIPLE 1 #define NO_BOOTSTRAP_ALLOCATOR #define IS_ADDRESS_SPACE_CONSTRAINED #define SNMALLOC_NAME_MANGLE(a) enclave_##a // Redefine the namespace, so we can have two versions. #define snmalloc snmalloc_enclav...
#include <string> #include <iostream> //Hashtable hpp I basically recycled from the hungar games assignment but used a Template to change it #include <vector> using namespace std; struct GroceryItem { string name; int aisle; int distance; GroceryItem* next; GroceryItem() : name(""), aisle(-1), di...
/* * 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 ...
/* * This file is part of the CitizenFX project - http://citizen.re/ * * See LICENSE and MENTIONS in the root of the source tree for information * regarding licensing. */ #include "StdInc.h" #include "MumbleClientImpl.h" #include "MumbleMessageHandler.h" DEFINE_HANDLER(Version) { auto client = MumbleClient::Get...
#include "mainwindow.h" #include "ui_mainwindow.h" /* * ################################################################################## * # CONSTRUCTORS # * ################################################################################## */ MainWindow::MainWindow(QWidget *parent) : QMainWindo...
/* This file is part of CosmoLattice, available at www.cosmolattice.net . Copyright Daniel G. Figueroa, Adrien Florio, Francisco Torrenti and Wessel Valkenburg. Released under the MIT license, see LICENSE.md. */ // File info: Main contributor(s): Daniel G. Figueroa, Adrien Florio, Francisco Torrenti, Year: ...
/** * @file bit_floor.hpp * * @brief bit_floor 関数テンプレートの定義 * * @author myoukaku */ #ifndef BKSGE_FND_BIT_BIT_FLOOR_HPP #define BKSGE_FND_BIT_BIT_FLOOR_HPP #include <bksge/fnd/bit/config.hpp> #if defined(BKSGE_HAS_CXX_LIB_INT_POW2) #include <bit> namespace bksge { using std::bit_floor; } // namespace bksge...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2016 The Dash developers // Copyright (c) 2016-2018 The ZillionFLUX developers // Copyright (c) 2018 The WPAY developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/m...
// Copyright (c) 2014-2017 Thomas Fussell // Copyright (c) 2010-2015 openpyxl // // 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 right...
/* * This source file is part of libRocket, the HTML/CSS Interface Middleware * * For the latest information, see http://www.librocket.com * * Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and assoc...
#include "utils/common.h" #include <fcntl.h> #include <glog/logging.h> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/text_format.h> #include <google/protobuf/io/zero_copy_stream_impl.h> #include <stdarg.h> #include <stdio.h> #include <unistd.h> #include <sys/stat.h> #include <sys/types.h> #inc...
#include "stdafx.h" //#include "Klasa_ListaZamowien.hpp" std::vector<ZamowionyPrzedmiot>ListaZamowien::Lista; std::fstream ListaZamowien::Plik_Lista; std::string ListaZamowien::Plik_Lista_Nazwa = "Lista_ZamowionePrzedmioty.bin"; ListaZamowien::ListaZamowien() { //Ladowanie listy zamowien z pliku this->wczytajdane(...
/*========================================================================= Program: Visualization Toolkit Module: vtkImplicitFunctionCollection.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php...
/*========================================================================= Program: Visualization Toolkit Module: vtkSphereTree.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...
// // detail/wait_op.hpp // ~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_DETAIL_WAIT_...