Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 223 for Hafner (0.14 sec)

  1. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Graph} implementations defined in this package.
     */
    public abstract class AbstractStandardUndirectedGraphTest extends AbstractGraphTest {
    
      @After
      public void validateUndirectedEdges() {
        for (Integer node : graph.nodes()) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Converter.java

       * Returns an iterable that applies {@code convert} to each element of {@code fromIterable}. The
       * conversion is done lazily.
       *
       * <p>The returned iterable's iterator supports {@code remove()} if the input iterator does. After
       * a successful {@code remove()} call, {@code fromIterable} no longer contains the corresponding
       * element.
       */
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 23K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        assertFalse(service.isRunning());
        assertFalse(service.doStopCalled);
      }
    
      /**
       * The user of this service should call {@link #notifyStarted} and {@link #notifyStopped} after
       * calling {@link #startAsync} and {@link #stopAsync}.
       */
      private static class ManualSwitchedService extends AbstractService {
        boolean doStartCalled = false;
        boolean doStopCalled = false;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          iterator.remove();
          assertEquals(initialSize - 1, map.size());
    
          // Use "entryCopy" instead of "entry" because "entry" might be invalidated after
          // iterator.remove().
          assertFalse(entrySet.contains(entryCopy));
          assertInvariants(map);
          try {
            iterator.remove();
            fail("Expected IllegalStateException.");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (2)
  5. android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

                  }
                }
              };
          executor.execute(errorTask);
          service.execute(barrierTask); // submit directly to the service
          // the barrier task runs after the error task so we know that the error has been observed by
          // SequentialExecutor by the time the barrier is satisfied
          barrier.await(1, TimeUnit.SECONDS);
          executor.execute(barrierTask);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(I18N.length(), copied);
      }
    
      /**
       * Test for Guava issue 1061: http://code.google.com/p/guava-libraries/issues/detail?id=1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(I18N.length(), copied);
      }
    
      /**
       * Test for Guava issue 1061: http://code.google.com/p/guava-libraries/issues/detail?id=1061
       *
       * <p>CharStreams.copy was failing to clear its CharBuffer after each read call, which effectively
       * reduced the available size of the buffer each time a call to read didn't fill up the available
       * space in the buffer completely. In general this is a performance problem since the buffer size
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/BaseEncoding.java

          public OutputStream openStream() throws IOException {
            return encodingStream(encodedSink.openStream());
          }
        };
      }
    
      // TODO(lowasser): document the extent of leniency, probably after adding ignore(CharMatcher)
    
      private static byte[] extract(byte[] result, int length) {
        if (length == result.length) {
          return result;
        }
        byte[] trunc = new byte[length];
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

         *
         * - If the stack overflowed before set()/setValue() could even store the result in the output
         * Future, then a call setException() would likely also overflow.
         *
         * - If the stack overflowed after set()/setValue() stored its result, then a call to
         * setException() will be a no-op because the Future is already done.
         *
         * Both scenarios are bad: The output Future might never complete, or, if it does complete, it
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/SortedLists.java

            return lower;
          }
        },
        /**
         * Return the index of the first list element that compares as greater than the key, or {@code
         * list.size()} if there is no such element.
         */
        FIRST_AFTER {
          @Override
          public <E extends @Nullable Object> int resultIndex(
              Comparator<? super E> comparator,
              @ParametricNullness E key,
              List<? extends E> list,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.9K bytes
    - Viewed (0)
Back to top