Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 5,666 for append1 (0.24 sec)

  1. src/vendor/golang.org/x/crypto/cryptobyte/builder.go

    		panic(b.err)
    	}
    	return b.result[b.offset:]
    }
    
    // AddUint8 appends an 8-bit value to the byte string.
    func (b *Builder) AddUint8(v uint8) {
    	b.add(byte(v))
    }
    
    // AddUint16 appends a big-endian, 16-bit value to the byte string.
    func (b *Builder) AddUint16(v uint16) {
    	b.add(byte(v>>8), byte(v))
    }
    
    // AddUint24 appends a big-endian, 24-bit value to the byte string. The highest
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. platforms/enterprise/enterprise-logging/src/main/java/org/gradle/internal/logging/text/StyledTextOutput.java

            /**
             * General purpose error text
             */
            Error
        }
    
        /**
         * Appends a character using the current style.
         *
         * @param c The character
         * @return this
         */
        @Override
        StyledTextOutput append(char c);
    
        /**
         * Appends a sequence of characters using the current style.
         *
         * @param csq The character sequence
         * @return this.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 17 10:17:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/fmt/print.go

    	s := string(p.buf)
    	p.free()
    	return s
    }
    
    // Appendln formats using the default formats for its operands, appends the result
    // to the byte slice, and returns the updated slice. Spaces are always added
    // between operands and a newline is appended.
    func Appendln(b []byte, a ...any) []byte {
    	p := newPrinter()
    	p.doPrintln(a)
    	b = append(b, p.buf...)
    	p.free()
    	return b
    }
    
    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. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/PathTest.groovy

            path.relativePath('path') == 'path'
        }
    
        def "appends path"() {
            expect:
            path(':a:b').append(path(':c:d')) == path(':a:b:c:d')
            path(':a:b').append(path('c:d')) == path(':a:b:c:d')
            path('a:b').append(path(':c:d')) == path('a:b:c:d')
            path('a:b').append(path('c:d')) == path('a:b:c:d')
        }
    
        def "appends path to absolute path"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 12:54:37 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. 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)
  6. src/vendor/golang.org/x/net/http2/hpack/encode.go

    func appendVarInt(dst []byte, n byte, i uint64) []byte {
    	k := uint64((1 << n) - 1)
    	if i < k {
    		return append(dst, byte(i))
    	}
    	dst = append(dst, byte(k))
    	i -= k
    	for ; i >= 128; i >>= 7 {
    		dst = append(dst, byte(0x80|(i&0x7f)))
    	}
    	return append(dst, byte(i))
    }
    
    // appendHpackString appends s, as encoded in "String Literal"
    // representation, to dst and returns the extended buffer.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1alpha1/namedrulewithoperations.go

    // If called multiple times, values provided by each call will be appended to the ResourceNames field.
    func (b *NamedRuleWithOperationsApplyConfiguration) WithResourceNames(values ...string) *NamedRuleWithOperationsApplyConfiguration {
    	for i := range values {
    		b.ResourceNames = append(b.ResourceNames, values[i])
    	}
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 20:51:52 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/util/Path.java

            return getPath();
        }
    
        /**
         * Appends the supplied path to this path, returning the new path.
         * The resulting path with be absolute or relative based on the path being appended _to_.
         * It makes no difference if the _appended_ path is absolute or relative.
         *
         * <pre>
         * path(':a:b').append(path(':c:d')) == path(':a:b:c:d')
         * path(':a:b').append(path('c:d')) == path(':a:b:c:d')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 13:03:23 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutputTest.groovy

                    result.append("{style}")
                }
    
                @Override
                protected void doStartLine() {
                    result.append("{start}")
                }
    
                @Override
                protected void doLineText(CharSequence text) {
                    result.append("[")
                    result.append(text)
                    result.append("]")
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top