Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 34 (0.11 sec)

  1. android/guava/src/com/google/common/math/IntMath.java

        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        65536,
        2345,
        477,
        193,
        110,
        75,
        58,
        49,
        43,
        39,
        37,
        35,
        34,
        34,
        33
      };
    
      /**
       * Returns the arithmetic mean of {@code x} and {@code y}, rounded towards negative infinity. This
       * method is overflow resilient.
       *
       * @since 14.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/Collections2Test.java

                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
        assertEquals(
            Integer.MAX_VALUE,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/Collections2Test.java

                .size());
    
        // Almost force an overflow in the binomial coefficient calculation
        assertEquals(
            1391975640 /*C(34,14)*/,
            Collections2.orderedPermutations(concat(nCopies(20, 1), nCopies(14, 2))).size());
        // Do force an overflow in the binomial coefficient calculation
        assertEquals(
            Integer.MAX_VALUE,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

              }
            };
    
        cache.put(0, 10);
    
        assertEquals(Integer.valueOf(10), cache.get(0, loader));
        assertEquals(Integer.valueOf(1), cache.get(20, loader));
        assertEquals(Integer.valueOf(2), cache.get(34, loader));
    
        cache.invalidate(0);
        assertEquals(Integer.valueOf(3), cache.get(0, loader));
    
        cache.put(0, 10);
        cache.invalidateAll();
        assertEquals(Integer.valueOf(4), cache.get(0, loader));
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 15.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

              }
            };
    
        cache.put(0, 10);
    
        assertEquals(Integer.valueOf(10), cache.get(0, loader));
        assertEquals(Integer.valueOf(1), cache.get(20, loader));
        assertEquals(Integer.valueOf(2), cache.get(34, loader));
    
        cache.invalidate(0);
        assertEquals(Integer.valueOf(3), cache.get(0, loader));
    
        cache.put(0, 10);
        cache.invalidateAll();
        assertEquals(Integer.valueOf(4), cache.get(0, loader));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 15K bytes
    - Viewed (0)
Back to top