Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AppendUint (2.33 sec)

  1. src/crypto/x509/oid.go

    		if valEnd {
    			if start == 0 {
    				if val < 80 {
    					b.Write(strconv.AppendUint(numBuf, val/40, 10))
    					b.WriteByte('.')
    					b.Write(strconv.AppendUint(numBuf, val%40, 10))
    				} else {
    					b.WriteString("2.")
    					b.Write(strconv.AppendUint(numBuf, val-80, 10))
    				}
    			} else {
    				b.Write(strconv.AppendUint(numBuf, val, 10))
    			}
    			val = 0
    			start = i + 1
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 19:10:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. src/net/netip/netip.go

    const digits = "0123456789abcdef"
    
    // appendDecimal appends the decimal string representation of x to b.
    func appendDecimal(b []byte, x uint8) []byte {
    	// Using this function rather than strconv.AppendUint makes IPv4
    	// string building 2x faster.
    
    	if x >= 100 {
    		b = append(b, digits[x/100])
    	}
    	if x >= 10 {
    		b = append(b, digits[x/10%10])
    	}
    	return append(b, digits[x%10])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.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. cmd/object-api-datatypes_gen.go

    	o = msgp.AppendInt(o, z.PartNumberMarker)
    	// string "NextPartNumberMarker"
    	o = append(o, 0xb4, 0x4e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x72, 0x74, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x72)
    	o = msgp.AppendInt(o, z.NextPartNumberMarker)
    	// string "MaxParts"
    	o = append(o, 0xa8, 0x4d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x74, 0x73)
    	o = msgp.AppendInt(o, z.MaxParts)
    	// string "IsTruncated"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    		return
    	}
    	if z.Data == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Data)
    	}
    	o = msgp.AppendInt(o, z.NumVersions)
    	o = msgp.AppendTime(o, z.SuccessorModTime)
    	o = msgp.AppendBool(o, z.Fresh)
    	o = msgp.AppendInt(o, z.Idx)
    	if z.Checksum == nil { // allownil: if nil
    		o = msgp.AppendNil(o)
    	} else {
    		o = msgp.AppendBytes(o, z.Checksum)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
  6. src/net/http/server.go

    	if w.handlerDone.Load() && !trailers && !hasTE && bodyAllowedForStatus(w.status) && !header.has("Content-Length") && (!isHEAD || len(p) > 0) {
    		w.contentLength = int64(len(p))
    		setHeader.contentLength = strconv.AppendInt(cw.res.clenBuf[:0], int64(len(p)), 10)
    	}
    
    	// If this was an HTTP/1.0 request with keep-alive and we sent a
    	// Content-Length back, we can make this a keep-alive response ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top