- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 121 for readSize (0.51 sec)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
} @Test @DisplayName("readLine(): reads until newline and handles CRLF") void readLine_reads() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); // Sequence: 'a','b','\r','\n','c','\n' when(raf.read()).thenReturn((int) 'a', (int) 'b', (int) '\r', (int) '\n'); assertEquals("ab", raf.readLine());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
* <li><code>TransactNamedPipe</code> A message-type pipe call that * writes to and reads from an existing pipe descriptor in one operation. * <li><code>CreateFile</code>, <code>ReadFile</code>, * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can * be opened, written to, read from and closed using the standard Win32 * file operations. * </ul> * * <p>
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* <li> <code>TransactNamedPipe</code> A message-type pipe call that * writes to and reads from an existing pipe descriptor in one operation. * <li> <code>CreateFile</code>, <code>ReadFile</code>, * <code>WriteFile</code>, and <code>CloseFile</code> A byte-type pipe can * be opened, written to, read from and closed using the standard Win32 * file operations. * </ul> *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
cmd/xl-storage_test.go
} } { buf := make([]byte, 5) // Test for negative offset. if _, err = xlStorage.ReadFile(t.Context(), volume, "myobject", -1, buf, v); err == nil { t.Fatalf("expected: error, got: <nil>") } } for range 2 { // Following block validates all ReadFile test cases. for i, testCase := range testCases { var n int64 // Common read buffer.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
@Override float readFloat(); @CanIgnoreReturnValue // to skip some bytes @Override double readDouble(); @CanIgnoreReturnValue // to skip a line @Override @Nullable String readLine(); @CanIgnoreReturnValue // to skip a field @Override String readUTF();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
bufferIndex += 4; server.sessionKey = readInt4(buffer, bufferIndex); bufferIndex += 4; server.capabilities = readInt4(buffer, bufferIndex); bufferIndex += 4; server.serverTime = readTime(buffer, bufferIndex); bufferIndex += 8; server.serverTimeZone = readInt2(buffer, bufferIndex); bufferIndex += 2; server.encryptionKeyLength = buffer[bufferIndex++] & 0xFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
cmd/metacache-walk.go
meta.name = decodeDirObject(meta.name) return send(meta) } // Check legacy. if HasSuffix(entry, xlStorageFormatFileV1) && legacy { var meta metaCacheEntry meta.metadata, err = xioutil.ReadFile(pathJoinBuf(sb, volumeDir, current, entry)) diskHealthCheckOK(ctx, err) if err != nil { if !IsErrIgnored(err, io.EOF, io.ErrUnexpectedEOF) { internalLogIf(ctx, err) } continue
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Verify time was read correctly (accounting for UTime conversion) long readTime = (Long) getFieldValue(response, "lastWriteTime"); // UTime is seconds since 1970, so we need to compare at second precision assertEquals(lastWriteTime / 1000, readTime / 1000); } @Test void testReadParameterWordsWireFormatWithZeroWordCount() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt
} else { System.err.println(callback.prompt) callback.password = System.`in` .bufferedReader() .readLine() .toCharArray() } } else { throw UnsupportedCallbackException(callback) } } } } fun main() { YubikeyClientAuth().run()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
assertArgumentNotNull("reader", reader); this.reader = reader; } @Override public boolean hasNext() { if (line == EMPTY) { line = ReaderUtil.readLine(reader); } return line != null; } @Override public String next() { if (!hasNext()) { throw new NoSuchElementException(); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.6K bytes - Viewed (0)