Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for Magnin (0.21 sec)

  1. guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     *
     * <p>The {@code Iterable} specification does not make it absolutely clear what should happen on a
     * second invocation, so implementors have made various choices, including:
     *
     * <ul>
     *   <li>returning the same iterator again
     *   <li>throwing an exception of some kind
     *   <li>or the usual, <i>robust</i> behavior, which all known {@link Collection} implementations
     *       have, of returning a new, independent iterator
     * </ul>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

     * test methods in these degenerate classloaders.
     */
    
    public class AbstractFutureFallbackAtomicHelperTest extends TestCase {
    
      // stash these in static fields to avoid loading them over and over again (speeds up test
      // execution significantly)
    
      /**
       * This classloader disallows {@link sun.misc.Unsafe}, which will prevent us from selecting our
       * preferred strategy {@code UnsafeAtomicHelper}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 6.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/AbstractIterator.java

       * {@code next}. Once the implementation either invokes {@code endOfData} or throws an exception,
       * {@code computeNext} is guaranteed to never be called again.
       *
       * <p>If this method throws an exception, it will propagate outward to the {@code hasNext} or
       * {@code next} invocation that invoked this method. Any further attempts to use the iterator will
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 18 02:04:10 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/internal/Finalizer.java

          return false;
        }
    
        /*
         * Loop as long as we have references available so as not to waste CPU looking up the Method
         * over and over again.
         */
        while (true) {
          Reference<?> furtherReference = queue.poll();
          if (furtherReference == null) {
            return true;
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:54:09 GMT 2023
    - 9.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       *         .put(Handler.class, new QuuxHandler())
       *         .build();
       * }</pre>
       *
       * <p>After invoking {@link #build()} it is still possible to add more entries and build again.
       * Thus each map generated by this builder will be a superset of any map generated before it.
       *
       * @since 2.0
       */
      public static final class Builder<B> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 12, it.next());
        assertEquals((Integer) 30, it.next());
        assertEquals((Integer) 40, it.next());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

      // short hash. But 0 is also a valid index in `entries`, so we add 1 to these indices before
      // putting them in `table` or in `next` bits, and subtract 1 again when we need an index value.
      //
      // The elements of `keys`, `values`, and `entries` are added sequentially, so that elements 0 to
      // `size() - 1` are used and remaining elements are not. This makes iteration straightforward.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

       * iteration, and hence return the same object each time. A subsequent call to {@code next} is
       * guaranteed to return the same object again. For example:
       *
       * <pre>{@code
       * PeekingIterator<String> peekingIterator =
       *     Iterators.peekingIterator(Iterators.forArray("a", "b"));
       * String a1 = peekingIterator.peek(); // returns "a"
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/TraverserTest.java

        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'b');
    
        // Iterate again to see if calculation is done again
        assertEqualCharNodes(Iterables.limit(result, 2), "ab");
        assertThat(graph.requestedNodes).containsExactly('a', 'a', 'a', 'b', 'b');
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    where it had been, it suddenly appeared again.
    
      `By-the-bye, what became of the baby?' said the Cat.  `I'd
    nearly forgotten to ask.'
    
      `It turned into a pig,' Alice quietly said, just as if it had
    come back in a natural way.
    
      `I thought it would,' said the Cat, and vanished again.
    
      Alice waited a little, half expecting to see it again, but it
    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)
Back to top