- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,902 for testOrg (0.19 sec)
-
src/runtime/slice_test.go
package runtime_test import ( "fmt" "testing" ) const N = 20 func BenchmarkMakeSliceCopy(b *testing.B) { const length = 32 var bytes = make([]byte, 8*length) var ints = make([]int, length) var ptrs = make([]*byte, length) b.Run("mallocmove", func(b *testing.B) { b.Run("Byte", func(b *testing.B) { var x []byte for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 09:45:44 UTC 2020 - 10.3K bytes - Viewed (0) -
src/math/cmplx/cmath_test.go
func BenchmarkAcosh(b *testing.B) { for i := 0; i < b.N; i++ { Acosh(complex(2.5, 3.5)) } } func BenchmarkAsin(b *testing.B) { 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)) } }
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/testing/testing_test.go
var testingTrueInPackageVarInit = testing.Testing() // init is part of TestTesting. func init() { if testing.Testing() { testingTrueInInit = true } } var testingProg = ` package main import ( "fmt" "testing" ) func main() { fmt.Println(testing.Testing()) } ` func TestTesting(t *testing.T) { if !testing.Testing() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 19.3K bytes - Viewed (0) -
src/runtime/map_benchmark_test.go
} func BenchmarkMapStringKeysEight_16(b *testing.B) { benchmarkMapStringKeysEight(b, 16) } func BenchmarkMapStringKeysEight_32(b *testing.B) { benchmarkMapStringKeysEight(b, 32) } func BenchmarkMapStringKeysEight_64(b *testing.B) { benchmarkMapStringKeysEight(b, 64) } func BenchmarkMapStringKeysEight_1M(b *testing.B) { benchmarkMapStringKeysEight(b, 1<<20) } func benchmarkMapStringKeysEight(b *testing.B, keySize int) { m := make(map[string]bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 16:41:16 UTC 2023 - 10.6K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
} } func TestRandomPoint(t *testing.T) { t.Run("P-224", func(t *testing.T) { testRandomPoint(t, p224()) }) t.Run("P-256", func(t *testing.T) { testRandomPoint(t, p256()) }) t.Run("P-384", func(t *testing.T) { testRandomPoint(t, p384()) }) t.Run("P-521", func(t *testing.T) { testRandomPoint(t, p521()) }) } func testRandomPoint[Point nistPoint[Point]](t *testing.T, c *nistCurve[Point]) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0) -
src/runtime/race/testdata/mop_test.go
} func TestRaceIntRWGlobalFuncs(t *testing.T) { go GlobalFunc1() go GlobalFunc2() <-GlobalCh <-GlobalCh } func TestRaceIntRWClosures(t *testing.T) { var x, y int _ = y ch := make(chan int, 2) go func() { y = x ch <- 1 }() go func() { x = 1 ch <- 1 }() <-ch <-ch } func TestNoRaceIntRWClosures(t *testing.T) { var x, y int _ = y
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 23 16:46:25 UTC 2023 - 28.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
import com.google.common.collect.testing.ListTestSuiteBuilder; import com.google.common.collect.testing.NavigableSetTestSuiteBuilder; import com.google.common.collect.testing.features.CollectionFeature; import com.google.common.collect.testing.features.CollectionSize; import com.google.common.collect.testing.google.SetGenerators.ImmutableSortedSetAsListGenerator;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 45.1K bytes - Viewed (0) -
src/encoding/json/bench_test.go
func BenchmarkUnmarshalString(b *testing.B) { b.ReportAllocs() data := []byte(`"hello, world"`) b.RunParallel(func(pb *testing.PB) { var s string for pb.Next() { if err := Unmarshal(data, &s); err != nil { b.Fatalf("Unmarshal error: %v", err) } } }) } func BenchmarkUnmarshalFloat64(b *testing.B) { b.ReportAllocs() data := []byte(`3.14`) b.RunParallel(func(pb *testing.PB) { var f float64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:00:17 UTC 2024 - 12.5K bytes - Viewed (0) -
src/runtime/pinner_test.go
} } func BenchmarkPinnerPinUnpinParallel(b *testing.B) { b.RunParallel(func(pb *testing.PB) { p := new(obj) for pb.Next() { var pinner runtime.Pinner pinner.Pin(p) pinner.Unpin() } }) } func BenchmarkPinnerPinUnpinParallelTiny(b *testing.B) { b.RunParallel(func(pb *testing.PB) { p := new(bool) for pb.Next() { var pinner runtime.Pinner pinner.Pin(p)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:36:12 UTC 2023 - 11K bytes - Viewed (0) -
src/encoding/binary/binary_test.go
buf, err := enc.fn(order, s1) checkResult(t, enc.name, order, err, buf, b) }) } } func TestLittleEndianRead(t *testing.T) { testRead(t, LittleEndian, little, s) } func TestLittleEndianWrite(t *testing.T) { testWrite(t, LittleEndian, little, s) } func TestLittleEndianPtrWrite(t *testing.T) { testWrite(t, LittleEndian, little, &s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 19:16:18 UTC 2024 - 25.4K bytes - Viewed (0)