Lines Matching defs:bit
80 // The predictor bit is either constant 0 or 1, or one of the bits from the
83 // The predicted bit is one of the bits from the PRNG.
85 // We don't want to check whether each bit predicts itself.
93 // Find out how many of the bits are the same as the prediction bit.
107 int bit = (random >> random_bit) & 1;
108 if (bit == predicted) m++;
117 PrintF("Bit %d is %d %d%% of the time\n", random_bit,
120 PrintF("Bit %d is the same as bit %d %d ago %d%% of the time\n",
129 // If the predictor bit is a fixed 0 or 1 then it makes no sense to
138 #define TEST_RANDOM_BIT(BIT) \
139 TEST(RandomBitCorrelations##BIT) { RandomBitCorrelation(BIT); }