Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,064 for readn (0.14 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        /**
         * Reads setup data from wire format
         * @param buffer source buffer
         * @param bufferIndex starting index in source buffer
         * @param len length of data to read
         * @return number of bytes read
         */
        protected abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len);
    
        /**
         * Reads parameters from wire format
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. cmd/storage-rest-client.go

    			if errors.Is(err, io.EOF) {
    				err = nil
    			}
    			break
    		}
    
    		stat = append(stat, st)
    	}
    
    	return stat, toStorageErr(err)
    }
    
    // ReadMultiple will read multiple files and send each back as response.
    // Files are read and returned in the given order.
    // The resp channel is closed before the call returns.
    // Only a canceled context or network errors returns an error.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            @Test
            @DisplayName("Should handle multiple consecutive reads")
            void testMultipleConsecutiveReads() throws Exception {
                // First read
                byte[] buffer1 = createValidOplockBreakBuffer((byte) 0x01, createTestData(16));
                notification.readBytesWireFormat(buffer1, 0);
    
                // Second read with different values
                byte[] fileId2 = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Read first message
            assertEquals(1, sis.read());
            assertEquals(2, sis.read());
    
            // Read second message
            assertEquals(3, sis.read());
            assertEquals(4, sis.read());
            assertEquals(5, sis.read());
    
            // After all data is consumed, next read throws IOException
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-process.go

    	processIORCharBytesMD             = NewCounterMD(processIORCharBytes, "Total bytes read by the process from the underlying storage system including cache, /proc/[pid]/io rchar")
    	processIOReadBytesMD              = NewCounterMD(processIOReadBytes, "Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbNamedPipe.java

    /**
     * This class will allow a Java program to read and write data to Named
     * Pipes and Transact NamedPipes.
     *
     * <p>
     * There are three Win32 function calls provided by the Windows SDK
     * that are important in the context of using jCIFS. They are:
     *
     * <ul>
     * <li><code>CallNamedPipe</code> A message-type pipe call that opens,
     * writes to, reads from, and closes the pipe in a single operation.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      /**
       * Returns a reader wrapping the given reader that only reads half of the maximum number of
       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/CharStreamsTest.java

      }
    
      /**
       * Returns a reader wrapping the given reader that only reads half of the maximum number of
       * characters that it could read in read(char[], int, int).
       */
      private static Reader newNonBufferFillingReader(Reader reader) {
        return new FilterReader(reader) {
          @Override
          public int read(char[] cbuf, int off, int len) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Decode to new instance (decode reads 36 bytes, encode writes 40)
            FileBasicInfo decoded = new FileBasicInfo();
            int decodedBytes = decoded.decode(buffer, 0, 36);
    
            // Verify encoding/decoding
            assertEquals(40, encodedBytes); // encode writes 40 bytes (includes padding)
            assertEquals(36, decodedBytes); // decode reads 36 bytes (no padding)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            return Smb2Constants.SMB2_HEADER_LENGTH;
        }
    
        /**
         * Reads the SMB2 header from the wire format.
         *
         * @param buffer the buffer to read from
         * @param bufferIndex the starting position in the buffer
         * @return number of bytes read
         */
        protected int readHeaderWireFormat(final byte[] buffer, int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
Back to top