Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 50) sorted by relevance

12

/PHP-8.1/ext/standard/tests/math/
H A Dbug75170.phpt10 $total = 10000;
13 for ($i = 0; $i < $total; $i++) {
16 printf("%.1f%% vs. %.1f%%\n", 100. * $halves[0] / $total, 100. * $halves[1] / $total);
21 $total = 10000;
24 for ($i = 0; $i < $total; $i++) {
27 printf("%.1f%% vs. %.1f%%\n", 100. * $halves[0] / $total, 100. * $halves[1] / $total);
/PHP-8.1/ext/gd/libgd/
H A Dgd_pixelate.c27 int total; in gdImagePixelate() local
30 a = r = g = b = c = total = 0; in gdImagePixelate()
42 total++; in gdImagePixelate()
46 if (total > 0) { in gdImagePixelate()
47 c = gdImageColorResolveAlpha(im, r / total, g / total, b / total, a / total); in gdImagePixelate()
/PHP-8.1/ext/openssl/tests/
H A Dbug72333.phpt20 $total = 100000;
21 $result = fread($conn, $total);
30 $total += strlen($result);
31 if ($total >= 4000000) {
49 $total = 0;
55 $total += $result;
56 if ($total >= strlen($buf)) {
57 return $total;
59 $buf = substr($buf, $total);
H A Dbug74159.phpt93 $total = $written;
96 $total += $written;
100 printf("Written %%d bytes\n", $total);
/PHP-8.1/ext/standard/tests/serialize/
H A Dbug78438.phpt76 …echo "> Unserialized total node count was $count, expected $expectedSize: ".($expectedSize === $co…
86 > Unserialized total node count was 1, expected 1: CORRECT!
91 > Unserialized total node count was 4, expected 4: CORRECT!
96 > Unserialized total node count was 13, expected 13: CORRECT!
101 > Unserialized total node count was 40, expected 40: CORRECT!
106 > Unserialized total node count was 121, expected 121: CORRECT!
111 > Unserialized total node count was 364, expected 364: CORRECT!
116 > Unserialized total node count was 1093, expected 1093: CORRECT!
121 > Unserialized total node count was 3280, expected 3280: CORRECT!
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_status.h14 int total; member
23 void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, unsigned cu…
/PHP-8.1/ext/standard/tests/array/
H A Dbug24980.phpt2 Bug #24980 (array_reduce() uses first element as default running total)
14 $total = array_reduce($numbers, 'add_up');
15 print "Total is $total\n";
/PHP-8.1/ext/xml/tests/
H A Dbug72714.phpt14 $xml = '<ns1:total>867</ns1:total>';
H A Dbug50576.phpt12 <ns1:total>867</ns1:total>
/PHP-8.1/sapi/cli/tests/
H A Dsapi_windows_set_ctrl_handler.phpt50 $max = 5000; $total = 0; $step = 100;
51 while(proc_get_status($proc)["running"] && $max > $total) {
53 $total += $step;
64 echo "Child $child_pid exit with status ", $status["exitcode"], " after ${total}us\n";
H A Dupload_2G.phpt67 $total = $length + strlen($prev) + strlen($post);
73 Content-Length: {$total}
/PHP-8.1/ext/sqlite3/tests/
H A Dsqlite3_25_create_aggregate.phpt13 $context = array('total' => 0, 'values' => array());
15 $context['total'] += intval($string);
16 $context['values'][] = $context['total'];
/PHP-8.1/ext/standard/
H A Dcrypt_sha256.c57 uint32_t total[2]; member
114 ctx->total[0] += (uint32_t)len; in sha256_process_block()
115 if (ctx->total[0] < len) { in sha256_process_block()
116 ++ctx->total[1]; in sha256_process_block()
205 ctx->total[0] = ctx->total[1] = 0; in sha256_init_ctx()
222 ctx->total[0] += bytes; in sha256_finish_ctx()
223 if (ctx->total[0] < bytes) { in sha256_finish_ctx()
224 ++ctx->total[1]; in sha256_finish_ctx()
231 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
232 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
[all …]
H A Dcrypt_sha512.c51 uint64_t total[2]; member
138 ctx->total[0] += len; in sha512_process_block()
139 if (ctx->total[0] < len) { in sha512_process_block()
140 ++ctx->total[1]; in sha512_process_block()
232 ctx->total[0] = ctx->total[1] = 0; in sha512_init_ctx()
249 ctx->total[0] += bytes; in sha512_finish_ctx()
250 if (ctx->total[0] < bytes) { in sha512_finish_ctx()
251 ++ctx->total[1]; in sha512_finish_ctx()
258 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3); in sha512_finish_ctx()
259 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) | in sha512_finish_ctx()
[all …]
/PHP-8.1/sapi/fpm/tests/
H A Dproc-idle-timeout.phpt35 'total processes' => 2,
40 'total processes' => 1,
H A Dbug77023-pm-dynamic-blocking-sigquit.phpt43 'total processes' => 2,
52 'total processes' => 1,
H A Dstatus-basic.phpt27 'total processes' => 1,
H A Dstatus-listen.phpt28 'total processes' => 1,
/PHP-8.1/Zend/
H A Dmicro_bench.php255 global $total;
260 $total += $last_time;
273 function total() function
275 global $total;
278 $num = number_format($total,3);
358 total($t0, "Total");
H A Dbench.php362 global $total;
365 $total += $end-$start;
374 function total() function
376 global $total;
379 $num = number_format($total,3);
421 total();
/PHP-8.1/Zend/tests/float_to_int/
H A Dwarnings_float_literals.phpt7 // 8 Warnings generated in total
26 // 2 warnings in total
34 // 2 warnings in total
41 // 2 warnings in total
/PHP-8.1/ext/sysvshm/
H A Dphp_sysvshm.h54 zend_long total; member
/PHP-8.1/ext/date/tests/
H A Dbug52480.phpt8 // If the DateInterval object was created by DateTime::diff(), then this is the total
/PHP-8.1/ext/mysqli/tests/
H A Dmysqli_pconn_max_links.phpt213 ["total"]=>
221 ["total"]=>
235 ["total"]=>
243 ["total"]=>
251 ["total"]=>
266 ["total"]=>
/PHP-8.1/ext/pdo_oci/tests/
H A Dbug60994.phpt33 $string1 = 'abc' . str_repeat('j', 8187) . 'xyz'; // 8193 chars total works fine here (even 1 milli…
53 $string2 = 'abc' . str_repeat('£', 8187) . 'xyz'; // 8193 chars total is when it breaks
73 $string3 = 'abc' . str_repeat('Җ', 8187) . 'xyz'; // 8193 chars total is when it breaks
93 $string4 = 'abc' . str_repeat('の', 8187) . 'xyz'; // 8193 chars total is when it breaks

Completed in 68 milliseconds

12