- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 104 for 0x7F (0.01 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
*/ @Test @DisplayName("Test SMB_COM_TREE_DISCONNECT command value is 0x71") public void testCommandValue() { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); // When int command = smbComTreeDisconnect.getCommand(); // Then assertEquals(0x71, command & 0xFF); assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, (byte) command);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("writeSecurityBuffer copies data and sets fields") void testWriteSecurityBufferNonZero() { byte[] dest = new byte[8 + 4]; byte[] payload = { 0x55, 0x66, 0x77 }; NtlmMessage.writeSecurityBuffer(dest, 0, 8, payload); assertEquals(3, NtlmMessage.readUShort(dest, 0), "Length field must be 3");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
SessionServicePacket.writeInt4(0x12345678, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); assertEquals((byte) 0x56, dst[2]); assertEquals((byte) 0x78, dst[3]); } @ParameterizedTest @MethodSource("provideInt4TestValues") @DisplayName("writeInt4 should handle various values") void testWriteInt4Various(int value) { byte[] dst = new byte[4];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
assertEquals((byte) 0x56, dst[2]); assertEquals((byte) 0x78, dst[3]); } @Test void testReadInt2() { byte[] src = { (byte) 0x12, (byte) 0x34 }; assertEquals(0x1234, NameServicePacket.readInt2(src, 0)); } @Test void testReadInt4() { byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56, (byte) 0x78 }; assertEquals(0x12345678, NameServicePacket.readInt4(src, 0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
assertEquals(0x12, dst[1] & 0xFF); // Check count assertEquals(10, dst[2] & 0xFF); assertEquals(0, dst[3] & 0xFF); // Check offset assertEquals(0x78, dst[4] & 0xFF); assertEquals(0x56, dst[5] & 0xFF); } /** * Test writeBytesWireFormat writes data correctly */ @Test public void testWriteBytesWireFormat() {
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/internal/smb2/session/Smb2SessionSetupResponseTest.java
buf[bodyStart + 2] = 0x02; // errorContextCount buf[bodyStart + 3] = 0x00; // reserved int bc = 4; SMBUtil.writeInt4(bc, buf, bodyStart + 4); byte[] err = new byte[] { 0x55, 0x66, 0x77, 0x01 }; System.arraycopy(err, 0, buf, bodyStart + 8, bc); int decoded = resp.decode(buf, headerStart); assertTrue(decoded > 0); // When error path is taken, no blob should be parsed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java
/** * UTF-7 Byte Order Mark definition. */ protected static final ByteOrderMark BOM_UTF_7 = new ByteOrderMark("UTF-7", 0x2B, 0x2F, 0x76); /** * HTML4 unescape translator. */ protected static final CharSequenceTranslator UNESCAPE_HTML4 = new AggregateTranslator(Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
byte[] testGuid = { (byte) 0x01, (byte) 0x23, (byte) 0x45, (byte) 0x67, (byte) 0x89, (byte) 0xAB, (byte) 0xCD, (byte) 0xEF, (byte) 0xFE, (byte) 0xDC, (byte) 0xBA, (byte) 0x98, (byte) 0x76, (byte) 0x54, (byte) 0x32, (byte) 0x10 }; // Security mode with signing required int testSecurityMode = 0x0003; // SMB2_NEGOTIATE_SIGNING_ENABLED | SMB2_NEGOTIATE_SIGNING_REQUIRED
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
}); } @Test public void testValidSmbHeader() throws Exception { // SMB1 header validator.validateSmbHeader(0x424D53FF, 32, 0x72); // SMB2 header validator.validateSmbHeader(0x424D53FE, 64, 0x00); } @Test public void testInvalidProtocolId() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0)