- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for 44 (0.01 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
void testConstructorOverflow() { // Given/When: Creating NdrShort with value > 255 NdrShort ndrShort = new NdrShort(300); // Then: Value should be masked (300 & 0xFF = 44) assertEquals(44, ndrShort.value); } } @Nested @DisplayName("Encoding Tests") class EncodingTests { @Test @DisplayName("Should encode value correctly")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java
int start = bufferIndex; // StructureSize (2 bytes) - must be 44 this.structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (this.structureSize != 44) { throw new SMBProtocolDecodingException("Invalid lease break structure size: " + this.structureSize); } bufferIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(0, SMBUtil.readInt2(buffer, headerStart + 42)); // WriteChannelInfoLength assertEquals(0x01, SMBUtil.readInt4(buffer, headerStart + 44)); // Write flags // Verify data offset is written correctly int dataOffsetValue = SMBUtil.readInt2(buffer, headerStart + 2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertEquals(testState, SMBUtil.readInt4(buffer, 40)); // Verify lease flags at offset 44 (40 + 4 for state) assertEquals(0, SMBUtil.readInt4(buffer, 44)); // Verify lease duration at offset 48 (44 + 4 for flags) - should be 0 (reserved) assertEquals(0, SMBUtil.readInt8(buffer, 48)); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
bb.putShort((short) 3); // numExpanded bb.putShort((short) 44); // expandedNameOffset // Special name at offset 22 bb.position(22); String specialName = "SPECIAL"; bb.put(specialName.getBytes(StandardCharsets.UTF_16LE)); bb.putShort((short) 0); // Expanded names at offset 44 bb.position(44); String[] expandedNames = { "NAME1", "NAME2", "NAME3" };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
(byte) 38, (byte) 30, (byte) 22, (byte) 14, (byte) 6, (byte) 61, (byte) 53, (byte) 45, (byte) 37, (byte) 29, (byte) 21, (byte) 13, (byte) 5, (byte) 60, (byte) 52, (byte) 44, (byte) 36, (byte) 28, (byte) 20, (byte) 12, (byte) 4, (byte) 27, (byte) 19, (byte) 11, (byte) 3 }; private static int[] totrot = { 1, 2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 23, 25, 27, 28 };Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
byte[] encoded = AvPairs.encode(pairs); assertNotNull(encoded, "Encoded data should not be null"); int expectedLength = 4 + 4 + // AvFlags header + data 4 + 8 + // AvTimestamp header + data 4 + 4 + // AvTargetName header + data 4; // EOL assertEquals(expectedLength, encoded.length, "Encoded length should match expected");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/Type3Message.java
writeSecurityBuffer(type3, 28, offset, domain); offset += domainLength; writeSecurityBuffer(type3, 36, offset, user); offset += userLength; writeSecurityBuffer(type3, 44, offset, workstation); offset += workstationLength; writeSecurityBuffer(type3, 52, offset, sessionKey); writeULong(type3, 60, flags); return type3;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
testBuffer[0] = 0x01; // revision testBuffer[1] = 0x00; // padding SMBUtil.writeInt2(0x8004, testBuffer, 2); // type SMBUtil.writeInt4(20, testBuffer, 4); // owner offset SMBUtil.writeInt4(44, testBuffer, 8); // group offset SMBUtil.writeInt4(0, testBuffer, 12); // SACL offset SMBUtil.writeInt4(0, testBuffer, 16); // DACL offset // Owner SID with 3 sub-authorities (S-1-5-21-X-Y-Z)
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0)