- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 143 for 0x1fff (0.04 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
// Set security buffer length to excessive size (> 64KB) SMBUtil.writeInt2(128, buffer, 56); // Security buffer offset // writeInt2(100000) will truncate to 100000 & 0xFFFF = 34464 SMBUtil.writeInt2(100000, buffer, 58); // This becomes 34464 due to 16-bit truncation // Since 34464 is within the 16-bit range but could still be considered excessive for security buffer,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
public void enc_ndr_small(final int s) { this.buf[this.index] = (byte) (s & 0xFF); advance(1); } /** * Decodes a small integer (1 byte) from NDR format. * * @return the decoded small integer value */ public int dec_ndr_small() { final int val = this.buf[this.index] & 0xFF; advance(1); return val; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
SamrDomainHandle domainHandle = new SamrDomainHandle(handle, policyHandle, 0x02000000, domSid)) { final MsrpcEnumerateAliasesInDomain rpc = new MsrpcEnumerateAliasesInDomain(domainHandle, 0xFFFF, sam); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
} @Test @DisplayName("Test createCancel with maximum MID value") void testCreateCancelWithMaxMid() { // Set MID to maximum value int maxMid = 0xFFFF; transaction.setMid(maxMid); // Create cancel request CommonServerMessageBlockRequest cancelRequest = transaction.createCancel();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
} } resolveOrder = new int[i]; System.arraycopy(tmp, 0, resolveOrder, 0, i); } } int getNextNameTrnId() { if ((++nextNameTrnId & 0xFFFF) == 0) { nextNameTrnId = 1; } return nextNameTrnId; } void ensureOpen(final int timeout) throws IOException { closeTimeout = 0; if (SO_TIMEOUT != 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
dst[dstIndex] = (byte) (this.wordCount / 2 & 0xFF); dstIndex++; dstIndex += this.wordCount; this.wordCount /= 2; this.byteCount = writeBytesWireFormat(dst, dstIndex + 2); dst[dstIndex++] = (byte) (this.byteCount & 0xFF); dst[dstIndex++] = (byte) (this.byteCount >> 8 & 0xFF); dstIndex += this.byteCount;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
private int pad2 = 0; private boolean hasMore = true; private boolean isPrimary = true; private int bufParameterOffset; private int bufDataOffset; static final int TRANSACTION_BUF_SIZE = 0xFFFF; /** * SMB TRANS2 subcommand for finding first matching files */ public static final byte TRANS2_FIND_FIRST2 = (byte) 0x01; /** * SMB TRANS2 subcommand for finding next matching files
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
final byte[] addr = localInetAddress.getAddress(); localHostname = "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2); } /* * Create an NbtAddress for the local interface with * the name deduced above possibly with scope applied and
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
val length = source.readMedium() if (length > INITIAL_MAX_FRAME_SIZE) { throw IOException("FRAME_SIZE_ERROR: $length") } val type = source.readByte() and 0xff val flags = source.readByte() and 0xff val streamId = source.readInt() and 0x7fffffff // Ignore reserved bit. if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) { logger.fine(frameLog(true, streamId, length, type, flags))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("Test close flags with different values") void testCloseFlagsWithDifferentValues() { // Test with different flag values int[] testFlagValues = { 0x0000, 0x0001, 0xFFFF }; for (int flagValue : testFlagValues) { request.setCloseFlags(flagValue); byte[] buffer = new byte[256]; request.writeBytesWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)