- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for dropRune (0.12 sec)
-
internal/s3select/sql/stringfuncs.go
return true, nil } case underscore: if len(s) == 0 { text, ok = dropRune(text) if !ok { return false, nil } continue } text, ok = matcher(text, string(s), hasLeadingPercent) if !ok { return false, nil } hasLeadingPercent = false text, ok = dropRune(text) if !ok { return false, nil } s = []rune{} case escape:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 4.2K bytes - Viewed (0) -
internal/s3select/sql/stringfuncs_test.go
}{ {"", "", false}, {"a", "", true}, {"ab", "b", true}, {"தமிழ்", "மிழ்", true}, } for i, tc := range dropCases { res, ok := dropRune(tc.input) if res != tc.resultExpected || ok != tc.matchExpected { t.Errorf("DropRune Case %d failed", i) } } matcherCases := []struct { iText, iPat string iHasLeadingPercent bool resultExpected string matchExpected bool
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 3.1K bytes - Viewed (0)