Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for AppendUint (0.12 sec)

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

    	// We will fill out the correct size when we know it.
    	dst = append(dst, 0xc6, 0, 0, 0, 0)
    	dataOffset := len(dst)
    
    	dst = msgp.AppendUint(dst, xlHeaderVersion)
    	dst = msgp.AppendUint(dst, xlMetaVersion)
    	dst = msgp.AppendInt(dst, len(x.versions))
    
    	tmp := metaDataPoolGet()
    	defer metaDataPoolPut(tmp)
    	for _, ver := range x.versions {
    		var err error
    
    		// Add header
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. src/encoding/json/encode.go

    	b := e.AvailableBuffer()
    	b = mayAppendQuote(b, opts.quoted)
    	b = strconv.AppendInt(b, v.Int(), 10)
    	b = mayAppendQuote(b, opts.quoted)
    	e.Write(b)
    }
    
    func uintEncoder(e *encodeState, v reflect.Value, opts encOpts) {
    	b := e.AvailableBuffer()
    	b = mayAppendQuote(b, opts.quoted)
    	b = strconv.AppendUint(b, v.Uint(), 10)
    	b = mayAppendQuote(b, opts.quoted)
    	e.Write(b)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. src/time/format.go

    	buf = append(buf, ", "...)
    	buf = appendInt(buf, hour, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, minute, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, second, 0)
    	buf = append(buf, ", "...)
    	buf = appendInt(buf, t.Nanosecond(), 0)
    	buf = append(buf, ", "...)
    	switch loc := t.Location(); loc {
    	case UTC, nil:
    		buf = append(buf, "time.UTC"...)
    	case Local:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  4. internal/grid/grid_types_msgp_test.go

    	o = msgp.AppendInt(o, z.OrgNum)
    	// string "OrgString"
    	o = append(o, 0xa9, 0x4f, 0x72, 0x67, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67)
    	o = msgp.AppendString(o, z.OrgString)
    	// string "Embedded"
    	o = append(o, 0xa8, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64)
    	// map header, size 2
    	// string "Num"
    	o = append(o, 0x82, 0xa3, 0x4e, 0x75, 0x6d)
    	o = msgp.AppendInt(o, z.Embedded.Num)
    	// string "String"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. internal/bucket/replication/datatypes_gen.go

    		err = msgp.WrapError(err)
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z Type) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendInt(o, int(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *Type) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 int
    		zb0001, bts, err = msgp.ReadIntBytes(bts)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 19:08:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. cmd/local-locker_gen.go

    	// map header, size 3
    	// string "Total"
    	o = append(o, 0x83, 0xa5, 0x54, 0x6f, 0x74, 0x61, 0x6c)
    	o = msgp.AppendInt(o, z.Total)
    	// string "Writes"
    	o = append(o, 0xa6, 0x57, 0x72, 0x69, 0x74, 0x65, 0x73)
    	o = msgp.AppendInt(o, z.Writes)
    	// string "Reads"
    	o = append(o, 0xa5, 0x52, 0x65, 0x61, 0x64, 0x73)
    	o = msgp.AppendInt(o, z.Reads)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/math/big/ftoa.go

    		ch = '-'
    		exp = -exp
    	} else {
    		ch = '+'
    	}
    	buf = append(buf, ch)
    
    	// dd...d
    	if exp < 10 {
    		buf = append(buf, '0') // at least 2 exponent digits
    	}
    	return strconv.AppendInt(buf, exp, 10)
    }
    
    // %f: ddddddd.ddddd
    func fmtF(buf []byte, prec int, d decimal) []byte {
    	// integer, padded with zeros as needed
    	if d.exp > 0 {
    		m := min(len(d.mant), d.exp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  8. cmd/metacache-set_gen.go

    	o = msgp.AppendBool(o, z.StopDiskAtLimit)
    	// string "pool"
    	o = append(o, 0xa4, 0x70, 0x6f, 0x6f, 0x6c)
    	o = msgp.AppendInt(o, z.pool)
    	// string "set"
    	o = append(o, 0xa3, 0x73, 0x65, 0x74)
    	o = msgp.AppendInt(o, z.set)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *listPathOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/pkg.go

    // the decimal n. If prefix is too long, LookupNum panics.
    func (pkg *Pkg) LookupNum(prefix string, n int) *Sym {
    	var buf [20]byte // plenty long enough for all current users
    	copy(buf[:], prefix)
    	b := strconv.AppendInt(buf[:len(prefix)], int64(n), 10)
    	return pkg.LookupBytes(b)
    }
    
    // Selector looks up a selector identifier.
    func (pkg *Pkg) Selector(name string) *Sym {
    	if IsExported(name) {
    		pkg = LocalPkg
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:28:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. utils/utils.go

    		frame, _ := frames.Next()
    		if (!strings.HasPrefix(frame.File, gormSourceDir) ||
    			strings.HasSuffix(frame.File, "_test.go")) && !strings.HasSuffix(frame.File, ".gen.go") {
    			return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    		}
    	}
    
    	return ""
    }
    
    func IsValidDBNameChar(c rune) bool {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 22 06:43:02 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top