Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 304 for sleeps (0.07 sec)

  1. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                fail("Should be locked out");
            } catch (SmbException e) {
                // Expected
            }
    
            // Wait for lockout to expire
            Thread.sleep(2100); // Lockout is 2 seconds in test setup
    
            // Should be allowed again
            assertTrue(rateLimiter.checkAttempt(username, ip), "Should be allowed after lockout expiry");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          var readyTask: Task? = null
          var multipleReadyTasks = false
    
          // Decide what to run. This loop's goal wants to:
          //  * Find out what this thread should do (either run a task or sleep)
          //  * Find out if there's enough work to start another thread.
          eachQueue@ for (queue in readyQueues) {
            val candidate = queue.futureTasks[0]
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java

            HandleInfo expiredHandle = new HandleInfo("/test/file.txt", new HandleGuid(), new byte[16], HandleType.DURABLE_V2, 100, // 100ms timeout
                    null);
    
            // Wait for expiration
            Thread.sleep(150);
    
            CompletableFuture<HandleInfo> future = reconnector.reconnectHandle(expiredHandle, new IOException("Network error"));
    
            assertThrows(ExecutionException.class, () -> {
                future.get();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java

            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                // adds two nanoseconds to the ticker
                ticker.advance(1L);
                Thread.sleep(10);
                ticker.advance(1L);
                return null;
              }
            });
    
        assertEquals(numberOfThreads * 2, ticker.read());
      }
    
      @GwtIncompatible // concurrency
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. docs/smb3-features/04-directory-leasing-design.md

                            log.debug("Change notification failed for: " + handle.directoryPath, e);
                            // Retry after delay
                            try {
                                Thread.sleep(5000);
                            } catch (InterruptedException ie) {
                                Thread.currentThread().interrupt();
                                break;
                            }
                        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerTest.java

            long oldWordsCount = suggester.getAllWordsNum();
            assertTrue(oldWordsCount > 0);
    
            // Minimal sleep to ensure timestamp separation (reduced from 2000ms to 100ms total)
            Thread.sleep(50);
            ZonedDateTime threshold = ZonedDateTime.now();
            Thread.sleep(50);
    
            // Index new data after threshold
            document = new HashMap<>();
            document.put(field, "検索エンジン");
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        } catch (AssertionError e) {
          return;
        }
        fail("Should have caught jdk6 bug in target iterator");
      }
    
      private static final int STEPS = 3;
    
      static class TesterThatCountsCalls extends IteratorTester<Integer> {
        TesterThatCountsCalls() {
          super(STEPS, MODIFIABLE, newArrayList(1), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
    
        int numCallsToNewTargetIterator;
        int numCallsToVerify;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. .github/workflows/publish.yml

    name: publish
    
    on:
      push:
        tags:
          - '**'
    
    env:
      GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
    
    jobs:
      publish:
        runs-on: macos-15
    
        steps:
          - uses: actions/checkout@v6
          - uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version-file: .github/workflows/.java-version
    
          - run: ./gradlew publish
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 21 15:26:25 UTC 2025
    - 784 bytes
    - Viewed (0)
  9. docs/smb3-features/02-persistent-handles-design.md

            }
            
            return CompletableFuture.supplyAsync(() -> {
                try {
                    // Wait before retry (except first attempt)
                    if (attempt > 0) {
                        Thread.sleep(retryDelay * attempt);
                    }
                    
                    // Create reconnect context
                    DurableHandleReconnect reconnectCtx = 
                        new DurableHandleReconnect(info.fileId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  10. .github/workflows/containers.yml

        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'containers')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: 17
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Nov 21 15:26:25 UTC 2025
    - 872 bytes
    - Viewed (0)
Back to top