Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for buffering (0.17 sec)

  1. android/guava/src/com/google/common/io/FileBackedOutputStream.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import javax.annotation.CheckForNull;
    
    /**
     * An {@link OutputStream} that starts buffering to a byte array, but switches to file buffering
     * once the data reaches a configurable size.
     *
     * <p>When this stream creates a temporary file, it restricts the file's permissions to the current
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSink.java

       * required to be a {@link BufferedOutputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/CharSink.java

       * required to be a {@link BufferedWriter} in order to allow implementations to simply delegate to
       * {@link #openStream()} when the stream returned by that method does not benefit from additional
       * buffering. This method returns a new, independent writer each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned writer is closed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/CharStreams.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class CharStreams {
    
      // 2K chars (4K bytes)
      private static final int DEFAULT_BUF_SIZE = 0x800;
    
      /** Creates a new {@code CharBuffer} for buffering reads or writes. */
      static CharBuffer createBuffer() {
        return CharBuffer.allocate(DEFAULT_BUF_SIZE);
      }
    
      private CharStreams() {}
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

         * <p>
         * Continues an MD4 message digest operation, by filling the buffer,
         * transform(ing) data in 512-bit message block(s), updating the variables
         * context and count, and leaving (buffering) the remaining bytes in buffer
         * for the next update or finish.
         *
         * @param    input    input block
         * @param    offset    start of meaningful bytes in input
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 9.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * 
         */
        public static final int FILE_SEQUENTIAL_ONLY = 0x4;
        /**
         * 
         */
        public static final int FILE_NO_IMTERMEDIATE_BUFFERING = 0x8;
        /**
         * 
         */
        public static final int FILE_SYNCHRONOUS_IO_ALERT = 0x10;
        /**
         * 
         */
        public static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x20;
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 09:52:11 GMT 2019
    - 14.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSource.java

       * not required to be a {@link BufferedInputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayInputStream}). This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteStreams.java

     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ByteStreams {
    
      private static final int BUFFER_SIZE = 8192;
    
      /** Creates a new byte array for buffering reads or writes. */
      static byte[] createBuffer() {
        return new byte[BUFFER_SIZE];
      }
    
      /**
       * There are three methods to implement {@link FileChannel#transferTo(long, long,
       * WritableByteChannel)}:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/rpc.java

                    _dst.enc_ndr_long(_buffers);
                    _dst.enc_ndr_long(0);
                    _dst.enc_ndr_long(_bufferl);
                    int _bufferi = _dst.index;
                    _dst.advance(2 * _bufferl);
    
                    _dst = _dst.derive(_bufferi);
                    for (int _i = 0; _i < _bufferl; _i++) {
                        _dst.enc_ndr_short(buffer[_i]);
                    }
                }
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/InetAddressesTest.java

        // 2 6to4 addresses differing in the embedded IPv4 address should
        // hash to the different values.
        assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0102:0304::1")))
            .isNotEqualTo(
                InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0506:0708::1")));
    
        // 2 6to4 addresses NOT differing in the embedded IPv4 address should
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
Back to top