Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Jack (0.12 sec)

  1. src/bytes/bytes.go

    	// Fast path for ASCII: look for the first ASCII non-space byte
    	start := 0
    	for ; start < len(s); start++ {
    		c := s[start]
    		if c >= utf8.RuneSelf {
    			// If we run into a non-ASCII byte, fall back to the
    			// slower unicode-aware method on the remaining bytes
    			return TrimFunc(s[start:], unicode.IsSpace)
    		}
    		if asciiSpace[c] == 0 {
    			break
    		}
    	}
    
    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)
Back to top