Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 27 of 27 for ReadIntBytes (0.18 sec)

  1. internal/dsync/lock-args_gen.go

    				bts, err = msgp.ReadNilBytes(bts)
    				if err != nil {
    					return
    				}
    				z.Quorum = nil
    			} else {
    				if z.Quorum == nil {
    					z.Quorum = new(int)
    				}
    				*z.Quorum, bts, err = msgp.ReadIntBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Quorum")
    					return
    				}
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics_gen.go

    		case "Curr":
    			z.Curr, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Curr")
    				return
    			}
    		case "Avg":
    			z.Avg, bts, err = msgp.ReadFloat32Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Avg")
    				return
    			}
    		case "Max":
    			z.Max, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Max")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  3. cmd/data-usage-cache_gen.go

    							return
    						}
    					case "nv":
    						za0002.NumVersions, bts, err = msgp.ReadIntBytes(bts)
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumVersions")
    							return
    						}
    					case "no":
    						za0002.NumObjects, bts, err = msgp.ReadIntBytes(bts)
    						if err != nil {
    							err = msgp.WrapError(err, "Tiers", za0001, "NumObjects")
    							return
    						}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    			}
    			if cap(z.Results) >= int(zb0002) {
    				z.Results = (z.Results)[:zb0002]
    			} else {
    				z.Results = make([]int, zb0002)
    			}
    			for za0001 := range z.Results {
    				z.Results[za0001], bts, err = msgp.ReadIntBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Results", za0001)
    					return
    				}
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    				err = msgp.WrapError(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    	}
    	if x.metaVer > xlMetaVersion {
    		return x, buf, fmt.Errorf("decodeXLHeaders: Unknown xl meta version %d", x.metaVer)
    	}
    	x.versions, buf, err = msgp.ReadIntBytes(buf)
    	if err != nil {
    		return x, buf, err
    	}
    	if x.versions < 0 {
    		return x, buf, fmt.Errorf("decodeXLHeaders: Negative version count %d", x.versions)
    	}
    	return x, buf, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics_gen.go

    				var za0002 int
    				zb0003--
    				za0001, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "ErrCounts")
    					return
    				}
    				za0002, bts, err = msgp.ReadIntBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "ErrCounts", za0001)
    					return
    				}
    				z.ErrCounts[za0001] = za0002
    			}
    		default:
    			bts, err = msgp.Skip(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2.go

    	}
    	if metaVer > xlMetaVersion {
    		return 0, 0, 0, buf, fmt.Errorf("decodeXLHeaders: Unknown xl meta version %d", metaVer)
    	}
    	versions, buf, err = msgp.ReadIntBytes(buf)
    	if err != nil {
    		return 0, 0, 0, buf, err
    	}
    	if versions < 0 {
    		return 0, 0, 0, buf, fmt.Errorf("decodeXLHeaders: Negative version count %d", versions)
    	}
    	return versions, hdrVer, metaVer, buf, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
Back to top