Home
last modified time | relevance | path

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

/PHP-7.1/ext/standard/
H A Dlevenshtein.c100 zend_long distance = -1; in PHP_FUNCTION() local
107 distance = reference_levdist(str1, str1_len, str2, str2_len, 1, 1, 1); in PHP_FUNCTION()
114 distance = reference_levdist(str1, str1_len, str2, str2_len, cost_ins, cost_rep, cost_del); in PHP_FUNCTION()
121 distance = custom_levdist(str1, str2, callback_name); in PHP_FUNCTION()
128 if (distance < 0 && /* TODO */ ZEND_NUM_ARGS() != 3) { in PHP_FUNCTION()
132 RETURN_LONG(distance); in PHP_FUNCTION()
/PHP-7.1/ext/gd/tests/
H A Dsimilarity.inc27 * Calculates the euclidean distance of two RGB values.

Completed in 10 milliseconds