NCBI C++ ToolKit
Classes | Variables
random_gen.cpp File Reference
#include <ncbi_pch.hpp>
#include <util/random_gen.hpp>
#include <corelib/ncbitime.hpp>
#include <corelib/ncbi_process.hpp>
#include <corelib/ncbithr.hpp>
#include <corelib/ncbi_safe_static.hpp>
#include <corelib/ncbidiag.hpp>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
+ Include dependency graph for random_gen.cpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CRandomSupplier
 

Variables

static const size_t kStateOffset = 12
 
static const char * kHardwareGeneratorDevice = "/dev/hwrng"
 
static const char * kSoftwareGeneratorDevice = "/dev/urandom"
 
static CSafeStatic< CRandomSuppliers_RandomSupplier
 

Variable Documentation

◆ kHardwareGeneratorDevice

const char* kHardwareGeneratorDevice = "/dev/hwrng"
static

Definition at line 102 of file random_gen.cpp.

Referenced by CRandomSupplier::CRandomSupplier().

◆ kSoftwareGeneratorDevice

const char* kSoftwareGeneratorDevice = "/dev/urandom"
static

Definition at line 103 of file random_gen.cpp.

Referenced by CRandomSupplier::CRandomSupplier().

◆ kStateOffset

const size_t kStateOffset = 12
static

Definition at line 98 of file random_gen.cpp.

Referenced by CRandom::Reset(), and CRandom::SetSeed().

◆ s_RandomSupplier

CSafeStatic<CRandomSupplier> s_RandomSupplier
static
Modified on Thu May 30 12:26:46 2024 by modify_doxy.py rev. 669887