- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 325 for 0x01 (0.02 sec)
-
src/main/java/jcifs/smb1/netbios/NbtException.java
public static final int SUCCESS = 0; /** 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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
} @Test @DisplayName("parsing malformed token throws IOException") void testMalformedToken() { byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
assertEquals(1, SMBUtil.readInt2(buffer, 8)); assertEquals(1, SMBUtil.readInt2(buffer, 10)); } /** * Test that a large file lock (bit 0x10 set) is encoded and decoded correctly. */ @ParameterizedTest @ValueSource(ints = { 0x10, 0x11 }) void largeFileFlagSet_and_decoded_according_to_type(int type) throws Exception { Configuration cfg = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K 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/internal/smb2/io/Smb2ReadRequestTest.java
void testReadUnbufferedFlag() { assertEquals((byte) 0x1, Smb2ReadRequest.SMB2_READFLAG_READ_UNBUFFERED); } @Test @DisplayName("Should have correct SMB2_CHANNEL_NONE value") void testChannelNone() { assertEquals(0x0, Smb2ReadRequest.SMB2_CHANNEL_NONE); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
} } else { // no password in tree connect passwordLength = 1; } dst[dstIndex] = disconnectTid ? (byte) 0x01 : (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; writeInt2(passwordLength, dst, dstIndex); return 4; } @Override int writeBytesWireFormat(final byte[] dst, int dstIndex) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K 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) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java
} } else { // no password in tree connect this.passwordLength = 1; } dst[dstIndex] = this.disconnectTid ? (byte) 0x01 : (byte) 0x00; dstIndex++; dst[dstIndex++] = (byte) 0x00; SMBUtil.writeInt2(this.passwordLength, dst, dstIndex); return 4; } @SuppressWarnings("deprecation")
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/internal/smb2/ServerMessageBlock2Test.java
class ToStringTests { @ParameterizedTest @DisplayName("Should format command name correctly") @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12 }) void testToStringCommandNames(short command) { testMessage.setCommand(command);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.idl
[out] policy_handle *handle); [op(0x07)] int SamrOpenDomain([in] policy_handle *handle, [in] uint32_t access_mask, [in] sid_t *sid, [out] policy_handle *domain_handle); typedef struct { uint32_t idx; unicode_string name; } SamrSamEntry; typedef struct { uint32_t count; [size_is(count)] SamrSamEntry *entries; } SamrSamArray; [op(0x0f)]
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (0)