- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for 0034 (0.01 sec)
-
android/guava-tests/test/com/google/common/collect/ComparatorsTest.java
assertFalse(isInOrder(asList(0, 5, 3, 9), Ordering.natural())); assertTrue(isInOrder(asList(0, 3, 5, 9), Ordering.natural())); assertTrue(isInOrder(asList(0, 0, 3, 3), Ordering.natural())); assertTrue(isInOrder(asList(0, 3), Ordering.natural())); assertTrue(isInOrder(singleton(1), Ordering.natural())); assertTrue(isInOrder(ImmutableList.of(), Ordering.natural())); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
int written = cmd.writeParametersWireFormat(buf, 0); assertEquals(2, written, "writeParametersWireFormat should write exactly 2 bytes"); // Verify little-endian encoding (0x1234 -> 0x34 0x12) assertEquals((byte) 0x34, buf[0], "First byte should be low byte of level"); assertEquals((byte) 0x12, buf[1], "Second byte should be high byte of level"); } @Test @DisplayName("all read* methods return zero")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
// Pre-populate buffer with the encoding of a short value NdrBuffer prepare = new NdrBuffer(new byte[10], 0); prepare.enc_ndr_short(0x34); // Encode value 0x34 prepare.reset(); // Reset to beginning for decoding NdrBuffer spy = spy(prepare); ns.decode(spy); verify(spy).dec_ndr_short(); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
// create a buffer with count = 0x1234 (4660 decimal) // Using little-endian byte order as per SMBUtil.readInt2 byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byte int written = resp.readParameterWordsWireFormat(buf, 0); assertEquals(8, written, "Expected readParameterWordsWireFormat to advance 8 bytes");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
int bytesWritten = write.writeParameterWordsWireFormat(dst, 0); // Assert assertEquals(10, bytesWritten, "Should write 10 bytes"); // Check FID (little-endian) assertEquals(0x34, dst[0] & 0xFF); assertEquals(0x12, dst[1] & 0xFF); // Check count assertEquals(10, dst[2] & 0xFF); assertEquals(0, dst[3] & 0xFF); // Check offset
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
int len = next.writeParametersWireFormat(dst, 0); // Then assertEquals(expectedLen, len, "Unexpected parameters length"); // sid (2 bytes, LE) assertEquals((byte) 0x34, dst[0]); assertEquals((byte) 0x12, dst[1]); // LIST_COUNT (2 bytes, LE) int listCount = Trans2FindFirst2.LIST_COUNT; assertEquals((byte) (listCount & 0xFF), dst[2]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java
final int start = dstIndex; dataOffset = dstIndex - headerStart + 26; // 26 = off from here to pad pad = (dataOffset - headerStart) % 4; pad = pad == 0 ? 0 : 4 - pad; dataOffset += pad; writeInt2(fid, dst, dstIndex); dstIndex += 2; writeInt4(offset, dst, dstIndex); dstIndex += 4; for (int i = 0; i < 4; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
final int start = dstIndex; this.dataOffset = dstIndex - this.headerStart + 26; // 26 = off from here to pad this.pad = (this.dataOffset - this.headerStart) % 4; this.pad = this.pad == 0 ? 0 : 4 - this.pad; this.dataOffset += this.pad; SMBUtil.writeInt2(this.fid, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt4(this.offset, dst, dstIndex); dstIndex += 4;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0)