Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ToUpper (0.17 sec)

  1. 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)
Back to top