Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 264 for woff (0.01 sec)

  1. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            length = Encdec.dec_uint16le(buf, 8);
            if (length > max_recv) {
                throw new IOException("Unexpected fragment length: " + length);
            }
    
            while (off < length) {
                off += in.readDirect(buf, off, length - off);
            }
        }
    
        @Override
        public void close() throws IOException {
            state = 0;
            if (out != null) {
                out.close();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/TestCharSink.java

            super.write(c);
            flush();
          }
    
          @Override
          public void write(char[] cbuf, int off, int len) throws IOException {
            super.write(cbuf, off, len);
            flush();
          }
    
          @Override
          public void write(String str, int off, int len) throws IOException {
            super.write(str, off, len);
            flush();
          }
        };
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                if (off + stub_frag_len > in.length) {
                    // shouldn't happen if alloc_hint is correct or greater
                    final byte[] tmp = new byte[off + stub_frag_len];
                    System.arraycopy(in, 0, tmp, 0, off);
                    in = tmp;
                }
                System.arraycopy(fragBytes, 24, in, off, stub_frag_len);
                off += stub_frag_len;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

        public int read(final byte[] b, final int off, final int len) throws IOException {
            return readDirect(b, off, len);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         * Optimized for better performance with larger read sizes and reduced round trips.
         *
         * @param b the buffer to read into
         * @param off the offset in the buffer to start writing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

         *
         * @param b the byte array to read data into
         * @param off the offset in the array at which to start storing bytes
         * @param len the maximum number of bytes to read
         * @return the number of bytes read, or -1 if end of file is reached
         * @throws SmbException if an I/O error occurs
         */
        public int read(final byte b[], final int off, int len) throws SmbException {
            if (len <= 0) {
                return 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java

            this.b = b;
            this.off = off;
            this.dataLength = len;
        }
    
        /**
         * Sets the parameters for this write AndX request.
         *
         * @param fid the file identifier
         * @param offset the file offset at which to write
         * @param remaining the number of bytes remaining to be written
         * @param b the data buffer containing bytes to write
         * @param off the offset in the buffer where data starts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

        @Override
        public synchronized void write(final byte[] b, int off, final int len) throws IOException {
            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
                throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
            }
    
            off -= 4;
    
            b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                result = len > used ? used : len;
                if (used > i && result > i) {
                    System.arraycopy(pipe_buf, beg_idx, b, off, i);
                    off += i;
                    System.arraycopy(pipe_buf, 0, b, off, result - i);
                } else {
                    System.arraycopy(pipe_buf, beg_idx, b, off, result);
                }
                used -= result;
                beg_idx = (beg_idx + result) % pipe_buf.length;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/AbstractHasher.java

        return putBytes(bytes, 0, bytes.length);
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(byte[] bytes, int off, int len) {
        Preconditions.checkPositionIndexes(off, off + len, bytes.length);
        for (int i = 0; i < len; i++) {
          putByte(bytes[off + i]);
        }
        return this;
      }
    
      @Override
      @CanIgnoreReturnValue
      public Hasher putBytes(ByteBuffer b) {
        if (b.hasArray()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         */
    
        @Override
        public int read(final byte[] b, final int off, final int len) throws IOException {
            return readDirect(b, off, len);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         *
         * @param b the buffer into which the data is read
         * @param off the start offset in the array b at which the data is written
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top