Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for quoteWith (0.11 sec)

  1. src/strconv/quote.go

    const (
    	lowerhex = "0123456789abcdef"
    	upperhex = "0123456789ABCDEF"
    )
    
    // contains reports whether the string contains the byte c.
    func contains(s string, c byte) bool {
    	return index(s, c) != -1
    }
    
    func quoteWith(s string, quote byte, ASCIIonly, graphicOnly bool) string {
    	return string(appendQuotedWith(make([]byte, 0, 3*len(s)/2), s, quote, ASCIIonly, graphicOnly))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:28 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top