- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 232 for readInt2 (0.04 sec)
-
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; this.leaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseDuration (8 bytes) - reserved, skip bufferIndex += 8; return bufferIndex - start;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
* Reads an integer as specified by {@link DataInputStream#readInt()}, except using little-endian * byte order. * * @return the next four bytes of the input stream, interpreted as an {@code int} in little-endian * byte order * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue // to skip some bytes @Override public int readInt() throws IOException { byte b1 = readAndCheckByte();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
int bytesEncoded = fileInternalInfo.encode(destinationBuffer, 0); // Verify assertEquals(8, bytesEncoded); assertEquals(expectedIndexNumber, SMBUtil.readInt8(destinationBuffer, 0)); } @Test @DisplayName("Test encode with buffer offset") void testEncodeWithBufferOffset() throws SMBProtocolDecodingException { // First decode to set internal state
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
cmd/local-locker_gen.go
} switch msgp.UnsafeString(field) { case "Total": z.Total, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "Total") return } case "Writes": z.Writes, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "Writes") return } case "Reads": z.Reads, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "Reads") return
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java
public void testConstructorWithAllParameters() { // Test constructor with all parameters String word = "test word"; float boost = 2.5f; List<String> readings = Arrays.asList("reading1", "reading2"); List<String> fields = Arrays.asList("field1", "field2"); List<String> tags = Arrays.asList("tag1", "tag2"); List<String> roles = Arrays.asList("role1", "role2");
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); int expectedSeconds = (int) (testTime / 1000L); int actualSeconds = SMBUtil.readInt4(dst, 0); assertEquals(expectedSeconds, actualSeconds); // Test when current time is in DST but test time is not when(mockTimeZone.inDaylightTime(any(Date.class))).thenReturn(true) // current time
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} } @Test fun publicSuffixExceptions() { val buffer = Buffer() FileSystem.SYSTEM.read(pathForTests) { var length = readInt() skip(length.toLong()) length = readInt() buffer.write(this, length.toLong()) } while (!buffer.exhausted()) { val exception = buffer.readUtf8LineStrict()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
internal/grid/grid_types_msgp_test.go
} for zb0001 > 0 { zb0001-- field, err = dc.ReadMapKeyPtr() if err != nil { err = msgp.WrapError(err) return } switch msgp.UnsafeString(field) { case "Num": z.Num, err = dc.ReadInt() if err != nil { err = msgp.WrapError(err, "Num") return } case "String": z.String, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "String") return }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt
try { listSource().buffer().use { bufferedSource -> val totalBytes = bufferedSource.readInt() publicSuffixListBytes = bufferedSource.readByteString(totalBytes.toLong()) val totalExceptionBytes = bufferedSource.readInt() publicSuffixExceptionListBytes = bufferedSource.readByteString(totalExceptionBytes.toLong()) } synchronized(this) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
int bytesWritten = info.encode(buffer, 0); // Verify bytes written assertEquals(8, bytesWritten); // Verify encoded value long decodedValue = SMBUtil.readInt8(buffer, 0); assertEquals(endOfFile, decodedValue); } @Test @DisplayName("Test encode with offset") void testEncodeWithOffset() { long endOfFile = 0xFEDCBA9876543210L;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)