Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for AppendUint (0.18 sec)

  1. cmd/bucket-replication-utils_gen.go

    		// string "o"
    		o = append(o, 0xa1, 0x6f)
    		o = msgp.AppendString(o, za0002.Object)
    		// string "rc"
    		o = append(o, 0xa2, 0x72, 0x63)
    		o = msgp.AppendInt(o, za0002.RetryCount)
    	}
    	// string "v"
    	o = append(o, 0xa1, 0x76)
    	o = msgp.AppendInt(o, z.Version)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *MRFReplicateEntries) UnmarshalMsg(bts []byte) (o []byte, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  2. cmd/storage-rest-common_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "id"
    	o = append(o, 0x83, 0xa2, 0x69, 0x64)
    	o = msgp.AppendString(o, z.DiskID)
    	// string "m"
    	o = append(o, 0xa1, 0x6d)
    	o = msgp.AppendInt(o, z.ScanMode)
    	// string "c"
    	o = append(o, 0xa1, 0x63)
    	if z.Cache == nil {
    		o = msgp.AppendNil(o)
    	} else {
    		o, err = z.Cache.MarshalMsg(o)
    		if err != nil {
    			err = msgp.WrapError(err, "Cache")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. cmd/batch-expire_gen.go

    	o = append(o, 0xa5, 0x50, 0x75, 0x72, 0x67, 0x65)
    	// map header, size 1
    	// string "RetainVersions"
    	o = append(o, 0x81, 0xae, 0x52, 0x65, 0x74, 0x61, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73)
    	o = msgp.AppendInt(o, z.Purge.RetainVersions)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BatchJobExpireFilter) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  4. src/expvar/expvar.go

    }
    
    func (v *Int) Value() int64 {
    	return v.i.Load()
    }
    
    func (v *Int) String() string {
    	return string(v.appendJSON(nil))
    }
    
    func (v *Int) appendJSON(b []byte) []byte {
    	return strconv.AppendInt(b, v.i.Load(), 10)
    }
    
    func (v *Int) Add(delta int64) {
    	v.i.Add(delta)
    }
    
    func (v *Int) Set(value int64) {
    	v.i.Store(value)
    }
    
    // Float is a 64-bit float variable that satisfies the [Var] interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 21:32:11 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. internal/dsync/lock-args_gen.go

    	// string "Owner"
    	o = append(o, 0xa5, 0x4f, 0x77, 0x6e, 0x65, 0x72)
    	o = msgp.AppendString(o, z.Owner)
    	// string "Quorum"
    	o = append(o, 0xa6, 0x51, 0x75, 0x6f, 0x72, 0x75, 0x6d)
    	o = msgp.AppendInt(o, z.Quorum)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *LockArgs) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_gen.go

    	o = msgp.AppendUint8(o, uint8(z.ErasureAlgorithm))
    	// string "EcM"
    	o = append(o, 0xa3, 0x45, 0x63, 0x4d)
    	o = msgp.AppendInt(o, z.ErasureM)
    	// string "EcN"
    	o = append(o, 0xa3, 0x45, 0x63, 0x4e)
    	o = msgp.AppendInt(o, z.ErasureN)
    	// string "EcBSize"
    	o = append(o, 0xa7, 0x45, 0x63, 0x42, 0x53, 0x69, 0x7a, 0x65)
    	o = msgp.AppendInt64(o, z.ErasureBlockSize)
    	// string "EcIndex"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 53.8K bytes
    - Viewed (0)
  7. cmd/batch-job-common-types_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 2
    	// string "Attempts"
    	o = append(o, 0x82, 0xa8, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73)
    	o = msgp.AppendInt(o, z.Attempts)
    	// string "Delay"
    	o = append(o, 0xa5, 0x44, 0x65, 0x6c, 0x61, 0x79)
    	o = msgp.AppendDuration(o, z.Delay)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  8. src/net/http/cookie.go

    	if validCookieExpires(c.Expires) {
    		b.WriteString("; Expires=")
    		b.Write(c.Expires.UTC().AppendFormat(buf[:0], TimeFormat))
    	}
    	if c.MaxAge > 0 {
    		b.WriteString("; Max-Age=")
    		b.Write(strconv.AppendInt(buf[:0], int64(c.MaxAge), 10))
    	} else if c.MaxAge < 0 {
    		b.WriteString("; Max-Age=0")
    	}
    	if c.HttpOnly {
    		b.WriteString("; HttpOnly")
    	}
    	if c.Secure {
    		b.WriteString("; Secure")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. cmd/bucket-replication-metrics_gen.go

    	// map header, size 3
    	// string "Curr"
    	o = append(o, 0x83, 0xa4, 0x43, 0x75, 0x72, 0x72)
    	o = msgp.AppendInt(o, z.Curr)
    	// string "Avg"
    	o = append(o, 0xa3, 0x41, 0x76, 0x67)
    	o = msgp.AppendFloat32(o, z.Avg)
    	// string "Max"
    	o = append(o, 0xa3, 0x4d, 0x61, 0x78)
    	o = msgp.AppendInt(o, z.Max)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. src/time/format_test.go

    		{0, 9, "000000000"},
    		{123, 9, "000000123"},
    		{123456, 9, "000123456"},
    		{123456789, 9, "123456789"},
    	}
    	var got []byte
    	for _, tt := range tests {
    		got = AppendInt(got[:0], tt.in, tt.width)
    		if string(got) != tt.want {
    			t.Errorf("appendInt(%d, %d) = %s, want %s", tt.in, tt.width, got, tt.want)
    		}
    	}
    }
    
    type FormatTest struct {
    	name   string
    	format string
    	result string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top