Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for RawBytes (0.12 sec)

  1. src/reflect/benchmark_test.go

    }
    
    func BenchmarkBytes(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		sinkAll.RawBytes = sourceAll.Bytes.Bytes()
    	}
    }
    
    func BenchmarkNamedBytes(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		sinkAll.RawBytes = sourceAll.NamedBytes.Bytes()
    	}
    }
    
    func BenchmarkBytesArray(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		sinkAll.RawBytes = sourceAll.BytesArray.Bytes()
    	}
    }
    
    func BenchmarkSliceLen(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Nov 19 17:09:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top