Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GB (0.22 sec)

  1. src/archive/zip/reader_test.go

    	// is to set Size, which will then be checked against the header-reported size
    	// but will bypass the decompressing of the actual data.
    	// This last option is used for testing very large (multi-GB) compressed files.
    	ContentErr error
    	Content    []byte
    	File       string
    	Size       uint64
    }
    
    var tests = []ZipTest{
    	{
    		Name:    "test.zip",
    		Comment: "This is a zipfile comment.",
    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)
  2. src/bytes/bytes_test.go

    	expect = a
    	if string(m) != expect {
    		t.Errorf("shrinking: expected %q got %q", expect, m)
    	}
    
    	// 3. Rot13
    	m = Map(rot13, []byte("a to zed"))
    	expect = "n gb mrq"
    	if string(m) != expect {
    		t.Errorf("rot13: expected %q got %q", expect, m)
    	}
    
    	// 4. Rot13^2
    	m = Map(rot13, Map(rot13, []byte("a to zed")))
    	expect = "a to zed"
    	if string(m) != expect {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top