text
stringlengths
5
1.04M
// 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 "gpu/config/gpu_test_expectations_parser.h" #include <stddef.h> #include <stdint.h> #include "base/check_op.h" #include "base/files/file_ut...
#include "util.h" #include "ModuleInfo.h" #include <vector> #include <sstream> #include <iomanip> #include "log.h" #include "UtilException.h" //#include "Thread.h" #include "IniSettings.h" #include <thread> #include <stdio.h> #include <unistd.h> #include "UUCProperties.h" #include <sys/stat.h> static cha...
#pragma once // Source encoding: utf-8 ∩ // #include <p/expressive/use_weakly_all.hpp> // Copyright © 2017 Alf P. Steinbach, distributed under Boost license 1.0. #include <p/expressive/all.hpp> $use_weakly_all_from( progrock::expressive );
// Copyright (c) 2016, the Newspeak 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/lookup_cache.h" namespace psoup { void LookupCache::InsertOrdinary(intptr_t cid, ...
// // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include <Layer.hpp> namespace armnn { /// A layer user-provided data can be bound to (e.g. inputs, outputs). class InputLayer : public BindableLayer { public: /// Makes a workload for the Input ...
/*========================================================================= Program: Visualization Toolkit Module: vtkCellSizeFilter.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 i...
// // FILE: BitArray.cpp // AUTHOR: Rob Tillaart // VERSION: 0.2.4 // PURPOSE: BitArray library for Arduino // URL: https://github.com/RobTillaart/BitArray // http://forum.arduino.cc/index.php?topic=361167 // // HISTORY // 0.1.00 initial version // 0.1.01 added clear() + fixed set bug // 0.1.02 ...
#include "kalman_filter.h" //TODO Remove #include "iostream" using Eigen::MatrixXd; using Eigen::VectorXd; /* * Please note that the Eigen library does not initialize * VectorXd or MatrixXd objects with zeros upon creation. */ KalmanFilter::~KalmanFilter() {} void KalmanFilter::Init(int num_states) { x_ ...
// // COMP 371 Assignment Framework // // Created by Nicolas Bergeron on 8/7/14. // Updated by Gary Chang on 14/1/15 // // Copyright (c) 2014-2015 Concordia University. All rights reserved. // #include "EventManager.h" #include "Renderer.h" #include <GLFW/glfw3.h> #include <stdio.h> #include <iostream> #include <fst...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include "EditorDefs.h" // CryCommon #include <CryCommon/Maestro/Types/AnimParamType.h> // for ...
/* Copyright 2015 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 law or agreed to in ...
/****************************************************************************** * Copyright 2020 The Apollo 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 ...
/* * Copyright (C) 2019 Green_waves Technologies * All rights reserved. */ #ifndef TRACE_DUMPER_PROFILING_HPP #define TRACE_DUMPER_PROFILING_HPP // used as indices, so don't play with the = 0 value // stall_strings must correspond line by line, so don't shuffle the lines either enum stall_e { JMP_STALL = 0, I_MI...
// Copyright (c) 2020 The Orbit 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 "SessionSetup/ServiceDeployManager.h" #include <absl/flags/declare.h> #include <absl/flags/flag.h> #include <absl/strings/str_format.h> #includ...
#include <stdlib.h> #include "Application.h" #include "Globals.h" #include "Libraries/SDL/include/SDL.h" #pragma comment( lib, "SDL2.lib" ) #pragma comment( lib, "SDL2main.lib" ) #include "DebugLeaks.h" #include "Brofiler.h" enum main_states { MAIN_CREATION, MAIN_START, MAIN_UPDATE, MAIN_FINISH, MAIN_EXIT }; Ap...
/* This file is part of Jellyfish. Jellyfish 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 of the License, or (at your option) any later version. Jellyfish is distributed ...
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "askpassphrasedialog.h" #include "ui_askpassphrasedialog.h" #include "guiconstants.h" #include "walletmodel.h" #inc...
#ifndef BOOST_MPL_BACK_HPP_INCLUDED #define BOOST_MPL_BACK_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // See http://www.boost.org/libs/mpl for d...
//===----------------------------------------------------------------------===// compass // // parse.cpp // // Identification: src/parse/parse.cpp // // Last Modified : 2022.1.15 Jiawei Wang // // Copyright (c) 2022 Angold-4 // //===----------------------------------------------------------------------===// #include "...
//////////////////////////////////////////////////////////////////////////////// /// /// A buffer class for temporarily storaging sound samples, operates as a /// first-in-first-out pipe. /// /// Samples are added to the end of the sample buffer with the 'putSamples' /// function, and are received from the beginning ...
#ifndef MESSAGE_BOX_HPP #define MESSAGE_BOX_HPP //MB_ABORTRETRYIGNORE The message box contains three push buttons: Abort, Retry, and Ignore. //MB_OK The message box contains one push button: OK. This is the default. //MB_OKCANCEL The message box contains two push buttons: OK and Cancel. //MB_RETRYCANCEL The m...
// ArduinoJson - arduinojson.org // Copyright Benoit Blanchon 2014-2019 // MIT License #pragma once #include "ConstRamStringAdapter.hpp" namespace ARDUINOJSON_NAMESPACE { class String { public: String() : _data(0), _isStatic(true) {} String(const char* data, bool isStaticData = true) : _data(data), _isSt...
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : v...
// -*- C++ -*- // // michael a.g. aïvázis // orthologue // (c) 1998-2019 all rights reserved // // access the low level interface to create a file that can fit a grid of a specified size // // N.B.: this test leaves behind a file named "grid.dat" that is used by the other tests; it // must be cleaned up after the test...
//===--- TypeLowering.cpp - Type information for SILGen -------------------===// // // 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...
// DynaMix // Copyright (c) 2013-2018 Borislav Stanimirov, Zahary Karadjov // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // https://opensource.org/licenses/MIT // // this file is automatically generated by a script // #define I_DYNAMIX_MESSAGE0_DECL(export, message_n...
#include <iostream> int triangle(int number) { if (number == 1) return 1; return number + triangle(number - 1); } int countDivisors(int number) { int divisors = 2; for (int i = number / 2; i > 1; i--) { if (number % i == 0) divisors++; } return divisors; } int...
#include <co/mutex.hpp> #include <co/timed_mutex.hpp> #include <catch2/catch.hpp> #include "helper.hpp" template <typename MutexT> void testAgainstMutexConcept() { REQUIRE_FALSE(std::is_copy_constructible<MutexT>::value); REQUIRE_FALSE(std::is_copy_assignable<MutexT>::value); REQUIRE_FALSE(std::is_move_cons...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
// 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 "content/shell/browser/layout_test/layout_test_url_request_context_getter.h" #include <utility> #include "base/command_line.h" #include "base/l...
/* Copyright 2018 Intel Corporation * * 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 ...
/* * scales.h * * Created on: Aug 18, 2018 * Author: willmitchell */ #ifndef INC_SCALES_HPP_ #define INC_SCALES_HPP_ /// Data structure for a note in a scale as represented by a precalculated ratio of integers. Generated with (link). typedef struct { /// Top 32 bits of a 64 bit precalculated ratio. c...
/* 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...
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
#include "BuildingSymbolizer.h" #include "ParserUtils.h" #include <cmath> namespace carto { namespace mvt { BuildingSymbolizer::FeatureProcessor BuildingSymbolizer::createFeatureProcessor(const ExpressionContext& exprContext, const SymbolizerContext& symbolizerContext) const { vt::FloatFunction fillOpacit...
class Solution { public: int FirstNotRepeatingChar(string str) { if(str.size()==0) return -1; int size =str.size(); int *al =new int[256]; for(int i=0;i<256;i++) { al[i]=0; } for(int i=0;i<size;i++) { al[str[i]]++; } ...
#include "gamescreen.h" #include <fstream> #include "frame.h" #include "titlescreen.h" #include "gameplay.h" #include "spritedef.h" GameScreen::GameScreen(sf::RenderWindow * window, float initialVelocity, float maxVelocity, float acceleration, ...
/******************************************************************************** * Copyright 2009 The Robotics Group, The Maersk Mc-Kinney Moller Institute, * Faculty of Engineering, University of Southern Denmark * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
#ifndef SPROUT_ALGORITHM_SHUFFLE_HPP #define SPROUT_ALGORITHM_SHUFFLE_HPP #include <sprout/config.hpp> #include <sprout/algorithm/fixed/shuffle.hpp> #include <sprout/algorithm/fit/shuffle.hpp> #endif // #ifndef SPROUT_ALGORITHM_SHUFFLE_HPP
/*========================================================================= Program: Visualization Toolkit Module: TestGPURayCastAdditive.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
//===- unittest/Tooling/QualTypeNameTest.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 // //===---------------------------...
// slam3d - Frontend for graph-based SLAM // Copyright (C) 2017 S. Kasperski // // 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...
#include "biggles/observation.hpp" #include "biggles/detail/random.hpp" #include "biggles/mh_moves/mh_moves.hpp" #include "biggles/mh_moves/utility.hpp" #include "biggles/track.hpp" #include "biggles/tracker.hpp" #include "biggles/kalman_filter.hpp" #include "biggles/simulate.hpp" #include <boost/foreach.hpp> #include ...
/* * * Copyright 2017 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 (c) 2017-2018 Hartmut Kaiser // 2018 R. Tohid // // 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) #if !defined(PHYLANX_PRIMITIVES_PRIMITIVES_HPP) #define PHYLANX_PRIMITIVES_PRIMITIVES_...
#include "daScript/misc/platform.h" #include "module_builtin.h" #include "daScript/simulate/simulate_nodes.h" #include "daScript/simulate/sim_policy.h" #include "daScript/simulate/aot.h" #include "daScript/ast/ast_interop.h" #include "daScript/ast/ast_policy_types.h" namespace das { // string DEFINE_OP2_EVA...
/* Copyright (c) 2016 Baidu, Inc. All Rights Reserve. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to ...
// typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString; CAtlString str; str = _T("\t\t ****Soccer is best!"); _tprintf_s(_T("Before: \"%s\"\n"), (LPCTSTR)str); _tprintf_s(_T("After: \"%s\"\n"), (LPCTSTR)str.TrimLeft(_T("\t *"))); // Output: // ------------------------...
//===-test_unsqueeze_axis_0_popart.cc-----------------------------------------------------------===// // // Copyright (C) 2019-2020 Alibaba Group Holding Limited. // // 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...
/* Copyright 2019 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 <iostream> #include <stdlib.h> using namespace std; void stck(); void que(); void stck_list(); void que_list(); void stck_ins_arr(); void stck_del_arr(); void stck_print(); void que_ins_arr(); void que_del_arr(); void que_print(); void stck_ins_list(); void stck_del_list(); void stck_print_list(); void que_i...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
/* * (c) Copyright 2019 Xilinx, 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 ap...
/* * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2017 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/license...
// Copyright (c) 2018, The Safex Project // // 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 // ...
#include <bits/stdc++.h> const int Nmax = 1e6; using namespace std; /** I = 1; E = 0; **/ char str[Nmax]; int N, K; const int DIGITS = 4; const int R = 32 / 4; const int radix = 1 << R; const int mask = radix - 1; int A[Nmax], B[Nmax], buckets[radix], newN; void RadixSort() { for ( int d = 0, shift =...
// 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 "ui/gfx/skbitmap_operations.h" #include <stddef.h> #include <stdint.h> #include <string.h> #include <algorithm> #include "base/logging.h" #...
//===----------------------------------------------------------------------===// // DuckDB // // planner/logical_operator_visitor.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "common/common.hpp" #include "planner/bound_tokens....
// // Copyright (C) 2017 Greg Landrum // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #define NO_IMPORT_ARRAY #include <RDBoost/python.h>...
// Copyright (c) 2005-2014 Code Synthesis Tools CC // // This program was generated by CodeSynthesis XSD, an XML Schema to // C++ data binding compiler. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Fre...
// Geometric Tools, LLC // Copyright (c) 1998-2012 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.0 (2010/01/01) #include "MTIVertex.h" //----------------------------...
//Binary Search Tree Program #include <iostream> #include <cstdlib> using namespace std; class BinarySearchTree { private: struct tree_node { tree_node* left; tree_node* right; int data; }; tree_node* root; public: BinarySearchTree() { root = NULL; } bool isEmpty() const { return r...
//================================================================================================= /*! // \file src/mathtest/dmatsmatsub/LDbHCa.cpp // \brief Source file for the LDbHCa dense matrix/sparse matrix subtraction math test // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // This fi...
#include "replication.h" #include <signal.h> #include <arpa/inet.h> #include <netinet/tcp.h> #include <future> #include <string> #include <thread> #include <event2/buffer.h> #include <event2/bufferevent.h> #include <event2/event.h> #include <glog/logging.h> #include "redis_reply.h" #include "rocksdb_crc32c.h" #includ...
// UserFunctionExpr.cpp // This file is part of the EScript programming language (https://github.com/EScript) // // Copyright (C) 2012-2013 Claudius Jähn <ClaudiusJ@live.de> // Copyright (C) 2012 Benjamin Eikel <benjamin@eikel.org> // // Licensed under the MIT License. See LICENSE file for details. // -----------------...
// 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...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "SAddContentDialog.h" #include "Widgets/Layout/SBorder.h" #include "EditorStyleSet.h" #include "SAddContentWidget.h" #define LOCTEXT_NAMESPACE "AddContentDialog" void SAddContentDialog::Construct(const FArguments& InArgs) { SAssignNew(AddContentW...
//----------------------------------------------------------------------------- // Copyright (c) 2018 Benjamin Buch // // https://github.com/bebuch/webservice // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) //--...
// Description: セグメント木 点更新 区間クエリ // TimeComplexity: 初期化$\mathcal{O}(n \log n)$ 更新とクエリ$\mathcal{O}(\log n)$ // Verifyed: AOJ DSL_2_A template <int depth> struct Segment_tree { const static int h = depth; const static int n = 1 << h; using T = long long; T data[2 * n]; const T out = (1LL << 31) - 1; inline T vme...
// Copyright (c) 2014-2017 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 <chain.h> #include <versionbits.h> #include <test/test_drivechain.h> #include <chainparams.h> #include <validation.h...
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
#include <stdexcept> #include "OnlineDB/Oracle/interface/Oracle.h" #include "OnlineDB/EcalCondDB/interface/FEConfigMainInfo.h" #include "OnlineDB/EcalCondDB/interface/Tm.h" #include "OnlineDB/EcalCondDB/interface/DateHandler.h" using namespace std; using namespace oracle::occi; FEConfigMainInfo::FEConfigMainInfo() ...
#include "stdafx.h" #include "interactive_motion.h" #include "physicsshell.h" #include "PhysicsShellHolder.h" #include "MathUtils.h" #include "../Include/xrRender/Kinematics.h" interactive_motion::interactive_motion() { init(); } void interactive_motion::init() { flags.assign(0); } void interactive_motion::setup...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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...
#include <iostream> #include <iomanip> #include <string> #include <vector> #include <math.h> #include <stdlib.h> #include <stdint.h> #include "UCTTower.hh" #include "UCTLogging.hh" using namespace l1tcalo; bool UCTTower::process() { if(region >= NRegionsInCard) { return processHFTower(); } if(ecalET > etIn...
///////////////////////////////////////////////////////////////////////////// // Name: src/qt/taskbar.cpp // Author: Peter Most // Copyright: (c) Peter Most // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precom...
// Protocol Buffers - Google's data interchange format // Copyright 2008 Google Inc. All rights reserved. // https://developers.google.com/protocol-buffers/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // ...
#include "bindings.h" #include <cmath> // // Set the tracing mode. // // @param newMode One of // - OBOE_TRACE_NEVER(0) to disable tracing, // - OBOE_TRACE_ALWAYS(1) to start a new trace if needed // Napi::Value setTracingMode(const Napi::CallbackInfo& info) { const Napi::Env env = info.Env(); // Validate argumen...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin developers //Copyright (c) 2017-2020 The PIVX developers //Copyright (c) 2020 The earnscoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-lice...
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2013/06/08 // Author: Mike Ovsiannikov // // Copyright 2013,2016 Quantcast Corporation. All rights reserved. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apache License, Version 2.0 // (...
#include <OpenEXR/ImfTiledRgbaFile.h> #include <cppmm_bind.hpp> namespace cppmm_bind { namespace OPENEXR_IMF_INTERNAL_NAMESPACE { namespace Imf = ::OPENEXR_IMF_INTERNAL_NAMESPACE; struct TiledRgbaOutputFile { using BoundType = Imf::TiledRgbaOutputFile; IMF_EXPORT TiledRgbaOutputFile(const char name[],...
/* * Author: bwilliams * Created: Oct 22, 2010 * * Copyright (C) 2010-2018 VMware, Inc. All rights reserved. -- VMware Confidential */ #include "stdafx.h" #include "Doc/PersistenceDoc/CCertCollectionDoc.h" #include "Doc/PersistenceDoc/CLocalSecurityDoc.h" #include "Doc/PersistenceDoc/CPersistenceDoc.h" #inclu...
/*############################################################################ # Copyright (C) Intel Corporation # # SPDX-License-Identifier: MIT ############################################################################*/ #include <assert.h> #include <stdio.h> #include <string.h> #include <algorithm> #inc...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-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 "net_processing.h" #include "addrman.h" #include "arith_uint256.h" #inc...
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "xfa/fxgraphics/cxfa_graphics.h" #include <cmath> #include <memory> ...
/******************************************************************************* * Copyright 2017-2018 Intel Corporation * * 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.apa...
//================================================================================================= /*! // \file src/mathtest/smatdmatmult/DCaD3x3b.cpp // \brief Source file for the DCaD3x3b sparse matrix/dense matrix multiplication math test // // Copyright (C) 2012-2018 Klaus Iglberger - All Rights Reserved // // ...
/** * Copyright (C) 2016-2022 Xilinx, Inc * * 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/*============================================================================= Library: CppMicroServices Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in...
#include <polarbear/systems/systemmanager.hpp> void SystemManager::AddSystem(std::shared_ptr<System>& system) { systems.push_back(std::move(system)); }; void SystemManager::AddSystem(std::shared_ptr<System>&& system) { systems.push_back(std::move(system)); }; void SystemManager::AddSystem(System*&& system) {...
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // Copyright (c) 2014-2018, The Monero Project // Copyright (c) 2018, The TurtleCoin Developers // Copyright (c) 2018, The Plenteum Developers // // Please see the included LICENSE file for more information. #include "FormatTools.h" #inclu...
/* Copyright (c) 2016 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 by applicable law or...
#pragma once #include <sstream> #include <silicon/api.hh> #include <silicon/backends/ws_api.hh> namespace sl { const char* type_string(const void*) { return "void"; } const char* type_string(const std::string*) { return "string"; } const char* type_string(const int*) { return "int"; } const char* type_strin...
// 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 <string> #include "base/prefs/json_pref_store.h" #include "base/prefs/mock_pref_change_callback.h" #include "base/prefs/pref_change_registra...
// RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple %s -o - | \ // RUN: FileCheck -check-prefix CHECK-ITANIUM %s // RUN: %clang_cc1 -emit-llvm -triple wasm32-unknown-unknown %s -o - | \ // RUN: FileCheck -check-prefix CHECK-WEBASSEMBLY32 %s // RUN: %clang_cc1 -emit-llvm -triple wasm64-unknown-unknown %s -o - | \ ...
/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Claire Xenia Wolf <claire@yosyshq.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear i...
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once #pragma pack(push, 8) // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Including type: PersistentScriptableObject #include "GlobalNamespace/Pe...
#include<iostream> #include<stdlib.h> #include<string.h> #include<fstream> #include<conio.h> #include<stdbool.h> #include <Windows.h> using namespace std; struct node { char name[30]; char number[15]; char address[40]; char email[40]; struct node *left, *right, *mid; }; struct node* searchin(struct ...