Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for bts (0.01 sec)

  1. cmd/data-usage-cache_gen.go

    				zb0002--
    				za0001, bts, err = msgp.ReadStringBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Tiers")
    					return
    				}
    				var zb0003 uint32
    				zb0003, bts, err = msgp.ReadMapHeaderBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "Tiers", za0001)
    					return
    				}
    				for zb0003 > 0 {
    					zb0003--
    					field, bts, err = msgp.ReadMapKeyZC(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)
  2. cmd/data-usage-cache_gen_test.go

    	v := dataUsageCache{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshaldataUsageCache(b *testing.B) {
    	v := dataUsageCache{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. cmd/bucket-metadata_gen.go

    		case "Name":
    			z.Name, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Name")
    				return
    			}
    		case "Created":
    			z.Created, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Created")
    				return
    			}
    		case "LockEnabled":
    			z.LockEnabled, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    	}
    	z.XLV1, bts, err = msgp.ReadBoolBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "XLV1")
    		return
    	}
    	z.ModTime, bts, err = msgp.ReadTimeBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	z.Size, bts, err = msgp.ReadInt64Bytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "Size")
    		return
    	}
    	z.Mode, bts, err = msgp.ReadUint32Bytes(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)
  5. cmd/xl-storage-format-v2_gen.go

    				z.PartNumbers[za0004], bts, err = msgp.ReadIntBytes(bts)
    				if err != nil {
    					err = msgp.WrapError(err, "PartNumbers", za0004)
    					return
    				}
    			}
    		case "PartETags":
    			if msgp.IsNil(bts) {
    				bts = bts[1:]
    				z.PartETags = nil
    			} else {
    				var zb0006 uint32
    				zb0006, bts, err = msgp.ReadArrayHeaderBytes(bts)
    				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)
  6. cmd/xl-storage-format-v1_gen.go

    		case "Algorithm":
    			z.Algorithm, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Algorithm")
    				return
    			}
    		case "DataBlocks":
    			z.DataBlocks, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "DataBlocks")
    				return
    			}
    		case "ParityBlocks":
    			z.ParityBlocks, bts, err = msgp.ReadIntBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    		return
    	}
    	z.ModTime, bts, err = msgp.ReadInt64Bytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	bts, err = msgp.ReadExactBytes(bts, (z.Signature)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "Signature")
    		return
    	}
    	{
    		var zb0002 uint8
    		zb0002, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err, "Type")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v1.go

    	c := *m
    	// Zero unimportant fields
    	c.Erasure.Index = 0
    	c.Minio.Release = ""
    	crc := hashDeterministicString(c.Meta)
    	c.Meta = nil
    
    	if bts, err := c.MarshalMsg(metaDataPoolGet()); err == nil {
    		crc ^= xxhash.Sum64(bts)
    		metaDataPoolPut(bts)
    	}
    
    	// Combine upper and lower part
    	var tmp [4]byte
    	binary.LittleEndian.PutUint32(tmp[:], uint32(crc^(crc>>32)))
    	return tmp
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    		return errFileCorrupt
    	}
    	// bts will shrink as we decode.
    	bts := allMeta
    	var field []byte
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		return msgp.WrapError(err, "loadLegacy.ReadMapHeader")
    	}
    
    	var tmp xlMetaV2Version
    	for zb0001 > 0 {
    		zb0001--
    		field, bts, err = msgp.ReadMapKeyZC(bts)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  10. cmd/data-usage-cache.go

    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *dataUsageHashMap) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0002 uint32
    	zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0002 == 0 {
    		*z = nil
    		return bts, nil
    	}
    	*z = make(dataUsageHashMap, zb0002)
    	for i := uint32(0); i < zb0002; i++ {
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top