- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 315 for isDeep (0.06 sec)
-
internal/grid/grid_test.go
}(t) start := time.Now() if st.Requests != nil { defer close(st.Requests) } // Fill up queue. for sendReq { select { case st.Requests <- []byte("Hello"): time.Sleep(10 * time.Millisecond) default: sendReq = false } } cancel() <-serverCanceled t.Log("server cancel time:", time.Since(start)) clientEnd := <-clientCanceled
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/ringbuffer/ring_buffer_test.go
rb.Reset() done := make(chan struct{}) go func() { defer close(done) time.Sleep(10 * time.Millisecond) fn() }() rb.CloseWithError(errors.New("test error")) <-done rb.Reset() done = make(chan struct{}) go func() { defer close(done) fn() }() time.Sleep(10 * time.Millisecond) rb.CloseWithError(errors.New("test error")) <-done }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/namespace-lock_test.go
} // lk2 lk2ch := make(chan struct{}) go func() { defer close(lk2ch) nsLk.lock(ctx, "volume", "path", "source", "opsID", false, 1*time.Millisecond) }() time.Sleep(1 * time.Millisecond) // wait for goroutine to advance; ref=2 // Unlock the 1st lock; ref=1 after this line nsLk.unlock("volume", "path", false)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 3.1K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
} mu.Unlock() }(clnt) } wg.Wait() select { case <-ctx.Done(): return ctx.Err() default: // Sleep and stagger to avoid blocked CPU and thundering // herd upon start up sequence. time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond)))) retries++ // after 20 retries start logging that servers are not reachable yet
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
} } @Test fun fullCallTimeoutDoesNotApplyOnceConnected() { enableProtocol(Protocol.HTTP_2) val body = MockStreamHandler() .sendResponse("response A\n") .sleep(750, TimeUnit.MILLISECONDS) .sendResponse("response B\n") .receiveRequest("request C\n") .exhaustResponse() .exhaustRequest() server.enqueue( MockResponse.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0) -
cmd/batch-handlers.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
afe.initCause(t); throw afe; } } /** * Delays, via Thread.sleep, for the given millisecond delay, but if the sleep is shorter than * specified, may re-sleep or yield until time elapses. */ @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait?
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 37.9K bytes - Viewed (0) -
tests/update_has_one_test.go
t.Fatalf("errors happened when update: %v", err) } var user3 User DB.Preload("Account").Find(&user3, "id = ?", user.ID) CheckUser(t, user2, user3) lastUpdatedAt := user2.Account.UpdatedAt time.Sleep(time.Second) if err := DB.Session(&gorm.Session{FullSaveAssociations: true}).Save(&user).Error; err != nil { t.Fatalf("errors happened when update: %v", err) } var user4 User
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jul 14 06:55:54 UTC 2022 - 3.6K bytes - Viewed (0) -
cmd/sftp-server.go
if ui.Credentials.IsTemp() { return nil, errAuthentication } if subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), pass) != 1 { return nil, errAuthentication } } copts := map[string]string{ "AccessKey": ui.Credentials.AccessKey, "SecretKey": ui.Credentials.SecretKey, } if ui.Credentials.IsTemp() { copts["SessionToken"] = ui.Credentials.SessionToken
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 20 20:00:29 UTC 2024 - 16K bytes - Viewed (0) -
internal/store/batch_test.go
}, }) for i := 0; i < int(limit); i++ { if err := batch.Add(testItem); err != nil { t.Fatalf("failed to add %v; %v", i, err) } } batch.Close() time.Sleep(1 * time.Second) batchLen := batch.Len() if batchLen != 0 { t.Fatalf("Expected batch.Len()=0; but got %v", batchLen) } keys := store.List() if len(keys) != 1 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 5.6K bytes - Viewed (0)