mariadb/newbrt/primes.h

7 lines
248 B
C
Raw Normal View History

#ident "Copyright (c) 2007 Tokutek Inc. All rights reserved."
/* Return the smallest prime >= 2^(idx+1)
* Only works for idx<30 */
int toku_get_prime (unsigned int idx) __attribute__((const));
void toku_test_primes(void) __attribute__((const));