Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for intSize (0.17 sec)

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

    func (z *ErasureInfo) Msgsize() (s int) {
    	s = 1 + 10 + msgp.StringPrefixSize + len(z.Algorithm) + 11 + msgp.IntSize + 13 + msgp.IntSize + 10 + msgp.Int64Size + 6 + msgp.IntSize + 13 + msgp.ArrayHeaderSize + (len(z.Distribution) * (msgp.IntSize)) + 10 + msgp.ArrayHeaderSize
    	for za0002 := range z.Checksums {
    		s += z.Checksums[za0002].Msgsize()
    	}
    	return
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes_gen.go

    	s = 1 + 7 + msgp.StringPrefixSize + len(z.Bucket) + 7 + msgp.StringPrefixSize + len(z.Object) + 9 + msgp.StringPrefixSize + len(z.UploadID) + 13 + msgp.StringPrefixSize + len(z.StorageClass) + 17 + msgp.IntSize + 21 + msgp.IntSize + 9 + msgp.IntSize + 12 + msgp.BoolSize + 6 + msgp.ArrayHeaderSize
    	for za0001 := range z.Parts {
    		s += z.Parts[za0001].Msgsize()
    	}
    	s += 12 + msgp.MapHeaderSize
    	if z.UserDefined != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  3. internal/config/cache/remote_gen.go

    	if z.Metadata != nil {
    		for za0001, za0002 := range z.Metadata {
    			_ = za0002
    			s += msgp.StringPrefixSize + len(za0001) + msgp.StringPrefixSize + len(za0002)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  4. cmd/batch-handlers_gen.go

    func (z *batchJobInfo) Msgsize() (s int) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 06 20:27:52 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. test/newinline.go

    		panic("Numbers")
    	default:
    		return "oh nose!"
    	}
    }
    func switchConst4() { // ERROR "can inline switchConst4"
    	const intSize = 32 << (^uint(0) >> 63)
    	want := func() string { // ERROR "can inline switchConst4.func1"
    		switch intSize {
    		case 32:
    			return "32"
    		case 64:
    			return "64"
    		default:
    			panic("unreachable")
    		}
    	}() // ERROR "inlining call to switchConst4.func1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. test/inline.go

    		panic("Numbers")
    	default:
    		return "oh nose!"
    	}
    }
    func switchConst4() { // ERROR "can inline switchConst4"
    	const intSize = 32 << (^uint(0) >> 63)
    	want := func() string { // ERROR "can inline switchConst4.func1"
    		switch intSize {
    		case 32:
    			return "32"
    		case 64:
    			return "64"
    		default:
    			panic("unreachable")
    		}
    	}() // ERROR "inlining call to switchConst4.func1"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. src/runtime/string_test.go

    	b := ([]byte)(s)
    	if !isZeroed(b[len(b):cap(b)]) {
    		t.Errorf("extra bytes not zeroed")
    	}
    	r := ([]rune)(s)
    	if !isZeroedR(r[len(r):cap(r)]) {
    		t.Errorf("extra runes not zeroed")
    	}
    }
    
    const intSize = 32 << (^uint(0) >> 63)
    
    type atoi64Test struct {
    	in  string
    	out int64
    	ok  bool
    }
    
    var atoi64tests = []atoi64Test{
    	{"", 0, false},
    	{"0", 0, true},
    	{"-0", 0, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
  8. cmd/background-newdisks-heal-ops_gen.go

    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *healingTracker) Msgsize() (s int) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 17:05:40 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. cmd/bootstrap-peer-server_gen.go

    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z *ServerSystemConfig) Msgsize() (s int) {
    	s = 1 + 11 + msgp.IntSize + 9 + msgp.ArrayHeaderSize
    	for za0001 := range z.CmdLines {
    		s += msgp.StringPrefixSize + len(z.CmdLines[za0001])
    	}
    	s += 9 + msgp.MapHeaderSize
    	if z.MinioEnv != nil {
    		for za0002, za0003 := range z.MinioEnv {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 21:36:44 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. cmd/bucket-replication-utils_gen.go

    func (z *BucketReplicationResyncStatus) Msgsize() (s int) {
    	s = 1 + 2 + msgp.IntSize + 4 + msgp.MapHeaderSize
    	if z.TargetsMap != nil {
    		for za0001, za0002 := range z.TargetsMap {
    			_ = za0002
    			s += msgp.StringPrefixSize + len(za0001) + za0002.Msgsize()
    		}
    	}
    	s += 3 + msgp.IntSize + 3 + msgp.TimeSize
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
Back to top