Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 111 for peekc (0.03 seconds)

  1. android/guava/src/com/google/common/collect/TreeRangeSet.java

                      .iterator());
          Cut<C> cut;
          if (positiveItr.hasNext()) {
            cut =
                (positiveItr.peek().upperBound == Cut.<C>aboveAll())
                    ? positiveItr.next().lowerBound
                    : positiveRangesByLowerBound.higherKey(positiveItr.peek().upperBound);
          } else if (!complementLowerBoundWindow.contains(Cut.belowAll())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     *     .maximumSize(1000)
     *     .create();
     * }
     *
     * <p>As a {@link Queue} it functions exactly as a {@link PriorityQueue}: its head element -- the
     * implicit target of the methods {@link #peek()}, {@link #poll()} and {@link #remove()} -- is
     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

        public String toString() {
          return standardToString();
        }
    
        @Override
        public boolean offer(T o) {
          return standardOffer(o);
        }
    
        @Override
        public @Nullable T peek() {
          return standardPeek();
        }
    
        @Override
        public @Nullable T poll() {
          return standardPoll();
        }
      }
    
      @AndroidIncompatible // test-suite builders
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  4. src/bytes/buffer.go

    func (b *Buffer) String() string {
    	if b == nil {
    		// Special case, useful in debugging.
    		return "<nil>"
    	}
    	return string(b.buf[b.off:])
    }
    
    // Peek returns the next n bytes without advancing the buffer.
    // If Peek returns fewer than n bytes, it also returns [io.EOF].
    // The slice is only valid until the next call to a read or write method.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java

                        if (currentType == null) {
                            currentType = jar;
                        }
                    }
                    if (!stack.isEmpty()) {
                        ArtifactType parentType = stack.peek();
                        if (needsDerive.contains(parentType.getId())) {
                            Artifact artifact = node.getArtifact();
                            Map<String, String> props = new HashMap<>(artifact.getProperties());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Mar 28 11:22:05 GMT 2026
    - 8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(valuesFunction);
        return collectingAndThen(
            flatteningToMultimap(
                input -> checkNotNull(keyFunction.apply(input)),
                input -> valuesFunction.apply(input).peek(Preconditions::checkNotNull),
                MultimapBuilder.linkedHashKeys().arrayListValues()::<K, V>build),
            ImmutableListMultimap::copyOf);
      }
    
      static <T extends @Nullable Object, K, V>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/CollectCollectors.java

        checkNotNull(valuesFunction);
        return collectingAndThen(
            flatteningToMultimap(
                input -> checkNotNull(keyFunction.apply(input)),
                input -> valuesFunction.apply(input).peek(Preconditions::checkNotNull),
                MultimapBuilder.linkedHashKeys().arrayListValues()::<K, V>build),
            ImmutableListMultimap::copyOf);
      }
    
      static <T extends @Nullable Object, K, V>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<String> nonpeek = Lists.newArrayList("a", "b", "c").iterator();
        PeekingIterator<String> peek = peekingIterator(nonpeek);
        assertThat(nonpeek).isNotSameInstanceAs(peek);
        assertThat(peekingIterator(peek)).isSameInstanceAs(peek);
        assertThat(peekingIterator((Iterator<String>) peek)).isSameInstanceAs(peek);
      }
    
      public void testMergeSorted_stable_issue5773Example() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 57.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

     *     .maximumSize(1000)
     *     .create();
     * }
     *
     * <p>As a {@link Queue} it functions exactly as a {@link PriorityQueue}: its head element -- the
     * implicit target of the methods {@link #peek()}, {@link #poll()} and {@link #remove()} -- is
     * defined as the <i>least</i> element in the queue according to the queue's comparator. But unlike
     * a regular priority queue, the methods {@link #peekLast}, {@link #pollLast} and {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        trailersWithServerTruncatedResponse(Protocol.HTTP_2)
      }
    
      /**
       * If the server closes the connection while the client is consuming the response body, attempts
       * to peek or read the trailers should throw.
       */
      private fun trailersWithServerTruncatedResponse(protocol: Protocol) {
        val responseBody = "a".repeat(OKHTTP_CLIENT_WINDOW_SIZE)
        enableProtocol(protocol)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 18.8K bytes
    - Click Count (0)
Back to Top