- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 321 for 0x02 (2.24 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
} /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 }; assertThrows(PACDecodingException.class, () -> new KerberosEncData(malformedToken, Collections.emptyMap())); } /** * Test constructor with an unknown field. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
assertEquals(0x01, smbComOpenAndX.openFunction); // OPEN_FN_OPEN } /** * Test constructor with O_TRUNC flag. */ @Test void testConstructor_TruncateOnly() { int flags = SmbFile.O_TRUNC; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(0x02, smbComOpenAndX.openFunction); // OPEN_FN_TRUNC } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
private CommonServerMessageBlock message; private byte[] testData; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; } @Test @DisplayName("Test sign method with valid parameters") void testSignWithValidParameters() { // Arrange int offset = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
* Test constructor with malformed data (too short). */ @Test void testConstructorMalformedData() { // Prepare data (only 2 bytes, less than an int) byte[] data = new byte[] { 0x01, 0x02 }; // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
} } /* --- flag handling -------------------------------- */ @Test void testFlagSetAndUnset() { TestMessage m = new TestMessage(); int FLAG_A = 0x01; int FLAG_B = 0x02; assertFalse(m.isFlagSet(FLAG_A)); m.setFlag(FLAG_A); assertTrue(m.isFlagSet(FLAG_A)); // unset correctly removes the flag m.unsetFlag(FLAG_A);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtException.java
/** Name service error class */ public static final int ERR_NAM_SRVC = 0x01; /** Session service error class */ public static final int ERR_SSN_SRVC = 0x02; // name service error codes /** Format error in the name service */ public static final int FMT_ERR = 0x1; /** Server error in the name service */ public static final int SRV_ERR = 0x2; /** Implementation error in the name service */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
for (final String dialect : this.dialects) { bos.write(0x02); try { bos.write(Strings.getASCIIBytes(dialect)); } catch (final IOException e) { throw new RuntimeCIFSException(e); } bos.write(0x0); } System.arraycopy(bos.toByteArray(), 0, dst, dstIndex, bos.size());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
// relative to headerStart private static final int SETUP_OFFSET = 61; private static final int DISCONNECT_TID = 0x01; private static final int ONE_WAY_TRANSACTION = 0x02; private int pad; private int pad1; private boolean parametersDone, dataDone; protected int totalParameterCount; protected int totalDataCount;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/jcifs/ACE.java
* Inheritance flag: child objects inherit this ACE */ int FLAGS_OBJECT_INHERIT = 0x01; /** * Inheritance flag: child containers inherit this ACE */ int FLAGS_CONTAINER_INHERIT = 0x02; /** * Inheritance flag: inheritance stops after one level */ int FLAGS_NO_PROPAGATE = 0x04; /** * Inheritance flag: ACE applies only to children, not to the object itself */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
smb.tid = 789; smb.uid = 101; smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE; smb.useUnicode = true; byte[] params = { 0x01, 0x02, 0x03, 0x04 }; byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; smb.setParamWords(params); smb.setBytes(bytes); byte[] buffer = new byte[1024]; int length = smb.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)