- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for FieldsFuncSeq (0.07 sec)
-
api/next/61901.txt
pkg bytes, func FieldsFuncSeq([]uint8, func(int32) bool) iter.Seq[[]uint8] #61901 pkg bytes, func FieldsSeq([]uint8) iter.Seq[[]uint8] #61901 pkg bytes, func Lines([]uint8) iter.Seq[[]uint8] #61901 pkg bytes, func SplitAfterSeq([]uint8, []uint8) iter.Seq[[]uint8] #61901 pkg bytes, func SplitSeq([]uint8, []uint8) iter.Seq[[]uint8] #61901 pkg strings, func FieldsFuncSeq(string, func(int32) bool) iter.Seq[string] #61901
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 676 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/strings/61901.md
over substrings of s split after each instance of sep. - [FieldsSeq] returns an iterator over substrings of s split around runs of whitespace characters, as defined by unicode.IsSpace. - [FieldsFuncSeq] returns an iterator
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 580 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/bytes/61901.md
over substrings of s split after each instance of sep. - [FieldsSeq] returns an iterator over substrings of s split around runs of whitespace characters, as defined by unicode.IsSpace. - [FieldsFuncSeq] returns an iterator
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 582 bytes - Viewed (0) -
src/bytes/iter.go
} if start >= 0 { yield(s[start:len(s):len(s)]) } } } // FieldsFuncSeq returns an iterator over substrings of s split around runs of // Unicode code points satisfying f(c). // The iterator yields the same strings that would be returned by FieldsFunc(s), // but without constructing the slice. func FieldsFuncSeq(s []byte, f func(rune) bool) iter.Seq[[]byte] { return func(yield func([]byte) bool) { start := -1
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 3.7K bytes - Viewed (0) -
src/bytes/bytes_test.go
if !slices.Equal(result, tt.a) { t.Errorf("FieldsFunc(%q) = %v, want %v", tt.s, a, tt.a) } result2 := sliceOfString(collect(t, FieldsFuncSeq([]byte(tt.s), pred))) if !slices.Equal(result2, tt.a) { t.Errorf(`collect(FieldsFuncSeq(%q)) = %v; want %v`, tt.s, result2, tt.a) } if string(b) != tt.s { t.Errorf("slice changed to %s; want %s", b, tt.s) } if len(tt.a) > 0 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0)