Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,045 for nextUp (0.04 seconds)

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

          public boolean hasNext() {
            return valueItr.hasNext() || valueCollectionItr.hasNext();
          }
    
          @Override
          public V next() {
            if (!valueItr.hasNext()) {
              valueItr = valueCollectionItr.next().iterator();
            }
            return valueItr.next();
          }
        };
      }
    
      private static final class Values<K, V> extends ImmutableCollection<V> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  2. compat/maven-model/src/main/java/org/apache/maven/model/InputLocation.java

                if (locations.size() == 1 && locations.values().iterator().next() == this) {
                    return org.apache.maven.api.model.InputLocation.of(
                            lineNumber,
                            columnNumber,
                            source != null ? source.toApiSource() : null,
                            locations.keySet().iterator().next());
                } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/CharSource.java

            @Override
            protected @Nullable String computeNext() {
              if (lines.hasNext()) {
                String next = lines.next();
                // skip last line if it's empty
                if (lines.hasNext() || !next.isEmpty()) {
                  return next;
                }
              }
              return endOfData();
            }
          };
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  4. cmd/bucket-replication-metrics.go

    	}
    	return &SMA{
    		buf:    make([]float64, ln),
    		window: ln,
    		idx:    0,
    	}
    }
    
    func (s *SMA) addSample(next float64) {
    	prev := s.buf[s.idx]
    	s.buf[s.idx] = next
    
    	if s.filledBuf {
    		s.prevSMA += (next - prev) / float64(s.window)
    		s.CAvg += (next - s.CAvg) / float64(s.window)
    	} else {
    		s.CAvg = s.simpleMovingAvg()
    		s.prevSMA = s.CAvg
    	}
    	if s.idx == s.window-1 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 15 12:04:40 GMT 2024
    - 14.2K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/feature/FeatureInjector.java

                    ArrayNode featuresArray = (ArrayNode) features;
                    Iterator<JsonNode> it = featuresArray.elements();
                    while (it.hasNext()) {
                        if (getSkipFeatureName().equals(it.next().asText())) {
                            return true;
                        }
                    }
                } else {
                    if (getSkipFeatureName().equals(features.asText())) {
                        return true;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        FluentIterable<Integer> cycle = fluent(1, 2).cycle();
        Iterator<Integer> iterator = cycle.iterator();
        iterator.next();
        iterator.remove();
        iterator.next();
        iterator.remove();
        assertFalse(iterator.hasNext());
        assertFalse(cycle.iterator().hasNext());
      }
    
      public void testAppend() {
        FluentIterable<Integer> result =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                    final CommonServerMessageBlockRequest next = chain.getNext();
                    if (log.isTraceEnabled()) {
                        log.trace(String.format("%s costs %d avail %d (%s)", chain.getClass().getName(), cost, this.credits.availablePermits(),
                                this.name));
                    }
                    if ((next == null || chain.allowChain(next)) && totalSize + size < maxSize && this.credits.tryAcquire(cost)) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 69.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            byte[] src = "Test".getBytes();
    
            // Test with non-null source array
            int nextOffset = NtlmMessage.writeSecurityBuffer(dest, 0, src);
            assertEquals(4, nextOffset, "Should return correct next offset.");
            assertEquals(src.length, NtlmMessage.readUShort(dest, 0), "Length should be written correctly.");
            assertEquals(src.length, NtlmMessage.readUShort(dest, 2), "Max length should be written correctly.");
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  9. src/cmd/api/api_test.go

    		{
    			name: "contexts reconverging after api/next/* update",
    			features: []string{
    				"A",
    				"pkg syscall, type RawSockaddrInet6 struct",
    			},
    			required: []string{
    				"A",
    				"pkg syscall (darwin-amd64), type RawSockaddrInet6 struct", // api/go1.n.txt
    				"pkg syscall, type RawSockaddrInet6 struct",                // api/next/n.txt
    			},
    			ok:  true,
    			out: "",
    		},
    		{
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        return new UnmodifiableIterator<K>() {
          @Override
          public boolean hasNext() {
            return entryIterator.hasNext();
          }
    
          @Override
          public K next() {
            return entryIterator.next().getKey();
          }
        };
      }
    
      private transient @Nullable ImmutableCollection<V> cachedValues = null;
    
      @Override
      public ImmutableCollection<V> values() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 15:51:42 GMT 2026
    - 17.2K bytes
    - Click Count (0)
Back to Top