Searched refs:cost (Results 1 – 14 of 14) sorted by relevance
/PHP-5.6/ext/standard/tests/password/ |
H A D | password_needs_rehash.phpt | 13 // Valid with cost the same 14 …$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 10))); 16 // Valid with cost the same, additional params 19 // Invalid, different (lower) cost 20 …$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 09))); 22 // Invalid, different (higher) cost 23 …$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASSWORD_BCRYPT, array('cost' => 11))); 25 // Valid with cost the default 26 $cost = str_pad(PASSWORD_BCRYPT_DEFAULT_COST, 2, '0', STR_PAD_LEFT); 27 var_dump(password_needs_rehash('$2y$'.$cost.'$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y… [all …]
|
H A D | password_bcrypt_errors.phpt | 7 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("cost" => 3))); 9 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("cost" => 32))); 17 var_dump(password_hash("foo", PASSWORD_BCRYPT, array("cost" => "foo"))); 21 Warning: password_hash(): Invalid bcrypt cost parameter specified: 3 in %s on line %d 24 Warning: password_hash(): Invalid bcrypt cost parameter specified: 32 in %s on line %d 36 Warning: password_hash(): Invalid bcrypt cost parameter specified: 0 in %s on line %d
|
H A D | password_get_info.phpt | 25 ["cost"]=> 36 ["cost"]=>
|
H A D | password_hash.phpt | 13 var_dump(password_hash("rasmuslerdorf", PASSWORD_BCRYPT, array("cost" => 7, "salt" => "usesomesilly…
|
/PHP-5.6/ext/gd/libgd/ |
H A D | mathmake.c | 7 int cost[360]; variable 20 printf ("%d,\n ", cost[i] = basis[i]); in main() 24 printf ("%d,\n ", cost[i] = -basis[180 - i]); in main() 28 printf ("%d,\n ", cost[i] = -basis[i - 180]); in main() 32 printf ("%d,\n ", cost[i] = basis[360 - i]); in main() 34 printf ("%d\n", cost[359] = basis[1]); in main() 41 val = cost[(i + 270) % 360]; in main()
|
/PHP-5.6/ext/standard/ |
H A D | password.c | 200 long cost = PHP_PASSWORD_BCRYPT_COST; in PHP_FUNCTION() local 201 sscanf(hash, "$2y$%ld$", &cost); in PHP_FUNCTION() 202 add_assoc_long(options, "cost", cost); in PHP_FUNCTION() 244 long new_cost = PHP_PASSWORD_BCRYPT_COST, cost = 0; in PHP_FUNCTION() local 258 sscanf(hash, "$2y$%ld$", &cost); in PHP_FUNCTION() 259 if (cost != new_cost) { in PHP_FUNCTION() 324 long cost = PHP_PASSWORD_BCRYPT_COST; in PHP_FUNCTION() local 331 cost = Z_LVAL(cast_option_buffer); in PHP_FUNCTION() 334 cost = Z_LVAL_PP(option_buffer); in PHP_FUNCTION() 338 if (cost < 4 || cost > 31) { in PHP_FUNCTION() [all …]
|
/PHP-5.6/ext/date/lib/ |
H A D | astro.c | 265 double cost; in timelib_astro_rise_set_altitude() local 266 cost = (sind(altit) - sind(lat) * sind(sdec)) / (cosd(lat) * cosd(sdec)); in timelib_astro_rise_set_altitude() 268 if (cost >= 1.0) { in timelib_astro_rise_set_altitude() 273 } else if (cost <= -1.0) { in timelib_astro_rise_set_altitude() 280 t = acosd(cost) / 15.0; /* The diurnal arc, hours */ in timelib_astro_rise_set_altitude()
|
/PHP-5.6/ext/ereg/regex/ |
H A D | WHATSNEW | 15 the cost of weaker checking. A workaround for a bug in some folks'
|
/PHP-5.6/ext/intl/doc/ |
H A D | Tutorial.txt | 175 not need to explicitly set this attribute. There is a string comparison performance cost when 206 cost if this attribute is On, depending on the frequency of sequences that require normalization.
|
/PHP-5.6/ext/opcache/ |
H A D | README | 61 to avoid incompatibilities at the cost of some performance degradation.
|
/PHP-5.6/ext/mbstring/libmbfl/ |
H A D | LICENSE | 309 than the cost of performing this distribution.
|
/PHP-5.6/ext/mbstring/oniguruma/ |
H A D | HISTORY | 797 (which was 10-16% cost in gprof result for my test program)
|
/PHP-5.6/build/ |
H A D | libtool.m4 | 5850 # does not break anything, and helps significantly (at the cost of a little
|
/PHP-5.6/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 8312 speed up pattern matching. However, it comes at the cost of extra pro-
|
Completed in 69 milliseconds