Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for ReadFull (0.08 sec)

  1. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	bucket := "bucket"
    	object := "object"
    	opts := ObjectOptions{}
    	buf := make([]byte, smallFileThreshold*16)
    	if _, err = io.ReadFull(crand.Reader, buf); err != nil {
    		t.Fatal(err)
    	}
    
    	// Test use case 1: All disks are online, xl.meta are present, but data are missing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. cmd/xl-storage_test.go

    	}
    	if err = xlStorage.MakeVol(context.Background(), volume); err != nil {
    		t.Fatalf("Unable to create volume %s: %v", volume, err)
    	}
    	data := make([]byte, 8*1024)
    	if _, err = io.ReadFull(rand.Reader, data); err != nil {
    		t.Fatalf("Unable to create generate random data: %v", err)
    	}
    	if err = xlStorage.AppendFile(context.Background(), volume, object, data); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg io, func NewSectionReader(ReaderAt, int64, int64) *SectionReader
    pkg io, func Pipe() (*PipeReader, *PipeWriter)
    pkg io, func ReadAtLeast(Reader, []uint8, int) (int, error)
    pkg io, func ReadFull(Reader, []uint8) (int, error)
    pkg io, func TeeReader(Reader, Writer) Reader
    pkg io, func WriteString(Writer, string) (int, error)
    pkg io, method (*LimitedReader) Read([]uint8) (int, error)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top