Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 248 for hasNext (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

        assertLockNotHeld()
    
        val executableCalls = mutableListOf<AsyncCall>()
        val isRunning: Boolean
        synchronized(this) {
          val i = readyAsyncCalls.iterator()
          while (i.hasNext()) {
            val asyncCall = i.next()
    
            if (runningAsyncCalls.size >= this.maxRequests) break // Max capacity.
            if (asyncCall.callsPerHost.get() >= this.maxRequestsPerHost) continue // Host max capacity.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/HashBiMapTest.java

        Entry<String, Integer> entry = inverseEntryItr.next();
        entry.setValue(3);
        assertEquals(immutableEntry("b", 2), inverseEntryItr.next());
        assertFalse(inverseEntryItr.hasNext());
        assertThat(map.entrySet())
            .containsExactly(immutableEntry(2, "b"), immutableEntry(3, "a"))
            .inOrder();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportImpl.java

            if (targetDomain != null) {
                targetDomain = targetDomain.toUpperCase(Locale.ROOT);
            }
    
            ListIterator<SmbSessionImpl> iter = this.sessions.listIterator();
            while (iter.hasNext()) {
                final SmbSessionImpl ssn = iter.next();
                if (ssn.matches(tf, targetHost, targetDomain)) {
                    if (log.isTraceEnabled()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashMap.java

        int indexToRemove = -1;
    
        @Override
        public boolean hasNext() {
          return currentIndex >= 0;
        }
    
        @ParametricNullness
        abstract T getOutput(int entry);
    
        @Override
        @ParametricNullness
        public T next() {
          checkForConcurrentModification();
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Converter.java

        return () ->
            new Iterator<B>() {
              private final Iterator<? extends A> fromIterator = fromIterable.iterator();
    
              @Override
              public boolean hasNext() {
                return fromIterator.hasNext();
              }
    
              @Override
              public B next() {
                return convert(fromIterator.next());
              }
    
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/collect/TreeBasedTable.java

                comparator);
    
        return new AbstractIterator<C>() {
          @Nullable C lastValue;
    
          @Override
          protected @Nullable C computeNext() {
            while (merged.hasNext()) {
              C next = merged.next();
              boolean duplicate = lastValue != null && comparator.compare(next, lastValue) == 0;
    
              // Keep looping till we find a non-duplicate value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
          String expectedOutput = iterator.next();
          assertFalse(iterator.hasNext());
          assertEquals(expectedOutput, simplifyPath(input));
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/Kerb5Authenticator.java

        public String getUserDomain() {
            if (this.realm == null && this.getSubject() != null) {
                Set<Principal> pr = this.getSubject().getPrincipals();
                for (Iterator<Principal> ite = pr.iterator(); ite.hasNext();) {
                    try {
                        KerberosPrincipal entry = (KerberosPrincipal) ite.next();
                        return entry.getRealm();
                    } catch (Exception e) {
                        continue;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Dfs.java

                if (!path.equals("\\")) {
                    key += path;
                }
                key = key.toLowerCase();
    
                final Iterator iter = referrals.map.keySet().iterator();
                while (iter.hasNext()) {
                    final String _key = (String) iter.next();
                    final int _klen = _key.length();
                    boolean match = false;
    
                    if (_klen == key.length()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top