Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for asciiSpace (0.24 sec)

  1. src/bytes/bytes.go

    	fieldStart := 0
    	i := 0
    	// Skip spaces in the front of the input.
    	for i < len(s) && asciiSpace[s[i]] != 0 {
    		i++
    	}
    	fieldStart = i
    	for i < len(s) {
    		if asciiSpace[s[i]] == 0 {
    			i++
    			continue
    		}
    		a[na] = s[fieldStart:i:i]
    		na++
    		i++
    		// Skip spaces in between fields.
    		for i < len(s) && asciiSpace[s[i]] != 0 {
    			i++
    		}
    		fieldStart = i
    	}
    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