Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 72 for peekc (0.02 sec)

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

          while (peekingItr.hasNext()) {
            Range<C> range = peekingItr.next();
            while (peekingItr.hasNext()) {
              Range<C> nextRange = peekingItr.peek();
              if (range.isConnected(nextRange)) {
                checkArgument(
                    range.intersection(nextRange).isEmpty(),
                    "Overlapping ranges not permitted but found %s overlapping %s",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Graphs.java

        Deque<NodeAndRemainingSuccessors<N>> stack = new ArrayDeque<>();
        stack.addLast(new NodeAndRemainingSuccessors<>(startNode));
    
        while (!stack.isEmpty()) {
          // To peek at the top two items, we need to temporarily remove one.
          NodeAndRemainingSuccessors<N> top = stack.removeLast();
          NodeAndRemainingSuccessors<N> prev = stack.peekLast();
          stack.addLast(top);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Aug 01 00:26:14 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

        monitor.enterWhen(notEmpty);
        try {
          return extract();
        } finally {
          monitor.leave();
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable E peek() {
        Monitor monitor = this.monitor;
        if (monitor.enterIf(notEmpty)) {
          try {
            return items[takeIndex];
          } finally {
            monitor.leave();
          }
        } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        } catch (ExecutionException expected) {
                        }
                        try {
                          peeker.getDone(nonInput);
                          fail("Peeker should not be able to peek into non-input ClosingFuture.");
                        } catch (IllegalArgumentException expected) {
                        }
                        capturedPeeker.set(peeker);
                        return closeable2;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  5. cmd/metacache-stream_test.go

    		}
    	}
    }
    
    func Test_metacacheReader_peek(t *testing.T) {
    	r := loadMetacacheSample(t)
    	defer r.Close()
    	for i, want := range loadMetacacheSampleNames {
    		got, err := r.peek()
    		if err == io.EOF {
    			break
    		}
    		if err != nil {
    			t.Fatal(err)
    		}
    		if got.name != want {
    			t.Errorf("entry %d, want %q, got %q", i, want, got.name)
    		}
    		gotObj, err := r.next()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  6. okhttp/api/jvm/okhttp.api

    	public static final field EMPTY Lokhttp3/TrailersSource;
    	public abstract fun get ()Lokhttp3/Headers;
    	public fun peek ()Lokhttp3/Headers;
    }
    
    public final class okhttp3/TrailersSource$Companion {
    }
    
    public final class okhttp3/TrailersSource$DefaultImpls {
    	public static fun peek (Lokhttp3/TrailersSource;)Lokhttp3/Headers;
    }
    
    public abstract interface class okhttp3/WebSocket {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

                } catch (e: IOException) {
                  throw RuntimeException(e)
                }
              }
              return result
            }
    
            override fun peek(): MockResponse = queueDispatcher.peek()
    
            override fun close() {
              queueDispatcher.close()
            }
          }
        client =
          client
            .newBuilder()
            .proxy(server.proxyAddress)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  8. CHANGELOG.md

    ## Version 5.1.0
    
    _2025-07-07_
    
     *  New: `Response.peekTrailers()`. When we changed `Response.trailers()` to block instead of
        throwing in 5.0.0, we inadvertently removed the ability for callers to peek the trailers
        (by catching the `IllegalStateException` if they weren't available). This new API restores that
        capability.
    
     *  Fix: Don't crash on `trailers()` if the response doesn't have a body. We broke [Retrofit] users
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. cmd/metacache-set.go

    		}
    		if contextCanceled(ctx) {
    			return ctx.Err()
    		}
    		for i, r := range readers {
    			if errs[i] != nil {
    				hasErr++
    				continue
    			}
    			entry, err := r.peek()
    			switch err {
    			case io.EOF:
    				atEOF++
    				continue
    			case nil:
    			default:
    				switch err.Error() {
    				case errFileNotFound.Error():
    					atEOF++
    					fnf++
    					continue
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  10. okhttp/api/android/okhttp.api

    	public static final field EMPTY Lokhttp3/TrailersSource;
    	public abstract fun get ()Lokhttp3/Headers;
    	public fun peek ()Lokhttp3/Headers;
    }
    
    public final class okhttp3/TrailersSource$Companion {
    }
    
    public final class okhttp3/TrailersSource$DefaultImpls {
    	public static fun peek (Lokhttp3/TrailersSource;)Lokhttp3/Headers;
    }
    
    public abstract interface class okhttp3/WebSocket {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top