Home
last modified time | relevance | path

Searched refs:chunks (Results 1 – 18 of 18) sorted by relevance

/PHP-8.4/ext/fileinfo/
H A Dcreate_data_file.php39 $chunks = str_split($dta, CHUNK_SIZE); variable
40 $chunks[count($chunks) - 1] = str_pad($chunks[count($chunks) - 1], CHUNK_SIZE, chr(0));
42 echo 'const unsigned char php_magic_database[' . count($chunks) . '][' . CHUNK_SIZE . "] = {\n";
43 foreach ($chunks as $chunk) {
/PHP-8.4/ext/standard/tests/streams/
H A Dbug78326.phpt10 $chunks = array();
13 $chunks[] = stream_get_contents($f, 1000000);
15 var_dump(count($chunks));
H A Dgh10031.phpt17 $chunks = floor($fsize / $chunksize); // 10 chunks * 99 bytes
18 $lastchunksize = $fsize - $chunksize * $chunks; // 1 chunk * 10 bytes
22 for ($chunk = 1; $chunk <= $chunks; $chunk++) {
H A Dstream_set_chunk_size.phpt32 * the writes are made in chunks of size 1 (business as usual)
/PHP-8.4/ext/soap/tests/bugs/
H A Dbug47021.phpt18 $chunks = str_split($body, $n);
19 $chunks[] = '';
21 foreach ($chunks as $k => $v) {
22 $chunks[$k] = sprintf("%08x\r\n%s\r\n", strlen($v), $v);
25 return join('', $chunks);
/PHP-8.4/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromFile_with_working_stream_wrapper.phpt40 echo "--- Stream wrapper in two chunks case ---\n";
57 --- Stream wrapper in two chunks case ---
/PHP-8.4/ext/dom/tests/
H A DDOMDocumentFragment_appendXML_error_003.phpt2 DOMDocumentFragment::appendXML() with unbalanced chunks.
/PHP-8.4/ext/standard/tests/strings/
H A Dchunk_split_variation3.phpt2 Test chunk_split() function : usage variations - unexpected large number of chunks
/PHP-8.4/ext/mbstring/tests/
H A Dmb_str_split_ru.phpt31 /* check chunks number */
H A Dmb_str_split_jp.phpt38 /* check chunks number */
H A Dmb_decode_numericentity.phpt111 // (mb_decode_numericentity splits its input into 'chunks' and processes it one
/PHP-8.4/ext/mysqli/tests/
H A Dmysqli_stmt_send_long_data_packet_size_mysqlnd.phpt65 …t_size is smaller than the data. You have to increase it or send smaller chunks of data. Answer wa…
/PHP-8.4/ext/standard/
H A Dstring.c2162 size_t chunks; local
2166 chunks = srclen / chunklen;
2167 restlen = srclen - chunks * chunklen; /* srclen % chunklen */
2171 chunks++;
2174 dest = zend_string_safe_alloc(chunks, endlen, srclen, 0);
/PHP-8.4/
H A Dphp.ini-development207 ; will send that data in chunks of roughly the size you specify.
264 ; outputs chunks that are few hundreds bytes each as a result of
H A Dphp.ini-production207 ; will send that data in chunks of roughly the size you specify.
264 ; outputs chunks that are few hundreds bytes each as a result of
/PHP-8.4/ext/mbstring/
H A Dmbstring.c1667 unsigned int chunks = ((ZSTR_LEN(str) / chunk_len) + split_len - 1) / split_len; /* round up */ in PHP_FUNCTION() local
1668 array_init_size(return_value, chunks); in PHP_FUNCTION()
/PHP-8.4/ext/fileinfo/tests/
H A Dmagic753 >20 lelong x \b %d input chunks.
1691 # Note that title and author appear in the two 20-byte chunks
8886 # NOTE: The UNIF format uses chunks instead of a fixed header,
34201 # but data chunks remain proprietary.
38844 >0x2a leshort x \b, %d chunks
H A Dmagic私はガラスを食べられます753 >20 lelong x \b %d input chunks.
1691 # Note that title and author appear in the two 20-byte chunks
8886 # NOTE: The UNIF format uses chunks instead of a fixed header,
34201 # but data chunks remain proprietary.
38844 >0x2a leshort x \b, %d chunks

Completed in 246 milliseconds