Go to the documentation of this file.
15 #ifndef ABSL_RANDOM_INTERNAL_NONSECURE_BASE_H_
16 #define ABSL_RANDOM_INTERNAL_NONSECURE_BASE_H_
21 #include <type_traits>
25 #include "absl/base/macros.h"
26 #include "absl/container/inlined_vector.h"
27 #include "absl/meta/type_traits.h"
28 #include "absl/random/internal/pool_urbg.h"
29 #include "absl/random/internal/salted_seed_seq.h"
30 #include "absl/random/internal/seed_material.h"
31 #include "absl/types/span.h"
35 namespace random_internal {
45 template <
typename Contiguous>
47 const size_t n = std::distance(
begin,
end);
55 template <
typename RandomAccessIterator>
57 RandomAccessIterator
end) {
58 const size_t n = std::distance(
begin,
end);
67 size_t size() {
return 0; }
69 template <
typename OutIterator>
70 void param(OutIterator)
const {}
72 template <
typename RandomAccessIterator>
84 std::is_same<RandomAccessIterator,
95 template <
typename URBG,
typename Seeder = RandenPoolSeedSeq>
147 template <
typename SSeq>
151 return URBG(salted_seq);
161 #endif // ABSL_RANDOM_INTERNAL_NONSECURE_BASE_H_
NonsecureURBGBase & operator=(const NonsecureURBGBase &)=delete
void generate_impl(ContiguousTag, Contiguous begin, Contiguous end)
static int copy(grpc_slice_buffer *input, grpc_slice_buffer *output)
typename std::conditional< B, T, F >::type conditional_t
static URBG ConstructURBG(SSeq &&seq)
static void Fill(absl::Span< result_type > data)
typename std::enable_if< B, T >::type enable_if_t
#define ABSL_NAMESPACE_END
const typedef MCPhysReg * iterator
SSeq MakeSaltedSeedSeq(SSeq &&seq)
bool operator!=(const NonsecureURBGBase &other) const
#define ABSL_NAMESPACE_BEGIN
typename random_internal::randen_engine< uint64_t > ::result_type result_type
NonsecureURBGBase(SSeq &&seq)
const typedef int * result_type
void generate_impl(BufferTag, RandomAccessIterator begin, RandomAccessIterator end)
static constexpr result_type() max()
void discard(unsigned long long values)
static constexpr result_type() min()
void param(OutIterator) const
void generate(RandomAccessIterator begin, RandomAccessIterator end)
std::array< int64_t, Size > values
static URBG ConstructURBG()
constexpr T && forward(absl::remove_reference_t< T > &t) noexcept
bool operator==(const NonsecureURBGBase &other) const
constexpr Span< T > MakeSpan(T *ptr, size_t size) noexcept
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:32