« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 572 for memory (0.004 sec.)
The Swoole\Buffer class 6578
« Swoole\Atomic::sub Swoole\Buffer::append » PHP Manual Swoole The Swoole\Buffer class 検索 The Swoole\Buffer class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Buffer { /* メソッド */ public function append ( string $data ): int ... ite ( int $offset , string $data ): void } 目次 Swoole\Buffer::append — Append the string or binary data at the end of the memory buffer and return the new size of memory allocated. Swoole\Buffer::clear — Reset the memory buffer. Swoole\Buffer::__const ... ruct — Fixed size memory blocks allocation. Swoole\Buffer::__destruct — Destruct the Swoole memory buffer. Swoole\Buffer::expand — Expand the size ... of memory buffer. Swoole\Buffer::read — Read data from the memory buffer based on offset and length. Swoole\Buffer::recycle — Releas ...
https://man.mtool.work/php/8.3/class.swoole-buffer.html
The Swoole\Buffer class 6578
« Swoole\Atomic::sub Swoole\Buffer::append » PHP Manual Swoole The Swoole\Buffer class 検索 The Swoole\Buffer class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\Buffer { /* メソッド */ public function append ( string $data ): int ... ite ( int $offset , string $data ): void } 目次 Swoole\Buffer::append — Append the string or binary data at the end of the memory buffer and return the new size of memory allocated. Swoole\Buffer::clear — Reset the memory buffer. Swoole\Buffer::__const ... ruct — Fixed size memory blocks allocation. Swoole\Buffer::__destruct — Destruct the Swoole memory buffer. Swoole\Buffer::expand — Expand the size ... of memory buffer. Swoole\Buffer::read — Read data from the memory buffer based on offset and length. Swoole\Buffer::recycle — Releas ...
https://man.mtool.work/php/8.3/class.swoole-buffer.html
Status of cache 6450
« Yac::__get Yac::set » PHP Manual Yac Status of cache 検索 Yac::info (PECL yac >= 1.0.0) Yac::info — Status of cache 説明 public function Yac::info (): array Get status of cache system パラメータ この関数にはパラメータはありません。 戻り値 ... Returns an array with the following keys: memory_size Total shared memory in use, in bytes: the slot table plus the value blocks. slots_memory_size Memory reserved for the ... hash slot table, in bytes. values_memory_size Memory reserved for the stored values, in bytes. segment_size Size of one value memory segment, in bytes. segment_num ... Number of value memory segments. miss Number of cache misses: lookups that found nothing or an expired entry. hits Number of cache hits: successf ...
https://man.mtool.work/php/8.3/yac.info.html
Status of cache 6397
« Yac::__get Yac::set » PHP Manual Yac Status of cache 検索 Yac::info (PECL yac >= 1.0.0) Yac::info — Status of cache 説明 public function Yac::info (): array Get status of cache system パラメータ この関数にはパラメータはありません。 戻り値 ... Returns an array with the following keys: memory_size Total shared memory in use, in bytes: the slot table plus the value blocks. slots_memory_size Memory reserved for the ... hash slot table, in bytes. values_memory_size Memory reserved for the stored values, in bytes. segment_size Size of one value memory segment, in bytes. segment_num ... Number of value memory segments. miss Number of cache misses: lookups that found nothing or an expired entry. hits Number of cache hits: successf ...
https://man.mtool.work/php/8.3/yac.info.html
Constructs a new SyncSharedMemory object 6374
« SyncSharedMemory SyncSharedMemory::first » PHP Manual SyncSharedMemory Constructs a new SyncSharedMemory object 検索 SyncSharedMemory::__construct (PECL sync >= 1.1.0) SyncSharedMemory::__construct — Constructs a new SyncSharedMemory obje ... ct 説明 public function SyncSharedMemory::__construct ( string $name , int $size ) Constructs a named shared memory object. パラメータ name The name of the shared ... process is running as or an exception will be thrown with a meaningless error message. size The size, in bytes, of shared memory to reserve. 注意 : The amount of memory cannot be resized later. Request sufficient storage up front. 戻り値 The new SyncS ... haredMemory object. エラー / 例外 An exception is thrown if the shared memory object cannot be created or opened. 例 例1 SyncSharedMem ...
https://man.mtool.work/php/8.3/syncsharedmemory.construct.html
メモリの最大値をリセットする 6374
« memory_get_usage php_ini_loaded_file » PHP Manual PHP オプション/情報 関数 メモリの最大値をリセットする 検索 memory_reset_peak_usage (PHP 8 >= 8.2.0) memory_reset_peak_usage — メモリの最大値をリセットする 説明 function memory_reset_peak_u ... sage (): void memory_get_peak_usage() が返したメモリの最大値をリセットします。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しま ... せん。 例 例1 memory_reset_peak_usage() の例 <?php var_dump ( memory_get_peak_usage ()); $a = str_repeat ( "Hello" , 424242 ); var_dump ( memor ... y_get_peak_usage ()); unset( $a ); memory_reset_peak_usage (); $a = str_repeat ( "Hello" , 2424 ); var_dump ( memory_get_peak_usage ()); ?> 上の例の出力は、 たとえば ...
https://man.mtool.work/php/8.3/function.memory-reset-peak-usage.html
メモリの最大値をリセットする 6344
« memory_get_usage php_ini_loaded_file » PHP Manual PHP オプション/情報 関数 メモリの最大値をリセットする 検索 memory_reset_peak_usage (PHP 8 >= 8.2.0) memory_reset_peak_usage — メモリの最大値をリセットする 説明 function memory_reset_peak_u ... sage (): void memory_get_peak_usage() が返したメモリの最大値をリセットします。 パラメータ この関数にはパラメータはありません。 戻り値 値を返しま ... せん。 例 例1 memory_reset_peak_usage() の例 <?php var_dump ( memory_get_peak_usage ()); $a = str_repeat ( "Hello" , 424242 ); var_dump ( memor ... y_get_peak_usage ()); unset( $a ); memory_reset_peak_usage (); $a = str_repeat ( "Hello" , 2424 ); var_dump ( memory_get_peak_usage ()); ?> 上の例の出力は、 たとえば ...
https://man.mtool.work/php/8.3/function.memory-reset-peak-usage.html
Constructs a new SyncSharedMemory object 6344
« SyncSharedMemory SyncSharedMemory::first » PHP Manual SyncSharedMemory Constructs a new SyncSharedMemory object 検索 SyncSharedMemory::__construct (PECL sync >= 1.1.0) SyncSharedMemory::__construct — Constructs a new SyncSharedMemory obje ... ct 説明 public function SyncSharedMemory::__construct ( string $name , int $size ) Constructs a named shared memory object. パラメータ name The name of the shared ... process is running as or an exception will be thrown with a meaningless error message. size The size, in bytes, of shared memory to reserve. 注意 : The amount of memory cannot be resized later. Request sufficient storage up front. 戻り値 The new SyncS ... haredMemory object. エラー / 例外 An exception is thrown if the shared memory object cannot be created or opened. 例 例1 SyncSharedMem ...
https://man.mtool.work/php/8.3/syncsharedmemory.construct.html
Copy data from named shared memory 6321
« SyncSharedMemory::first SyncSharedMemory::size » PHP Manual SyncSharedMemory Copy data from named shared memory 検索 SyncSharedMemory::read (PECL sync >= 1.1.0) SyncSharedMemory::read — Copy data from named shared memory 説明 public funct ... ion SyncSharedMemory::read ( int $start = 0 , int $length = ? ) Copies data from named shared memory. パラメータ start The start/offset, in byt ... 意 : If the value is negative, the starting position will begin at the specified number of bytes from the end of the shared memory segment. length The number of bytes to read. 注意 : If unspecified, reading will stop at the end of the shared memory segm ... ent. If the value is negative, reading will stop the specified number of bytes from the end of the shared memory segment. 戻り値 A string containing the data read from shared memory. 例 例1 SyncSharedMemory::__construct() example <?php ...
https://man.mtool.work/php/8.3/syncsharedmemory.read.html
Copy data to named shared memory 6321
« SyncSharedMemory::size その他の基本モジュール » PHP Manual SyncSharedMemory Copy data to named shared memory 検索 SyncSharedMemory::write (PECL sync >= 1.1.0) SyncSharedMemory::write — Copy data to named shared memory 説明 public function ... SyncSharedMemory::write ( string $string = ? , int $start = 0 ) Copies data to named shared memory. パラメータ string The data to write to ... shared memory. 注意 : If the size of the data exceeds the size of the shared memory, the number of bytes written returned will be less t ... 意 : If the value is negative, the starting position will begin at the specified number of bytes from the end of the shared memory segment. 戻り値 An integer containing the number of bytes written to shared memory. 例 例1 SyncSharedMemory::write() examp ...
https://man.mtool.work/php/8.3/syncsharedmemory.write.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT