Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/net/url/url.go

    			'(', ')', '*', '+', ',', ';', '=', '%', '@':
    			continue
    		default:
    			return false
    		}
    	}
    	return true
    }
    
    // stringContainsCTLByte reports whether s contains any ASCII control character.
    func stringContainsCTLByte(s string) bool {
    	for i := 0; i < len(s); i++ {
    		b := s[i]
    		if b < ' ' || b == 0x7f {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
Back to top