Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 745 for one (0.15 sec)

  1. guava-gwt/test/com/google/common/collect/testing/google/Google.gwt.xml

        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see https://goo.gl/pRV3Yn for details.
    
        The summary is that it ignores one file in favor of the other.
        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

            new Builder<String, Integer>().put(Maps.immutableEntry("one", 1)).build();
        assertEquals(Arrays.asList(1), multimap.get("one"));
      }
    
      public void testBuilder_withImmutableEntryAndNullContents() {
        Builder<String, Integer> builder = new Builder<>();
        try {
          builder.put(Maps.immutableEntry("one", (Integer) null));
          fail();
        } catch (NullPointerException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableMapFloodingTest.java

          }
        },
        BUILDER_PUT_ONE_BY_ONE {
          @Override
          public Map<Object, Object> create(List<?> keys) {
            ImmutableMap.Builder<Object, Object> builder = ImmutableMap.builder();
            for (Object k : keys) {
              builder.put(k, "dummy value");
            }
            return builder.buildOrThrow();
          }
        },
        BUILDER_PUT_ENTRIES_ONE_BY_ONE {
          @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE);
          BigInteger x4 = x.shiftLeft(2);
          // sqrt(x) < result + 0.5, so 4 * x < (result + 0.5)^2 * 4
          // (result + 0.5)^2 * 4 = (result^2 + result)*4 + 1
          assertTrue(x4.compareTo(plusHalfSquared) < 0);
          BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
          // sqrt(x) > result - 0.5, so 4 * x > (result - 0.5)^2 * 4
    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)
  5. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          BigInteger plusHalfSquared = result.pow(2).add(result).shiftLeft(2).add(ONE);
          BigInteger x4 = x.shiftLeft(2);
          // sqrt(x) < result + 0.5, so 4 * x < (result + 0.5)^2 * 4
          // (result + 0.5)^2 * 4 = (result^2 + result)*4 + 1
          assertTrue(x4.compareTo(plusHalfSquared) < 0);
          BigInteger minusHalfSquared = result.pow(2).subtract(result).shiftLeft(2).add(ONE);
          // sqrt(x) > result - 0.5, so 4 * x > (result - 0.5)^2 * 4
    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)
  6. android/guava/src/com/google/common/base/Preconditions.java

           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
           * declaring a checkState method that accepts a possibly null template. So we'd need to update
           * that user first.
           */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testDeadEventForwarding() {
        GhostCatcher catcher = new GhostCatcher();
        bus.register(catcher);
    
        // A String -- an event for which no one has registered.
        bus.post(EVENT);
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("One dead event should be delivered.", 1, events.size());
        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      public void testDeadEventForwarding() {
        GhostCatcher catcher = new GhostCatcher();
        bus.register(catcher);
    
        // A String -- an event for which no one has registered.
        bus.post(EVENT);
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("One dead event should be delivered.", 1, events.size());
        assertEquals("The dead event should wrap the original event.", EVENT, events.get(0).getEvent());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/StatsTest.java

    import static com.google.common.math.StatsTesting.MEGA_STREAM_MIN;
    import static com.google.common.math.StatsTesting.MEGA_STREAM_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.ONE_VALUE;
    import static com.google.common.math.StatsTesting.ONE_VALUE_STATS;
    import static com.google.common.math.StatsTesting.TWO_VALUES;
    import static com.google.common.math.StatsTesting.TWO_VALUES_MAX;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

    import static com.google.common.math.StatsTesting.MEGA_STREAM_MIN;
    import static com.google.common.math.StatsTesting.MEGA_STREAM_POPULATION_VARIANCE;
    import static com.google.common.math.StatsTesting.ONE_VALUE;
    import static com.google.common.math.StatsTesting.OTHER_ONE_VALUE;
    import static com.google.common.math.StatsTesting.TWO_VALUES;
    import static com.google.common.math.StatsTesting.TWO_VALUES_MAX;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
Back to top