« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 40 for QuickHashIntStringHash (0.006 sec.)
Creates a new QuickHashIntStringHash object 10016
« QuickHashIntStringHash::add QuickHashIntStringHash::delete » PHP Manual QuickHashIntStringHash Creates a new QuickHashIntStringHash object 検索 QuickHashIntStringHash::__construct (PECL quickhash >= Unknown) QuickHashIntStringHash::__cons ... truct — Creates a new QuickHashIntStringHash object 説明 public function QuickHashIntStringHash::__construct ( int $size , int $options = 0 ) This constructor creates ... a new QuickHashIntStringHash . The size is the amount of bucket lists to create. The more lists there are, the less collisions you will have. Options a ... the next power of two. It is also automatically limited from 64 to 4194304 . options The options that you can pass in are: QuickHashIntStringHash::CHECK_FOR_DUPES , which makes sure no duplicate entries are added to the hash; QuickHashIntStringHash::DO_NOT_USE_ZEND_AL ...
https://man.mtool.work/php/8.3/quickhashintstringhash.construct.html
Creates a new QuickHashIntStringHash object 10016
« QuickHashIntStringHash::add QuickHashIntStringHash::delete » PHP Manual QuickHashIntStringHash Creates a new QuickHashIntStringHash object 検索 QuickHashIntStringHash::__construct (PECL quickhash >= Unknown) QuickHashIntStringHash::__cons ... truct — Creates a new QuickHashIntStringHash object 説明 public function QuickHashIntStringHash::__construct ( int $size , int $options = 0 ) This constructor creates ... a new QuickHashIntStringHash . The size is the amount of bucket lists to create. The more lists there are, the less collisions you will have. Options a ... the next power of two. It is also automatically limited from 64 to 4194304 . options The options that you can pass in are: QuickHashIntStringHash::CHECK_FOR_DUPES , which makes sure no duplicate entries are added to the hash; QuickHashIntStringHash::DO_NOT_USE_ZEND_AL ...
https://man.mtool.work/php/8.3/quickhashintstringhash.construct.html
The QuickHashIntStringHash class 9782
« QuickHashStringIntHash::update QuickHashIntStringHash::add » PHP Manual Quickhash The QuickHashIntStringHash class 検索 The QuickHashIntStringHash class (PECL quickhash >= Unknown) はじめに This class wraps around a hash containing intege ... Iterator interface is implemented as well. The order of which elements are returned in is not guaranteed. クラス概要 class QuickHashIntStringHash { /* 定数 */ const int CHECK_FOR_DUPES = 1 ; const int DO_NOT_USE_ZEND_ALLOC = 2 ; const int HASHER_NO_HASH = 256 ; const ... blic function getSize (): int public static function loadFromFile ( string $filename , int $size = 0 , int $options = 0 ): QuickHashIntStringHash public static function loadFromString ( string $contents , int $size = 0 , int $options = 0 ): QuickHashIntStringHash publ ... ic function set ( int $key , string $value ): int public function update ( int $key , string $value ): bool } 定義済み定数 QuickHashIntStringHash::CHECK_FOR_DUPES If enabled, adding duplicate elements to a set (through either QuickHashIntStringHash::add() or QuickHash ...
https://man.mtool.work/php/8.3/class.quickhashintstringhash.html
The QuickHashIntStringHash class 9782
« QuickHashStringIntHash::update QuickHashIntStringHash::add » PHP Manual Quickhash The QuickHashIntStringHash class 検索 The QuickHashIntStringHash class (PECL quickhash >= Unknown) はじめに This class wraps around a hash containing intege ... Iterator interface is implemented as well. The order of which elements are returned in is not guaranteed. クラス概要 class QuickHashIntStringHash { /* 定数 */ const int CHECK_FOR_DUPES = 1 ; const int DO_NOT_USE_ZEND_ALLOC = 2 ; const int HASHER_NO_HASH = 256 ; const ... blic function getSize (): int public static function loadFromFile ( string $filename , int $size = 0 , int $options = 0 ): QuickHashIntStringHash public static function loadFromString ( string $contents , int $size = 0 , int $options = 0 ): QuickHashIntStringHash publ ... ic function set ( int $key , string $value ): int public function update ( int $key , string $value ): bool } 定義済み定数 QuickHashIntStringHash::CHECK_FOR_DUPES If enabled, adding duplicate elements to a set (through either QuickHashIntStringHash::add() or QuickHash ...
https://man.mtool.work/php/8.3/class.quickhashintstringhash.html
Quickhash 9018
« unregister_tick_function インストール/設定 » PHP Manual 変数・データ型関連 Quickhash 検索 Quickhash はじめに The quickhash extension contains a set of specific strongly-typed classes to deal with specific set and hash implementations. イン ... one if the entry doesn't exist QuickHashStringIntHash::update — This method updates an entry in the hash with a new value QuickHashIntStringHash — The QuickHashIntStringHash class QuickHashIntStringHash::add — This method adds a new entry to the hash QuickHashIntStri ... ngHash::__construct — Creates a new QuickHashIntStringHash object QuickHashIntStringHash::delete — This method deletes an entry from the hash QuickHashIntStringHash::exists — This m ... ethod checks whether a key is part of the hash QuickHashIntStringHash::get — This method retrieves a value from the hash by its key QuickHashIntStringHash::getSize — Returns the number of elem ...
https://man.mtool.work/php/8.3/book.quickhash.html
Quickhash 9018
« unregister_tick_function インストール/設定 » PHP Manual 変数・データ型関連 Quickhash 検索 Quickhash はじめに The quickhash extension contains a set of specific strongly-typed classes to deal with specific set and hash implementations. イン ... one if the entry doesn't exist QuickHashStringIntHash::update — This method updates an entry in the hash with a new value QuickHashIntStringHash — The QuickHashIntStringHash class QuickHashIntStringHash::add — This method adds a new entry to the hash QuickHashIntStri ... ngHash::__construct — Creates a new QuickHashIntStringHash object QuickHashIntStringHash::delete — This method deletes an entry from the hash QuickHashIntStringHash::exists — This m ... ethod checks whether a key is part of the hash QuickHashIntStringHash::get — This method retrieves a value from the hash by its key QuickHashIntStringHash::getSize — Returns the number of elem ...
https://man.mtool.work/php/8.3/book.quickhash.html
This method returns a serialized version of the hash 8955
« QuickHashIntStringHash::saveToFile QuickHashIntStringHash::set » PHP Manual QuickHashIntStringHash This method returns a serialized version of the hash 検索 QuickHashIntStringHash::saveToString (PECL quickhash >= Unknown) QuickHashIntStringHash ... ngHash::saveToString — This method returns a serialized version of the hash 説明 public function QuickHashIntStringHash::saveToString (): string This method returns a serialized version of the hash in the same format that QuickHashIntStringHa ... zed format of the hash. Each element is stored as a four byte value in the Endianness that the current system uses. 例 例1 QuickHashIntStringHash::saveToString() example <?php $hash = new QuickHashIntStringHash ( 1024 ); var_dump ( $hash -> exists ( 4 ) ); var_dump ( ... ts ( 4 ) ); var_dump ( $hash -> add ( 5 , "fifty five" ) ); var_dump ( $hash -> saveToString () ); ?> 関連キーワード: hash QuickHashIntStringHash method returns serialized saveToString var dump string format パラメータ four exists add saveToFile Search set quickhash U ...
https://man.mtool.work/php/8.3/quickhashintstringhash.savetostring.html
This method returns a serialized version of the hash 8955
« QuickHashIntStringHash::saveToFile QuickHashIntStringHash::set » PHP Manual QuickHashIntStringHash This method returns a serialized version of the hash 検索 QuickHashIntStringHash::saveToString (PECL quickhash >= Unknown) QuickHashIntStringHash ... ngHash::saveToString — This method returns a serialized version of the hash 説明 public function QuickHashIntStringHash::saveToString (): string This method returns a serialized version of the hash in the same format that QuickHashIntStringHa ... zed format of the hash. Each element is stored as a four byte value in the Endianness that the current system uses. 例 例1 QuickHashIntStringHash::saveToString() example <?php $hash = new QuickHashIntStringHash ( 1024 ); var_dump ( $hash -> exists ( 4 ) ); var_dump ( ... ts ( 4 ) ); var_dump ( $hash -> add ( 5 , "fifty five" ) ); var_dump ( $hash -> saveToString () ); ?> 関連キーワード: hash QuickHashIntStringHash method serialized saveToString dump format four exists saveToFile quickhash Unknown loadFromString read containing element ...
https://man.mtool.work/php/8.3/quickhashintstringhash.savetostring.html
Returns the number of elements in the hash 8893
« QuickHashIntStringHash::get QuickHashIntStringHash::loadFromFile » PHP Manual QuickHashIntStringHash Returns the number of elements in the hash 検索 QuickHashIntStringHash::getSize (PECL quickhash >= Unknown) QuickHashIntStringHash::getSi ... ze — Returns the number of elements in the hash 説明 public function QuickHashIntStringHash::getSize (): int Returns the number of elements in the hash. パラメータ この関数にはパラメータはありません。 戻り値 The nu ... mber of elements in the hash. 例 例1 QuickHashIntStringHash::getSize() example <?php $hash = new QuickHashIntStringHash ( 8 ); var_dump ( $hash -> add ( 2 , "two" ) ); var_dump ( $ha ... hash -> getSize () ); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(true) int(2) 関連キーワード: hash QuickHashIntStringHash number elements getSize dump loadFromFile quickhash Unknown example ...
https://man.mtool.work/php/8.3/quickhashintstringhash.getsize.html
This factory method creates a hash from a string 8830
« QuickHashIntStringHash::loadFromFile QuickHashIntStringHash::saveToFile » PHP Manual QuickHashIntStringHash This factory method creates a hash from a string 検索 QuickHashIntStringHash::loadFromString (PECL quickhash >= Unknown) QuickHashIntStringHash ... IntStringHash::loadFromString — This factory method creates a hash from a string 説明 public static function QuickHashIntStringHash::loadFromString ( string $contents , int $size = 0 , int $options = 0 ): QuickHashIntStringHash This factory method create ... umber of entries in the hash, rounded up to the nearest power of two with a maximum limit of 4194304. 戻り値 Returns a new QuickHashIntStringHash. 例 例1 QuickHashIntStringHash::loadFromString() example <?php $contents = file_get_contents ( dirname ( __FILE__ ) . "/si ... mple.hash" ); $hash = QuickHashIntStringHash :: loadFromString ( $contents , QuickHashIntStringHash :: DO_NOT_USE_ZEND_ALLOC ); foreach( range ( 0 , 0x0f ) as $key ) { ...
https://man.mtool.work/php/8.3/quickhashintstringhash.loadfromstring.html
PREV 1 2 3 4 NEXT