Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for doSkip (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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