Lines Matching refs:bits
17 function dec32bin($dec, $bits) {
19 $maxval = pow(2, $bits);
36 for ($bits = 1; $bits <= 46; $bits++) {
37 if (1 == $bits)
40 $max_value = pow(2, $bits) - 1;
42 …, bit_value BIT(%d) NOT NULL, bit_null BIT(%d) DEFAULT NULL) ENGINE="%s"', $bits, $bits, $engine)))
43 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
66 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
73 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
77 printf("[004 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
80 printf("[005 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
85 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
91 printf("[007 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
97 …printf("[008 - %d] Expecting null got %s/%s\n", $bits, gettype($row['bit_value']), $row['bit_value…