v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::MathRandom Class Reference

#include <math-random.h>

Inheritance diagram for v8::internal::MathRandom:
Collaboration diagram for v8::internal::MathRandom:

Classes

struct  State
 

Static Public Member Functions

static void InitializeContext (Isolate *isolate, DirectHandle< Context > native_context)
 
static void ResetContext (Tagged< Context > native_context)
 
static Address RefillCache (Isolate *isolate, Address raw_native_context)
 

Static Public Attributes

static const int kCacheSize = 64
 
static const int kStateSize = 2 * kInt64Size
 

Detailed Description

Definition at line 14 of file math-random.h.

Member Function Documentation

◆ InitializeContext()

void v8::internal::MathRandom::InitializeContext ( Isolate * isolate,
DirectHandle< Context > native_context )
static

Definition at line 17 of file math-random.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RefillCache()

Address v8::internal::MathRandom::RefillCache ( Isolate * isolate,
Address raw_native_context )
static

Definition at line 35 of file math-random.cc.

Here is the call graph for this function:

◆ ResetContext()

void v8::internal::MathRandom::ResetContext ( Tagged< Context > native_context)
static

Definition at line 29 of file math-random.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kCacheSize

const int v8::internal::MathRandom::kCacheSize = 64
static

Definition at line 24 of file math-random.h.

◆ kStateSize

const int v8::internal::MathRandom::kStateSize = 2 * kInt64Size
static

Definition at line 25 of file math-random.h.


The documentation for this class was generated from the following files: