MCPcopy Create free account
hub / github.com/bytedance/bolt / randType

Function randType

bolt/vector/fuzzer/VectorFuzzer.cpp:1677–1683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1675} // namespace
1676
1677TypePtr randType(
1678 FuzzerGenerator& rng,
1679 int maxDepth,
1680 bool withDecimal,
1681 bool withHugeint) {
1682 return randType(rng, defaultScalarTypes(withDecimal, withHugeint), maxDepth);
1683}
1684
1685TypePtr randOrderableType(FuzzerGenerator& rng, int maxDepth) {
1686 // Should we generate a scalar type?

Callers 7

randTypeMethod · 0.85
randOrderableTypeFunction · 0.85
randRowTypeFunction · 0.85
randTypeMethod · 0.85
fuzzArgumentTypesMethod · 0.85
fuzzReturnTypeMethod · 0.85

Calls 9

defaultScalarTypesFunction · 0.85
randShortDecimalTypeFunction · 0.85
randLongDecimalTypeFunction · 0.85
MAPFunction · 0.85
ARRAYFunction · 0.85
randRowTypeFunction · 0.85
isShortDecimalMethod · 0.80
sizeMethod · 0.45
isLongDecimalMethod · 0.45

Tested by

no test coverage detected