aboutsummaryrefslogtreecommitdiffstats
ModeNameSize
-rw-r--r--.gitattributes438logstatsplain
-rw-r--r--.gitignore775logstatsplain
-rw-r--r--.gitreview76logstatsplain
-rw-r--r--DPDK_VPP_VER11logstatsplain
-rw-r--r--INFO.yaml2315logstatsplain
-rw-r--r--LICENSE11358logstatsplain
-rw-r--r--NOTICE1238logstatsplain
d---------PyPI146logstatsplain
-rw-r--r--README.md6825logstatsplain
-rw-r--r--VPP_DEVICE_IMAGE_CENTOS28logstatsplain
-rw-r--r--VPP_DEVICE_IMAGE_UBUNTU26logstatsplain
-rw-r--r--VPP_DEVICE_IMAGE_UBUNTU_ARM30logstatsplain
-rw-r--r--VPP_REPO_URL57logstatsplain
-rw-r--r--VPP_STABLE_VER_CENTOS27logstatsplain
-rw-r--r--VPP_STABLE_VER_UBUNTU_BIONIC24logstatsplain
d---------docs557logstatsplain
-rw-r--r--pylint.cfg9170logstatsplain
-rw-r--r--requirements.txt2017logstatsplain
d---------resources337logstatsplain
d---------tests61logstatsplain
d---------topologies105logstatsplain
-rw-r--r--tox-requirements.txt808logstatsplain
-rw-r--r--tox.ini3521logstatsplain
, input); } if (!seed) seed = random_default_seed (); results[0] = seed; if (n_iterations == 0) n_iterations = ~0; if_verbose ("%d iterations, seed %d\n", n_iterations, seed); repeat_count = 0; isaac_init (&ctx, results); isaac (&ctx, results); n_results = 0; for (i = 0; i < n_iterations; i++) { uword r = results[n_results++]; if (!hash) hash = hash_create (0, /* value bytes */ 0); if (hash_get (hash, r)) goto repeat; hash_set1 (hash, r); if (n_results >= ARRAY_LEN (results)) { isaac (&ctx, results); n_results = 0; } if (verbose && 0 == (i & (print - 1))) fformat (stderr, "0x%08x iterations %d repeats\n", i, repeat_count); if (hash_elts (hash) > 0x100000) hash_free (hash); continue; repeat: fformat (stderr, "repeat found at iteration %d/%d\n", i, n_iterations); repeat_count++; continue; } return repeat_count > 0 ? 1 : 0; } #ifdef CLIB_UNIX int main (int argc, char *argv[]) { unformat_input_t i; int ret; clib_mem_init (0, 64ULL << 20); verbose = (argc > 1); unformat_init_command_line (&i, argv); ret = test_isaac_main (&i); unformat_free (&i); return ret; } #endif /* CLIB_UNIX */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */