Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 498 for boff (0.01 seconds)

  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();
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/util/MimeMap.java

            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
            final byte[] ext = extension.toLowerCase().getBytes("ASCII");
    
            state = ST_START;
            t = x = i = 0;
            for (off = 0; off < inLen; off++) {
                ch = in[off];
                switch (state) {
                case ST_START:
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (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;
            }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.9K bytes
    - Click Count (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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/AppendableWriter.java

        checkNotNull(str);
        checkNotClosed();
        target.append(str);
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        // tricky: append takes start, end pair...
        target.append(str, off, off + len);
      }
    
      @Override
      public void flush() throws IOException {
        checkNotClosed();
        if (target instanceof Flushable) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:37:28 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

         * @param b the data buffer
         * @param off the offset in the buffer
         */
        public SmbComReadAndXResponse(final Configuration config, final byte[] b, final int off) {
            super(config);
            this.data = b;
            this.offset = off;
        }
    
        void setParam(final byte[] b, final int off) {
            this.data = b;
            this.offset = off;
        }
    
        /**
         * Gets the read data buffer.
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. 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();
          }
        };
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/io/LineBufferTest.java

                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
          int len = min(chars.length, off + chunk) - off;
          lineBuf.add(chars, off, len);
          off += len;
        }
        lineBuf.finish();
        return lines;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/LineBufferTest.java

                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
          int len = min(chars.length, off + chunk) - off;
          lineBuf.add(chars, off, len);
          off += len;
        }
        lineBuf.finish();
        return lines;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top