- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 95 for 0xFFFF (0.73 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
return } if (length % 6 != 0) throw IOException("TYPE_SETTINGS length % 6 != 0: $length") val settings = Settings() for (i in 0 until length step 6) { val id = source.readShort() and 0xffff val value = source.readInt() when (id) { // SETTINGS_HEADER_TABLE_SIZE 1 -> { } // SETTINGS_ENABLE_PUSH 2 -> {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 19.7K bytes - Click Count (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,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 17.6K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (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 filesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.3K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (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; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/config/BaseConfiguration.java
/** Maximum buffer size for IO operations */ protected int maximumBufferSize = 0x10000; /** Maximum buffer size for SMB transaction operations */ protected int transactionBufferSize = 0xFFFF - 512; /** Number of buffers to keep in cache */ protected int bufferCacheSize = 16; /** Maximum size for list operations */ protected int smbListSize = 65435;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 36.5K bytes - Click Count (0)