Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 286 for sleeps (0.04 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java

    import org.apache.maven.artifact.resolver.ResolutionNode;
    
    /**
     * Resolves conflicting artifacts by always selecting the nearest declaration. Nearest is defined as the
     * declaration that has the least transitive steps away from the project being built.
     *
     * @since 3.0
     */
    @Named("nearest")
    @Singleton
    @Deprecated
    public class NearestConflictResolver implements ConflictResolver {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            // Make the cache entry expired
            DirectoryCacheEntry entry = directoryLeaseManager.getCacheEntry(directoryPath);
            entry.setMaxAge(1); // 1ms to expire immediately
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                // Ignore
            }
    
            // When lease is lost, cache entry should be removed
            when(baseLeaseManager.getLease(leaseKey)).thenReturn(null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. docs/contribute/code_of_conduct.md

    thousands of people who have already contributed to our projects — and we want to ensure our community
    continues to be truly open for everyone.
    
    This code of conduct outlines our expectations for participants, as well as steps to reporting
    unacceptable behavior. We are committed to providing a welcoming and inspiring community for all and
    expect our code of conduct to be honored.
    
    Square’s open source community strives to:
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/ServerTruncatesRequestTest.kt

        override fun contentType(): MediaType? = null
    
        override fun writeTo(sink: BufferedSink) {
          for (i in 0 until 50) {
            sink.writeUtf8("abc")
            sink.flush()
            Thread.sleep(100)
          }
          fail("")
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/InvalidatableSet.java

        this.validator = validator;
        this.errorMessage = errorMessage;
      }
    
      // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call
      // via delegate()); it seems inappropriate to throw ISE on this method.
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            entry.setMaxAge(100); // 100ms
    
            assertFalse(entry.isExpired());
            assertFalse(entry.needsRefresh());
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
                // Ignore
            }
    
            assertTrue(entry.isExpired());
            assertTrue(entry.needsRefresh());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      AbstractIteratorTester(
          int steps,
          Iterable<E> elementsToInsertIterable,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder,
          int startIndex) {
        // periodically we should manually try (steps * 3 / 2) here; all tests but
        // one should still pass (testVerifyGetsCalled()).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      AbstractIteratorTester(
          int steps,
          Iterable<E> elementsToInsertIterable,
          Iterable<? extends IteratorFeature> features,
          Iterable<E> expectedElements,
          KnownOrder knownOrder,
          int startIndex) {
        // periodically we should manually try (steps * 3 / 2) here; all tests but
        // one should still pass (testVerifyGetsCalled()).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  9. .github/workflows/maven.yml

        - "*.x"
      pull_request:
        branches:
        - master
        - "*.x"
      workflow_dispatch:
    
    jobs:
      build:
        runs-on: macos-14
        env:
          PARENT_BRANCH: main
        timeout-minutes: 15
        steps:
        - uses: actions/checkout@v4
        - name: Set up JDK 21
          uses: actions/setup-java@v4
          with:
            java-version: '21'
            distribution: 'temurin'
        - uses: actions/cache@v4
          with:
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:07:19 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/Internal.java

       * a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair.
       */
      static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top