Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 58 for Rashed (0.14 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * method equivalent to {@link
     * java.util.concurrent.locks.ReentrantLock#hasWaiters(java.util.concurrent.locks.Condition)},
     * except that the method parameter must accept whatever condition-like object is passed into {@code
     * callAndAssertWaits} by the test.
     *
     * @param <L> the type of the lock-like object to be used
     * @author Justin T. Sampson
     */
    public final class TestThread<L> extends Thread implements TearDown {
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheStats.java

        this.totalLoadTime = totalLoadTime;
        this.evictionCount = evictionCount;
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned either a cached or
       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        firstException = expected;
        // Second time should also fail, with a cached causal chain.
        expected = assertThrows(PotentialDeadlockException.class, () -> lockA.lock());
        checkMessage(expected, "LockB -> LockA", "LockA -> LockB");
        // The causal chain should be cached.
        assertSame(firstException.getCause(), expected.getCause());
        // lockA should work after lockB is released.
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheStats.java

        this.totalLoadTime = totalLoadTime;
        this.evictionCount = evictionCount;
      }
    
      /**
       * Returns the number of times {@link Cache} lookup methods have returned either a cached or
       * uncached value. This is defined as {@code hitCount + missCount}.
       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       * Object#equals} and {@link Object#hashCode}, and its construction requires a parameter of {@code
       * type}, the distinct values of {@code type} can be passed as parameters to create {@code Foo}
       * instances that are unequal.
       *
       * <p>Calling {@code setDistinctValues(type, v1, v2)} also sets the default value for {@code type}
       * that's used for {@link #testNulls}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code
       * fromElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code fromElement}. Similarly, this method keeps the original {@code
       * toElement}, instead of throwing an exception, if passed a {@code toElement} greater than an
       * earlier {@code toElement}.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

     *     class (such as {@link #named}) return this type, so that Builder methods of more derived
     *     classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
     *     instance of G should somehow provide an instance of the class under test, plus any other
     *     information required to parameterize the test.
     * @author George van den Driessche
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

      }
    
      @Test
      public void edgesConnecting_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.edgesConnecting(N1, N2)).containsExactly(E12);
        // Passed nodes should be in the correct edge direction, first is the
        // source node and the second is the target node
        assertThat(network.edgesConnecting(N2, N1)).isEmpty();
      }
    
      @Test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *   <li>If an exception propagates out of a {@code Runnable}, it is not necessarily seen by any
       *       {@code UncaughtExceptionHandler} for the thread. For example, if the callback passed to
       *       {@link Futures#addCallback} throws an exception, that exception will be typically be
       *       logged by the {@link ListenableFuture} implementation, even if the thread is configured
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

            .isEqualTo(InetAddresses.forString("0.0.0.0"));
    
        // test compat address (should be hashed)
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::1.2.3.4")))
            .isNotEqualTo(InetAddresses.forString("1.2.3.4"));
    
        // test 6to4 address (should be hashed)
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0102:0304::1")))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
Back to top