Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for doSkip (0.1 sec)

  1. src/main/java/jcifs/smb1/util/transport/Transport.java

        protected abstract void doSend( Request request ) throws IOException;
        protected abstract void doRecv( Response response ) throws IOException;
        protected abstract void doSkip() throws IOException;
    
        public synchronized void sendrecv( Request request,
                        Response response,
                        long timeout ) throws IOException {
                makeKey( request );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/transport/Transport.java

    
        protected abstract void doSend ( Request request ) throws IOException;
    
    
        protected abstract void doRecv ( Response response ) throws IOException;
    
    
        protected abstract void doSkip ( Long key ) throws IOException;
    
    
        /**
         * 
         * @return whether the transport is disconnected
         */
        public boolean isDisconnected () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 01 18:12:21 UTC 2020
    - 24.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    log.println( response );
                    if (log.level >= 6) {
                        Hexdump.hexdump( log, BUF, 4, size );
                    }
                }
            }
        }
        protected void doSkip() throws IOException {
            int size = Encdec.dec_uint16be( sbuf, 2 ) & 0xFFFF;
            if (size < 33 || (4 + size) > rcv_buf_size ) {
                /* log message? */
                in.skip( in.available() );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
            }
            finally {
                getContext().getBufferCache().releaseBuffer(buffer);
            }
        }
    
    
        @Override
        protected void doSkip ( Long key ) throws IOException {
            synchronized ( this.inLock ) {
                int size = Encdec.dec_uint16be(this.sbuf, 2) & 0xFFFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

          } else {
            // This is a subsequent part or a preamble. Skip until "\r\n--" followed by the boundary.
            while (true) {
              val toSkip = currentPartBytesRemaining(maxResult = 8192)
              if (toSkip == 0L) break
              source.skip(toSkip)
            }
            source.skip(crlfDashDashBoundary.size.toLong())
          }
    
          // Read either \r\n or --\r\n to determine if there is another part.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

          byteCount: Long,
        ) {
          val toRead = minOf(remainingByteCount, byteCount)
          if (toRead > 0L) {
            source.read(buffer, toRead)
          }
          val toSkip = byteCount - toRead
          if (toSkip > 0L) {
            source.skip(toSkip)
          }
          remainingByteCount -= toRead
          receivedByteCount += byteCount
        }
    
        @Throws(IOException::class)
        override fun flush() {
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Iterables.java

          @Override
          public Iterator<T> iterator() {
            if (iterable instanceof List) {
              final List<T> list = (List<T>) iterable;
              int toSkip = Math.min(list.size(), numberToSkip);
              return list.subList(toSkip, list.size()).iterator();
            }
            final Iterator<T> iterator = iterable.iterator();
    
            Iterators.advance(iterator, numberToSkip);
    
            /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top