Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for hasTest (0.6 sec)

  1. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  2. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  3. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

                reportSetMap = new java.util.LinkedHashMap<String, ReportSet>();
                if (getReportSets() != null) {
                    for (java.util.Iterator<ReportSet> i = getReportSets().iterator(); i.hasNext(); ) {
                        ReportSet reportSet = (ReportSet) i.next();
                        reportSetMap.put(reportSet.getId(), reportSet);
                    }
                }
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
Back to top