Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 460 for Fontaine (0.21 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        Service b = new FailStartService();
        ServiceManager manager = new ServiceManager(asList(a, b));
        String toString = manager.toString();
        assertThat(toString).contains("NoOpService");
        assertThat(toString).contains("FailStartService");
      }
    
      public void testTimeouts() throws Exception {
        Service a = new NoOpDelayedService(50);
        ServiceManager manager = new ServiceManager(asList(a));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     *   <li>The enqueuing and dequeuing operations ({@link #offer}, {@link #add}, and all the forms of
     *       {@link #poll} and {@link #remove()}) run in {@code O(log n) time}.
     *   <li>The {@link #remove(Object)} and {@link #contains} operations require linear ({@code O(n)})
     *       time.
     *   <li>If you only access one end of the queue, and don't use a maximum size, this class is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

        return initialPart + penultimate + ":" + ultimate;
      }
    
      private static byte parseOctet(String ipString, int start, int end) {
        // Note: we already verified that this string contains only hex digits, but the string may still
        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/io/ByteSource.java

       */
      public static ByteSource wrap(byte[] b) {
        return new ByteArrayByteSource(b);
      }
    
      /**
       * Returns an immutable {@link ByteSource} that contains no bytes.
       *
       * @since 15.0
       */
      public static ByteSource empty() {
        return EmptyByteSource.INSTANCE;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/CharSource.java

        return charSequence instanceof String
            ? new StringCharSource((String) charSequence)
            : new CharSequenceCharSource(charSequence);
      }
    
      /**
       * Returns an immutable {@link CharSource} that contains no characters.
       *
       * @since 15.0
       */
      public static CharSource empty() {
        return EmptyCharSource.INSTANCE;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/RangeTest.java

        assertFalse(range.contains(4));
        assertTrue(range.contains(5));
        assertTrue(range.contains(7));
        assertFalse(range.contains(8));
      }
    
      public void testSingleton() {
        Range<Integer> range = Range.closed(4, 4);
        assertFalse(range.contains(3));
        assertTrue(range.contains(4));
        assertFalse(range.contains(5));
        assertTrue(range.hasLowerBound());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.encloses(Range.greaterThan(3)));
        assertFalse(rangeSet.encloses(Range.closedOpen(1, 5)));
    
        assertTrue(rangeSet.contains(3));
        assertTrue(rangeSet.contains(5));
        assertFalse(rangeSet.contains(0));
        assertFalse(rangeSet.contains(2));
    
        assertEquals(ImmutableRangeSet.of(Range.atMost(2)), rangeSet.complement());
      }
    
      public void testSingleBoundedAboveRange() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        // - computation ends first: the removal listener is called, and the cache does not contain the
        //   key/value pair
        // - clear() happens first: the removal listener is not called, and the cache contains the pair
        AtomicBoolean computationShouldWait = new AtomicBoolean();
        CountDownLatch computationLatch = new CountDownLatch(1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/Collections2Test.java

        assertTrue(permutationSet.contains(newArrayList(1, 2, 3)));
        assertTrue(permutationSet.contains(newArrayList(2, 3, 1)));
        assertFalse(permutationSet.contains(newArrayList(1, 2)));
        assertFalse(permutationSet.contains(newArrayList(1, 1, 2, 3)));
        assertFalse(permutationSet.contains(newArrayList(1, 2, 3, 4)));
        assertFalse(permutationSet.contains(null));
      }
    
    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)
  10. android/guava-tests/test/com/google/common/collect/Collections2Test.java

        assertTrue(permutationSet.contains(newArrayList(1, 2, 3)));
        assertTrue(permutationSet.contains(newArrayList(2, 3, 1)));
        assertFalse(permutationSet.contains(newArrayList(1, 2)));
        assertFalse(permutationSet.contains(newArrayList(1, 1, 2, 3)));
        assertFalse(permutationSet.contains(newArrayList(1, 2, 3, 4)));
        assertFalse(permutationSet.contains(null));
      }
    
    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)
Back to top