Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,752 for Appendp (0.3 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/TreeFormatter.java

                    append(value.toString());
                } else {
                    appendValues((Object[]) value);
                }
            } else if (value instanceof String) {
                append("'");
                append(value.toString());
                append("'");
            } else {
                append(value.toString());
            }
            return this;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/issues0.go

    	_ = append(f0(), f2 /* ERROR "multiple-value f2" */ ()...)
    
    	// variadic user-defined function
    	append_(f0())
    	append_(f0(), f0()...)
    	append_(f1())
    	append_(f2 /* ERRORx `cannot use .* in argument` */ ())
    	append_(f2()... /* ERROR "cannot use ..." */ )
    	append_(f0(), f1 /* ERROR "multiple-value f1" */ ())
    	append_(f0(), f2 /* ERROR "multiple-value f2" */ ())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. src/strings/builder.go

    		b.grow(n)
    	}
    }
    
    // Write appends the contents of p to b's buffer.
    // Write always returns len(p), nil.
    func (b *Builder) Write(p []byte) (int, error) {
    	b.copyCheck()
    	b.buf = append(b.buf, p...)
    	return len(p), nil
    }
    
    // WriteByte appends the byte c to b's buffer.
    // The returned error is always nil.
    func (b *Builder) WriteByte(c byte) error {
    	b.copyCheck()
    	b.buf = append(b.buf, c)
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            ["1"]       | _             | _             | "append missing, then add"                        | { it.append(notDefined()) ; it.add("1") }
            ["1"]       | ["0"]         | _             | "add missing to non-empty value, then append"     | { it.add(notDefined()) ; it.append("1") }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/strconv/quote.go

    	case '\n':
    		buf = append(buf, `\n`...)
    	case '\r':
    		buf = append(buf, `\r`...)
    	case '\t':
    		buf = append(buf, `\t`...)
    	case '\v':
    		buf = append(buf, `\v`...)
    	default:
    		switch {
    		case r < ' ' || r == 0x7f:
    			buf = append(buf, `\x`...)
    			buf = append(buf, lowerhex[byte(r)>>4])
    			buf = append(buf, lowerhex[byte(r)&0xF])
    		case !utf8.ValidRune(r):
    			r = 0xFFFD
    			fallthrough
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/unicode/utf16/utf16.go

    	case 0 <= r && r < surr1, surr3 <= r && r < surrSelf:
    		// normal rune
    		return append(a, uint16(r))
    	case surrSelf <= r && r <= maxRune:
    		// needs surrogate sequence
    		r1, r2 := EncodeRune(r)
    		return append(a, uint16(r1), uint16(r2))
    	}
    	return append(a, replacementChar)
    }
    
    // Decode returns the Unicode code point sequence represented
    // by the UTF-16 encoding s.
    func Decode(s []uint16) []rune {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:08:48 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/internal/zstd/window.go

    	}
    	if to > dataLen {
    		to -= dataLen
    		wrap = !wrap
    	}
    
    	if wrap {
    		buf = append(buf, w.data[from:]...)
    		return append(buf, w.data[:to]...)
    	} else {
    		return append(buf, w.data[from:to]...)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:49:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	b := byte(i)
    	if i >= 100 {
    		buf = append(buf, b/100+'0')
    	}
    	if i >= 10 {
    		buf = append(buf, b/10%10+'0')
    	}
    	return append(buf, b%10+'0')
    }
    
    func printByteSlice(b []byte) string {
    	if len(b) == 0 {
    		return ""
    	}
    	buf := make([]byte, 0, 5*len(b))
    	buf = printUint8Bytes(buf, uint8(b[0]))
    	for _, n := range b[1:] {
    		buf = append(buf, ',', ' ')
    		buf = printUint8Bytes(buf, uint8(n))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/builtins0.go

    	_ = append(s, "foo"...)
    	_ = append(S(s), "foo" /* ERRORx `cannot use .* in argument to append` */ )
    	_ = append(S(s), "foo"...)
    	_ = append(s, t /* ERROR "cannot use t" */ )
    	_ = append(s, t...)
    	_ = append(s, T("foo")...)
    	_ = append(S(s), t /* ERROR "cannot use t" */ )
    	_ = append(S(s), t...)
    	_ = append(S(s), T("foo")...)
    	_ = append([]string{}, t /* ERROR "cannot use t" */ , "foo")
    	_ = append([]T{}, t, "foo")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  10. src/os/exec_windows.go

    				if inquote && len(cmd) > 1 && cmd[1] == '"' {
    					b = append(b, c)
    					cmd = cmd[1:]
    				}
    				inquote = !inquote
    			} else {
    				b = append(b, c)
    			}
    			nslash = 0
    			continue
    		case '\\':
    			nslash++
    			continue
    		}
    		b = appendBSBytes(b, nslash)
    		nslash = 0
    		b = append(b, c)
    	}
    	return appendBSBytes(b, nslash), ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top