Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for hasTest (0.04 sec)

  1. guava/src/com/google/common/collect/Maps.java

              Iterator<Entry<K, V>> entryIterator) {
        return new UnmodifiableIterator<Entry<K, V>>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public Entry<K, V> next() {
            return unmodifiableEntry(entryIterator.next());
          }
        };
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

              Iterator<Entry<K, V>> entryIterator) {
        return new UnmodifiableIterator<Entry<K, V>>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public Entry<K, V> next() {
            return unmodifiableEntry(entryIterator.next());
          }
        };
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val i: Iterator<String> = cache.urls()
        assertThat(i.hasNext()).isTrue()
        assertThat(i.next()).isEqualTo(urlA.toString())
        assertThat(i.hasNext()).isTrue()
        assertThat(i.next()).isEqualTo(urlB.toString())
        assertThat(i.hasNext()).isTrue()
        assertThat(i.next()).isEqualTo(urlC.toString())
    
        // ... and nothing else.
        assertThat(i.hasNext()).isFalse()
        assertFailsWith<NoSuchElementException> {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 116.8K bytes
    - Viewed (0)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/connection/RoutePlanner$DefaultImpls;->hasNext$default(Lokhttp3/internal/connection/RoutePlanner;Lokhttp3/internal/connection/RealConnection;ILjava/lang/Object;)Z
    HSPLokhttp3/internal/connection/RouteSelector$Selection;-><init>(Ljava/util/List;)V
    HSPLokhttp3/internal/connection/RouteSelector$Selection;->hasNext()Z
    HSPLokhttp3/internal/connection/RouteSelector$Selection;->next()Lokhttp3/Route;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (1)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          Random random = new Random();
          List<ReferenceEntry<Object, Object>> reads = new ArrayList<>();
          Iterator<ReferenceEntry<Object, Object>> i = readOrder.iterator();
          while (i.hasNext()) {
            ReferenceEntry<Object, Object> entry = i.next();
            if (random.nextBoolean()) {
              map.get(entry.getKey(), loader);
              reads.add(entry);
              i.remove();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          Random random = new Random();
          List<ReferenceEntry<Object, Object>> reads = new ArrayList<>();
          Iterator<ReferenceEntry<Object, Object>> i = readOrder.iterator();
          while (i.hasNext()) {
            ReferenceEntry<Object, Object> entry = i.next();
            if (random.nextBoolean()) {
              map.get(entry.getKey(), loader);
              reads.add(entry);
              i.remove();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    throw new SmbException(url.toString(), last);
                }
                throw (SmbException) last;
            }
    
            final Iterator iter = map.keySet().iterator();
            while (iter.hasNext()) {
                e = (FileEntry) iter.next();
                final String name = e.getName();
                if (fnf != null && !fnf.accept(this, name)) {
                    continue;
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

                    try (CloseableIterator<SmbResource> it =
                            SmbEnumerationUtil.doEnum(this, "*", ATTR_DIRECTORY | ATTR_HIDDEN | ATTR_SYSTEM, null, null)) {
                        while (it.hasNext()) {
                            try (SmbResource r = it.next()) {
                                try {
                                    r.delete();
                                } catch (final CIFSException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

              // Skip stale entry.
              return false;
            }
          } finally {
            currentSegment.postReadCleanup();
          }
        }
    
        @Override
        public boolean hasNext() {
          return nextExternal != null;
        }
    
        WriteThroughEntry nextEntry() {
          if (nextExternal == null) {
            throw new NoSuchElementException();
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
Back to top