Lines Matching refs:bits
22 function dec32bin($dec, $bits) {
24 $maxval = pow(2, $bits);
41 for ($bits = 1; $bits <= 46; $bits++) {
42 if (1 == $bits)
45 $max_value = pow(2, $bits) - 1;
48 …, bit_value BIT(%d) NOT NULL, bit_null BIT(%d) DEFAULT NULL) ENGINE="%s"', $bits, $bits, $engine)))
49 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
72 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
79 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
83 printf("[004 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
86 printf("[005 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
97 printf("[007 - %d] Expecting %s got %s\n", $bits, $value, $row['bit_value']);
103 …printf("[008 - %d] Expecting null got %s/%s\n", $bits, gettype($row['bit_value']), $row['bit_value…