- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 1,257 for real (0.03 sec)
-
src/main/java/jcifs/smb1/netbios/SocketInputStream.java
} @Override public synchronized int read() throws IOException { if (read(tmp, 0, 1) < 0) { return -1; } return tmp[0] & 0xFF; } @Override public synchronized int read(final byte[] b) throws IOException { return read(b, 0, b.length); } /* This method will not return until len bytes have been read * or the stream has been closed. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java
/** * SMB1 Read AndX request message. * * This command is used to read data from a file that has been * previously opened with an Open command. */ public class SmbComReadAndX extends AndXServerMessageBlock { private long offset; private int fid; int openTimeout; int maxCount, minCount, remaining; /** * Constructs a Read AndX request. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
* @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 * @param buffer source buffer * @param bufferIndex starting index in source buffer * @param len length of data to read * @return number of bytes read
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
@DisplayName("getUserDomain: explicit realm overrides") void getUserDomain_fromExplicitRealm() { Kerb5Authenticator auth = new Kerb5Authenticator(new Subject()); auth.setRealm("REALM.TEST"); assertEquals("REALM.TEST", auth.getUserDomain()); } @Test @DisplayName("getUserDomain: falls back to super domain when no realm/subject")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
assertEquals(0, ticker.read()); assertEquals(10, ticker.read()); assertEquals(20, ticker.read()); } public void testAutoIncrementStep_millis() { FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, MILLISECONDS); assertEquals(0, ticker.read()); assertEquals(1000000, ticker.read()); assertEquals(2000000, ticker.read()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
* block indefinitely or fail if the source creates an infinite reader. * <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the * source as they are read from it. A source that provides such readers will not be reusable, * and operations that read from the stream (including {@link #length()}, in some
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* block indefinitely or fail if the source creates an infinite reader. * <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the * source as they are read from it. A source that provides such readers will not be reusable, * and operations that read from the stream (including {@link #length()}, in some
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.3K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
int off = (int) expectedSize - remaining; int read = in.read(bytes, off, remaining); if (read == -1) { // end of stream before reading expectedSize bytes // just return the bytes read so far return Arrays.copyOf(bytes, off); } remaining -= read; } // bytes is now full int b = in.read(); if (b == -1) { return bytes; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
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) -
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)