- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testConstruction (0.23 sec)
-
src/index/suffixarray/suffixarray_test.go
x.sa.int64[i], x.sa.int64[j] = x.sa.int64[j], x.sa.int64[i] } } func (x *index) at(i int) []byte { return x.data[x.sa.get(i):] } func testConstruction(t *testing.T, tc *testCase, x *Index) { if !sort.IsSorted((*index)(x)) { t.Errorf("failed testConstruction %s", tc.name) } } func equal(x, y *Index) bool { if !bytes.Equal(x.data, y.data) { return false } if x.sa.len() != y.sa.len() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0)