- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sortBytesInGroups (0.23 sec)
-
src/io/pipe_test.go
for i := 0; i < cap(c); i++ { got = append(got, (<-c)...) } got = sortBytesInGroups(got, readSize) want := bytes.Repeat([]byte(input), count) want = sortBytesInGroups(want, readSize) if string(got) != string(want) { t.Errorf("got: %q; want: %q", got, want) } }) } func sortBytesInGroups(b []byte, n int) []byte { var groups [][]byte for len(b) > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 9K bytes - Viewed (0)