- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 117 for 0x00FF (0.03 sec)
-
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten); // Expected wire format: [0x04, 0x00, 0x00, 0x00] byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 }; assertArrayEquals(expected, buffer); } @Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
*/ public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) { int len = 0; while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) { len += 2; if (len > maxLen) { if (log.isDebugEnabled()) { log.warn("Failed to find string termination with max length " + maxLen);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
this.createDisposition = FILE_OPEN_IF; } } else { this.createDisposition = FILE_OPEN; } if ((createOptions & 0x0001) == 0) { this.createOptions = createOptions | 0x0040; } else { this.createOptions = createOptions; } this.impersonationLevel = 0x02; // As seen on NT :~)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
// recordType (2 bytes) src[srcIndex + 2] = 0x00; src[srcIndex + 3] = 0x20; // NB (0x0020) // recordClass (2 bytes) src[srcIndex + 4] = 0x00; src[srcIndex + 5] = 0x01; // IN (0x0001) // ttl (4 bytes) src[srcIndex + 6] = 0x00; src[srcIndex + 7] = 0x00; src[srcIndex + 8] = 0x00; src[srcIndex + 9] = 0x00; // rDataLength (2 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
void testEncode() { byte[] testBytes = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 }; Smb2LeaseKey key = new Smb2LeaseKey(testBytes); byte[] buffer = new byte[20]; key.encode(buffer, 2); for (int i = 0; i < 16; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
cmd/untar.go
header: []byte{0x2a, 0x4d, 0x18}, f: formatZstd, }, { // LZ4 header: []byte{0x4, 0x22, 0x4d, 0x18}, f: formatLZ4, }, { // Snappy/S2 stream header: []byte{0xff, 0x06, 0x00, 0x00}, f: formatS2, }, { header: []byte{0x42, 0x5a, 'h'}, f: formatBZ2, }, } type untarOptions struct { ignoreDirs bool ignoreErrs bool prefixAll string }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 6K bytes - Viewed (2) -
src/main/java/jcifs/smb/SID.java
/** * Flag indicating that SIDs should be resolved to names. */ public static final int SID_FLAG_RESOLVE_SIDS = 0x0001; /** * Well known SID: EVERYONE */ public static SID EVERYONE = null; /** * Well known SID: CREATOR_OWNER */ public static SID CREATOR_OWNER = null; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
Field commandField = ServerMessageBlock2.class.getDeclaredField("command"); commandField.setAccessible(true); int command = (int) commandField.get(req); assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value // Verify path is set correctly Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path"); pathField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (16384) assertEquals(16384, SMBUtil.readInt2(dst, descrEnd + 2));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/archive/zip/struct.go
// have been invented. Pervasive use effectively makes them "official". // // See http://mdfs.net/Docs/Comp/Archiving/Zip/ExtraField zip64ExtraID = 0x0001 // Zip64 extended information ntfsExtraID = 0x000a // NTFS unixExtraID = 0x000d // UNIX extTimeExtraID = 0x5455 // Extended timestamp infoZipUnixExtraID = 0x5855 // Info-ZIP Unix extension ) // FileHeader describes a file within a ZIP file.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0)