Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,813 for Leading (0.16 sec)

  1. src/crypto/rsa/boring_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = asn1.Marshal(k.PublicKey)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestBoringVerify(t *testing.T) {
    	// Check that signatures that lack leading zeroes don't verify.
    	key := &PublicKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 00:16:30 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  2. test/fixedbugs/issue20145.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 20145: some func types weren't dowidth-ed by the front end,
    // leading to races in the backend.
    
    package p
    
    func f() {
    	_ = (func())(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 27 22:10:32 UTC 2017
    - 321 bytes
    - Viewed (0)
  3. src/fmt/doc.go

    	%x	base 16, lower-case, two characters per byte
    	%X	base 16, upper-case, two characters per byte
    
    Slice:
    
    	%p	address of 0th element in base 16 notation, with leading 0x
    
    Pointer:
    
    	%p	base 16 notation, with leading 0x
    	The %b, %d, %o, %x and %X verbs also work with pointers,
    	formatting the value exactly as if it were an integer.
    
    The default format for %v is:
    
    	bool:                    %t
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. src/path/filepath/path_windows.go

    	var lastChar byte
    	for _, e := range elem {
    		switch {
    		case b.Len() == 0:
    			// Add the first non-empty path element unchanged.
    		case os.IsPathSeparator(lastChar):
    			// If the path ends in a slash, strip any leading slashes from the next
    			// path element to avoid creating a UNC path (any path starting with "\\")
    			// from non-UNC elements.
    			//
    			// The correct behavior for Join when the first element is an incomplete UNC
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/str/path.go

    			return strings.HasPrefix(s, prefix)
    		}
    		return s[len(prefix)] == filepath.Separator && s[:len(prefix)] == prefix
    	}
    }
    
    // TrimFilePathPrefix returns s without the leading path elements in prefix,
    // such that joining the string to prefix produces s.
    //
    // If s does not start with prefix (HasFilePathPrefix with the same arguments
    // returns false), TrimFilePathPrefix returns s. If s equals prefix,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. pkg/api/service/warnings.go

    	}
    
    	return warnings
    }
    
    func getWarningsForIP(fieldPath *field.Path, address string) []string {
    	// IPv4 addresses with leading zeros CVE-2021-29923 are not valid in golang since 1.17
    	// This will also warn about possible future changes on the golang std library
    	// xref: https://issues.k8s.io/108074
    	ip, err := netip.ParseAddr(address)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 26 22:57:57 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. src/cmd/go/internal/imports/read.go

    	b    *bufio.Reader
    	buf  []byte
    	peek byte
    	err  error
    	eof  bool
    	nerr int
    }
    
    var bom = []byte{0xef, 0xbb, 0xbf}
    
    func newImportReader(b *bufio.Reader) *importReader {
    	// Remove leading UTF-8 BOM.
    	// Per https://golang.org/ref/spec#Source_code_representation:
    	// a compiler may ignore a UTF-8-encoded byte order mark (U+FEFF)
    	// if it is the first Unicode code point in the source text.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 15 18:42:11 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/xml/XmlValidation.java

                    nsCount++;
                    if (nsCount > 1) {
                        return false;
                    }
                    if (pos > 0) {
                        // non leading ':'
                        nsPos = pos + 1;
                    }
                    // else leading ':', this is ok
                } else if (pos == nsPos) {
                    if (!isValidNameStartChar(ch)) {
                        return false;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 22 14:56:07 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go

    	if scale == nil {
    		return nil
    	}
    
    	var allErrs field.ErrorList
    
    	// validate specReplicas
    	specReplicasPath := strings.TrimPrefix(scale.SpecReplicasPath, ".") // ignore leading period
    	specReplicas, _, err := unstructured.NestedInt64(obj.UnstructuredContent(), strings.Split(specReplicasPath, ".")...)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 14:00:05 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_gopath_order.txt

    # golang.org/issue/14176#issuecomment-179895769
    # golang.org/issue/14192
    # -I arguments to compiler could end up not in GOPATH order,
    # leading to unexpected import resolution in the compiler.
    
    env GO111MODULE=off
    env GOPATH=$WORK/p1${:}$WORK/p2
    mkdir $WORK/p1/src/foo $WORK/p2/src/baz
    mkdir $WORK/p2/pkg/${GOOS}_${GOARCH} $WORK/p1/src/bar
    cp foo.go $WORK/p1/src/foo/foo.go
    cp baz.go $WORK/p2/src/baz/baz.go
    cp foo.a $WORK/p2/pkg/${GOOS}_${GOARCH}/foo.a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 17 13:25:29 UTC 2020
    - 855 bytes
    - Viewed (0)
Back to top