Lines Matching refs:bits
18 function dec32bin($dec, $bits) {
20 $maxval = pow(2, $bits);
37 for ($bits = 1; $bits <= 46; $bits++) {
38 if (1 == $bits)
41 $max_value = pow(2, $bits) - 1;
44 …, bit_value BIT(%d) NOT NULL, bit_null BIT(%d) DEFAULT NULL) ENGINE="%s"', $bits, $bits, $engine)))
45 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
68 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
75 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
79 printf("[004 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
82 printf("[005 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
87 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
93 printf("[007 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
99 …printf("[008 - %d] Expecting null got %s/%s\n", $bits, gettype($row['bit_value']), $row['bit_value…