Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for rakish (0.26 sec)

  1. src/bytes/bytes.go

    //
    // Deprecated: The rule Title uses for word boundaries does not handle Unicode
    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    	// Hackish but effective. Depends on Map scanning in order and calling
    	// the closure once per rune.
    	prev := ' '
    	return Map(
    		func(r rune) rune {
    			if isSeparator(prev) {
    				prev = r
    				return unicode.ToTitle(r)
    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)
  2. src/cmd/cgo/gcc.go

    		if r.Name.Kind != "type" {
    			error_(r.Pos(), "expression C.%s used as type", fixGo(r.Name.Go))
    		} else if r.Name.Type == nil {
    			// Use of C.enum_x, C.struct_x or C.union_x without C definition.
    			// GCC won't raise an error when using pointers to such unknown types.
    			error_(r.Pos(), "type C.%s: undefined C type '%s'", fixGo(r.Name.Go), r.Name.C)
    		}
    	default:
    		if r.Name.Kind == "func" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top