Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 1,346 for real (0.02 sec)

  1. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                byte[] buf = new byte[16];
    
                // Skip advances internal file pointer; next read should use this offset
                in.skip(2);
    
                // Act
                int n = in.readDirect(buf, 0, 5);
    
                // Assert
                assertEquals(3, n, "Should report bytes read from SMB2 response");
    
                // Verify the request offset equals the skip value (2)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    }
    
    var errUnreadByte = errors.New("bytes.Buffer: UnreadByte: previous operation was not a successful read")
    
    // UnreadByte unreads the last byte returned by the most recent successful
    // read operation that read at least one byte. If a write has happened since
    // the last read, if the last read returned an error, or if the read read zero
    // bytes, UnreadByte returns an error.
    func (b *Buffer) UnreadByte() error {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/MultiReaderTest.java

        assertEquals(expected.charAt(0), joinedReader.read());
        CharStreams.skipFully(joinedReader, 1);
        assertEquals(expected.charAt(2), joinedReader.read());
        CharStreams.skipFully(joinedReader, 4);
        assertEquals(expected.charAt(7), joinedReader.read());
        CharStreams.skipFully(joinedReader, 1);
        assertEquals(expected.charAt(9), joinedReader.read());
        assertEquals(-1, joinedReader.read());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            // Test with zero
            buffer.putInt(0, 0);
            assertEquals(0, NtlmMessage.readULong(data, 0), "Should read zero ULong correctly.");
    
            // Test with max int value (unsigned interpretation)
            buffer.putInt(0, 0xFFFFFFFF);
            assertEquals(0xFFFFFFFF, NtlmMessage.readULong(data, 0), "Should read max ULong correctly.");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

         * 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
         * @param len the maximum number of bytes to read
         * @return number of bytes read
         *
         * @throws IOException
         *             if a network error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlService.java

        @Nonnull
        public static XmlNode read(InputStream input, @Nullable InputLocationBuilder locationBuilder)
                throws XMLStreamException {
            return getService().doRead(input, locationBuilder);
        }
    
        /**
         * Reads an XML node from a reader.
         */
        @Nonnull
        public static XmlNode read(Reader reader) throws XMLStreamException {
            return read(reader, null);
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     *
     * Every [edit] call must be matched by a call to [Editor.commit] or [Editor.abort]. Committing is
     * atomic: a read observes the full set of values as they were before or after the commit, but never
     * a mix of values.
     *
     * Clients call [get] to read a snapshot of an entry. The read will observe the value at the time
     * that [get] was called. Updates and removals after the call do not impact ongoing reads.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 34.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * SMB2 Read response message.
     *
     * This response contains the data that was read from the file
     * along with information about the read operation.
     *
     * @author mbechler
     */
    public class Smb2ReadResponse extends ServerMessageBlock2Response {
    
        /**
         * Protocol overhead size for SMB2 read response
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        }
    
        /**
         * Read data from RDMA connection
         *
         * @param buffer buffer to read data into
         * @param remoteAddress remote memory address for RDMA read
         * @param remoteKey remote memory key
         * @param length number of bytes to read
         * @return number of bytes actually read
         * @throws IOException if read operation fails
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt

    ) {
      /**
       * Returns the auth params, including [realm] and [charset] if present, but as
       * strings. The map's keys are lowercase and should be treated case-insensitively.
       */
      @get:JvmName("authParams")
      val authParams: Map<String?, String>
    
      /** Returns the protection space. */
      @get:JvmName("realm")
      val realm: String?
        get() = authParams["realm"]
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 15:01:35 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top