- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FieldsFunc (0.05 sec)
-
src/bytes/iter.go
} } } // FieldsFuncSeq returns an iterator over subslices of s split around runs of // Unicode code points satisfying f(c). // The iterator yields the same subslices that would be returned by [FieldsFunc](s), // but without constructing a new slice containing the subslices. func FieldsFuncSeq(s []byte, f func(rune) bool) iter.Seq[[]byte] { return func(yield func([]byte) bool) { start := -1
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 3.6K bytes - Viewed (0) -
src/bytes/bytes.go
// non-empty. Unlike [SplitFunc], leading and trailing runs of code points // satisfying f(c) are discarded. // // FieldsFunc makes no guarantees about the order in which it calls f(c) // and assumes that f always returns the same value for a given c. func FieldsFunc(s []byte, f func(rune) bool) [][]byte { // A span is used to record a slice of s of the form s[start:end].
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0)