Lines Matching full:we
7 # We do this by first executing Perl with a given PERL_PERTURB_KEYS
12 # We do not ask perl to output any keys on this run, as our subsequent
14 # PERL_HASH_SEED) which will change any key order results we see.
16 # We then execute perl a further three times and ask perl to build a
17 # hash with a specific number of buckets and a specific set of keys. We
20 # For two of these three runs we supply the same seed, and both of those
21 # times we supply the same perturb mode, but in different ways, once as
28 # The third run we supply a different seed, with a 1 bit difference, but
29 # with the same PERL_PERTURB_KEYS mode. In this case we expect the key
31 # probabilistic and we may get the same key order in a small percentage
32 # of the times we try this.
34 # To address the probabilistic nature of these tests we run them
35 # multiple times and count how many times we get the same key order.
37 # Therefore we use a threshold $allowed_fails to determine how many
38 # times the key order may be unchanged before we consider the tests
39 # actually failed. We also use a largish number of keys in a hash with
40 # a large number of buckets, which means we produce a lot a large temp
41 # files as we test, so we aggressively clean them up as we go.
115 # more "errors". Maybe one day we will compute
157 # First let perl choose the seed. We only use the $seed and $err
158 # output here. We extract the seed that perl chose, which
165 # Now we have to run it again.
171 # We set the mode via the digit not the name here.
202 # We also test that a 1 bit change to the seed will
224 # is a small chance that we got the same result, so
232 # small chance that we get the same result, so count how
239 # From this point on we are testing DETERMINISTIC and NO
248 # From this point on we are testing the DETERMINISTIC
252 # skip these tests if we are not running in a DEBUGGING perl.
274 # we use is() to see the differing data, but this test
286 # We create a lot of big temp files so clean them up as we go.
287 # This is in a continue block so we can do this cleanup after
288 # each iteration even if we call next in the middle of the loop.
292 # We just finished $repeat tests, now deal with the probabilistic
293 # results and ensure that we are under the $allowed_fails threshold
296 # There is a small chance we got the same result a few times
309 # There is a small chance we got the same result a few times even