MCPcopy Create free account
hub / github.com/dblalock/bolt / aligned_random_ints

Function aligned_random_ints

cpp/test/testing_utils/testing_utils.hpp:174–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173template<class data_t>
174static inline data_t* aligned_random_ints(int64_t len) {
175 data_t* ptr = aligned_alloc<data_t>(len);
176 randint_inplace(ptr, len);
177 return ptr;
178}
179
180template<class data_t>
181static inline data_t* aligned_random(int64_t len) {

Callers

nothing calls this directly

Calls 1

randint_inplaceFunction · 0.85

Tested by

no test coverage detected