- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 96 for 0xFFFF (3.28 sec)
-
src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java
String val = null; int len = Encdec.dec_uint32le(this.buf, i); i += 12; if (len != 0) { len--; final int size = len * 2; if (size < 0 || size > 0xFFFF) { throw new NdrException(NdrException.INVALID_CONFORMANCE); } val = Strings.fromUNIBytes(this.buf, i, size); i += size + 2; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
bb.putShort((short) 0xFFFE); // Max even pathConsumed bb.putShort((short) 0); // numReferrals bb.putShort((short) 0xFFFF); // Max tflags bb.putShort((short) 0); // tflags high bytes buffer.decode(testBuffer, 0, testBuffer.length); assertEquals(32767, buffer.getPathConsumed()); // 65534 / 2
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
// CAP_LARGE_WRITE if (th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive()) { this.writeSizeFile = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70); } else { log.debug("No support or SMB signing is enabled, not enabling large writes"); this.writeSizeFile = this.writeSize; } if (log.isDebugEnabled()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.8K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertFalse(config.isForceExtendedSecurity()); } @Test @DisplayName("Test buffer configuration getters") void testBufferConfigurationGetters() { assertEquals(0xFFFF - 512, config.getTransactionBufferSize()); assertEquals(0x10000, config.getMaximumBufferSize()); assertEquals(16, config.getBufferCacheSize()); assertEquals(200, config.getListCount());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K 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 filesRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
/** * Count of data bytes in the SMB message. */ protected int byteCount; /** * Tree identifier for the connected share. */ protected int tid = 0xFFFF; private boolean useUnicode, forceUnicode, extendedSecurity; private volatile boolean received; private int signSeq; private boolean verifyFailed; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)