Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for io (0.14 sec)

  1. src/archive/tar/reader_test.go

    		{sparse[:511], 0, io.ErrUnexpectedEOF},
    		{sparse[:512], 0, io.ErrUnexpectedEOF},
    		{sparse[:3584], 1, io.EOF},
    		{sparse[:9200], 1, io.EOF}, // Terminate in padding of sparse header
    		{sparse[:9216], 1, io.EOF},
    		{sparse[:9728], 2, io.ErrUnexpectedEOF},
    		{sparse[:10240], 2, io.EOF},
    		{sparse[:11264], 2, io.ErrUnexpectedEOF},
    		{sparse, 5, io.EOF},
    		{sparse + trash, 5, io.EOF},
    	}
    
    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)
  2. internal/hash/reader_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = io.Copy(io.Discard, r)
    	if err != nil {
    		t.Fatal(err)
    	}
    	md5sum := r.MD5Current()
    	if hex.EncodeToString(md5sum) != "e2fc714c4727ee9395f324cd2e7f331f" {
    		t.Errorf("Expected md5hex \"e2fc714c4727ee9395f324cd2e7f331f\", got %s", hex.EncodeToString(md5sum))
    	}
    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)
Back to top