MCPcopy Create free account
hub / github.com/apache/arrow / TEST

Function TEST

cpp/src/arrow/util/hashing_test.cc:100–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100TEST(HashingQuality, Int64) {
101#ifdef ARROW_VALGRIND
102 const int32_t n_values = 500;
103#else
104 const int32_t n_values = 10000;
105#endif
106 {
107 const auto values = MakeDistinctIntegers<int64_t>(n_values);
108 CheckScalarHashQuality<int64_t>(values);
109 }
110 {
111 const auto values = MakeSequentialIntegers<int64_t>(n_values);
112 CheckScalarHashQuality<int64_t>(values);
113 }
114}
115
116TEST(HashingQuality, Strings) {
117#ifdef ARROW_VALGRIND

Callers

nothing calls this directly

Calls 15

MakeDistinctStringsFunction · 0.85
default_memory_poolFunction · 0.85
AssertGetFunction · 0.85
AssertGetNullFunction · 0.85
AssertGetOrInsertFunction · 0.85
AssertGetOrInsertNullFunction · 0.85
BuildBooleanArrayFunction · 0.85
HashDataBitmapFunction · 0.85
HashConcatenationFunction · 0.85
push_backMethod · 0.80
values_sizeMethod · 0.80
CopyOffsetsMethod · 0.80

Tested by

no test coverage detected