Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkEncodeFloat64Slice (0.18 sec)

  1. src/encoding/gob/timing_test.go

    		}
    	})
    }
    
    func BenchmarkEncodeComplex128Slice(b *testing.B) {
    	a := make([]complex128, 1000)
    	for i := range a {
    		a[i] = 1.2 + 3.4i
    	}
    	benchmarkEncodeSlice(b, a)
    }
    
    func BenchmarkEncodeFloat64Slice(b *testing.B) {
    	a := make([]float64, 1000)
    	for i := range a {
    		a[i] = 1.23e4
    	}
    	benchmarkEncodeSlice(b, a)
    }
    
    func BenchmarkEncodeInt32Slice(b *testing.B) {
    	a := make([]int32, 1000)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 07:16:59 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top