Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 856 for One (0.14 sec)

  1. guava-gwt/src/com/google/common/cache/Cache.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.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    growing, and very soon had to kneel down on the floor:  in
    another minute there was not even room for this, and she tried
    the effect of lying down with one elbow against the door, and the
    other arm curled round her head.  Still she went on growing, and,
    as a last resource, she put one arm out of the window, and one
    foot up the chimney, and said to herself `Now I can do no more,
    whatever happens.  What WILL become of me?'
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top