Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fakehashed (0.05 sec)

  1. src/archive/zip/zip_test.go

    				t.Errorf("ReadAt(%d, %d) = %q; want %q", i, j, buf, all[i:i+j])
    			}
    		}
    	}
    }
    
    // fakeHash32 is a dummy Hash32 that always returns 0.
    type fakeHash32 struct {
    	hash.Hash32
    }
    
    func (fakeHash32) Write(p []byte) (int, error) { return len(p), nil }
    func (fakeHash32) Sum32() uint32               { return 0 }
    
    func TestZip64(t *testing.T) {
    	if testing.Short() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top