Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 760 for NEXT (0.06 sec)

  1. cmd/metacache-stream.go

    	if err == io.EOF {
    		err = io.ErrUnexpectedEOF
    	}
    	r.err = err
    	return r.current, err
    }
    
    // next will read one entry from the stream.
    // Generally not recommended for fast operation.
    func (r *metacacheReader) next() (metaCacheEntry, error) {
    	r.checkInit()
    	if r.err != nil {
    		return metaCacheEntry{}, r.err
    	}
    	var m metaCacheEntry
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import java.util.function.Function;
    import java.util.function.Supplier;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tester for {@code Spliterator} implementations.
     *
     * @since NEXT (but since 21.0 in the JRE flavor)
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    @SuppressWarnings("Java7ApiChecker")
    @IgnoreJRERequirement // Users will use this only if they're already using Spliterator.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      }
    
      @CollectionFeature.Require({SUPPORTS_ADD, FAILS_FAST_ON_CONCURRENT_MODIFICATION})
      public void testSetCountZeroToOneConcurrentWithEntrySetIteration() {
        Iterator<Entry<E>> iterator = getMultiset().entrySet().iterator();
        assertSetCount(e3(), 1);
        assertThrows(ConcurrentModificationException.class, () -> iterator.next());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeTraverser.java

        }
    
        @Override
        public boolean hasNext() {
          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
          T result = checkNotNull(itr.next());
          if (!itr.hasNext()) {
            stack.removeLast();
          }
          Iterator<T> childItr = children(result).iterator();
          if (childItr.hasNext()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertTrue(iterator.hasNext());
        assertEquals("1", iterator.next());
        assertTrue(iterator.hasNext());
        assertEquals("2", iterator.next());
        assertTrue(iterator.hasNext());
        assertEquals("3", iterator.next());
        assertTrue(iterator.hasNext());
        assertEquals("4", iterator.next());
        assertFalse(iterator.hasNext());
        try {
          iterator.next();
          fail("did not detect end of list");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ListsTest.java

        assertTrue(iterator.hasNext());
        assertEquals("1", iterator.next());
        assertTrue(iterator.hasNext());
        assertEquals("2", iterator.next());
        assertTrue(iterator.hasNext());
        assertEquals("3", iterator.next());
        assertTrue(iterator.hasNext());
        assertEquals("4", iterator.next());
        assertFalse(iterator.hasNext());
        try {
          iterator.next();
          fail("did not detect end of list");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

        assertThrows(
            ConcurrentModificationException.class,
            () -> {
              Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator();
              getMap().remove(k0());
              iterator.next();
            });
      }
    
      @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE})
      @CollectionSize.Require(SEVERAL)
      public void testRemovePresentConcurrentWithKeySetIteration() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/eventbus/Dispatcher.java

            try {
              Event nextEvent;
              while ((nextEvent = queueForThread.poll()) != null) {
                while (nextEvent.subscribers.hasNext()) {
                  nextEvent.subscribers.next().dispatchEvent(nextEvent.event);
                }
              }
            } finally {
              dispatching.remove();
              queue.remove();
            }
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolverTest.java

            printErrors(result);
    
            Iterator<Artifact> i = result.getArtifacts().iterator();
            assertEquals(n, i.next(), "n should be first");
            assertEquals(m, i.next(), "m should be second");
    
            // inverse order
            set = new LinkedHashSet<>();
            set.add(m);
            set.add(n);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. cmd/url_test.go

    	// the actual benchmark for PutObject starts here. Reset the benchmark timer.
    	b.ResetTimer()
    
    	if err := req.ParseForm(); err != nil {
    		b.Fatal(err)
    	}
    
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			req.Form.Get("uploadId")
    		}
    	})
    
    	// Benchmark ends here. Stop timer.
    	b.StopTimer()
    }
    
    // BenchmarkURLQuery - benchmark URL memory allocations
    func BenchmarkURLQuery(b *testing.B) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 2K bytes
    - Viewed (0)
Back to top