v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConsStringGenerationData Class Reference
Collaboration diagram for ConsStringGenerationData:

Public Member Functions

 ConsStringGenerationData (bool long_blocks)
 
void Reset ()
 
Handle< Stringblock (int offset)
 
Handle< Stringblock (uint32_t offset)
 

Data Fields

double early_termination_threshold_
 
double leftness_
 
double rightness_
 
double empty_leaf_threshold_
 
unsigned max_leaves_
 
Handle< Stringbuilding_blocks_ [kNumberOfBuildingBlocks]
 
Stringempty_string_
 
MyRandomNumberGenerator rng_
 
ConsStringStats stats_
 
unsigned early_terminations_
 

Static Public Attributes

static const int kNumberOfBuildingBlocks = 256
 

Detailed Description

Definition at line 261 of file test-strings.cc.

Constructor & Destructor Documentation

ConsStringGenerationData ( bool  long_blocks)
explicit

Definition at line 286 of file test-strings.cc.

References CcTest::heap().

Member Function Documentation

Handle< String > block ( int  offset)
inline

Definition at line 300 of file test-strings.cc.

References CHECK_GE.

Handle< String > block ( uint32_t  offset)
inline

Definition at line 295 of file test-strings.cc.

void Reset ( )

Definition at line 306 of file test-strings.cc.

Field Documentation

Definition at line 275 of file test-strings.cc.

double early_termination_threshold_

Definition at line 269 of file test-strings.cc.

unsigned early_terminations_

Definition at line 280 of file test-strings.cc.

double empty_leaf_threshold_

Definition at line 272 of file test-strings.cc.

String* empty_string_

Definition at line 276 of file test-strings.cc.

const int kNumberOfBuildingBlocks = 256
static

Definition at line 263 of file test-strings.cc.

double leftness_

Definition at line 270 of file test-strings.cc.

unsigned max_leaves_

Definition at line 273 of file test-strings.cc.

double rightness_

Definition at line 271 of file test-strings.cc.

Definition at line 277 of file test-strings.cc.

Definition at line 279 of file test-strings.cc.

Referenced by TestStringCharacterStream(), and VerifyConsString().


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