- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for SplitAfterSeq (0.12 sec)
-
api/next/61901.txt
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 pkg strings, func FieldsSeq(string) iter.Seq[string] #61901 pkg strings, func Lines(string) iter.Seq[string] #61901 pkg strings, func SplitAfterSeq(string, string) iter.Seq[string] #61901
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 676 bytes - Viewed (0) -
src/bytes/iter.go
func SplitSeq(s, sep []byte) iter.Seq[[]byte] { return splitSeq(s, sep, 0) } // SplitAfterSeq returns an iterator over substrings of s split after each instance of sep. // The iterator yields the same strings that would be returned by SplitAfter(s, sep), // but without constructing the slice. // It returns a single-use iterator. func SplitAfterSeq(s, sep []byte) iter.Seq[[]byte] { return splitSeq(s, sep, len(sep)) }
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 3.7K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/bytes/61901.md
- [Lines] returns an iterator over the newline-terminated lines in the byte slice s. - [SplitSeq] returns an iterator over all substrings of s separated by sep. - [SplitAfterSeq] returns an iterator 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.
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 582 bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/strings/61901.md
- [Lines] returns an iterator over the newline-terminated lines in the string s. - [SplitSeq] returns an iterator over all substrings of s separated by sep. - [SplitAfterSeq] returns an iterator 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.
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Wed Aug 14 18:23:13 UTC 2024 - 580 bytes - Viewed (0) -
src/bytes/bytes_test.go
t.Errorf(`Split(%q, %q, %d) = %v; want %v`, tt.s, tt.sep, tt.n, result, tt.a) continue } if tt.n < 0 { b := sliceOfString(slices.Collect(SplitAfterSeq([]byte(tt.s), []byte(tt.sep)))) if !slices.Equal(b, tt.a) { t.Errorf(`collect(SplitAfterSeq(%q, %q)) = %v; want %v`, tt.s, tt.sep, b, tt.a) } } if want := tt.a[len(tt.a)-1] + "z"; string(x) != want {
Registered: Tue Oct 29 11:13:09 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0)