- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,629 for testLang (0.18 sec)
-
src/net/http/httptest/server_test.go
return ts }, } func TestServer(t *testing.T) { for _, name := range []string{"NewServer", "NewServerManual"} { t.Run(name, func(t *testing.T) { newServer := newServers[name] t.Run("Server", func(t *testing.T) { testServer(t, newServer) }) t.Run("GetAfterClose", func(t *testing.T) { testGetAfterClose(t, newServer) }) t.Run("ServerCloseBlocking", func(t *testing.T) { testServerCloseBlocking(t, newServer) })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 16:57:12 UTC 2024 - 7.4K bytes - Viewed (0) -
src/crypto/rand/rand_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package rand import ( "bytes" "compress/flate" "io" "testing" ) func TestRead(t *testing.T) { var n int = 4e6 if testing.Short() { n = 1e5 } b := make([]byte, n) n, err := io.ReadFull(Reader, b) if n != len(b) || err != nil { t.Fatalf("ReadFull(buf) = %d, %s", n, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:02:21 UTC 2024 - 1.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java
*/ package com.google.common.collect.testing.testers; import static com.google.common.collect.testing.Helpers.assertContentsInOrder; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; import static com.google.common.collect.testing.features.CollectionSize.ONE; import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 2.9K bytes - Viewed (0) -
src/reflect/iter_test.go
import ( "iter" "maps" . "reflect" "testing" ) func TestValueSeq(t *testing.T) { m := map[string]int{ "1": 1, "2": 2, "3": 3, "4": 4, } c := make(chan int, 3) for i := range 3 { c <- i } close(c) tests := []struct { name string val Value check func(*testing.T, iter.Seq[Value]) }{ {"int", ValueOf(4), func(t *testing.T, s iter.Seq[Value]) { i := int64(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 14:27:54 UTC 2024 - 6.4K bytes - Viewed (0) -
src/internal/concurrent/hashtriemap_bench_test.go
package concurrent import "testing" func BenchmarkHashTrieMapLoadSmall(b *testing.B) { benchmarkHashTrieMapLoad(b, testDataSmall[:]) } func BenchmarkHashTrieMapLoad(b *testing.B) { benchmarkHashTrieMapLoad(b, testData[:]) } func BenchmarkHashTrieMapLoadLarge(b *testing.B) { benchmarkHashTrieMapLoad(b, testDataLarge[:]) } func benchmarkHashTrieMapLoad(b *testing.B, data []string) { b.ReportAllocs()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:20:09 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
*/ package com.google.common.collect.testing.testers; import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; import static com.google.common.collect.testing.features.CollectionSize.ONE; import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
*/ package com.google.common.collect.testing.testers; import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER; import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE; import static com.google.common.collect.testing.features.CollectionSize.ONE; import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 2.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go
} var allDecModes = []cbor.DecMode{ modes.Decode, modes.DecodeLax, } func assertNilError(t *testing.T, e error) { if e != nil { t.Errorf("expected nil error, got: %v", e) } } func assertOnConcreteError[E error](fn func(*testing.T, E)) func(t *testing.T, e error) { return func(t *testing.T, ei error) { var ec E if !errors.As(ei, &ec) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 18:43:10 UTC 2024 - 2K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_gen_test.go
package bandwidth // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalBucketBandwidthReport(t *testing.T) { v := BucketBandwidthReport{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 4.5K bytes - Viewed (0) -
cmd/tier-last-day-stats_gen_test.go
package cmd // Code generated by github.com/tinylib/msgp DO NOT EDIT. import ( "bytes" "testing" "github.com/tinylib/msgp/msgp" ) func TestMarshalUnmarshalDailyAllTierStats(t *testing.T) { v := DailyAllTierStats{} bts, err := v.MarshalMsg(nil) if err != nil { t.Fatal(err) } left, err := v.UnmarshalMsg(bts) if err != nil { t.Fatal(err) } if len(left) > 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 4.6K bytes - Viewed (0)