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

Function TEST

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

Source from the content-addressed store, hash-verified

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