Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 516 for _wait (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/store/batch_test.go

    		wg.Add(1)
    		go func(key int) {
    			defer wg.Done()
    			if err := batch.Add(testItem); err != nil {
    				t.Errorf("failed to add item %v; %v", key, err)
    				return
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	batchLen := batch.Len()
    	if batchLen != int(limit) {
    		t.Fatalf("Expected batch.Len() %v; but got %v", limit, batchLen)
    	}
    
    	keys := store.List()
    	if len(keys) > 0 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. cmd/endpoint.go

    					endpoints[i].IsLocal = isLocal
    					epsResolved++
    					if !foundLocal {
    						foundLocal = isLocal
    					}
    				}
    			}
    
    			// Wait for the tick, if the there exist a local endpoint in discovery.
    			// Non docker/kubernetes environment we do not need to wait.
    			if !foundLocal && orchestrated {
    				<-keepAliveTicker.C
    			}
    		}
    	}
    
    	// On Kubernetes/Docker setups DNS resolves inappropriately sometimes
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

        }
    
        @Test
        public void testGetHandleForReconnectExpired() {
            manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 100, // 100ms timeout
                    null);
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  4. cmd/dynamic-timeouts_test.go

    					timeout.LogSuccess(time.Duration(float64(time.Second) * rng.Float64()))
    				}
    				to := timeout.Timeout()
    				if to < time.Millisecond || to > time.Second {
    					panic(to)
    				}
    			}
    		}()
    	}
    	wg.Wait()
    }
    
    func TestDynamicTimeoutHitMinimum(t *testing.T) {
    	const minimum = 30 * time.Second
    	timeout := newDynamicTimeout(time.Minute, minimum)
    
    	initial := timeout.Timeout()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code to peek at named pipe data without removing it
         */
        public static final int FSCTL_PIPE_PEEK = 0x0011400C;
        /**
         * Function code to wait for a named pipe to become available
         */
        public static final int FSCTL_PIPE_WAIT = 0x00110018;
        /**
         * Function code to transceive data on a named pipe
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  6. api/go1.25.txt

    pkg testing/fstest, method (MapFS) ReadLink(string) (string, error) #49580
    pkg testing/synctest, func Test(*testing.T, func(*testing.T)) #67434
    pkg testing/synctest, func Wait() #67434
    pkg unicode, var CategoryAliases map[string]string #70780
    pkg unicode, var Cn *RangeTable #70780
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Jun 02 16:09:57 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. docs/config/README.md

    KEY:
    scanner  manage namespace scanning for usage calculation, lifecycle, healing and more
    
    ARGS:
    delay     (float)     scanner delay multiplier, defaults to '10.0'
    max_wait  (duration)  maximum wait time between operations, defaults to '15s'
    cycle     (duration)  time duration between scanner cycles
    ```
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.1K bytes
    - Click Count (1)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

                (WeakReference<?>) sepFwrCons.newInstance(sepStopwatchA.get(), sepFrqA.get()));
        assertThat(sepStopwatchA.get()).isNotNull();
        // Clear all references to the Stopwatch and wait for it to be gc'd.
        sepStopwatchA.set(null);
        GcFinalization.awaitClear(sepStopwatchRef.get());
        // Return a weak reference to the parallel ClassLoader. This is the reference that should
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

              object : WebSocketListener() {
                override fun onOpen(
                  webSocket: WebSocket,
                  response: Response,
                ) {
                  try {
                    latch.await() // The server can't respond to pings!
                  } catch (e: InterruptedException) {
                    throw AssertionError(e)
                  }
                }
              },
            ).build(),
        )
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  10. tests/test_dependency_contextmanager.py

            )
    
        tasks.add_task(bg, state)
        return state
    
    
    @app.middleware("http")
    async def middleware(request, call_next):
        response: StreamingResponse = await call_next(request)
        response.headers["x-state"] = json.dumps(state.copy())
        return response
    
    
    client = TestClient(app)
    
    
    def test_async_state():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top