- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for benchmarkData (0.39 sec)
-
test/fixedbugs/issue29329.go
// license that can be found in the LICENSE file. package main import ( "fmt" ) type LineString []Point type Point [2]float64 //go:noinline func benchmarkData() LineString { return LineString{{1.0, 2.0}} } func (ls LineString) Clone() LineString { ps := MultiPoint(ls) return LineString(ps.Clone()) } type MultiPoint []Point
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.9K bytes - Viewed (0) -
src/image/image_test.go
"want (0x%04X, 0x%04X, 0x%04X, 0x%04X)", tc, got.R, got.G, got.B, got.A, wantR, wantG, wantB, wantA) continue } } } func BenchmarkAt(b *testing.B) { for _, tc := range testImages { b.Run(tc.name, func(b *testing.B) { m := tc.image() b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { m.At(4, 5) } })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 30 02:00:49 UTC 2021 - 10.8K bytes - Viewed (0) -
src/math/cmplx/cmath_test.go
for i := 0; i < b.N; i++ { Asin(complex(2.5, 3.5)) } } func BenchmarkAsinh(b *testing.B) { for i := 0; i < b.N; i++ { Asinh(complex(2.5, 3.5)) } } func BenchmarkAtan(b *testing.B) { for i := 0; i < b.N; i++ { Atan(complex(2.5, 3.5)) } } func BenchmarkAtanh(b *testing.B) { for i := 0; i < b.N; i++ { Atanh(complex(2.5, 3.5)) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 48.1K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1) -
src/time/time_test.go
for i := 0; i < b.N; i++ { _ = t.Hour() } } func BenchmarkSecond(b *testing.B) { t := Now() for i := 0; i < b.N; i++ { _ = t.Second() } } func BenchmarkDate(b *testing.B) { t := Now() for i := 0; i < b.N; i++ { _, _, _ = t.Date() } } func BenchmarkYear(b *testing.B) { t := Now() for i := 0; i < b.N; i++ { _ = t.Year() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
src/math/all_test.go
x = Asin(.5) } GlobalF = x } func BenchmarkAsinh(b *testing.B) { x := 0.0 for i := 0; i < b.N; i++ { x = Asinh(.5) } GlobalF = x } func BenchmarkAtan(b *testing.B) { x := 0.0 for i := 0; i < b.N; i++ { x = Atan(.5) } GlobalF = x } func BenchmarkAtanh(b *testing.B) { x := 0.0 for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0)