Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Ismail (0.26 sec)

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

     *       SMALL_DELAY_MS}, {@code MEDIUM_DELAY_MS}, {@code LONG_DELAY_MS}. The idea here is that a
     *       SHORT is always discriminable from zero time, and always allows enough time for the small
     *       amounts of computation (creating a thread, calling a few methods, etc) needed to reach a
     *       timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
          MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>>
              makeMap(MapMaker maker) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

    import junit.framework.TestCase;
    
    /** @author Charles Fry */
    @SuppressWarnings("deprecation") // many tests of deprecated methods
    public class MapMakerInternalMapTest extends TestCase {
    
      static final int SMALL_MAX_SIZE = DRAIN_THRESHOLD * 5;
    
      private static <K, V>
          MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>>
              makeMap(MapMaker maker) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

       *
       * <p>Note that this function is necessarily well-defined for any discrete type.
       *
       * @return the distance as described above, or {@link Long#MIN_VALUE} or {@link Long#MAX_VALUE} if
       *     the distance is too small or too large, respectively.
       */
      public abstract long distance(C start, C end);
    
      /**
       * Returns the minimum value of type {@code C}, if it has one. The minimum value is the unique
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

        InternetDomainName googleDomain = InternetDomainName.from("google.com");
    
        assertEquals(googleDomain, googleDomain.topPrivateDomain());
        assertEquals(googleDomain, googleDomain.child("mail").topPrivateDomain());
        assertEquals(googleDomain, googleDomain.child("foo.bar").topPrivateDomain());
      }
    
      public void testInvalidTopPrivateDomain() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 05 13:16:00 GMT 2024
    - 17.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

          1263739024124850375L
        },
        {Long.MAX_VALUE, 2, 325, 9375, 28178, 450775, 9780504, 1795265022}
      };
    
      private enum MillerRabinTester {
        /** Works for inputs ≤ FLOOR_SQRT_MAX_LONG. */
        SMALL {
          @Override
          long mulMod(long a, long b, long m) {
            /*
             * lowasser, 2015-Feb-12: Benchmarks suggest that changing this to UnsignedLongs.remainder
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       SMALL_DELAY_MS}, {@code MEDIUM_DELAY_MS}, {@code LONG_DELAY_MS}. The idea here is that a
     *       SHORT is always discriminable from zero time, and always allows enough time for the small
     *       amounts of computation (creating a thread, calling a few methods, etc) needed to reach a
     *       timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        Random random = new Random(0);
        Multiset<Integer> elements = HashMultiset.create();
        MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create();
        int range = 10_000; // range should be small enough that equal elements occur semi-frequently
        for (int iter = 0; iter < reduceIterationsIfGwt(1000); iter++) {
          for (int i = 0; i < 100; i++) {
            Integer element = random.nextInt(range);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

                .buildKeepingLast();
        assertMapEquals(map, key1, 3, key2, 4);
      }
    
      // The java7 branch has different code depending on whether the entry indexes fit in a byte,
      // short, or int. The small table in testBuildKeepingLast_allowsOverwrite will test the byte
      // case. This method tests the short case.
      public void testBuildKeepingLast_shortTable() {
        Builder<Integer, String> builder = ImmutableMap.builder();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMap.java

       *     new ImmutableMap.Builder<String, Integer>()
       *         .put("one", 1)
       *         .put("two", 2)
       *         .put("three", 3)
       *         .buildOrThrow();
       * }</pre>
       *
       * <p>For <i>small</i> immutable maps, the {@code ImmutableMap.of()} methods are even more
       * convenient.
       *
       * <p>By default, a {@code Builder} will generate maps that iterate over entries in the order they
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
Back to top