Home
last modified time | relevance | path

Searched refs:max (Results 26 – 50 of 258) sorted by relevance

1234567891011

/php-src/ext/standard/tests/strings/
H A Dsprintf_variation28_64bit.phpt14 -2147483648, // max negative integer value
16 2147483647, // max positive integer value
22 -0x80000000, // max negative integer as hexadecimal
23 0x7fffffff, // max positive integer as hexadecimal
24 0x7FFFFFFF, // max positive integer as hexadecimal
27 -020000000000, // max negative integer as octal
28 017777777777 // max positive integer as octal
H A Dsprintf_variation3.phpt12 -2147483648, // max negative integer value
14 2147483647, // max positive integer value
20 -0x80000000, // max negative integer as hexadecimal
21 0x7fffffff, // max positive integer as hexadecimal
22 0x7FFFFFFF, // max positive integer as hexadecimal
25 -020000000000, // max negative integer as octal
26 017777777777 // max positive integer as octal
H A Dsprintf_variation40.phpt18 -2147483648, // max negative integer value
20 2147483647, // max positive integer value
26 -0x80000000, // max negative integer as hexadecimal
27 0x7fffffff, // max positive integer as hexadecimal
28 0x7FFFFFFF, // max positive integer as hexadecimal
31 -020000000000, // max negative integer as octal
32 017777777777 // max positive integer as octal
H A Dsprintf_variation40_64bit.phpt14 -2147483648, // max negative integer value
16 2147483647, // max positive integer value
22 -0x80000000, // max negative integer as hexadecimal
23 0x7fffffff, // max positive integer as hexadecimal
24 0x7FFFFFFF, // max positive integer as hexadecimal
27 -020000000000, // max negative integer as octal
28 017777777777 // max positive integer as octal
/php-src/ext/standard/tests/general_functions/
H A Dstrval.phpt31 -2147483648, // max negative integer value
33 2147483647, // max positive integer value
41 -0x80000000, // max negative integer as hexadecimal
42 0x7fffffff, // max positive integer as hexadecimal
43 0x7FFFFFFF, // max positive integer as hexadecimal
46 -020000000000, // max negative integer as octal
47 017777777777, // max positive integer as octal
50 -0x80000001, // float value, beyond max negative int
51 0x800000001, // float value, beyond max positive int
52 020000000001, // float value, beyond max positive int
[all …]
H A Dbug76717.phpt7 $max = eval('return '.var_export(PHP_INT_MAX, true).';');
9 var_dump($max === PHP_INT_MAX);
/php-src/ext/opcache/tests/jit/
H A Dbug79888.phpt26 $max = 1000;
28 echo "Testing Primes until: " . $max . "\n";
29 for ($i = 2; $i <= $max; $i++)
/php-src/Zend/
H A Dzend_ptr_stack.h26 int top, max; member
48 if (stack->top+count > stack->max) { \ in END_EXTERN_C()
51 stack->max += PTR_STACK_BLOCK_SIZE; \ in END_EXTERN_C()
52 } while (stack->top+count > stack->max); \ in END_EXTERN_C()
53 …stack->elements = (void **) safe_perealloc(stack->elements, sizeof(void *), (stack->max), 0, stack… in END_EXTERN_C()
H A Dzend_stack.c29 stack->max = 0; in zend_stack_init()
36 if (stack->top >= stack->max) { in zend_stack_push()
37 stack->max += STACK_BLOCK_SIZE; in zend_stack_push()
38 stack->elements = safe_erealloc(stack->elements, stack->size, stack->max, 0); in zend_stack_push()
158 stack->top = stack->max = 0; in zend_stack_clean()
/php-src/ext/random/
H A Drandom.stub.php26 function rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} argument
28 function mt_rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} argument
38 function random_int(int $min, int $max): int {} argument
140 …public function getFloat(float $min, float $max, IntervalBoundary $boundary = IntervalBoundary::Cl… argument
142 public function getInt(int $min, int $max): int {} argument
H A Drandom.c468 return php_mt_rand_range(min, max);
526 zend_long min, max; local
536 Z_PARAM_LONG(max)
539 if (UNEXPECTED(max < min)) {
544 RETURN_LONG(php_mt_rand_common(min, max));
564 zend_long min, max; local
574 Z_PARAM_LONG(max)
577 if (max < min) {
616 zend_long min, max, result; local
620 Z_PARAM_LONG(max)
[all …]
H A Dphp_random.h61 PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max);
62 PHPAPI zend_long php_mt_rand_common(zend_long min, zend_long max);
91 zend_long (*range)(void *state, zend_long min, zend_long max);
159 PHPAPI zend_long php_random_range(php_random_algo_with_state engine, zend_long min, zend_long max);
185 …ble php_random_gammasection_closed_open(php_random_algo_with_state engine, double min, double max);
186 …e php_random_gammasection_closed_closed(php_random_algo_with_state engine, double min, double max);
187 …ble php_random_gammasection_open_closed(php_random_algo_with_state engine, double min, double max);
188 …ouble php_random_gammasection_open_open(php_random_algo_with_state engine, double min, double max);
H A Dengine_secure.c40 static zend_long range(void *state, zend_long min, zend_long max) in range() argument
44 php_random_int_throw(min, max, &result); in range()
/php-src/ext/standard/tests/array/
H A Darray_push_error2.phpt2 Test array_push() function : error conditions - max int value as key
12 $array = array(PHP_INT_MAX => 'max');
26 string(3) "max"
H A Dmax_basiclong_64bit.phpt2 Test max function : 64bit long tests
27 var_dump(max($arrayVals));
28 var_dump(max($longVals));
/php-src/ext/standard/tests/file/
H A Dfread_variation1.phpt111 -- Reading file content less than max. file size, expected : 1000 bytes --
126 -- Reading file content less than max. file size, expected : 1000 bytes --
141 -- Reading file content less than max. file size, expected : 1000 bytes --
156 -- Reading file content less than max. file size, expected : 1000 bytes --
171 -- Reading file content less than max. file size, expected : 1000 bytes --
186 -- Reading file content less than max. file size, expected : 1000 bytes --
201 -- Reading file content less than max. file size, expected : 1000 bytes --
216 -- Reading file content less than max. file size, expected : 1000 bytes --
231 -- Reading file content less than max. file size, expected : 1000 bytes --
248 -- Reading file content less than max. file size, expected : 1000 bytes --
[all …]
/php-src/sapi/fpm/tests/
H A Dstatus-basic.phpt24 'max listen queue' => 0,
28 'max active processes' => 1,
29 'max children reached' => 0,
H A Dstatus-listen.phpt25 'max listen queue' => 0,
29 'max active processes' => 1,
30 'max children reached' => 0,
/php-src/ext/standard/tests/http/
H A Dgh15034.phpt31 global $max;
32 $max = $bytes_max;
41 var_dump($max);
/php-src/ext/filter/tests/
H A Dfilter_ipv4_rfc6890.phpt23 list($min, $max) = $range;
26 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE));
77 list($min, $max) = $range;
80 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE));
/php-src/tests/classes/
H A Diterators_004.phpt20 public $max = 3;
33 return $this->num < $this->max;
57 object:max=>3
/php-src/Zend/tests/
H A Dsymtable_cache_recursive_dtor.phpt7 static $max = 40;
9 if (self::$max-- < 0) return;
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetFloat_opposite_signs.phpt28 $max = 1;
30 printf("%.17g\n\n", $max);
34 $float = $r->getFloat($min, $max);
/php-src/ext/random/tests/01_functions/
H A Dbug46587.phpt2 Bug #46587 (mt_rand() does not check that max is greater than min).
17 mt_rand(): Argument #2 ($max) must be greater than or equal to argument #1 ($min)
/php-src/ext/standard/tests/math/
H A Dallowed_rounding_error.inc9 $max = $expected + $small_number;
11 if ($number < $max && $number > $min ) {

Completed in 58 milliseconds

1234567891011