Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for wantIdx (0.13 sec)

  1. cmd/data-usage-cache_gen.go

    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ObjSizes")
    				return
    			}
    			if zb0002 != uint32(dataUsageBucketLen) {
    				err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002}
    				return
    			}
    			for za0001 := range z.ObjSizes {
    				z.ObjSizes[za0001], err = dc.ReadUint64()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    					return nil, err
    				}
    				return buf[:want], nil
    			}
    
    			// CRC is variable length, so we need to truncate exactly that.
    			wantMax := want + msgp.Uint32Size
    			if wantMax > size {
    				wantMax = size
    			}
    			if err := readMore(wantMax); err != nil {
    				return nil, err
    			}
    
    			if int64(len(buf)) < want {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen.go

    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Totals")
    				return
    			}
    			if zb0002 != uint32(60) {
    				err = msgp.ArrayError{Wanted: uint32(60), Got: zb0002}
    				return
    			}
    			for za0001 := range z.Totals {
    				err = z.Totals[za0001].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Totals", za0001)
    					return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2_gen.go

    	var zb0001 uint32
    	zb0001, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 7 {
    		err = msgp.ArrayError{Wanted: 7, Got: zb0001}
    		return
    	}
    	err = dc.ReadExactBytes((z.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	z.ModTime, err = dc.ReadInt64()
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    			continue
    		}
    		// Two flushes, to verify the error is sticky.
    		for i := 0; i < 2; i++ {
    			e = buf.Flush()
    			if e != w.expect {
    				t.Errorf("Flush %d/2 %v: got %v, wanted %v", i+1, w, e, w.expect)
    			}
    		}
    	}
    }
    
    func TestNewReaderSizeIdempotent(t *testing.T) {
    	const BufSize = 1000
    	b := NewReaderSize(strings.NewReader("hello world"), BufSize)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. cmd/xl-storage_test.go

    	// Validate all test cases.
    	for i, testCase := range testCases {
    		// Initialize a new xlStorage layer.
    		_, err := newLocalXLStorage(testCase.name)
    		if err != testCase.err {
    			t.Fatalf("TestXLStorage %d failed wanted: %s, got: %s", i+1, err, testCase.err)
    		}
    	}
    }
    
    // TestXLStorageMakeVol - TestXLStorage validate the logic for creation of new xlStorage volume.
    // Asserts the failures too against the expected failures.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top