Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Brown (0.2 sec)

  1. src/bytes/bytes_test.go

    				for i := 0; i < b.N; i++ {
    					Trim(x[:k], cs[:j])
    				}
    			})
    		}
    	}
    }
    
    func BenchmarkTrimByte(b *testing.B) {
    	x := []byte("  the quick brown fox   ")
    	for i := 0; i < b.N; i++ {
    		Trim(x, " ")
    	}
    }
    
    func BenchmarkIndexPeriodic(b *testing.B) {
    	key := []byte{1, 1}
    	for _, skip := range [...]int{2, 4, 8, 16, 32, 64} {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top