Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for abcdefgh (0.16 sec)

  1. src/archive/tar/writer_test.go

    			testReadFrom{fileOps{int64(2), "abc", int64(1), "\x00"}, 7, nil},
    			testRemaining{0, 0},
    		},
    	}, {
    		maker: makeSparse{makeReg{3, ""}, sparseHoles{{0, 2}, {5, 2}}, 7},
    		tests: []testFnc{
    			testWrite{"abcdefg", 0, errWriteHole},
    		},
    	}, {
    		maker: makeSparse{makeReg{3, "abc"}, sparseHoles{{0, 2}, {5, 2}}, 7},
    		tests: []testFnc{
    			testWrite{"\x00\x00abcde", 5, errWriteHole},
    		},
    	}, {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    	}{
    		{
    			name:    "small store w desc",
    			content: []byte("gophers"),
    			method:  Store,
    			flags:   0x8,
    		},
    		{
    			name:    "small deflate wo desc",
    			content: bytes.Repeat([]byte("abcdefg"), 2048),
    			method:  Deflate,
    		},
    	}
    
    	// write a zip file
    	archive := new(bytes.Buffer)
    	w := NewWriter(archive)
    
    	for i := range files {
    		f := &files[i]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
Back to top