Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 770 for NEXT (0.04 sec)

  1. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    if( sort == 0 ) {
                        if( compareNames( dirents[i], name, (SmbFile)iter.next() ) < 0 ) {
                            break;
                        }
                    } else if( sort == 1 ) {
                        if( compareSizes( dirents[i], name, (SmbFile)iter.next() ) < 0 ) {
                            break;
                        }
                    } else if( sort == 2 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
              put(e3());
              iterator.next();
            });
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT})
      @CollectionSize.Require(absent = ZERO)
      public void testPutAbsentConcurrentWithKeySetIteration() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        Entry<String, Collection<Integer>> entry = iterator.next();
        assertEquals(null, entry.getKey());
        assertThat(entry.getValue()).containsExactly(7, 3, 1);
        entry = iterator.next();
        assertEquals("tree", entry.getKey());
        assertThat(entry.getValue()).containsExactly(null, 0);
        entry = iterator.next();
        assertEquals("google", entry.getKey());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

        assertEquals(mapEntry(k0(), v0()), iterator.next());
        iterator.remove();
        assertTrue(multimap().isEmpty());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testEntriesRemainValidAfterRemove() {
        Iterator<Entry<K, V>> iterator = multimap().entries().iterator();
        Entry<K, V> entry = iterator.next();
        K key = entry.getKey();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/CartesianList.java

          return -1;
        }
        ListIterator<?> itr = list.listIterator();
        int computedIndex = 0;
        while (itr.hasNext()) {
          int axisIndex = itr.nextIndex();
          int elemIndex = axes.get(axisIndex).indexOf(itr.next());
          if (elemIndex == -1) {
            return -1;
          }
          computedIndex += elemIndex * axesSizeProduct[axisIndex + 1];
        }
        return computedIndex;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        multiset.add(multiset, 2);
        Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset);
        assertEquals(2, copy.size());
        assertSame(copy, copy.iterator().next());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Only used by @GwtIncompatible code
      private static class MultisetHolder implements Serializable {
        public Multiset<?> member;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      // http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/
    
      /** The queued items */
      final E[] items;
      /** items index for next take, poll or remove */
      int takeIndex;
      /** items index for next put, offer, or add. */
      int putIndex;
      /** Number of items in the queue */
      private int count;
    
      /*
       * Concurrency control uses the classic two-condition algorithm
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeSet.java

              while (!elemItr.hasNext()) {
                if (rangeItr.hasNext()) {
                  elemItr = ContiguousSet.create(rangeItr.next(), domain).iterator();
                } else {
                  return endOfData();
                }
              }
              return elemItr.next();
            }
          };
        }
    
        @Override
        @GwtIncompatible("NavigableSet")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. src/bufio/bufio.go

    			return
    		}
    	}
    	b.err = io.ErrNoProgress
    }
    
    func (b *Reader) readErr() error {
    	err := b.err
    	b.err = nil
    	return err
    }
    
    // Peek returns the next n bytes without advancing the reader. The bytes stop
    // being valid at the next read call. If Peek returns fewer than n bytes, it
    // also returns an error explaining why the read is short. The error is
    // [ErrBufferFull] if n is larger than b's buffer size.
    //
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<E> iterator = collection.iterator();
              assertTrue(collection.remove(e0()));
              iterator.next();
            });
      }
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemove_notPresent() {
        assertFalse("remove(notPresent) should return false", collection.remove(e3()));
        expectUnchanged();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top