Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for linspace (0.17 sec)

  1. src/bufio/scan.go

    	if atEOF {
    		return len(data), dropCR(data), nil
    	}
    	// Request more data.
    	return 0, nil, nil
    }
    
    // isSpace reports whether the character is a Unicode white space character.
    // We avoid dependency on the unicode package, but check validity of the implementation
    // in the tests.
    func isSpace(r rune) bool {
    	if r <= '\u00FF' {
    		// Obvious ASCII ones: \t through \r plus space. Plus two Latin-1 oddballs.
    		switch r {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. src/bufio/scan_test.go

    // Test white space table matches the Unicode definition.
    func TestSpace(t *testing.T) {
    	for r := rune(0); r <= utf8.MaxRune; r++ {
    		if IsSpace(r) != unicode.IsSpace(r) {
    			t.Fatalf("white space property disagrees: %#U should be %t", r, unicode.IsSpace(r))
    		}
    	}
    }
    
    var scanTests = []string{
    	"",
    	"a",
    	"¼",
    	"☹",
    	"\x81",   // UTF-8 error
    	"\uFFFD", // correctly encoded RuneError
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/bytes/bytes.go

    	setBits := uint8(0)
    	for i := 0; i < len(s); i++ {
    		r := s[i]
    		setBits |= r
    		isSpace := int(asciiSpace[r])
    		n += wasSpace & ^isSpace
    		wasSpace = isSpace
    	}
    
    	if setBits >= utf8.RuneSelf {
    		// Some runes in the input slice are not ASCII.
    		return FieldsFunc(s, unicode.IsSpace)
    	}
    
    	// ASCII fast path
    	a := make([][]byte, n)
    	na := 0
    	fieldStart := 0
    	i := 0
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  4. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    civilaviation.aero civilisation.museum civilization.museum civilwar.museum ck.ua cl cl.it claims clan.rip cleaning clerk.app clerkstage.app cleverapps.io click clicketcloud.com clickrising.net clinic clinique clinton.museum clock.museum clothing cloud cloud-fr1.unispace.io cloud.fedoraproject.org cloud.goog cloud.interhostsolutions.be cloud.jelastic.open.tim.it cloud.nospamproxy.com cloud66.ws cloud66.zone cloudaccess.host cloudaccess.net cloudapp.net cloudapps.digital cloudcontrolapp.com cloudcontrolled.com cloudflare-ipfs.com...
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
Back to top