Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for AppendUint (0.19 sec)

  1. src/net/http/http.go

    	}
    	b := make([]byte, 0, newLen)
    	var pos int
    	for i := 0; i < len(s); i++ {
    		if s[i] >= utf8.RuneSelf {
    			if pos < i {
    				b = append(b, s[pos:i]...)
    			}
    			b = append(b, '%')
    			b = strconv.AppendInt(b, int64(s[i]), 16)
    			pos = i + 1
    		}
    	}
    	if pos < len(s) {
    		b = append(b, s[pos:]...)
    	}
    	return string(b)
    }
    
    // NoBody is an [io.ReadCloser] with no bytes. Read always returns EOF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. cmd/bootstrap-peer-server_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 3
    	// string "NEndpoints"
    	o = append(o, 0x83, 0xaa, 0x4e, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73)
    	o = msgp.AppendInt(o, z.NEndpoints)
    	// string "CmdLines"
    	o = append(o, 0xa8, 0x43, 0x6d, 0x64, 0x4c, 0x69, 0x6e, 0x65, 0x73)
    	o = msgp.AppendArrayHeader(o, uint32(len(z.CmdLines)))
    	for za0001 := range z.CmdLines {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 24 21:36:44 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. cmd/metacache-walk_gen.go

    	// string "ForwardTo"
    	o = append(o, 0xa9, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x54, 0x6f)
    	o = msgp.AppendString(o, z.ForwardTo)
    	// string "Limit"
    	o = append(o, 0xa5, 0x4c, 0x69, 0x6d, 0x69, 0x74)
    	o = msgp.AppendInt(o, z.Limit)
    	// string "DiskID"
    	o = append(o, 0xa6, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x44)
    	o = msgp.AppendString(o, z.DiskID)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
Back to top