Results of 1 - 10 of about 26 for consumed (0.002 sec.)
- フィルタを適用するときにコールされる 12133
- « php_user_filter php_user_filter::onClose » PHP Manual php_user_filter フィルタを適用するときにコールされる 検索 php_user_filter::filter (PHP 5, PHP 7, PHP 8) php_user_filter::filter — フィルタを適用するときにコールされる 説明 public funct
... ion php_user_filter::filter ( resource $in , resource $out , int &$consumed , bool $closing ): int このメソッドがコールされるのは、アタッチしたストリームとの間で ( fread() や fwrite() による) データ ... トに、フィルタ対象のデータが含まれます。 out out はもう一つの バケット群 を指すリソースで、 変更した内容をここに保存します。 consumed consumed は常に参照渡しとする必要があります。 フィルタで読み込んだり変更したりしたデータの長さをここで加算します。 大半の場 ... 合、各 $bucket 上で $bucket->datalen をコールするたびに consumed を増やすことになります。 closing ストリームが終了処理の最中である場合 (つまり、フィルタチェインの最後の処理を行っている場合 ...
-
https://man.mtool.work/php/8.3/php-user-filter.filter.html
- フィルタを適用するときにコールされる 12133
- « php_user_filter php_user_filter::onClose » PHP Manual php_user_filter フィルタを適用するときにコールされる 検索 php_user_filter::filter (PHP 5, PHP 7, PHP 8) php_user_filter::filter — フィルタを適用するときにコールされる 説明 public funct
... ion php_user_filter::filter ( resource $in , resource $out , int &$consumed , bool $closing ): int このメソッドがコールされるのは、アタッチしたストリームとの間で ( fread() や fwrite() による) データ ... トに、フィルタ対象のデータが含まれます。 out out はもう一つの バケット群 を指すリソースで、 変更した内容をここに保存します。 consumed consumed は常に参照渡しとする必要があります。 フィルタで読み込んだり変更したりしたデータの長さをここで加算します。 大半の場 ... 合、各 $bucket 上で $bucket->datalen をコールするたびに consumed を増やすことになります。 closing ストリームが終了処理の最中である場合 (つまり、フィルタチェインの最後の処理を行っている場合 ...
-
https://man.mtool.work/php/8.3/php-user-filter.filter.html
- ユーザー定義のストリームフィルタを登録する 10414
- « stream_filter_prepend stream_filter_remove » PHP Manual ストリーム 関数 ユーザー定義のストリームフィルタを登録する 検索 stream_filter_register (PHP 5, PHP 7, PHP 8) stream_filter_register — ユーザー定義のストリームフィルタを登録する 説明
... 。 <?php /* フィルタクラスを定義する */ class strtoupper_filter extends php_user_filter { function filter ( $in , $out , & $consumed , $closing ) { while ( $bucket = stream_bucket_make_writeable ( $in )) { $bucket -> data = strtoupper ( $bucket -> data ); ... $consumed += $bucket -> datalen ; stream_bucket_append ( $out , $bucket ); } return PSFS_PASS_ON ; } } /* PHP にフィルタを登録する * ... /* フィルタクラスを定義する */ class string_filter extends php_user_filter { var $mode ; function filter ( $in , $out , & $consumed , $closing ) { while ( $bucket = stream_bucket_make_writeable ( $in )) { if ( $this -> mode == 1 ) { $bucket -> data = str ...
-
https://man.mtool.work/php/8.3/function.stream-filter-register.html
- bucket を brigade の先頭に追加する 10265
- « stream_bucket_new stream_context_create » PHP Manual ストリーム 関数 bucket を brigade の先頭に追加する 検索 stream_bucket_prepend (PHP 5, PHP 7, PHP 8) stream_bucket_prepend — bucket を brigade の先頭に追加する 説明 function stream_bucke
... t_prepend() の例 <?php class foo extends php_user_filter { protected $calls = 0 ; public function filter ( $in , $out , & $consumed , $closing ) { while ( $bucket = stream_bucket_make_writeable ( $in )) { $consumed += $bucket -> datalen ; if ( $this -> c ... ワード: bucket stream brigade filter prepend php foo function resource StreamBucket user オブジェクト バージョン 期待 calls consumed test new Search context ...
-
https://man.mtool.work/php/8.3/function.stream-bucket-prepend.html
- bucket を brigade の先頭に追加する 10265
- « stream_bucket_new stream_context_create » PHP Manual ストリーム 関数 bucket を brigade の先頭に追加する 検索 stream_bucket_prepend (PHP 5, PHP 7, PHP 8) stream_bucket_prepend — bucket を brigade の先頭に追加する 説明 function stream_bucke
... t_prepend() の例 <?php class foo extends php_user_filter { protected $calls = 0 ; public function filter ( $in , $out , & $consumed , $closing ) { while ( $bucket = stream_bucket_make_writeable ( $in )) { $consumed += $bucket -> datalen ; if ( $this -> c ... r/read=test/resource=foo' ); ?> 関連キーワード: bucket stream brigade filter prepend resource StreamBucket user 期待 calls consumed context create ストリーム 一般 リソース 複数 履歴 インスタンス stdClass extends protected closing while make ...
-
https://man.mtool.work/php/8.3/function.stream-bucket-prepend.html
- Cancels a statement 9984
- « sqlsrv_begin_transaction sqlsrv_client_info » PHP Manual SQLSRV 関数 Cancels a statement 検索 sqlsrv_cancel (No version information available, might only be in Git) sqlsrv_cancel — Cancels a statement 説明 function sqlsrv_cancel ( resourc
... e $stmt ): bool Cancels a statement. Any results associated with the statement that have not been consumed are deleted. After sqlsrv_cancel() has been called, the specified statement can be re-executed if it was created with sqls ... rv_prepare() . Calling sqlsrv_cancel() is not necessary if all the results associated with the statement have been consumed. パラメータ stmt The statement resource to be cancelled. 戻り値 成功した場合に true を、失敗した場合に false を返します。 ... cel stmt Cancels resource prepare salesTotal results executed cancelled serverName conn print errors count free associated consumed specified created connectionInfo price begin transaction ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-cancel.html
- ユーザー定義のストリームフィルタを登録する 9406
- « stream_filter_prepend stream_filter_remove » PHP Manual ストリーム 関数 ユーザー定義のストリームフィルタを登録する 検索 stream_filter_register (PHP 5, PHP 7, PHP 8) stream_filter_register — ユーザー定義のストリームフィルタを登録する 説明
... 。 <?php /* フィルタクラスを定義する */ class strtoupper_filter extends php_user_filter { function filter ( $in , $out , & $consumed , $closing ) { while ( $bucket = stream_bucket_make_writeable ( $in )) { $bucket -> data = strtoupper ( $bucket -> data ); ... $consumed += $bucket -> datalen ; stream_bucket_append ( $out , $bucket ); } return PSFS_PASS_ON ; } } /* PHP にフィルタを登録する * ... /* フィルタクラスを定義する */ class string_filter extends php_user_filter { var $mode ; function filter ( $in , $out , & $consumed , $closing ) { while ( $bucket = stream_bucket_make_writeable ( $in )) { if ( $this -> mode == 1 ) { $bucket -> data = str ...
-
https://man.mtool.work/php/8.3/function.stream-filter-register.html
- Returns the Relaxed Extended JSON representation of the BSON array 9125
- « MongoDB\BSON\PackedArray::toPHP MongoDB\BSON\PackedArray::__toString » PHP Manual MongoDB\BSON\PackedArray Returns the Relaxed Extended JSON representation of the BSON array 検索 MongoDB\BSON\PackedArray::toRelaxedExtendedJSON (mongodb >=
... ers use of JSON type primitives at the expense of type fidelity and is most suited for producing output that can be easily consumed by web APIs and humans. パラメータ この関数にはパラメータはありません。 戻り値 Returns a string containing the » Relaxed E ... PHP toString mongodb final Converts relaxed format prefers primitives expense fidelity most suited producing output easily consumed ...
-
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.torelaxedextendedjson.ht...
- php_user_filter クラス 8976
- « ストリームラッパーとして登録するクラスの例 php_user_filter::filter » PHP Manual ストリーム php_user_filter クラス 検索 php_user_filter クラス (PHP 5, PHP 7, PHP 8) はじめに このクラスの子クラスを stream_filter_register() に渡します。 子ク
... ms = "" ; public ? resource $ stream = null ; /* メソッド */ public function filter ( resource $in , resource $out , int &$consumed , bool $closing ): int public function onClose (): void public function onCreate (): bool } プロパティ filtername stream_f ... ィルタ onCreate resource ストリーム 登録 プロパティ filtername params onClose ラッパー register construct 初期化 概要 mixed consumed closing append 目次 適用 ...
-
https://man.mtool.work/php/8.3/class.php-user-filter.html
- Cancels a statement 8546
- « sqlsrv_begin_transaction sqlsrv_client_info » PHP Manual SQLSRV 関数 Cancels a statement 検索 sqlsrv_cancel (No version information available, might only be in Git) sqlsrv_cancel — Cancels a statement 説明 function sqlsrv_cancel ( resourc
... e $stmt ): bool Cancels a statement. Any results associated with the statement that have not been consumed are deleted. After sqlsrv_cancel() has been called, the specified statement can be re-executed if it was created with sqls ... rv_prepare() . Calling sqlsrv_cancel() is not necessary if all the results associated with the statement have been consumed. パラメータ stmt The statement resource to be cancelled. 戻り値 成功した場合に true を、失敗した場合に false を返します。 ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-cancel.html