- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 45 for testClone (0.15 sec)
-
src/cmd/cgo/internal/testerrors/ptr_test.go
// the add +1 run in serial before testOne blocks. The -1 run in parallel // after testOne finishes. var pending int32 for _, pt := range ptrTests { pt := pt t.Run(pt.name, func(t *testing.T) { atomic.AddInt32(&pending, +1) defer func() { if atomic.AddInt32(&pending, -1) == 0 { os.RemoveAll(dir) } }() testOne(t, pt, exe, exe2) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:49 UTC 2023 - 21.2K bytes - Viewed (0) -
src/time/time_test.go
} return true } // manual test cases for _, tt := range truncateRoundTests { testOne(tt.t.Unix(), int64(tt.t.Nanosecond()), int64(tt.d)) } // exhaustive near 0 for i := 0; i < 100; i++ { for j := 1; j < 100; j++ { testOne(unixToZero, int64(i), int64(j)) testOne(unixToZero, -int64(i), int64(j)) if t.Failed() { return } } } if t.Failed() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:13:47 UTC 2024 - 56.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
Sink sink = new Sink(4); sink.putInt(0x04030201); HashCode unused = sink.hash(); sink.assertInvariants(4); sink.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { Sink sink = new Sink(8); sink.putLong(0x0807060504030201L); HashCode unused = sink.hash(); sink.assertInvariants(8); sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.5K bytes - Viewed (0) -
pkg/api/persistentvolumeclaim/util_test.go
DataSource: &core.TypedLocalObjectReference{ APIGroup: &apiGroup, Kind: "PersistentVolumeClaim", Name: "test_clone", }, } validSpecNilAPIGroup := core.PersistentVolumeClaimSpec{ DataSource: &core.TypedLocalObjectReference{ Kind: "PersistentVolumeClaim", Name: "test_clone", }, } invalidAPIGroup := "invalid.pvc.api.group" invalidSpec := core.PersistentVolumeClaimSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ArtifactDependenciesIntegrationTest.groovy
succeeds("checkTransitive") then: resolve.expectGraph { root(":", ":test:") { module("org.gradle.test:external1:1.0") { module("org.gradle.test:one:1.0") } } } when: succeeds("checkNonTransitive") then: resolve.expectGraph { root(":", ":test:") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:32 UTC 2024 - 23.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
Sink sink = new Sink(4); sink.putInt(0x04030201); HashCode unused = sink.hash(); sink.assertInvariants(4); sink.assertBytes(new byte[] {1, 2, 3, 4}); } public void testLong() { Sink sink = new Sink(8); sink.putLong(0x0807060504030201L); HashCode unused = sink.hash(); sink.assertInvariants(8); sink.assertBytes(new byte[] {1, 2, 3, 4, 5, 6, 7, 8}); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 8.5K bytes - Viewed (0) -
src/runtime/syscall_windows_test.go
t.Run(cbf.cName(false), func(t *testing.T) { stdcall := syscall.NewCallback(cbf.goFunc) cbf.testOne(t, dll, false, stdcall) }) t.Run(cbf.cName(true), func(t *testing.T) { cdecl := syscall.NewCallbackCDecl(cbf.goFunc) cbf.testOne(t, dll, true, cdecl) }) } }) } } func TestRegisterClass(t *testing.T) { kernel32 := GetDLL(t, "kernel32.dll")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.5K bytes - Viewed (0) -
src/net/http/clientserver_test.go
const msg = "hello" testDone := make(chan struct{}) defer close(testDone) var errorLog lockedBytesBuffer gotHeaders := make(chan bool, 1) cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { io.WriteString(w, msg) w.(Flusher).Flush() select { case <-gotHeaders: case <-testDone: } panic(panicValue)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 46.6K bytes - Viewed (0) -
src/net/http/client_test.go
func testClientTimeoutCancel(t *testing.T, mode testMode) { testDone := make(chan struct{}) ctx, cancel := context.WithCancel(context.Background()) cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { w.(Flusher).Flush() <-testDone })) defer close(testDone) cst.c.Timeout = 1 * time.Hour req, _ := NewRequest("GET", cst.ts.URL, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/net/http/transport_test.go
} ln := newLocalListener(t) defer ln.Close() var wg sync.WaitGroup SetPendingDialHooks(func() { wg.Add(1) }, wg.Done) defer SetPendingDialHooks(nil, nil) testDone := make(chan struct{}) defer close(testDone) go func() { tln := tls.NewListener(ln, &tls.Config{ NextProtos: []string{"foo"}, Certificates: []tls.Certificate{cert}, }) sc, err := tln.Accept()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)