HomeSort by relevance Sort by last modified time
    Searched defs:RandomNumberGenerator (Results 1 - 4 of 4) sorted by null

  /external/llvm/lib/Support/
RandomNumberGenerator.cpp 1 //===-- RandomNumberGenerator.cpp - Implement RNG class -------------------===//
16 #include "llvm/Support/RandomNumberGenerator.h"
33 RandomNumberGenerator::RandomNumberGenerator(StringRef Salt) {
55 uint_fast64_t RandomNumberGenerator::operator()() {
  /external/llvm/include/llvm/Support/
RandomNumberGenerator.h 1 //==- llvm/Support/RandomNumberGenerator.h - RNG for diversity ---*- C++ -*-==//
32 class RandomNumberGenerator {
42 RandomNumberGenerator(StringRef Salt);
51 RandomNumberGenerator(const RandomNumberGenerator &other) = delete;
52 RandomNumberGenerator &operator=(const RandomNumberGenerator &other) = delete;
  /external/v8/src/base/utils/
random-number-generator.cc 20 static RandomNumberGenerator::EntropySource entropy_source = NULL;
24 void RandomNumberGenerator::SetEntropySource(EntropySource source) {
30 RandomNumberGenerator::RandomNumberGenerator() {
81 int RandomNumberGenerator::NextInt(int max) {
99 double RandomNumberGenerator::NextDouble() {
105 int64_t RandomNumberGenerator::NextInt64() {
111 void RandomNumberGenerator::NextBytes(void* buffer, size_t buflen) {
118 int RandomNumberGenerator::Next(int bits) {
126 void RandomNumberGenerator::SetSeed(int64_t seed)
    [all...]
random-number-generator.h 14 // RandomNumberGenerator
25 // If two instances of RandomNumberGenerator are created with the same seed, and
34 class RandomNumberGenerator final {
41 RandomNumberGenerator();
42 explicit RandomNumberGenerator(int64_t seed) { SetSeed(seed); }

Completed in 128 milliseconds