« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 42 for EventBuffer (0.001 sec.)
The EventBuffer class | PHP 8.3 11488
The EventBuffer class (PECL event >= 1.5.0) はじめに EventBuffer represents Libevent's "evbuffer", an utility functionality for buffered I/O. Event buffers are meant to be generally useful for doing the "buffer" part of buffered network I/O ... . クラス概要 class EventBuffer { /* 定数 */ const int EOL_ANY = 0 ; const int EOL_CRLF = 1 ; const int EOL_CRLF_STRICT = 2 ; const int EOL_LF = 3 ; const ... ic readonly int $ contiguous_space ; /* メソッド */ public function add ( string $data ): bool public function addBuffer ( EventBuffer $buf ): bool public function appendFrom ( EventBuffer $buf , int $len ): int public function __construct () public functio ... front ): bool public function lock (): void public function prepend ( string $data ): bool public function prependBuffer ( EventBuffer $buf ): bool public function pullup ( int $size ): string public function read ( int $max_bytes ): string public function ...
https://man.mtool.work/php/8.3/class.eventbuffer.html
Event | PHP 8.3 10188
Event はじめに This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. 注意 : Note, Wind ... e EventBase::reInit — Re-initialize event base(after a fork) EventBase::stop — Tells event_base to stop dispatching events EventBuffer — The EventBuffer class EventBuffer::add — Append data to the end of an event buffer EventBuffer::addBuffer — Move all dat ... a from a buffer provided to the current instance of EventBuffer EventBuffer::appendFrom — Moves the specified number of bytes from a source buffer to the end of the current buffer EventB ... uffer::__construct — Constructs EventBuffer object EventBuffer::copyout — Copies out specified number of bytes from the front of the buffer EventBuffer::drain — Remov ...
https://man.mtool.work/php/8.3/book.event.html
EventBuffer::appendFrom — Moves the specified number of bytes from a source buf... 10110
EventBuffer::appendFrom (PECL event >= 1.6.0) EventBuffer::appendFrom — Moves the specified number of bytes from a source buffer to the end of the current buffer 説明 public function EventBuffer::appendFrom ( EventBuffer $buf , int $len ): ... パラメータ buf Source buffer. len 戻り値 Returns the number of bytes read. 変更履歴 バージョン 説明 PECL event 1.6.0 Renamed EventBuffer::appendFrom() (the old method name) to EventBuffer::appendFrom() . 参考 EventBuffer::copyout() - Copies out specified numb ... er of bytes from the front of the buffer EventBuffer::drain() - Removes specified number of bytes from the front of the buffer without copying it anywhere EventBuffer::pullup( ... ) - Linearizes data within buffer and returns its contents as a string EventBuffer::readLine() - Extracts a line from the front of the buffer EventBuffer::read() - Read data from an evbuffer and drain the ...
https://man.mtool.work/php/8.3/eventbuffer.appendfrom.html
EventBuffer::read — Read data from an evbuffer and drain the bytes read | PHP 8... 10079
EventBuffer::read (PECL event >= 1.6.0) EventBuffer::read — Read data from an evbuffer and drain the bytes read 説明 public function EventBuffer::read ( int $max_bytes ): string Read the first max_bytes from the buffer and drain the bytes r ... o read from the buffer. 戻り値 Returns string read, or false on failure. 変更履歴 バージョン 説明 PECL event 1.6.0 Renamed EventBuffer::read() (the old method name) to EventBuffer::read() . EventBuffer::read() now takes only max_bytes argument; returns stri ... ng instead of integer. 参考 EventBuffer::copyout() - Copies out specified number of bytes from the front of the buffer EventBuffer::drain() - Removes specified nu ... mber of bytes from the front of the buffer without copying it anywhere EventBuffer::pullup() - Linearizes data within buffer and returns its contents as a string EventBuffer::readLine() - Extracts a line f ...
https://man.mtool.work/php/8.3/eventbuffer.read.html
EventBuffer::prependBuffer — Moves all data from source buffer to the front of ... 10018
EventBuffer::prependBuffer (PECL event >= 1.2.6-beta) EventBuffer::prependBuffer — Moves all data from source buffer to the front of current buffer 説明 public function EventBuffer::prependBuffer ( EventBuffer $buf ): bool Behaves as EventBuffer ... e front of the buffer. パラメータ buf Source buffer. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBuffer::add() - Append data to the end of an event buffer EventBuffer::addBuffer() - Move all data from a buffer provided to the ... current instance of EventBuffer EventBuffer::prepend() - Prepend data to the front of the buffer 他のマニュアルの関連ページ Linux JM fread(3) Linux JM fwr ...
https://man.mtool.work/php/8.3/eventbuffer.prependbuffer.html
EventBuffer::pullup — Linearizes data within buffer and returns its contents as... 9832
EventBuffer::pullup (PECL event >= 1.2.6-beta) EventBuffer::pullup — Linearizes data within buffer and returns its contents as a string 説明 public function EventBuffer::pullup ( int $size ): string "Linearizes" the first size bytes of the ... guous and occupying the same chunk of memory. If size is negative, the function linearizes the entire buffer. 警告 Calling EventBuffer::pullup() with a large size can be quite slow, since it potentially needs to copy the entire buffer's contents. パラメータ ... ithin the buffer. 戻り値 If size is greater than the number of bytes in the buffer, the function returns null . Otherwise, EventBuffer::pullup() returns string. 参考 EventBuffer::copyout() - Copies out specified number of bytes from the front of the buffer ... EventBuffer::drain() - Removes specified number of bytes from the front of the buffer without copying it anywhere EventBuffer::read() - Read data from an evbuffer and drain the bytes read EventBuffer::readLine() - Extracts a line from the front of ...
https://man.mtool.work/php/8.3/eventbuffer.pullup.html
EventBuffer::readLine — Extracts a line from the front of the buffer | PHP 8.3 9708
EventBuffer::readLine (PECL event >= 1.2.6-beta) EventBuffer::readLine — Extracts a line from the front of the buffer 説明 public function EventBuffer::readLine ( int $eol_style ): string Extracts a line from the front of the buffer and ret ... to read, the function returns null . The line terminator is not included in the copied string. パラメータ eol_style One of EventBuffer:EOL_* constants . 戻り値 On success returns the line read from the buffer, otherwise null . 参考 EventBuffer::copyout() - ... Copies out specified number of bytes from the front of the buffer EventBuffer::drain() - Removes specified number of bytes from the front of the buffer without copying it anywhere EventBuffer::pullup( ... ) - Linearizes data within buffer and returns its contents as a string EventBuffer::read() - Read data from an evbuffer and drain the bytes read EventBuffer::appendFrom() - Moves the specified number of by ...
https://man.mtool.work/php/8.3/eventbuffer.readline.html
EventBuffer::addBuffer — Move all data from a buffer provided to the current in... 9661
EventBuffer::addBuffer (PECL event >= 1.2.6-beta) EventBuffer::addBuffer — Move all data from a buffer provided to the current instance of EventBuffer 説明 public function EventBuffer::addBuffer ( EventBuffer $buf ): bool Move all data from ... the buffer provided in buf parameter to the end of current EventBuffer . This is a destructive add. The data from one buffer moves into the other buffer. However, no unnecessary memory copies o ... ccur. パラメータ buf The source EventBuffer object. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBuffer::add() - Append data to the end ... of an event buffer 他のマニュアルの関連ページ DuckDB Editing Linux JM fread(3) Linux JM fwrite(3) DuckDB SET and RESET Statements ...
https://man.mtool.work/php/8.3/eventbuffer.addbuffer.html
EventBuffer::readFrom — Read data from a file onto the end of the buffer | PHP ... 9321
EventBuffer::readFrom (PECL event >= 1.7.0) EventBuffer::readFrom — Read data from a file onto the end of the buffer 説明 public function EventBuffer::read ( mixed $fd , int $howmuch ): int Read data from the file specified by fd onto the e ... le descriptor. howmuch Maximum number of bytes to read. 戻り値 Returns the number of bytes read, or false on failure. 参考 EventBuffer::copyout() - Copies out specified number of bytes from the front of the buffer EventBuffer::drain() - Removes specified nu ... mber of bytes from the front of the buffer without copying it anywhere EventBuffer::pullup() - Linearizes data within buffer and returns its contents as a string EventBuffer::readLine() - Extracts a line f ... rom the front of the buffer EventBuffer::appendFrom() - Moves the specified number of bytes from a source buffer to the end of the current buffer 他のマニュアルの ...
https://man.mtool.work/php/8.3/eventbuffer.readfrom.html
EventBuffer::lock — Acquires a lock on buffer | PHP 8.3 9088
EventBuffer::lock (PECL event >= 1.2.6-beta) EventBuffer::lock — Acquires a lock on buffer 説明 public function EventBuffer::lock (): void Acquires a lock on buffer. Can be used in pair with EventBuffer::unlock() to make a set of operations ... atomic, i.e. thread-safe. Note, it is not needed to lock buffers for individual operations. When locking is enabled(see EventBuffer::enableLocking() ), individual operations on event buffers are already atomic. パラメータ この関数にはパラメータはありませ ... ん。 戻り値 値を返しません。 参考 EventBuffer::unlock() - Releases lock acquired by EventBuffer::lock 他のマニュアルの関連ページ Linux JM lock(2) Vim ft_raku Linux JM f ...
https://man.mtool.work/php/8.3/eventbuffer.lock.html
PREV 1 2 3 4 5 NEXT