Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for peekKey (0.04 seconds)

  1. src/main/java/jcifs/smb/SmbTransportImpl.java

             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if (peekKey() == null) { /* try to read header */
                    throw new IOException("transport closed in negotiate");
                }
            } finally {
    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)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        peeker.getDone(input2Failed);
                        fail("Peeker.getDone() should fail for failed inputs");
                      } catch (ExecutionException expected) {
                      }
                      try {
                        peeker.getDone(nonInput);
                        fail("Peeker should not be able to peek into non-input ClosingFuture.");
                      } catch (IllegalArgumentException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        peeker.getDone(input2Failed);
                        fail("Peeker.getDone() should fail for failed inputs");
                      } catch (ExecutionException expected) {
                      }
                      try {
                        peeker.getDone(nonInput);
                        fail("Peeker should not be able to peek into non-input ClosingFuture.");
                      } catch (IllegalArgumentException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Iterators.java

          hasPeeked = false;
          peekedElement = null;
          return result;
        }
    
        @Override
        public void remove() {
          checkState(!hasPeeked, "Can't remove after you've peeked at next");
          iterator.remove();
        }
    
        @Override
        @ParametricNullness
        public E peek() {
          if (!hasPeeked) {
            peekedElement = iterator.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Iterators.java

          hasPeeked = false;
          peekedElement = null;
          return result;
        }
    
        @Override
        public void remove() {
          checkState(!hasPeeked, "Can't remove after you've peeked at next");
          iterator.remove();
        }
    
        @Override
        @ParametricNullness
        public E peek() {
          if (!hasPeeked) {
            peekedElement = iterator.next();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
Back to Top