Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 127 for readAll (0.12 sec)

  1. cmd/bucket-stats_gen.go

    			z.CurrentBandwidthInBytesPerSecond, err = dc.ReadFloat64()
    			if err != nil {
    				err = msgp.WrapError(err, "CurrentBandwidthInBytesPerSecond")
    				return
    			}
    		case "lt":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "XferRateLrg")
    					return
    				}
    				z.XferRateLrg = nil
    			} else {
    				if z.XferRateLrg == nil {
    					z.XferRateLrg = new(XferStats)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. cmd/erasure-encode_test.go

    		if err != nil {
    			t.Fatalf("Test %d: failed to create ErasureStorage: %v", i, err)
    		}
    		buffer := make([]byte, test.blocksize, 2*test.blocksize)
    
    		data := make([]byte, test.data)
    		if _, err = io.ReadFull(rand.Reader, data); err != nil {
    			t.Fatalf("Test %d: failed to generate random test data: %v", i, err)
    		}
    		writers := make([]io.Writer, len(disks))
    		for i, disk := range disks {
    			if disk == OfflineDisk {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. cmd/site-replication-metrics_gen.go

    				var za0001 string
    				var za0002 *SRStatus
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "M")
    					return
    				}
    				if dc.IsNil() {
    					err = dc.ReadNil()
    					if err != nil {
    						err = msgp.WrapError(err, "M", za0001)
    						return
    					}
    					za0002 = nil
    				} else {
    					if za0002 == nil {
    						za0002 = new(SRStatus)
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-rebalance_gen.go

    				z.PoolStats = (z.PoolStats)[:zb0002]
    			} else {
    				z.PoolStats = make([]*rebalanceStats, zb0002)
    			}
    			for za0001 := range z.PoolStats {
    				if dc.IsNil() {
    					err = dc.ReadNil()
    					if err != nil {
    						err = msgp.WrapError(err, "PoolStats", za0001)
    						return
    					}
    					z.PoolStats[za0001] = nil
    				} else {
    					if z.PoolStats[za0001] == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  5. internal/dsync/lock-args_gen.go

    				return
    			}
    		case "Source":
    			z.Source, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Source")
    				return
    			}
    		case "Quorum":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Quorum")
    					return
    				}
    				z.Quorum = nil
    			} else {
    				if z.Quorum == nil {
    					z.Quorum = new(int)
    				}
    				*z.Quorum, err = dc.ReadInt()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
       * of values that will be added, if that knowledge is readily available. It is better to guess a
       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableLongArray} that is built will very likely occupy more memory than strictly necessary;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * <p><b>Performance note:</b> When feasible, {@code initialCapacity} should be the exact number
       * of values that will be added, if that knowledge is readily available. It is better to guess a
       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableIntArray} that is built will very likely occupy more memory than strictly necessary;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. cmd/batch-expire_gen.go

    		case "OlderThan":
    			err = z.OlderThan.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "OlderThan")
    				return
    			}
    		case "CreatedBefore":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "CreatedBefore")
    					return
    				}
    				z.CreatedBefore = nil
    			} else {
    				if z.CreatedBefore == nil {
    					z.CreatedBefore = new(time.Time)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. internal/ioutil/ioutil.go

    	var written int64
    	for {
    		buf := alignedBuf
    		if totalSize > 0 {
    			remaining := totalSize - written
    			if remaining < int64(len(buf)) {
    				buf = buf[:remaining]
    			}
    		}
    
    		nr, err := io.ReadFull(r, buf)
    		eof := errors.Is(err, io.EOF) || errors.Is(err, io.ErrUnexpectedEOF)
    		if err != nil && !eof {
    			return written, err
    		}
    
    		buf = buf[:nr]
    		var (
    			n  int
    			un int
    			nw int64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. cmd/erasure-server-pool-decom_gen.go

    				return
    			}
    		case "lu":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "dec":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "Decommission")
    					return
    				}
    				z.Decommission = nil
    			} else {
    				if z.Decommission == nil {
    					z.Decommission = new(PoolDecommissionInfo)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
Back to top