Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for Leading (0.3 sec)

  1. src/regexp/syntax/parse.go

    		return nil, 0
    	}
    	return re.Rune, re.Flags & FoldCase
    }
    
    // removeLeadingString removes the first n leading runes
    // from the beginning of re. It returns the replacement for re.
    func (p *parser) removeLeadingString(re *Regexp, n int) *Regexp {
    	if re.Op == OpConcat && len(re.Sub) > 0 {
    		// Removing a leading string in a concatenation
    		// might simplify the concatenation.
    		sub := re.Sub[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. pkg/apis/certificates/validation/validation_test.go

    -----END CERTIFICATE-----
    Trailing non-PEM content
    `)
    
    	invalidCertificateEmptyPEM = []byte(`
    Leading non-PEM content
    -----BEGIN CERTIFICATE-----
    -----END CERTIFICATE-----
    Trailing non-PEM content
    `)
    
    	// first character is invalid
    	invalidCertificateNonASN1Data = []byte(`
    Leading non-PEM content
    -----BEGIN CERTIFICATE-----
    MIIBqDCCAU2gAwIBAgIUfbqeieihh/oERbfvRm38XvS/xHAwCgYIKoZIzj0EAwIw
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  3. src/go/build/build.go

    		}
    		break
    	}
    	return data
    }
    
    // parseWord skips any leading spaces or comments in data
    // and then parses the beginning of data as an identifier or keyword,
    // returning that word and what remains after the word.
    func parseWord(data []byte) (word, rest []byte) {
    	data = skipSpaceOrComment(data)
    
    	// Parse past leading word characters.
    	rest = data
    	for {
    		r, size := utf8.DecodeRune(rest)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  4. pkg/apis/networking/validation/validation_test.go

    		path         string
    		expectedErrs field.ErrorList
    	}{
    		"implementation specific: no leading slash": {
    			pathType:     networking.PathTypeImplementationSpecific,
    			path:         "foo",
    			expectedErrs: field.ErrorList{field.Invalid(fldPath, "foo", "must be an absolute path")},
    		},
    		"implementation specific: leading slash": {
    			pathType:     networking.PathTypeImplementationSpecific,
    			path:         "/foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  5. src/net/url/url_test.go

    			Path:     "/a b",
    			RawQuery: "q=c+d",
    		},
    		"",
    	},
    	// path without leading /, so no parsing
    	{
    		"http:www.google.com/?q=go+language",
    		&URL{
    			Scheme:   "http",
    			Opaque:   "www.google.com/",
    			RawQuery: "q=go+language",
    		},
    		"http:www.google.com/?q=go+language",
    	},
    	// path without leading /, so no parsing
    	{
    		"http:%2f%2fwww.google.com/?q=go+language",
    		&URL{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:52:38 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/time/format.go

    }
    
    // String returns the time formatted using the format string
    //
    //	"2006-01-02 15:04:05.999999999 -0700 MST"
    //
    // If the time has a monotonic clock reading, the returned string
    // includes a final field "m=±<value>", where value is the monotonic
    // clock reading formatted as a decimal number of seconds.
    //
    // The returned string is meant for debugging; for a stable serialized
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  7. src/net/netip/netip_test.go

    			wantErr: `ParseAddr("010.000.015.001"): IPv4 field has octet with leading zero`,
    		},
    		// IPv4 address with a silly amount of leading zeros.
    		{
    			in:      "000001.00000002.00000003.000000004",
    			wantErr: `ParseAddr("000001.00000002.00000003.000000004"): IPv4 field has octet with leading zero`,
    		},
    		// 4-in-6 with octet with leading zero
    		{
    			in:      "::ffff:1.2.03.4",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

          if (exceptionMessage != null) {
            assertThat(iae).hasMessage(exceptionMessage)
          }
        }
      }
    
      @Test
      fun parseTrimsAsciiWhitespace() {
        val expected = parse("http://host/")
        // Leading.
        assertThat(parse("http://host/\u000c\n\t \r")).isEqualTo(expected)
        // Trailing.
        assertThat(parse("\r\n\u000c \thttp://host/")).isEqualTo(expected)
        // Both.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	// Peeks returns the word in *data, not as the return value.
    
    	var buf [SizeofPtr]byte
    
    	// Leading edge. PEEKTEXT/PEEKDATA don't require aligned
    	// access (PEEKUSER warns that it might), but if we don't
    	// align our reads, we might straddle an unmapped page
    	// boundary and not get the bytes leading up to the page
    	// boundary.
    	n := 0
    	if addr%SizeofPtr != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  10. src/index/suffixarray/sais2.go

    			recurse_64(sa, tmp, numLMS, maxID)
    			unmap_8_64(text, sa, numLMS)
    		} else {
    			// If maxID == numLMS, then each LMS-substring
    			// is unique, so the relative ordering of two LMS-suffixes
    			// is determined by just the leading LMS-substring.
    			// That is, the LMS-suffix sort order matches the
    			// (simpler) LMS-substring sort order.
    			// Copy the original LMS-substring order into the
    			// suffix array destination.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 23:57:18 UTC 2024
    - 52.3K bytes
    - Viewed (0)
Back to top