Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 60 for AppendUint (0.6 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/erasure-server-pool-decom_gen.go

    func (z *PoolStatus) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "id"
    	o = append(o, 0x84, 0xa2, 0x69, 0x64)
    	o = msgp.AppendInt(o, z.ID)
    	// string "cl"
    	o = append(o, 0xa2, 0x63, 0x6c)
    	o = msgp.AppendString(o, z.CmdLine)
    	// string "lu"
    	o = append(o, 0xa2, 0x6c, 0x75)
    	o = msgp.AppendTime(o, z.LastUpdate)
    	// string "dec"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. internal/etag/etag.go

    	var n int64
    	h := md5.New()
    	for _, etag := range etags {
    		if !etag.IsMultipart() && !etag.IsEncrypted() {
    			h.Write(etag)
    			n++
    		}
    	}
    	etag := append(h.Sum(nil), '-')
    	return strconv.AppendInt(etag, n, 10)
    }
    
    // Set adds the ETag to the HTTP headers. It overwrites any
    // existing ETag entry.
    //
    // Due to legacy S3 clients, that make incorrect assumptions
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top