« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 65 for chunk (0.001 sec.)
Threaded::chunk — Manipulation | PHP 8.3 12524
Threaded::chunk (PECL pthreads >= 2.0.0) Threaded::chunk — Manipulation 説明 public function Threaded::chunk ( int $size , bool $preserve ): array Fetches a chunk of the objects property table of the given size, optionally preserving keys パ ... rve Preserve the keys of members, by default false 戻り値 An array of items from the objects property table 例 例1 Fetch a chunk of the property table <?php $safe = new Threaded (); while ( count ( $safe ) < 10 ) { $safe [] = count ( $safe ); } var_du ... mp ( $safe -> chunk ( 5 )); ?> 上の例の出力は以下となります。 array(5) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) } 他 ... のマニュアルの関連ページ Python chunk DuckDB Conversion between DuckDB and Python DuckDB Data Chunks DuckDB Vectors DuckDB Write User Defined Functions Django u ...
https://man.mtool.work/php/8.3/threaded.chunk.html
array_chunk — 配列を分割する | PHP 8.3 10606
array_chunk (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) array_chunk — 配列を分割する 説明 function array_chunk ( array $array , int $length , bool $preserve_keys = false ): array 配列を、要素数が length の配列に分割します。 最後の部分の要素数は l ... or がスローされるようになりました。 これより前のバージョンでは、 E_WARNING が発生し、 null を返していました。 例 例1 array_chunk() の例 <?php $input_array = array( 'a' , 'b' , 'c' , 'd' , 'e' ); print_r ( array_chunk ( $input_array , 2 )); print_r ( a ... rray_chunk ( $input_array , 2 , true )); ?> 上の例の出力は以下となります。 Array ( [0] => Array ( [0] => a [1] => b ) [1] => Array ( ... 2] => c [3] => d ) [2] => Array ( [4] => e ) ) 参考 array_slice() - 配列の一部を展開する 他のマニュアルの関連ページ Python chunk Django uploads DuckDB Vectors DuckDB Write User Defined Functions DuckDB Appender DuckDB Data Chunks ...
https://man.mtool.work/php/8.3/function.array-chunk.html
EventHttpRequest::sendReplyChunk — Send another data chunk as part of an ongoin... 10177
EventHttpRequest::sendReplyChunk (PECL event >= 1.4.0-beta) EventHttpRequest::sendReplyChunk — Send another data chunk as part of an ongoing chunked reply 説明 public function EventHttpRequest::sendReplyChunk ( EventBuffer $buf ): void Send ... another data chunk as part of an ongoing chunked reply. After calling this method buf will be empty. パラメータ buf The data chunk to send as ... part of the reply. 戻り値 値を返しません。 参考 EventHttpRequest::sendReplyStart() - Initiate a chunked reply EventHttpRequest::sendReplyEnd() - Complete a chunked reply, freeing the request as appropriate 他のマニュアルの関 ... 連ページ Python chunk Linux JM rmt(8) ...
https://man.mtool.work/php/8.3/eventhttprequest.sendreplychunk.html
chunk_split — 文字列をより小さな部分に分割する | PHP 8.3 10177
chunk_split (PHP 4, PHP 5, PHP 7, PHP 8) chunk_split — 文字列をより小さな部分に分割する 説明 function chunk_split ( string $string , int $length = 76 , string $separator = "\r\n" ): string 文字列をより小さな部分に分割する際に使用され、 base ... ueError がスローされるようになりました。 これより前のバージョンでは、 E_WARNING が発生し、 false を返していました。 例 例1 chunk_split() の例 <?php $data = 'This is quite a long string, which will get broken up because the line is going to be too long ... after base64 encoding it.' ; // RFC 2045 に基づき $data をフォーマットします $new_string = chunk_split ( base64_encode ( $data )); echo $new_string , PHP_EOL ; ?> 参考 str_split() - 文字列を配列に変換する explode() - 文 ... 字列を文字列により分割する wordwrap() - 指定した文字数で文字列を分割する » RFC 2045 他のマニュアルの関連ページ Python chunk Linux JM split(1) Vim usr_08 Vim windows Docker format コマンドとログ出力 Django uploads ...
https://man.mtool.work/php/8.3/function.chunk-split.html
Swoole\Async::read — Read file stream asynchronously. | PHP 8.3 10105
Swoole\Async::read (PECL swoole >= 1.9.0) Swoole\Async::read — Read file stream asynchronously. 説明 public static function Swoole\Async::read ( string $filename , callable $callback , int $chunk_size = ? , int $offset = ? ): bool パラメータ ... string $filename , string $content ): mixed filename The name of the file. content The content read from the file stream. chunk_size The chunk length. offset The offset. 戻り値 Whether the read is succeed. 他のマニュアルの関連ページ Python chunk Djan ...
https://man.mtool.work/php/8.3/swoole-async.read.html
swoole_async_read — Read file stream asynchronously | PHP 8.3 10034
swoole_async_read (PECL swoole >= 1.9.0) swoole_async_read — Read file stream asynchronously 説明 function swoole_async_read ( string $filename , callable $callback , int $chunk_size = 65536 , int $offset = 0 ): bool パラメータ filename The ... string $filename , string $content ): mixed filename The name of the file. content The content read from the file stream. chunk_size The chunk length. offset The offset. 戻り値 Whether the read is succeed. 他のマニュアルの関連ページ Python chunk Djan ...
https://man.mtool.work/php/8.3/function.swoole-async-read.html
stream_set_chunk_size — ストリームのチャンクサイズを設定する | PHP 8.3 9175
stream_set_chunk_size (PHP 5 >= 5.4.0, PHP 7, PHP 8) stream_set_chunk_size — ストリームのチャンクサイズを設定する 説明 function stream_set_chunk_size ( resource $stream , int $size ): int ストリームのチャンクサイズを設定します。 パラメータ ... になりました。 これより前のバージョンでは、 E_WARNING が発生し、 false を返していました。 他のマニュアルの関連ページ Python chunk Django uploads Django file Linux JM fwrite(3) Linux JM fread(3) Linux JM closedir(3) ...
https://man.mtool.work/php/8.3/function.stream-set-chunk-size.html
ob_get_status — 出力バッファのステータスを取得する | PHP 8.3 9103
ob_get_status (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) ob_get_status — 出力バッファのステータスを取得する 説明 function ob_get_status ( bool $full_status = false ): array ob_get_status() は、トップレベルの出力バッファの ステータス情報を返します ... 値とは、 ひとつずれることに注意して下さい。 ob_get_status() が返す最初のレベルは 0 ですが、 ob_get_level() は 1 になります。 chunk_size ob_start() で設定したチャンクの大きさ。 output_buffering が有効で、整数の値が設定されている場合はその値 buffer_size 現 ... 在確保されている出力バッファのサイズ(バイト単位)。 chunk_size がデフォルトの場合は 16384 バイトから、 chunk_size を指定した場合は その値を 4096 の倍数に切り上げたサイズから始まりま ... ) 例 例1 full_status が false の場合に返される配列 Array ( [name] => URL-Rewriter [type] => 0 [flags] => 112 [level] => 2 [chunk_size] => 0 [buffer_size] => 16384 [buffer_used] => 1024 ) 例2 full_status が true の場合に返される配列 Array ( [0] => Arra ...
https://man.mtool.work/php/8.3/function.ob-get-status.html
sodium_crypto_secretstream_xchacha20poly1305_init_push — 暗号化のために、シーク... 9103
sodium_crypto_secretstream_xchacha20poly1305_init_push (PHP 7 >= 7.2.0, PHP 8) sodium_crypto_secretstream_xchacha20poly1305_init_push — 暗号化のために、シークレットストリームのコンテキストを初期化する 説明 function sodium_crypto_secretstrea ... ; // Encrypt the file and write its contents to the output file: for ( $i = 0 ; $i < $inputFileSize ; $i += 8175 ) { $ptxt_chunk = fread ( $inputFile , 8175 ); $ctxt_chunk = sodium_crypto_secretstream_xchacha20poly1305_push ( $state , $ptxt_chunk ); f ... write ( $outputFile , $ctxt_chunk ); } sodium_memzero ( $state ); fclose ( $inputFile ); fclose ( $outputFile ); } // sodium_crypto_secretstream_xchacha20po ... 31caf761c59136efa77b434832f28ec719e3ff73f5aec38b3bba1574ab5b70a8844d8da36a668e802cfea2c" 他のマニュアルの関連ページ Python chunk Linux JM fwrite(3) Linux JM fopen(3) Python crypto Docker docker secret Docker docker secret ...
https://man.mtool.work/php/8.3/function.sodium-crypto-secretstream-xchacha20poly...
EventBuffer::expand — Reserves space in buffer | PHP 8.3 8960
EventBuffer::expand (PECL event >= 1.2.6-beta) EventBuffer::expand — Reserves space in buffer 説明 public function EventBuffer::expand ( int $len ): bool Alters the last chunk of memory in the buffer, or adds a new chunk, such that the buff ... reserve for the buffer 戻り値 成功した場合に true を、失敗した場合に false を返します。 他のマニュアルの関連ページ Python chunk Linux JM iswspace(3) Linux JM fread(3) Linux JM fwrite(3) Linux JM mallinfo(3) Linux JM sysinfo(2) ...
https://man.mtool.work/php/8.3/eventbuffer.expand.html
PREV 1 2 3 4 5 6 7 NEXT