PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: algorithm Size: 3.57 KB
//usr/include/c++/8/experimental/algorithm

// <experimental/algorithm> -*- C++ -*-

// Copyright (C) 2014-2018 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library.  This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Software Foundation; either version 3, or (at your option)
// any later version.

// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.

// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
// <http://www.gnu.org/licenses/>.

/** @file experimental/algorithm
 *  This is a TS C++ Library header.
 */

#ifndef _GLIBCXX_EXPERIMENTAL_ALGORITHM
#define _GLIBCXX_EXPERIMENTAL_ALGORITHM 1

#pragma GCC system_header

#if __cplusplus >= 201402L

#include <algorithm>
#include <experimental/bits/lfts_config.h>
#include <experimental/random>

namespace std _GLIBCXX_VISIBILITY(default)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION

namespace experimental
{
inline namespace fundamentals_v2
{
  template<typename _ForwardIterator, typename _Searcher>
    inline _ForwardIterator
    search(_ForwardIterator __first, _ForwardIterator __last,
	   const _Searcher& __searcher)
    { return __searcher(__first, __last); }

#define __cpp_lib_experimental_sample 201402

  /// Take a random sample from a population.
  template<typename _PopulationIterator, typename _SampleIterator,
           typename _Distance, typename _UniformRandomNumberGenerator>
    _SampleIterator
    sample(_PopulationIterator __first, _PopulationIterator __last,
	   _SampleIterator __out, _Distance __n,
	   _UniformRandomNumberGenerator&& __g)
    {
      using __pop_cat = typename
	std::iterator_traits<_PopulationIterator>::iterator_category;
      using __samp_cat = typename
	std::iterator_traits<_SampleIterator>::iterator_category;

      static_assert(
	  __or_<is_convertible<__pop_cat, forward_iterator_tag>,
		is_convertible<__samp_cat, random_access_iterator_tag>>::value,
	  "output range must use a RandomAccessIterator when input range"
	  " does not meet the ForwardIterator requirements");

      static_assert(is_integral<_Distance>::value,
		    "sample size must be an integer type");

      typename iterator_traits<_PopulationIterator>::difference_type __d = __n;
      return std::__sample(__first, __last, __pop_cat{}, __out, __samp_cat{},
			   __d,
			   std::forward<_UniformRandomNumberGenerator>(__g));
    }

  template<typename _PopulationIterator, typename _SampleIterator,
           typename _Distance>
    inline _SampleIterator
    sample(_PopulationIterator __first, _PopulationIterator __last,
	   _SampleIterator __out, _Distance __n)
    {
      return experimental::sample(__first, __last, __out, __n,
				  _S_randint_engine());
    }

  template<typename _RandomAccessIterator>
    inline void
    shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last)
    { return std::shuffle(__first, __last, _S_randint_engine()); }

} // namespace fundamentals_v2
} // namespace experimental

_GLIBCXX_END_NAMESPACE_VERSION
} // namespace std

#endif // C++14

#endif // _GLIBCXX_EXPERIMENTAL_ALGORITHM

Directory Contents

Dirs: 1 × Files: 30

Name Size Perms Modified Actions
bits DIR
- drwxr-xr-x 2025-08-29 23:02:20
Edit Download
3.57 KB lrw-r--r-- 2025-08-26 09:45:04
Edit Download
15.56 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
3.15 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
1.89 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.21 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
1.53 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.26 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
12.00 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
3.43 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.17 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.51 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
5.90 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
12.61 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
3.12 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
28.20 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
14.95 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.49 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.36 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.05 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.39 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.69 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.75 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
20.92 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
1.98 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.39 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
10.70 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.76 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.64 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
1.67 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download
2.28 KB lrw-r--r-- 2025-08-26 09:45:05
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI