Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 270 for reeds (0.08 sec)

  1. guava/src/com/google/common/io/CharStreams.java

     */
    @J2ktIncompatible
    @GwtIncompatible
    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() {}
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteSource.java

          return ByteStreams.copy(in, out);
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Reads the full contents of this byte source as a byte array.
       *
       * @throws IOException if an I/O error occurs while reading from this source
       */
      public byte[] read() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

         *
         * @return resolveHashes
         */
        boolean isResolveHashes();
    
        /**
         * Check if this referral needs to be resolved further
         *
         * @return whether this refrral needs to be resolved further
         */
        boolean isIntermediate();
    
        /**
         * Combine this referral with another to form a chain
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileInputStream.java

        }
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException
         *             if a network error occurs
         */
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /**
    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/internal/smb2/rdma/RdmaStatistics.java

         *
         * @return average read latency
         */
        public double getAverageReadLatencyMicros() {
            long reads = rdmaReads.get();
            if (reads == 0) {
                return 0.0;
            }
            return totalReadTime.get() / (double) reads / 1000.0; // Convert to microseconds
        }
    
        /**
         * Calculate average write latency in microseconds
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

        }
    
        @Test
        void testWriteDataWireFormat() {
            // Given
            // writeInt8 writes 8 bytes but needs to access dst[dstIndex+7]
            // Total bytes written: 8+8+8+8+2+6=40
            // But writeInt8 at position 34 needs to access position 34+7=41
            // So we need at least 42 bytes in the array
            byte[] dst = new byte[42];
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

            return tmp[0] & 0xFF;
        }
    
        /**
         * Reads up to b.length bytes of data from this input stream into an array of bytes.
         *
         * @throws IOException if a network error occurs
         */
    
        @Override
        public int read(final byte[] b) throws IOException {
            return read(b, 0, b.length);
        }
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        @MethodSource("int32Provider")
        @DisplayName("readParameterWordsWireFormat correctly decodes 32-bit offset")
        void testReadParameterWords(int expectedInt, byte[] bytes) {
            // The implementation reads via SMBUtil.readInt4 which returns an int
            // When assigned to a long field, it gets sign-extended
            int readLen = response.readParameterWordsWireFormat(bytes, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

      /**
       * Opens a new {@link Stream} for reading text one line at a time from this source. This method
       * returns a new, independent stream each time it is called.
       *
       * <p>The returned stream is lazy and only reads from the source in the terminal operation. If an
       * I/O error occurs while the stream is reading from the source or when the stream is closed, an
       * {@link UncheckedIOException} is thrown.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSource.java

      /**
       * Opens a new {@link Stream} for reading text one line at a time from this source. This method
       * returns a new, independent stream each time it is called.
       *
       * <p>The returned stream is lazy and only reads from the source in the terminal operation. If an
       * I/O error occurs while the stream is reading from the source or when the stream is closed, an
       * {@link UncheckedIOException} is thrown.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top