Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 49 of 49 for AppendUint (0.34 sec)

  1. 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)
  2. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"AppendBool", Func, 0},
    		{"AppendFloat", Func, 0},
    		{"AppendInt", Func, 0},
    		{"AppendQuote", Func, 0},
    		{"AppendQuoteRune", Func, 0},
    		{"AppendQuoteRuneToASCII", Func, 0},
    		{"AppendQuoteRuneToGraphic", Func, 6},
    		{"AppendQuoteToASCII", Func, 0},
    		{"AppendQuoteToGraphic", Func, 6},
    		{"AppendUint", Func, 0},
    		{"Atoi", Func, 0},
    		{"CanBackquote", Func, 0},
    		{"ErrRange", Var, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  3. src/fmt/print.go

    		if state.Flag(int(c)) { // The argument is an int for historical reasons.
    			b = append(b, byte(c))
    		}
    	}
    	if w, ok := state.Width(); ok {
    		b = strconv.AppendInt(b, int64(w), 10)
    	}
    	if p, ok := state.Precision(); ok {
    		b = append(b, '.')
    		b = strconv.AppendInt(b, int64(p), 10)
    	}
    	b = utf8.AppendRune(b, verb)
    	return string(b)
    }
    
    // Use simple []byte instead of bytes.Buffer to avoid large dependency.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_gen.go

    		// string "ts"
    		o = append(o, 0x83, 0xa2, 0x74, 0x73)
    		o = msgp.AppendUint64(o, za0002.TotalSize)
    		// string "nv"
    		o = append(o, 0xa2, 0x6e, 0x76)
    		o = msgp.AppendInt(o, za0002.NumVersions)
    		// string "no"
    		o = append(o, 0xa2, 0x6e, 0x6f)
    		o = msgp.AppendInt(o, za0002.NumObjects)
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *allTierStats) 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
    - 100.8K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go

    				}
    			}
    		}
    	}
    
    	return "", fmt.Errorf("can't find path for %v in %s", obj, pkg.Path())
    }
    
    func appendOpArg(path []byte, op byte, arg int) []byte {
    	path = append(path, op)
    	path = strconv.AppendInt(path, int64(arg), 10)
    	return path
    }
    
    // concreteMethod returns the path for meth, which must have a non-nil receiver.
    // The second return value indicates success and may be false if the method is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. 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)
  7. src/encoding/asn1/asn1.go

    }
    
    func (oi ObjectIdentifier) String() string {
    	var s strings.Builder
    	s.Grow(32)
    
    	buf := make([]byte, 0, 19)
    	for i, v := range oi {
    		if i > 0 {
    			s.WriteByte('.')
    		}
    		s.Write(strconv.AppendInt(buf, int64(v), 10))
    	}
    
    	return s.String()
    }
    
    // parseObjectIdentifier parses an OBJECT IDENTIFIER from the given bytes and
    // returns it. An object identifier is a sequence of variable length integers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  8. cmd/site-replication-metrics_gen.go

    	o = append(o, 0xa9, 0x45, 0x72, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73)
    	o = msgp.AppendMapHeader(o, uint32(len(z.ErrCounts)))
    	for za0001, za0002 := range z.ErrCounts {
    		o = msgp.AppendString(o, za0001)
    		o = msgp.AppendInt(o, za0002)
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *RTimedMetrics) 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 Feb 06 06:00:45 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  9. 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