Results of 1 - 10 of about 144 for one Set (0.006 sec.)
one (352), set (1705)
- Statistic 関数 | PHP 8.3 14269
- Statistic 関数 目次 stats_absolute_deviation — Returns the absolute deviation of an array of values stats_cdf_beta — Calculates any one parameter of the beta distribution given values for the others stats_cdf_binomial — Calculates any one p
... arameter of the binomial distribution given values for the others stats_cdf_cauchy — Calculates any one parameter of the Cauchy distribution given values for the others stats_cdf_chisquare — Calculates any one parameter of the ... chi-square distribution given values for the others stats_cdf_exponential — Calculates any one parameter of the exponential distribution given values for the others stats_cdf_f — Calculates a ... e parameter of the Weibull distribution given values for the others stats_covariance — Computes the covariance of two data sets stats_dens_beta — Probability density function of the beta distribution stats_dens_cauchy — Probability density function ...
-
https://man.mtool.work/php/8.3/ref.stats.html
- Statistics | PHP 8.3 13828
- Statistics はじめに 警告 この拡張モジュールは、 メンテナンスされていません 。 This is the statistics extension. It contains few dozens of functions useful for statistical computations. It is a wrapper around 2 scientific libraries, namely D
... istic 関数 stats_absolute_deviation — Returns the absolute deviation of an array of values stats_cdf_beta — Calculates any one parameter of the beta distribution given values for the others stats_cdf_binomial — Calculates any one parameter of the bi ... nomial distribution given values for the others stats_cdf_cauchy — Calculates any one parameter of the Cauchy distribution given values for the others stats_cdf_chisquare — Calculates any one parameter of the ... e parameter of the Weibull distribution given values for the others stats_covariance — Computes the covariance of two data sets stats_dens_beta — Probability density function of the beta distribution stats_dens_cauchy — Probability density function ...
-
https://man.mtool.work/php/8.3/book.stats.html
- Memory Management | PHP 8.3 10697
- Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in different ways, so it helps to know which pool a symptom belongs to b
... touching either knob. What Each Pool Holds The two pools store different halves of an entry. The key pool holds the keys: one slot per cached key, carrying the key itself (up to 48 bytes) together with its hash, TTL, hit count and last-access time; ... value is only referenced through a pointer to the value pool. The value pool holds the values: every stored value occupies one block of serialized bytes — the compressed form when the entry went through yac.compress_threshold . The one exception is ... embedded values: tiny scalars — null , true , false , most integers (those that fit in 60 signed bits on 64-bit builds), strings of up to 7 bytes and empty arrays — are stored directly inside the sl ...
-
https://man.mtool.work/php/8.3/yac.memory-management.html
- The Yac class | PHP 8.3 9869
- The Yac class (PECL yac >= 1.0.0) はじめに The Yac class is the interface to the cache. Every instance on the same host is a lightweight handle to one shared cache: all instances read and write the same entries, and creating one does no all
... e optional prefix passed to Yac::__construct() is prepended to every key, so several instances (or applications) can share one cache without their keys colliding. Besides the classic cache operations ( Yac::add() , Yac::set() , Yac::get() , Yac::del ... ol public function delete ( string | array $key , int $delay = 0 ): bool public function dump ( int $limit = 100 , int $offset = 0 ): array public function flush (): bool public function get ( string | array $key , mixed $default = null ): mixed pub ... lic function __get ( string $key ): mixed public function info (): array public function set ( string | array $key , mixed $value , int $ttl = 0 ): bool public function set ( array $values , int $ttl = 0 ): bool pub ...
-
https://man.mtool.work/php/8.3/class.yac.html
- fann_train — Train one iteration with a set of inputs, and a set of desired out... 9839
- fann_train (PECL fann >= 1.0.0) fann_train — Train one iteration with a set of inputs, and a set of desired outputs 説明 function fann_train ( resource $ann , array $input , array $desired_output ): bool Train one iteration with a set of in
... puts, and a set of desired outputs. This training is always incremental training, since only one pattern is presented. パラメータ ann ニュ ... long. 戻り値 成功した場合に true 、それ以外の場合に false を返します。 参考 fann_train_on_data() - Trains on an entire dataset for a period of time fann_train_epoch() - Train one epoch with a set of training data fann_get_num_input() - Get the numbe ...
-
https://man.mtool.work/php/8.3/function.fann-train.html
- 例 | PHP 8.3 9677
- 例 例1 Quickhash Example <?php $set = new QuickHashIntSet ( 1024 , QuickHashIntSet :: CHECK_FOR_DUPES ); $set -> add ( 1 ); $set -> add ( 3 ); var_dump ( $set -> exists ( 3 ) ); var_dump ( $set -> exists ( 4 ) ); $set -> saveToFile ( "/tmp/
... test-set.set" ); $newSet = QuickHashIntSet :: loadFromFile ( "/tmp/test-set.set" ); var_dump ( $newSet -> exists ( 3 ) ); var_dump ... ( $newSet -> exists ( 4 ) ); ?> 上の例の出力は、 たとえば以下のようになります。 bool(true) bool(false) bool(true) bool(false) 例2 Qu ... 例4 Quickhash String Values Example <?php $hash = new QuickHashIntStringHash ( 64 ); // Adding hash entries. $hash [ 1 ] = "one million four hundred fifteen thousand nine hundred twenty six" ; $hash -> add ( 2 , "one more" ); foreach( $hash as $key = ...
-
https://man.mtool.work/php/8.3/quickhash.examples.html
- QuickHashIntStringHash::set — This method updates an entry in the hash with a n... 9360
- QuickHashIntStringHash::set (PECL quickhash >= Unknown) QuickHashIntStringHash::set — This method updates an entry in the hash with a new value, or adds a new one if the entry doesn't exist 説明 public function QuickHashIntStringHash::set (
... int $key , string $value ): int This method tries to update an entry with a new value. In case the entry did not yet exist, it will instead add a new entry. It returns whether the entry was added or update. If there ar ... the entry was found and updated, 1 if the entry was newly added or 0 if there was an error. 例 例1 QuickHashIntStringHash::set() example <?php $hash = new QuickHashIntStringHash ( 1024 ); echo "Set->Add\n" ; var_dump ( $hash -> get ( 46692 ) ); var_ ... dump ( $hash -> set ( 46692 , "sixteen thousand ninety one" ) ); var_dump ( $hash -> get ( 46692 ) ); echo "Set->Update\n" ; var_dump ( $hash -> set ( 46692 , "twenty nine thousand ...
-
https://man.mtool.work/php/8.3/quickhashintstringhash.set.html
- Yac::set — Store a value into the cache | PHP 8.3 9360
- Yac::set (PECL yac >= 1.0.0) Yac::set — Store a value into the cache 説明 public function Yac::set ( string | array $key , mixed $value , int $ttl = 0 ): bool public function Yac::set ( array $values , int $ttl = 0 ): bool Stores a value in
... rwritten, regardless of whether it has expired. パラメータ key A string key, or an array of key => value pairs to store in one call. value The value to store. Every PHP type except resource can be stored. Only used in the single-key form; when key i ... to live in seconds. 0 means the entry never expires by time. 戻り値 Returns true on success, false on failure. 例 例1 Yac::set() example <?php $yac = new Yac (); $yac -> set ( "foo" , "bar" ); // store a single value $yac -> set ( "foo" , "baz" ); / ... / overwrite the existing entry ?> 例2 Setting an entry with a TTL <?php $yac = new Yac (); // ttl in seconds: the entry expires after 5 seconds $yac -> set ( "short ...
-
https://man.mtool.work/php/8.3/yac.set.html
- Quickhash | PHP 8.3 9023
- Quickhash はじめに The quickhash extension contains a set of specific strongly-typed classes to deal with specific set and hash implementations. インストール/設定 要件 インストール手順 例 QuickHashIntSet — The QuickHashIntSet class QuickHas
... hIntSet::add — This method adds a new entry to the set QuickHashIntSet::__construct — Creates a new QuickHashIntSet object QuickHa ... shIntSet::delete — This method deletes an entry from the set QuickHashIntSet::exists — This method checks whether a key is part of ... lized version of the hash QuickHashIntHash::set — This method updates an entry in the hash with a new value, or adds a new one if the entry doesn't exist QuickHashIntHash::update — This method updates an entry in the hash with a new value QuickHashS ...
-
https://man.mtool.work/php/8.3/book.quickhash.html
- QuickHashIntStringHash::loadFromFile — This factory method creates a hash from ... 8820
- QuickHashIntStringHash::loadFromFile (PECL quickhash >= Unknown) QuickHashIntStringHash::loadFromFile — This factory method creates a hash from a file 説明 public static function QuickHashIntStringHash::loadFromFile ( string $filename , int
... he strings. After the header and the strings, the elements follow in pairs of two unsigned 32 bit integers where the first one is the key, and the second one the index in the element data string. An example could be: 例1 QuickHash IntString file for ... mat 00000000 51 48 12 00 02 00 00 00 09 00 00 00 4f 4e 45 00 |QH..........ONE.| 00000010 4e 49 4e 45 00 01 00 00 00 00 00 00 00 03 00 00 |NINE............| 00000020 00 04 00 00 00 |.....| 00000025 例2 ... OC ); foreach( range ( 0 , 0x0f ) as $key ) { printf ( "Key %3d (%2x) is %s\n" , $key , $key , $hash -> exists ( $key ) ? 'set' : 'unset' ); } ?> 上の例の出力は、 たとえば以下のようになります。 Key 0 ( 0) is unset Key 1 ( 1) is set Key 2 ( 2) is set ...
-
https://man.mtool.work/php/8.3/quickhashintstringhash.loadfromfile.html