- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 233 for Reads (0.02 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java
*/ @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[10]; int bufferIndex = 0; // The method should return 0 as it reads no parameter words int result = smbComNegotiate.readParameterWordsWireFormat(buffer, bufferIndex); assertEquals(0, result, "readParameterWordsWireFormat should return 0."); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4K bytes - Viewed (0) -
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) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
SMBUtil.writeInt2(bytesPerSect, buffer, offset); offset += 2; // Decode int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length); // Verify - actual implementation reads 20 bytes (4 + 4 + 4 + 4 + 4) // bytesPerSect is read as Int2 but advances by 4 bytes (padding) assertEquals(20, bytesDecoded); // Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingInputStream.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/slice.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package lex import ( "text/scanner" "cmd/internal/src" ) // A Slice reads from a slice of Tokens. type Slice struct { tokens []Token base *src.PosBase line int pos int } func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice { return &Slice{Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Jun 29 22:49:50 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/speedtest.go
} if totalGet < throughputHighestGet { // Following check is for situations // when Writes() scale higher than Reads() // - practically speaking this never happens // and should never happen - however it has // been seen recently due to hardware issues // causes Reads() to go slower than Writes(). // // Send such results anyways as this shall // expose a problem underneath.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 9.2K bytes - Viewed (0) -
cmd/storage-rest-client.go
return *resp, nil } // where we keep old *Readers var readMsgpReaderPool = bpool.Pool[*msgp.Reader]{New: func() *msgp.Reader { return &msgp.Reader{} }} // mspNewReader returns a *Reader that reads from the provided reader. // The reader will be buffered. // Return with readMsgpReaderPoolPut when done. func msgpNewReader(r io.Reader) *msgp.Reader { p := readMsgpReaderPool.Get() if p.R == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 08 02:38:41 UTC 2025 - 30.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
return new InputStreamReader(new FileInputStream(file), encoding); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Reads a single line from the given {@link BufferedReader}. * * @param reader * the {@link BufferedReader} (must not be {@literal null})
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt
/** Read a single line counted against the header size limit. */ fun readLine(): String { val line = source.readUtf8LineStrict(headerLimit) headerLimit -= line.length.toLong() return line } /** Reads headers or trailers. */ fun readHeaders(): Headers { val result = Headers.Builder() while (true) { val line = readLine() if (line.isEmpty()) break result.addLenient(line) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
* typically false on Windows. * * If this returns false we won't permit simultaneous reads and writes. When writes commit we need * to delete the previous snapshots, and that won't succeed if the file is open. (We do permit * multiple simultaneous reads.) * * @param file a file in the directory to check. This file shouldn't already exist! */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0)