Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 504 for eden (0.16 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      public void testLog2HalfEven() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          int halfEven = BigIntegerMath.log2(x, HALF_EVEN);
          // Now figure out what rounding mode we should behave like (it depends if FLOOR was
          // odd/even).
          boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0;
          assertEquals(BigIntegerMath.log2(x, floorWasEven ? HALF_DOWN : HALF_UP), halfEven);
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

      public void testLog2HalfEven() {
        for (BigInteger x : POSITIVE_BIGINTEGER_CANDIDATES) {
          int halfEven = BigIntegerMath.log2(x, HALF_EVEN);
          // Now figure out what rounding mode we should behave like (it depends if FLOOR was
          // odd/even).
          boolean floorWasEven = (BigIntegerMath.log2(x, FLOOR) & 1) == 0;
          assertEquals(BigIntegerMath.log2(x, floorWasEven ? HALF_DOWN : HALF_UP), halfEven);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

                0.03,
                BloomFilterStrategies.MURMUR128_MITZ_32);
    
        // Insert "numInsertions" even numbers into the BF.
        for (int i = 0; i < numInsertions * 2; i += 2) {
          bf.put(Integer.toString(i));
        }
        assertApproximateElementCountGuess(bf, numInsertions);
    
        // Assert that the BF "might" have all of the even numbers.
        for (int i = 0; i < numInsertions * 2; i += 2) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
     *   <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even
     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
     *       that we could probably work around. Or we could manually strip the test from open-source
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. CONTRIBUTING.md

    Pull requests
    -------------
    
    Unless the change is a trivial fix such as for a typo, it's generally best to
    start by opening a new issue describing the bug or feature you're intending to
    fix. Even if you think it's relatively minor, it's helpful to know what people
    are working on. And as mentioned above, API changes should be discussed
    thoroughly before moving to code.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/LongMath.java

       * mode}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
       * default rounding mode: if the two nearest representable values are equally near, the one with
       * the least significant bit zero is chosen. (In such cases, both of the nearest representable
       * values are even integers; this method returns the one that is a multiple of a greater power of
       * two.)
       *
    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/src/com/google/common/net/UrlEscapers.java

       *       uppercase, hexadecimal representation of the byte value.
       * </ul>
       *
       * <p>This escaper is suitable for escaping parameter names and values even when <a
       * href="https://goo.gl/utn6M">using the non-standard semicolon</a>, rather than the ampersand, as
       * a parameter delimiter. Nevertheless, we recommend using the ampersand unless you must
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 28 15:04:33 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
     * compare} methods unconditionally, the {@code ComparisonChain} implementation stops calling its
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
       * That is, even if exactly the same method works from inside the common.eventbus package tests,
       * it can fail here.
       */
      public void testAnonymous() {
        final AtomicReference<String> holder = new AtomicReference<>();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.8K bytes
    - Viewed (0)
  10. guava-gwt/src/com/google/common/util/concurrent/Concurrent.gwt.xml

        tests, either. This causes it to fail to find AtomicLongMapTest.
    
        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jul 19 04:29:50 GMT 2022
    - 1.5K bytes
    - Viewed (0)
Back to top