Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for peekKey (0.04 sec)

  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 {
                this.socket.setSoTimeout(this.transportContext.getConfig().getSoTimeout());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  2. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top