Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for makeASCIISet (0.06 seconds)

  1. src/bytes/bytes.go

    // This allocates a total of 32 bytes even though the upper half
    // is unused to avoid bounds checks in asciiSet.contains.
    type asciiSet [8]uint32
    
    // makeASCIISet creates a set of ASCII characters and reports whether all
    // characters in chars are ASCII.
    func makeASCIISet(chars string) (as asciiSet, ok bool) {
    	for i := 0; i < len(chars); i++ {
    		c := chars[i]
    		if c >= utf8.RuneSelf {
    			return as, false
    		}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top