/usr/include/dieharder/dab_filltree2.h is in libdieharder-dev 3.31.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | /*
* dab_filltree2 test header.
*/
/*
* function prototype
*/
int dab_filltree2(Test **test, int irun);
static Dtest dab_filltree2_dtest __attribute__((unused)) = {
"DAB Fill Tree 2 Test",
"dab_filltree2",
"\
#==========================================================\n\
# DAB Fill Tree 2 Test\n\
# Bit version of Fill Tree test.\n\
# This test fills small binary trees of fixed depth with\n\
# \"visited\" markers. When a marker cannot be placed, the\n\
# current count of markers in the tree and the position\n\
# that the marker would have been inserted, if it hadn't\n\
# already been marked.\n\
#\n\
# For each bit in the RNG input, the test takes a step\n\
# right (for a zero) or left (for a one) in the tree.\n\
# If the node hasn't been marked, it is marked, and the\n\
# path restarts. Otherwise, the test continues with the\n\
# next bit.\n\
#\n\
# The test returns two p-values. The first is a Pearson\n\
# chi-sq test against the expected values (which were\n\
# estimated empirically. The second is a Pearson chi-sq\n\
# test for a uniform distribution of the positions at\n\
# which the insert failed.\n\
#\n\
# Because of the target data for the first p-value,\n\
# ntuple must be kept at the default (128).\n\
#==========================================================\n",
1,
5000000,
2,
dab_filltree2,
0
};
|