Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "core/fxcrt/fx_random.h"
#include "build/build_config.h"
#include "core/fxcrt/fx_memory.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/fx_system.h"
#include <sys/time.h>
#include <unistd.h>
Go to the source code of this file.
Macros | |
#define | MT_N 848 |
#define | MT_M 456 |
#define | MT_Matrix_A 0x9908b0df |
#define | MT_Upper_Mask 0x80000000 |
#define | MT_Lower_Mask 0x7fffffff |
Functions | |
void * | FX_Random_MT_Start (uint32_t dwSeed) |
uint32_t | FX_Random_MT_Generate (void *pContext) |
void | FX_Random_MT_Close (void *pContext) |
void | FX_Random_GenerateMT (uint32_t *pBuffer, int32_t iCount) |
#define MT_Lower_Mask 0x7fffffff |
Definition at line 18 of file fx_random.cpp.
#define MT_M 456 |
Definition at line 15 of file fx_random.cpp.
#define MT_Matrix_A 0x9908b0df |
Definition at line 16 of file fx_random.cpp.
#define MT_N 848 |
Definition at line 14 of file fx_random.cpp.
#define MT_Upper_Mask 0x80000000 |
Definition at line 17 of file fx_random.cpp.
void FX_Random_GenerateMT | ( | uint32_t * | pBuffer, |
int32_t | iCount ) |
Definition at line 127 of file fx_random.cpp.
References FX_Random_MT_Close(), and FX_Random_MT_Generate().
Definition at line 123 of file fx_random.cpp.
Referenced by FX_Random_GenerateMT().
uint32_t FX_Random_MT_Generate | ( | void * | pContext | ) |
Definition at line 96 of file fx_random.cpp.
Referenced by FX_Random_GenerateMT().
void * FX_Random_MT_Start | ( | uint32_t | dwSeed | ) |
Definition at line 85 of file fx_random.cpp.