Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for cricket (0.2 sec)

  1. android/guava/src/com/google/common/collect/Range.java

     * endpoint) or <i>closed</i> (includes the endpoint) on that side. With three possibilities on each
     * side, this yields nine basic types of ranges, enumerated below. (Notation: a square bracket
     * ({@code [ ]}) indicates that the range is closed on that side; a parenthesis ({@code ( )}) means
     * it is either open or unbounded. The construct {@code {x | statement}} is read "the set of all
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

        return true;
      }
    
      private boolean canAcquire(long nowMicros, long timeoutMicros) {
        return queryEarliestAvailable(nowMicros) - timeoutMicros <= nowMicros;
      }
    
      /**
       * Reserves next ticket and returns the wait time that the caller must wait for.
       *
       * @return the required wait time, never negative
       */
      final long reserveAndGetWaitLength(int permits, long nowMicros) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    thought Alice,) `Well, I hardly know--No more, thank ye; I'm
    better now--but I'm a deal too flustered to tell you--all I know
    is, something comes at me like a Jack-in-the-box, and up I goes
    like a sky-rocket!'
    
      `So you did, old fellow!' said the others.
    
      `We must burn the house down!' said the Rabbit's voice; and
    Alice called out as loud as she could, `If you do.  I'll set
    Dinah at you!'
    
    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)
  4. guava-tests/test/com/google/common/graph/EndpointPairTest.java

      @Test
      public void testUnorderedEndpointPair() {
        EndpointPair<String> unordered = EndpointPair.unordered("chicken", "egg");
        assertThat(unordered.isOrdered()).isFalse();
        assertThat(unordered).containsExactly("chicken", "egg");
        assertThat(ImmutableSet.of(unordered.nodeU(), unordered.nodeV()))
            .containsExactly("chicken", "egg");
        assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/graph/EndpointPairTest.java

      @Test
      public void testUnorderedEndpointPair() {
        EndpointPair<String> unordered = EndpointPair.unordered("chicken", "egg");
        assertThat(unordered.isOrdered()).isFalse();
        assertThat(unordered).containsExactly("chicken", "egg");
        assertThat(ImmutableSet.of(unordered.nodeU(), unordered.nodeV()))
            .containsExactly("chicken", "egg");
        assertThat(unordered.adjacentNode(unordered.nodeU())).isEqualTo(unordered.nodeV());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        filtered.put("chicken", 7);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
    
        try {
          filtered.put("cow", 7);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
      }
    
      public void testFilteredEntriesIllegalPutAll() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractFilteredMapTest.java

        filtered.put("chicken", 7);
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
    
        try {
          filtered.put("cow", 7);
          fail();
        } catch (IllegalArgumentException expected) {
        }
        assertEquals(ImmutableMap.of("cat", 3, "horse", 5, "chicken", 7), filtered);
      }
    
      public void testFilteredEntriesIllegalPutAll() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/HostAndPort.java

       */
      private static String[] getHostAndPortFromBracketedHost(String hostPortString) {
        checkArgument(
            hostPortString.charAt(0) == '[',
            "Bracketed host-port string must start with a bracket: %s",
            hostPortString);
        int colonIndex = hostPortString.indexOf(':');
        int closeBracketIndex = hostPortString.lastIndexOf(']');
        checkArgument(
            colonIndex > -1 && closeBracketIndex > colonIndex,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Aug 22 20:55:57 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Converter.java

       *     very rare. Note that if backward conversion is not only unimplemented but
       *     unimplement<i>able</i> (for example, consider a {@code Converter<Chicken, ChickenNugget>}),
       *     then this is not logically a {@code Converter} at all, and should just implement {@link
       *     Function}.
       */
      @ForOverride
      protected abstract A doBackward(B b);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertFalse(list.contains("dog"));
        assertEquals(-1, list.indexOf("dog"));
        assertEquals(-1, list.lastIndexOf("dog"));
        assertFalse(list.contains("chicken"));
        assertEquals(-1, list.indexOf("chicken"));
        assertEquals(-1, list.lastIndexOf("chicken"));
      }
    
      private static <E> Iterator<E> asIterator(E... elements) {
        return asList(elements).iterator();
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 46.1K bytes
    - Viewed (0)
Back to top