Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,752 for Appendp (0.16 sec)

  1. src/fmt/print.go

    	p.doPrintf(format, a)
    	s := string(p.buf)
    	p.free()
    	return s
    }
    
    // Appendf formats according to a format specifier, appends the result to the byte
    // slice, and returns the updated slice.
    func Appendf(b []byte, format string, a ...any) []byte {
    	p := newPrinter()
    	p.doPrintf(format, a)
    	b = append(b, p.buf...)
    	p.free()
    	return b
    }
    
    // These routines do not take a format string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  2. internal/logger/reqinfo.go

    			updated = true
    			break
    		}
    	}
    	if !updated {
    		// Append to the end of tags list
    		r.tags = append(r.tags, KeyVal{key, val})
    	}
    	return r
    }
    
    // GetTags - returns the user defined tags
    func (r *ReqInfo) GetTags() []KeyVal {
    	if r == nil {
    		return nil
    	}
    	r.RLock()
    	defer r.RUnlock()
    	return append(make([]KeyVal, 0, len(r.tags)), r.tags...)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/software/resources/src/main/java/org/gradle/internal/resource/ExternalResourceName.java

                append(this.path, parts);
            }
            append(path, parts);
            String newPath = join(leadingSlash, trailingSlash, parts);
            return new ExternalResourceName(encodedRoot, newPath);
        }
    
        /**
         * Appends the given text to the end of this path.
         */
        public ExternalResourceName append(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/net/textproto/header.go

    // keys to sets of values.
    type MIMEHeader map[string][]string
    
    // Add adds the key, value pair to the header.
    // It appends to any existing values associated with key.
    func (h MIMEHeader) Add(key, value string) {
    	key = CanonicalMIMEHeaderKey(key)
    	h[key] = append(h[key], value)
    }
    
    // Set sets the header entries associated with key to
    // the single element value. It replaces any existing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/expvar/expvar.go

    		mayAppendNewline = func(b []byte) []byte { return append(b, '\n') }
    	}
    
    	b = append(b, '{')
    	b = mayAppendNewline(b)
    	first := true
    	v.Do(func(kv KeyValue) {
    		if !first {
    			b = append(b, ',', afterCommaDelim)
    		}
    		first = false
    		b = appendJSONQuote(b, kv.Key)
    		b = append(b, ':', ' ')
    		switch v := kv.Value.(type) {
    		case nil:
    			b = append(b, "null"...)
    		case jsonVar:
    			b = v.appendJSON(b)
    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. src/cmd/trace/tasks.go

    			if summary.Start != nil {
    				rawEvents = append(rawEvents, summary.Start)
    			}
    			if summary.End != nil {
    				rawEvents = append(rawEvents, summary.End)
    			}
    			rawEvents = append(rawEvents, summary.Logs...)
    			for _, r := range summary.Regions {
    				if r.Start != nil {
    					rawEvents = append(rawEvents, r.Start)
    				}
    				if r.End != nil {
    					rawEvents = append(rawEvents, r.End)
    				}
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. src/net/netip/netip.go

    	if x >= 0x1000 {
    		b = append(b, digits[x>>12])
    	}
    	if x >= 0x100 {
    		b = append(b, digits[x>>8&0xf])
    	}
    	if x >= 0x10 {
    		b = append(b, digits[x>>4&0xf])
    	}
    	return append(b, digits[x&0xf])
    }
    
    // appendHexPad appends the fully padded hex string representation of x to b.
    func appendHexPad(b []byte, x uint16) []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  8. src/fmt/format.go

    	buf := *f.buf
    	if f.sharp {
    		// Add leading 0x or 0X.
    		buf = append(buf, '0', digits[16])
    	}
    	var c byte
    	for i := 0; i < length; i++ {
    		if f.space && i > 0 {
    			// Separate elements with a space.
    			buf = append(buf, ' ')
    			if f.sharp {
    				// Add leading 0x or 0X for each element.
    				buf = append(buf, '0', digits[16])
    			}
    		}
    		if b != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/framer/framer.go

    			data = append(data[0:0], r.remaining...)
    			r.remaining = nil
    			return n, nil
    		}
    
    		n = len(data)
    		//nolint:staticcheck // SA4006,SA4010 underlying array of data is modified here.
    		data = append(data[0:0], r.remaining[:n]...)
    		r.remaining = r.remaining[n:]
    		return n, io.ErrShortBuffer
    	}
    
    	// RawMessage#Unmarshal appends to data - we reset the slice down to 0 and will either see
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 13:33:12 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. pkg/apis/batch/validation/validation.go

    			allErrs = append(allErrs, field.Invalid(fldPath.Child("successPolicy"), *spec.SuccessPolicy, "requires indexed completion mode"))
    		} else {
    			allErrs = append(allErrs, validateSuccessPolicy(spec, fldPath.Child("successPolicy"))...)
    		}
    	}
    
    	allErrs = append(allErrs, validatePodReplacementPolicy(spec, fldPath.Child("podReplacementPolicy"))...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top