__GNU_PARALLEL::_DRSSORTERPU(3cxx)

🌸 NAME 🌸

okay so bestie, welcome to __gnu_parallel...mberGenerator >(3cxx) β€” that’s the header/manual-name situation, and yes it’s giving truncated-template chaos, but we move. The actual main character is __gnu_parallel::_DRSSorterPU< _RAIter, _RandomNumberGenerator >, and it’s local data for a thread participating in __gnu_parallel::__parallel_random_shuffle(). Per-thread shuffle bookkeeping, no cap. πŸ’…βœ¨

✨ SYNOPSIS ✨

First, the include, exactly:

#include <random_shuffle.h>

πŸŽ€ Public Attributes πŸŽ€

  • _BinIndex __bins_end β€” End index for bins taken care of by this thread.
  • _BinIndex _M_bins_begin β€” Begin index for bins taken care of by this thread.
  • int _M_num_threads β€” Number of threads participating in total.
  • _DRandomShufflingGlobalData< _RAIter > * _M_sd β€” Pointer to global data.
  • uint32_t _M_seed β€” Random _M_seed for this thread.

πŸ¦‹ Detailed Description πŸ¦‹

The template situation is:

template<typename _RAIter, typename _RandomNumberGenerator>
struct __gnu_parallel::_DRSSorterPU< _RAIter, _RandomNumberGenerator >

Local data for a thread participating in __gnu_parallel::__parallel_random_shuffle(). That’s the whole summary, bestie: this struct is the per-thread local-data situation for the parallel random shuffle. It’s giving β€œone thread’s little shuffle bag,” and we’re obsessed. πŸ¦‹


πŸ‘‘ Member Data Documentation πŸ‘‘

Every member, with the full signatures kept exactly β€” because we do not play with names around here. πŸ’–

πŸ’… __bins_end

template<typename _RAIter , typename _RandomNumberGenerator > _BinIndex __gnu_parallel::_DRSSorterPU< _RAIter, _RandomNumberGenerator >::__bins_end

End index for bins taken care of by this thread.

Referenced by __gnu_parallel::__parallel_random_shuffle_drs(), and __gnu_parallel::__parallel_random_shuffle_drs_pu().

πŸŽ€ _M_bins_begin

template<typename _RAIter , typename _RandomNumberGenerator > _BinIndex __gnu_parallel::_DRSSorterPU< _RAIter, _RandomNumberGenerator >::_M_bins_begin

Begin index for bins taken care of by this thread.

Referenced by __gnu_parallel::__parallel_random_shuffle_drs(), and __gnu_parallel::__parallel_random_shuffle_drs_pu().

⭐ _M_num_threads

template<typename _RAIter , typename _RandomNumberGenerator > int __gnu_parallel::_DRSSorterPU< _RAIter, _RandomNumberGenerator >::_M_num_threads

Number of threads participating in total.

Referenced by __gnu_parallel::__parallel_random_shuffle_drs(), and __gnu_parallel::__parallel_random_shuffle_drs_pu().

πŸ¦‹ _M_sd

template<typename _RAIter , typename _RandomNumberGenerator > _DRandomShufflingGlobalData<_RAIter>* __gnu_parallel::_DRSSorterPU< _RAIter, _RandomNumberGenerator >::_M_sd

Pointer to global data.

Referenced by __gnu_parallel::__parallel_random_shuffle_drs(), and __gnu_parallel::__parallel_random_shuffle_drs_pu().

πŸ“ _M_seed

template<typename _RAIter , typename _RandomNumberGenerator > uint32_t __gnu_parallel::_DRSSorterPU< _RAIter, _RandomNumberGenerator >::_M_seed

Random _M_seed for this thread.

Referenced by __gnu_parallel::__parallel_random_shuffle_drs(), and __gnu_parallel::__parallel_random_shuffle_drs_pu().


🌈 Author 🌈

Generated automatically by Doxygen for libstdc++ from the source code.

okay that’s the page, bestie 🫢 β€” cute sign-off tea: source/version is libstdc++ (Doxygen-generated), manual tag 3cxx, and the footer didn’t include a date, so I’m not making one up. πŸ’–πŸ‘‘