MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / Reset

Method Reset

extern/re2/re2/testing/string_generator.cc:35–41  ·  view source on GitHub ↗

Resets the string generator state to the beginning.

Source from the content-addressed store, hash-verified

33
34// Resets the string generator state to the beginning.
35void StringGenerator::Reset() {
36 digits_.clear();
37 hasnext_ = true;
38 random_ = false;
39 nrandom_ = 0;
40 generate_null_ = false;
41}
42
43// Increments the big number in digits_, returning true if successful.
44// Returns false if all the numbers have been used.

Callers 3

HandleRegexpMethod · 0.45
HandleRegexpMethod · 0.45
MemoryUsageFunction · 0.45

Calls 1

clearMethod · 0.45

Tested by 2

HandleRegexpMethod · 0.36
HandleRegexpMethod · 0.36