- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for texts (0.12 sec)
-
src/archive/tar/reader_test.go
) vectors := []struct { maker fileMaker tests []testFnc }{{ maker: makeReg{"", 0}, tests: []testFnc{ testRemaining{0, 0}, testRead{0, "", io.EOF}, testRead{1, "", io.EOF}, testWriteTo{nil, 0, nil}, testRemaining{0, 0}, }, }, { maker: makeReg{"", 1}, tests: []testFnc{ testRemaining{1, 1}, testRead{5, "", io.ErrUnexpectedEOF},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
src/archive/zip/reader_test.go
ContentErr error Content []byte File string Size uint64 } var tests = []ZipTest{ { Name: "test.zip", Comment: "This is a zipfile comment.", File: []ZipTestFile{ { Name: "test.txt", Content: []byte("This is a test text file.\n"), Modified: time.Date(2010, 9, 5, 12, 12, 1, 0, timeZone(+10*time.Hour)), Mode: 0644, }, {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
src/bytes/reader_test.go
r := NewReader([]byte("0123456789")) tests := []struct { off int64 n int want string wanterr any }{ {0, 10, "0123456789", nil}, {1, 10, "123456789", io.EOF}, {1, 9, "123456789", nil}, {11, 10, "", io.EOF}, {0, 0, "", nil}, {-1, 0, "", "bytes.Reader.ReadAt: negative offset"}, } for i, tt := range tests { b := make([]byte, tt.n) rn, err := r.ReadAt(b, tt.off)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Viewed (0) -
internal/hash/reader_test.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 10.3K bytes - Viewed (0)