⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sts_runs.h

📁 Dieharder是一个是一个测试一序列伪随机数的随机性能的测试套件
💻 H
字号:
/* * sts_runs test header. *//* * function prototype */void sts_runs(Test **test,int irun);static Dtest sts_runs_dtest = {  "STS Runs Test",  "\n\#==================================================================\n\#                       STS Runs Test\n\# Counts the total number of 0 runs + total number of 1 runs across\n\# a sample of bits.  Note that a 0 run must begin with 10 and end\n\# with 01.  Note that a 1 run must begin with 01 and end with a 10.\n\# This test, run on a bitstring with cyclic boundary conditions, is\n\# absolutely equivalent to just counting the 01 + 10 bit pairs.\n\# It is therefore totally redundant with but not as good as the\n\# rgb_bitdist() test for 2-tuples, which looks beyond the means to the\n\# moments, testing an entire histogram  of 00, 01, 10, and 11 counts\n\# to see if it is binomially distributed with p = 0.25.\n\#==================================================================\n",  100,  100000,  1}; uint *sts_runs_rand_int;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -