- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 310 for 0x03 (0.01 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
} @Test public void testToStringContainsCount() { // Little-endian: count = 512 (0x0200) byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x02; // count = 512 in little-endian resp.readParameterWordsWireFormat(buf, 0); String str = resp.toString(); assertTrue(str.contains("count=512"), "toString should include numeric count"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
when(this.mechContext.getFlags()).thenReturn(0x1234); when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 }); // Act: len==0 triggers initial token construction byte[] out = ctx.initSecContext(null, 0, 0); // Assert: returns a SPNEGO token (opaque here but non-null/non-empty)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtException.java
// error classes /** Success status code */ 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 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
static final int SESSION_MESSAGE = 0x00; static final int SESSION_REQUEST = 0x81; /** * NetBIOS positive session response packet type. */ public static final int POSITIVE_SESSION_RESPONSE = 0x82; /** * NetBIOS negative session response packet type. */ public static final int NEGATIVE_SESSION_RESPONSE = 0x83; static final int SESSION_RETARGET_RESPONSE = 0x84;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K 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/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/SmbComDeleteDirectoryTest.java
// format byte + path + null terminator byte[] expected = new byte[1 + dirName.length() + 1]; expected[0] = 0x04; // buffer format System.arraycopy(dirName.getBytes(), 0, expected, 1, dirName.length()); expected[dirName.length() + 1] = 0x00; // null terminator byte[] dst = new byte[100]; int len = sdd.writeBytesWireFormat(dst, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.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/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) -
src/main/java/jcifs/smb1/netbios/NbtException.java
// error classes /** Success status code */ 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 */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0)