Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tourer (0.16 sec)

  1. src/bytes/example_test.go

    func ExampleToUpper() {
    	fmt.Printf("%s", bytes.ToUpper([]byte("Gopher")))
    	// Output: GOPHER
    }
    
    func ExampleToUpperSpecial() {
    	str := []byte("ahoj vývojári golang")
    	totitle := bytes.ToUpperSpecial(unicode.AzeriCase, str)
    	fmt.Println("Original : " + string(str))
    	fmt.Println("ToUpper : " + string(totitle))
    	// Output:
    	// Original : ahoj vývojári golang
    	// ToUpper : AHOJ VÝVOJÁRİ GOLANG
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. src/cmd/cgo/gcc.go

    	}
    }
    
    func upper(s string) string {
    	if s == "" {
    		return ""
    	}
    	r, size := utf8.DecodeRuneInString(s)
    	if r == '_' {
    		return "X" + s
    	}
    	return string(unicode.ToUpper(r)) + s[size:]
    }
    
    // godefsFields rewrites field names for use in Go or C definitions.
    // It strips leading common prefixes (like tv_ in tv_sec, tv_usec)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. src/bytes/bytes_test.go

    }
    
    func TestToUpper(t *testing.T) { runStringTests(t, ToUpper, "ToUpper", upperTests) }
    
    func TestToLower(t *testing.T) { runStringTests(t, ToLower, "ToLower", lowerTests) }
    
    func BenchmarkToUpper(b *testing.B) {
    	for _, tc := range upperTests {
    		tin := []byte(tc.in)
    		b.Run(tc.in, func(b *testing.B) {
    			for i := 0; i < b.N; i++ {
    				actual := ToUpper(tin)
    				if !Equal(actual, tc.out) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. src/bytes/bytes.go

    	for bp < n {
    		chunk := bp
    		if chunk > chunkMax {
    			chunk = chunkMax
    		}
    		bp += copy(nb[bp:], nb[:chunk])
    	}
    	return nb
    }
    
    // ToUpper returns a copy of the byte slice s with all Unicode letters mapped to
    // their upper case.
    func ToUpper(s []byte) []byte {
    	isASCII, hasLower := true, false
    	for i := 0; i < len(s); i++ {
    		c := s[i]
    		if c >= utf8.RuneSelf {
    			isASCII = false
    			break
    		}
    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)
  5. api/go1.22.txt

    pkg go/version, func IsValid(string) bool #62039
    pkg go/version, func Lang(string) string #62039
    pkg html/template, const ErrJSTemplate //deprecated #61619
    pkg io, method (*SectionReader) Outer() (ReaderAt, int64, int64) #61870
    pkg log/slog, func SetLogLoggerLevel(Level) Level #62418
    pkg math/big, method (*Rat) FloatPrec() (int, bool) #50489
    pkg math/rand/v2, func ExpFloat64() float64 #61716
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top