abseil-cpp/absl/random/seed_sequences.cc
Go to the documentation of this file.
1 // Copyright 2017 The Abseil Authors.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // https://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #include "absl/random/seed_sequences.h"
16 
17 #include "absl/random/internal/pool_urbg.h"
18 
19 namespace absl {
21 
23  SeedSeq::result_type seed_material[8];
25  return SeedSeq(std::begin(seed_material), std::end(seed_material));
26 }
27 
29 } // namespace absl
begin
char * begin
Definition: abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:1007
absl::random_internal::SaltedSeedSeq::result_type
typename SSeq::result_type result_type
Definition: abseil-cpp/absl/random/internal/salted_seed_seq.h:49
absl::random_internal::RandenPool::Fill
static void Fill(absl::Span< result_type > data)
Definition: abseil-cpp/absl/random/internal/pool_urbg.cc:240
ABSL_NAMESPACE_END
#define ABSL_NAMESPACE_END
Definition: third_party/abseil-cpp/absl/base/config.h:171
ABSL_NAMESPACE_BEGIN
#define ABSL_NAMESPACE_BEGIN
Definition: third_party/abseil-cpp/absl/base/config.h:170
end
char * end
Definition: abseil-cpp/absl/strings/internal/str_format/float_conversion.cc:1008
absl::MakeSeedSeq
ABSL_NAMESPACE_BEGIN SeedSeq MakeSeedSeq()
Definition: abseil-cpp/absl/random/seed_sequences.cc:22
absl::random_internal::SaltedSeedSeq
Definition: abseil-cpp/absl/random/internal/salted_seed_seq.h:46
absl
Definition: abseil-cpp/absl/algorithm/algorithm.h:31
absl::SeedSeq
random_internal::SaltedSeedSeq< std::seed_seq > SeedSeq
Definition: abseil-cpp/absl/random/seed_sequences.h:56
absl::MakeSpan
constexpr Span< T > MakeSpan(T *ptr, size_t size) noexcept
Definition: abseil-cpp/absl/types/span.h:661


grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:10