Results of 1 - 10 of about 19 for peek (0.001 sec.)
- Ds\PriorityQueue::peek — Returns the value at the front of the queue | PHP 8.3 12328
- Ds\PriorityQueue::peek (PECL ds >= 1.0.0) Ds\PriorityQueue::peek — Returns the value at the front of the queue 説明 public function Ds\PriorityQueue::peek (): mixed Returns the value at the front of the queue, but does not remove it. パラメ
... ありません。 戻り値 The value at the front of the queue. エラー / 例外 UnderflowException if empty. 例 例1 Ds\PriorityQueue::peek() example <?php $queue = new \Ds\PriorityQueue (); $queue -> push ( "a" , 5 ); $queue -> push ( "b" , 15 ); $queue -> push ... ( "c" , 10 ); var_dump ( $queue -> peek ()); ?> 上の例の出力は、 たとえば以下のようになります。 string(1) "b" 他のマニュアルの関連ページ Python queue Linux JM msg ...
-
https://man.mtool.work/php/8.3/ds-priorityqueue.peek.html
- Ds\Queue::peek — Returns the value at the front of the queue | PHP 8.3 12328
- Ds\Queue::peek (PECL ds >= 1.0.0) Ds\Queue::peek — Returns the value at the front of the queue 説明 public function Ds\Queue::peek (): mixed Returns the value at the front of the queue, but does not remove it. パラメータ この関数にはパラメー
... タはありません。 戻り値 The value at the front of the queue. エラー / 例外 UnderflowException if empty. 例 例1 Ds\Queue::peek() example <?php $queue = new \Ds\Queue (); $queue -> push ( "a" ); $queue -> push ( "b" ); $queue -> push ( "c" ); var_dum ... p ( $queue -> peek ()); ?> 上の例の出力は、 たとえば以下のようになります。 string(1) "a" 他のマニュアルの関連ページ Python queue Python async ...
-
https://man.mtool.work/php/8.3/ds-queue.peek.html
- Ds\Stack::peek — Returns the value at the top of the stack | PHP 8.3 12260
- Ds\Stack::peek (PECL ds >= 1.0.0) Ds\Stack::peek — Returns the value at the top of the stack 説明 public function Ds\Stack::peek (): mixed Returns the value at the top of the stack, but does not remove it. パラメータ この関数にはパラメータは
... ありません。 戻り値 The value at the top of the stack. エラー / 例外 UnderflowException if empty. 例 例1 Ds\Stack::peek() example <?php $stack = new \Ds\Stack (); $stack -> push ( "a" ); $stack -> push ( "b" ); $stack -> push ( "c" ); var_dum ... p ( $stack -> peek ()); ?> 上の例の出力は、 たとえば以下のようになります。 string(1) "c" 他のマニュアルの関連ページ DuckDB Quack on WebAssemb ...
-
https://man.mtool.work/php/8.3/ds-stack.peek.html
- The Stack class | PHP 8.3 8759
- The Stack class (PECL ds >= 1.0.0) はじめに A Stack is a “last in, first out” or “LIFO” collection that only allows access to the value at the top of the structure and iterates in that order, destructively. Uses a Ds\Vector internally. クラ
... (): int public function clear (): void public function copy (): Ds\Stack public function isEmpty (): bool public function peek (): mixed public function pop (): mixed public function push ( mixed ...$values ): void public function toArray (): array ... urns whether the stack is empty Ds\Stack::jsonSerialize — Returns a representation that can be converted to JSON Ds\Stack::peek — Returns the value at the top of the stack Ds\Stack::pop — Removes and returns the value at the top of the stack Ds\Stack ...
-
https://man.mtool.work/php/8.3/class.ds-stack.html
- The PriorityQueue class | PHP 8.3 8674
- The PriorityQueue class (PECL ds >= 1.0.0) はじめに A PriorityQueue is very similar to a Queue. Values are pushed into the queue with an assigned priority, and the value with the highest priority will always be at the front of the queue. Im
... public function clear (): void public function copy (): Ds\PriorityQueue public function isEmpty (): bool public function peek (): mixed public function pop (): mixed public function push ( mixed $value , int $priority ): void public function toArra ... queue is empty Ds\PriorityQueue::jsonSerialize — Returns a representation that can be converted to JSON Ds\PriorityQueue::peek — Returns the value at the front of the queue Ds\PriorityQueue::pop — Removes and returns the value with the highest prior ...
-
https://man.mtool.work/php/8.3/class.ds-priorityqueue.html
- The Queue class | PHP 8.3 8674
- The Queue class (PECL ds >= 1.0.0) はじめに A Queue is a “first in, first out” or “FIFO” collection that only allows access to the value at the front of the queue and iterates in that order, destructively. クラス概要 class Ds\Queue implemen
... (): int public function clear (): void public function copy (): Ds\Queue public function isEmpty (): bool public function peek (): mixed public function pop (): mixed public function push ( mixed ...$values ): void public function toArray (): array ... urns whether the queue is empty Ds\Queue::jsonSerialize — Returns a representation that can be converted to JSON Ds\Queue::peek — Returns the value at the front of the queue Ds\Queue::pop — Removes and returns the value at the front of the queue Ds\Q ...
-
https://man.mtool.work/php/8.3/class.ds-queue.html
- The Swoole\Client class | PHP 8.3 8366
- The Swoole\Client class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Client { /* 定数 */ const int MSG_OOB = 1 ; const int MSG_PEEK = 2 ; const int MSG_DONTWAIT = 128 ; const int MSG_WAITALL = 64 ; /* プロパティ */ public $ errCo
... function wakeup (): void } プロパティ errCode sock reuse reuseCount 定義済み定数 Swoole\Client::MSG_OOB Swoole\Client::MSG_PEEK Swoole\Client::MSG_DONTWAIT Swoole\Client::MSG_WAITALL 目次 Swoole\Client::close — Close the connection established. Swool ...
-
https://man.mtool.work/php/8.3/class.swoole-client.html
- stream_socket_recvfrom — 接続されているかどうかにかかわらず、ソケットからのデー... 8042
- stream_socket_recvfrom (PHP 5, PHP 7, PHP 8) stream_socket_recvfrom — 接続されているかどうかにかかわらず、ソケットからのデータを受信する 説明 function stream_socket_recvfrom ( resource $socket , int $length , int $flags = 0 , ? string &$add
... 数。 flags flags は以下の値の組み合わせです。 flags でとりうる値 STREAM_OOB OOB ( out-of-band ) データを処理します。 STREAM_PEEK ソケットからデータを取得しますが、バッファを消費しません。 fread() あるいは stream_socket_recvfrom() を続けてコールした 際 ... 帯域内のデータを読み込みますが、バッファを消費しません */ echo "Data: '" . stream_socket_recvfrom ( $socket , 1500 , STREAM_PEEK ) . "'\n" ; /* 同じパケットをもう一度読み込みます。今度はバッファからそれを削除します */ echo "Data: '" . stream_socket_re ...
-
https://man.mtool.work/php/8.3/function.stream-socket-recvfrom.html
- Data Structures | PHP 8.3 7957
- Data Structures はじめに Efficient data structures for PHP 7, provided as an alternative to the array . See » this blog post for benchmarks, discussion and frequently asked questions. インストール/設定 要件 インストール手順 例 Ds\Collection
... urns whether the stack is empty Ds\Stack::jsonSerialize — Returns a representation that can be converted to JSON Ds\Stack::peek — Returns the value at the top of the stack Ds\Stack::pop — Removes and returns the value at the top of the stack Ds\Stack ... urns whether the queue is empty Ds\Queue::jsonSerialize — Returns a representation that can be converted to JSON Ds\Queue::peek — Returns the value at the front of the queue Ds\Queue::pop — Removes and returns the value at the front of the queue Ds\Q ... queue is empty Ds\PriorityQueue::jsonSerialize — Returns a representation that can be converted to JSON Ds\PriorityQueue::peek — Returns the value at the front of the queue Ds\PriorityQueue::pop — Removes and returns the value with the highest prior ...
-
https://man.mtool.work/php/8.3/book.ds.html
- imap_body — メッセージ本文を読む | PHP 8.3 7718
- imap_body (PHP 4, PHP 5, PHP 7, PHP 8) imap_body — メッセージ本文を読む 説明 function imap_body ( IMAP\Connection $imap , int $message_num , int $flags = 0 ): string | false imap_body() は、現在のメールボックスにある message_num 番目のメッセ
... 号。 flags オプションの flags はビットマスクであり、 以下の要素の組み合わせとなります。 FT_UID - message_num は UID です FT_PEEK - 既に設定されていない場合、\Seen フラグを設定しない FT_INTERNAL - 内部フォーマットで文字列を返す。 CRLF に正規化しない。 ...
-
https://man.mtool.work/php/8.3/function.imap-body.html