Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ReadUint32Bytes (0.31 sec)

  1. cmd/xl-storage-format-v2.go

    			}
    
    			if int64(len(buf)) < want {
    				return nil, fmt.Errorf("buffer shorter than expected (buflen: %d, want: %d): %w", len(buf), want, errFileCorrupt)
    			}
    
    			tmp = buf[want:]
    			_, after, err := msgp.ReadUint32Bytes(tmp)
    			if err != nil {
    				return nil, fmt.Errorf("readXLMetaNoData(read_meta): unknown metadata version %w", err)
    			}
    			want += int64(len(tmp) - len(after))
    
    			return buf[:want], err
    
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  2. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "FreeInodes")
    		return
    	}
    	z.Major, bts, err = msgp.ReadUint32Bytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "Major")
    		return
    	}
    	z.Minor, bts, err = msgp.ReadUint32Bytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "Minor")
    		return
    	}
    	z.NRRequests, bts, err = msgp.ReadUint64Bytes(bts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1_gen.go

    			}
    		case "Dir":
    			z.Dir, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Dir")
    				return
    			}
    		case "Mode":
    			z.Mode, bts, err = msgp.ReadUint32Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Mode")
    				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: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    		case "Name":
    			z.Name, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Name")
    				return
    			}
    		case "NextCycle":
    			z.NextCycle, bts, err = msgp.ReadUint32Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "NextCycle")
    				return
    			}
    		case "LastUpdate":
    			z.LastUpdate, bts, err = msgp.ReadTimeBytes(bts)
    			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)
Back to top