v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-random.cc File Reference
#include "v8.h"
#include "cctest.h"
#include "compiler.h"
#include "execution.h"
#include "isolate.h"
Include dependency graph for test-random.cc:

Go to the source code of this file.

Functions

void SetSeeds (Handle< ByteArray > seeds, uint32_t state0, uint32_t state1)
 
void TestSeeds (Handle< JSFunction > fun, Handle< Context > context, uint32_t state0, uint32_t state1)
 
 TEST (CrankshaftRandom)
 

Function Documentation

void SetSeeds ( Handle< ByteArray seeds,
uint32_t  state0,
uint32_t  state1 
)

Definition at line 42 of file test-random.cc.

References v8::internal::kBitsPerByte.

Referenced by TEST(), and TestSeeds().

void TestSeeds ( Handle< JSFunction fun,
Handle< Context context,
uint32_t  state0,
uint32_t  state1 
)