Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2171 - 2180 of 2,978 for projectId (0.05 seconds)

  1. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

      }
    
      public void testReentrantHasNext() {
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              protected Integer computeNext() {
                boolean unused = hasNext();
                throw new AssertionError();
              }
            };
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestStringMapGenerator() {
                      @Override
                      protected Map<String, String> create(Entry<String, String>[] entries) {
                        Map<String, String> map = CompactLinkedHashMap.create();
                        for (Entry<String, String> entry : entries) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

      }
    
      public void testReentrantHasNext() {
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              @Override
              protected Integer computeNext() {
                boolean unused = hasNext();
                throw new AssertionError();
              }
            };
        assertThrows(IllegalStateException.class, iter::hasNext);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

     */
    @NullUnmarked
    @GwtIncompatible
    @J2ktIncompatible
    public class SettableFutureTest extends TestCase {
    
      private SettableFuture<String> future;
      private ListenableFutureTester tester;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        future = SettableFuture.create();
        tester = new ListenableFutureTester(future);
        tester.setUp();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/CharSourceTester.java

          CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) {
        super(factory, string, suiteName, caseDesc, method);
        this.expectedLines = getLines(expected);
      }
    
      @Override
      protected void setUp() throws Exception {
        this.source = factory.createSource(data);
      }
    
      public void testOpenStream() throws IOException {
        Reader reader = source.openStream();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/SymbolicLinkPreservingTar.java

     *
     * This task is necessary because the built-in task {@link org.gradle.api.tasks.bundling.Tar} does not preserve symbolic links.
     */
    public class SymbolicLinkPreservingTar extends Tar {
    
        @Override
        protected CopyAction createCopyAction() {
            final ArchiveOutputStreamFactory compressor;
            switch (getCompression()) {
                case BZIP2:
                    compressor = Bzip2Archiver.getCompressor();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.7K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

     * MediaTypeTest.
     */
    open class MediaTypeTest {
      open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase()
    
      protected open fun parse(string: String): MediaType = string.toMediaTypeOrNull()!!
    
      protected open fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        assertNull(string.toMediaTypeOrNull(), exceptionMessage)
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleFutureTest.java

      @Override
      protected void setUp() {
        ExecutorService executor = newSingleThreadExecutor();
        tearDownStack.addTearDown(executor::shutdownNow);
        sleeper = new SleepingRunnable(1000);
        delayedFuture = executor.submit(sleeper, true);
    
        tearDownStack.addTearDown(() -> Thread.interrupted());
      }
    
      @Override
      protected void tearDown() {
        tearDownStack.runTearDown();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/UnmodifiableListIterator.java

     */
    @GwtCompatible
    public abstract class UnmodifiableListIterator<E extends @Nullable Object>
        extends UnmodifiableIterator<E> implements ListIterator<E> {
      /** Constructor for use by subclasses. */
      protected UnmodifiableListIterator() {}
    
      /**
       * Guaranteed to throw an exception and leave the underlying data unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java

            .addEqualityGroup(map2, wrap(map2))
            .testEquals();
      }
    
      private static <K, V> Multimap<K, V> wrap(Multimap<K, V> delegate) {
        return new ForwardingMultimap<K, V>() {
          @Override
          protected Multimap<K, V> delegate() {
            return delegate;
          }
        };
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top