Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 361 for woff (0.01 sec)

  1. guava/src/com/google/common/hash/HashingOutputStream.java

      @Override
      public void write(int b) throws IOException {
        hasher.putByte((byte) b);
        out.write(b);
      }
    
      @Override
      public void write(byte[] bytes, int off, int len) throws IOException {
        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
       * Returns the {@link HashCode} based on the data written to this stream. The result is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. 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)
  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. guava/src/com/google/common/hash/HashingInputStream.java

       * the bytes read.
       */
      @Override
      @CanIgnoreReturnValue
      public int read(byte[] bytes, int off, int len) throws IOException {
        int numOfBytesRead = in.read(bytes, off, len);
        if (numOfBytesRead != -1) {
          hasher.putBytes(bytes, off, numOfBytesRead);
        }
        return numOfBytesRead;
      }
    
      /**
       * mark() is not supported for HashingInputStream
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        @CanIgnoreReturnValue
        @Override
        public Hasher putBytes(byte[] bytes, int off, int len) {
          checkPositionIndexes(off, off + len, bytes.length);
          int i;
          for (i = 0; i + 4 <= len; i += 4) {
            update(4, getIntLittleEndian(bytes, off + i));
          }
          for (; i < len; i++) {
            putByte(bytes[off + i]);
          }
          return this;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. 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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. 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)
  8. 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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/smb/SSPContextTest.java

            @Override
            public byte[] initSecContext(byte[] token, int off, int len) throws CIFSException {
                if (token == null) {
                    if (len == 0) {
                        return new byte[0];
                    }
                    throw new CIFSException("token is null but len > 0");
                }
                if (off < 0 || len < 0 || off > token.length || off + len > token.length) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top