Home
last modified time | relevance | path

Searched refs:hamming (Results 1 - 5 of 5) sorted by relevance

/third_party/rust/crates/strsim-rs/tests/
H A Dlib.rs3 use strsim::{hamming, levenshtein, normalized_levenshtein, osa_distance,damerau_levenshtein,
8 match hamming("hamming", "hammers") { in hamming_works()
/third_party/ltp/testcases/realtime/tools/
H A Dftqviz.py44 w = hamming(wlen)
61 # the hamming window). It seems that each should be adjusted by roughly the
93 # plot the hamming window
95 plot(hamming(wlen))
/third_party/rust/crates/strsim-rs/benches/
H A Dbenches.rs18 strsim::hamming(a, b).unwrap(); in bench_hamming()
/third_party/lame/misc/
H A Dscalartest.c115 test2 ( "Hamm", hamming ); in main()
/third_party/rust/crates/strsim-rs/src/
H A Dlib.rs53 /// use strsim::{hamming, StrSimError::DifferentLengthArgs};
55 /// assert_eq!(Ok(3), hamming("hamming", "hammers"));
57 /// assert_eq!(Err(DifferentLengthArgs), hamming("hamming", "ham"));
59 pub fn hamming(a: &str, b: &str) -> HammingResult { in hamming() functions
497 assert_eq!(Ok(dist), hamming(str1, str2)); in assert_hamming_dist()
507 assert_hamming_dist(0, "hamming", "hamming") in hamming_same()
517 assert_hamming_dist(3, "hamming", "hammer in hamming_diff()
[all...]

Completed in 2 milliseconds