Results of 1 - 10 of about 30 for QuickHashIntSet (0.001 sec.)
- Creates a new QuickHashIntSet object 10267
- « QuickHashIntSet::add QuickHashIntSet::delete » PHP Manual QuickHashIntSet Creates a new QuickHashIntSet object 検索 QuickHashIntSet::__construct (PECL quickhash >= Unknown) QuickHashIntSet::__construct — Creates a new QuickHashIntSet obje
... ct 説明 public function QuickHashIntSet::__construct ( int $size , int $options = ? ) This constructor creates a new QuickHashIntSet . The size is the amount of b ... the next power of two. It is also automatically limited from 4 to 4194304 . options The options that you can pass in are: QuickHashIntSet::CHECK_FOR_DUPES , which makes sure no duplicate entries are added to the set; QuickHashIntSet::DO_NOT_USE_ZEND_ALLOC to n ... ot use PHP's internal memory manager as well as one of QuickHashIntSet::HASHER_NO_HASH , QuickHashIntSet::HASHER_JENKINS1 or QuickHashIntSet::HASHER_JENKINS2 . These last three configure which ...
-
https://man.mtool.work/php/8.3/quickhashintset.construct.html
- Creates a new QuickHashIntSet object 10267
- « QuickHashIntSet::add QuickHashIntSet::delete » PHP Manual QuickHashIntSet Creates a new QuickHashIntSet object 検索 QuickHashIntSet::__construct (PECL quickhash >= Unknown) QuickHashIntSet::__construct — Creates a new QuickHashIntSet obje
... ct 説明 public function QuickHashIntSet::__construct ( int $size , int $options = ? ) This constructor creates a new QuickHashIntSet . The size is the amount of b ... the next power of two. It is also automatically limited from 4 to 4194304 . options The options that you can pass in are: QuickHashIntSet::CHECK_FOR_DUPES , which makes sure no duplicate entries are added to the set; QuickHashIntSet::DO_NOT_USE_ZEND_ALLOC to n ... ot use PHP's internal memory manager as well as one of QuickHashIntSet::HASHER_NO_HASH , QuickHashIntSet::HASHER_JENKINS1 or QuickHashIntSet::HASHER_JENKINS2 . These last three configure which ...
-
https://man.mtool.work/php/8.3/quickhashintset.construct.html
- The QuickHashIntSet class 9926
- « 例 QuickHashIntSet::add » PHP Manual Quickhash The QuickHashIntSet class 検索 The QuickHashIntSet class (PECL quickhash >= Unknown) はじめに This class wraps around a set containing integer numbers. Sets can also be iterated over with for
... Iterator interface is implemented as well. The order of which elements are returned in is not guaranteed. クラス概要 class QuickHashIntSet { /* 定数 */ 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 = ? , int $options = ? ): QuickHashIntSet public static function loadFromString ( string $contents , int $size = ? , int $options = ? ): QuickHashIntSet public func ... tion saveToFile ( string $filename ): void public function saveToString (): string } 定義済み定数 QuickHashIntSet::CHECK_FOR_DUPES If enabled, adding duplicate elements to a set (through either QuickHashIntSet::add() or QuickHashIntSet: ...
-
https://man.mtool.work/php/8.3/class.quickhashintset.html
- The QuickHashIntSet class 9926
- « 例 QuickHashIntSet::add » PHP Manual Quickhash The QuickHashIntSet class 検索 The QuickHashIntSet class (PECL quickhash >= Unknown) はじめに This class wraps around a set containing integer numbers. Sets can also be iterated over with for
... Iterator interface is implemented as well. The order of which elements are returned in is not guaranteed. クラス概要 class QuickHashIntSet { /* 定数 */ 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 = ? , int $options = ? ): QuickHashIntSet public static function loadFromString ( string $contents , int $size = ? , int $options = ? ): QuickHashIntSet public func ... tion saveToFile ( string $filename ): void public function saveToString (): string } 定義済み定数 QuickHashIntSet::CHECK_FOR_DUPES If enabled, adding duplicate elements to a set (through either QuickHashIntSet::add() or QuickHashIntSet: ...
-
https://man.mtool.work/php/8.3/class.quickhashintset.html
- This method adds a new entry to the set 9130
- « QuickHashIntSet QuickHashIntSet::__construct » PHP Manual QuickHashIntSet This method adds a new entry to the set 検索 QuickHashIntSet::add (PECL quickhash >= Unknown) QuickHashIntSet::add — This method adds a new entry to the set 説明 pu
... blic function QuickHashIntSet::add ( int $key ): bool This method adds a new entry to the set, and returns whether the entry was added. Entries are by d ... efault always added unless QuickHashIntSet::CHECK_FOR_DUPES has been passed when the set was created. パラメータ key The key of the entry to add. 戻り値 true when th ... e entry was added, and false if the entry was not added. 例 例1 QuickHashIntSet::add() example <?php echo "without dupe checking\n" ; $set = new QuickHashIntSet ( 1024 ); var_dump ( $set -> exists ( 4 ) ...
-
https://man.mtool.work/php/8.3/quickhashintset.add.html
- This method stores an in-memory set to disk 9130
- « QuickHashIntSet::loadFromString QuickHashIntSet::saveToString » PHP Manual QuickHashIntSet This method stores an in-memory set to disk 検索 QuickHashIntSet::saveToFile (PECL quickhash >= Unknown) QuickHashIntSet::saveToFile — This method
... stores an in-memory set to disk 説明 public function QuickHashIntSet::saveToFile ( string $filename ): void This method stores an existing set to a file on disk, in the same format that Quick ... loadFromFile() can read. パラメータ filename The filename of the file to store the hash in. 戻り値 値を返しません。 例 例1 QuickHashIntSet::saveToFile() example <?php $set = new QuickHashIntSet ( 1024 ); var_dump ( $set -> exists ( 4 ) ); var_dump ( $set -> add ... p ( $set -> exists ( 4 ) ); var_dump ( $set -> add ( 4 ) ); $set -> saveToFile ( '/tmp/test.set' ); ?> 関連キーワード: set QuickHashIntSet saveToFile method stores disk var dump memory filename file exists add loadFromString Search saveToString quickhash Unknow ...
-
https://man.mtool.work/php/8.3/quickhashintset.savetofile.html
- This method adds a new entry to the set 9130
- « QuickHashIntSet QuickHashIntSet::__construct » PHP Manual QuickHashIntSet This method adds a new entry to the set 検索 QuickHashIntSet::add (PECL quickhash >= Unknown) QuickHashIntSet::add — This method adds a new entry to the set 説明 pu
... blic function QuickHashIntSet::add ( int $key ): bool This method adds a new entry to the set, and returns whether the entry was added. Entries are by d ... efault always added unless QuickHashIntSet::CHECK_FOR_DUPES has been passed when the set was created. パラメータ key The key of the entry to add. 戻り値 true when th ... e entry was added, and false if the entry was not added. 例 例1 QuickHashIntSet::add() example <?php echo "without dupe checking\n" ; $set = new QuickHashIntSet ( 1024 ); var_dump ( $set -> exists ( 4 ) ...
-
https://man.mtool.work/php/8.3/quickhashintset.add.html
- This method stores an in-memory set to disk 9130
- « QuickHashIntSet::loadFromString QuickHashIntSet::saveToString » PHP Manual QuickHashIntSet This method stores an in-memory set to disk 検索 QuickHashIntSet::saveToFile (PECL quickhash >= Unknown) QuickHashIntSet::saveToFile — This method
... stores an in-memory set to disk 説明 public function QuickHashIntSet::saveToFile ( string $filename ): void This method stores an existing set to a file on disk, in the same format that Quick ... loadFromFile() can read. パラメータ filename The filename of the file to store the hash in. 戻り値 値を返しません。 例 例1 QuickHashIntSet::saveToFile() example <?php $set = new QuickHashIntSet ( 1024 ); var_dump ( $set -> exists ( 4 ) ); var_dump ( $set -> add ... _dump ( $set -> exists ( 4 ) ); var_dump ( $set -> add ( 4 ) ); $set -> saveToFile ( '/tmp/test.set' ); ?> 関連キーワード: QuickHashIntSet saveToFile method stores disk dump memory filename exists loadFromString saveToString quickhash Unknown existing format lo ...
-
https://man.mtool.work/php/8.3/quickhashintset.savetofile.html
- Returns the number of elements in the set 9032
- « QuickHashIntSet::exists QuickHashIntSet::loadFromFile » PHP Manual QuickHashIntSet Returns the number of elements in the set 検索 QuickHashIntSet::getSize (PECL quickhash >= Unknown) QuickHashIntSet::getSize — Returns the number of elemen
... ts in the set 説明 public function QuickHashIntSet::getSize (): int Returns the number of elements in the set. パラメータ この関数にはパラメータはありません。 戻り値 The num ... ber of elements in the set. 例 例1 QuickHashIntSet::getSize() example <?php $set = new QuickHashIntSet ( 8 ); var_dump ( $set -> add ( 2 ) ); var_dump ( $set -> add ( 3 ) ); ... mp ( $set -> getSize () ); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(true) int(2) 関連キーワード: QuickHashIntSet number elements getSize dump exists loadFromFile quickhash Unknown example ...
-
https://man.mtool.work/php/8.3/quickhashintset.getsize.html
- Returns the number of elements in the set 8935
- « QuickHashIntSet::exists QuickHashIntSet::loadFromFile » PHP Manual QuickHashIntSet Returns the number of elements in the set 検索 QuickHashIntSet::getSize (PECL quickhash >= Unknown) QuickHashIntSet::getSize — Returns the number of elemen
... ts in the set 説明 public function QuickHashIntSet::getSize (): int Returns the number of elements in the set. パラメータ この関数にはパラメータはありません。 戻り値 The num ... ber of elements in the set. 例 例1 QuickHashIntSet::getSize() example <?php $set = new QuickHashIntSet ( 8 ); var_dump ( $set -> add ( 2 ) ); var_dump ( $set -> add ( 3 ) ); ... $set -> getSize () ); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(true) int(2) 関連キーワード: set QuickHashIntSet number elements getSize Returns var dump int パラメータ add bool true exists Search loadFromFile quickhash Unknown functio ...
-
https://man.mtool.work/php/8.3/quickhashintset.getsize.html