Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 2 of 2) sorted by relevance

/PHP-7.3/ext/standard/
H A Dlevenshtein.c99 zend_long distance = -1; in PHP_FUNCTION() local
106 distance = reference_levdist(str1, str1_len, str2, str2_len, 1, 1, 1); in PHP_FUNCTION()
113 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); in PHP_FUNCTION()
120 distance = custom_levdist(str1, str2, callback_name); in PHP_FUNCTION()
127 if (distance < 0 && /* TODO */ ZEND_NUM_ARGS() != 3) { in PHP_FUNCTION()
131 RETURN_LONG(distance); in PHP_FUNCTION()
/PHP-7.3/ext/gd/tests/
H A Dsimilarity.inc27 * Calculates the euclidean distance of two RGB values.

Completed in 5 milliseconds