Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for 0x10ffff (0.04 sec)

  1. src/main/java/jcifs/smb/SmbFileInputStream.java

                this.largeReadX = true;
                this.readSizeFile =
                        Math.min(th.getConfig().getReceiveBufferSize() - 70, th.areSignaturesActive() ? 0xFFFF - 70 : 0xFFFFFF - 70);
                log.debug("Enabling LARGE_READX with " + this.readSizeFile);
            } else {
                log.debug("LARGE_READX disabled");
                this.readSizeFile = this.readSize;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java

            long data4 = bb2.getLong();
    
            // Construct UUID from components - Java UUID expects big-endian representation
            long mostSig = ((long) data1 << 32) | ((long) (data2 & 0xFFFF) << 16) | (data3 & 0xFFFF);
            long leastSig = data4;
    
            this.guid = new UUID(mostSig, leastSig);
        }
    
        /**
         * Create a handle GUID from existing UUID
         * @param uuid the UUID to wrap
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/witness/WitnessVersion.java

         *
         * @return the major version
         */
        public int getMajorVersion() {
            return (version >> 16) & 0xFFFF;
        }
    
        /**
         * Gets the minor version number.
         *
         * @return the minor version
         */
        public int getMinorVersion() {
            return version & 0xFFFF;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTransportImpl.java

            try {
                System.arraycopy(this.sbuf, 0, buffer, 0, 4 + SMB1_HEADER_LENGTH);
                final int size = Encdec.dec_uint16be(buffer, 2) & 0xFFFF;
                if (size < SMB1_HEADER_LENGTH + 1 || 4 + size > Math.min(0xFFFF, getContext().getConfig().getMaximumBufferSize())) {
                    throw new IOException("Invalid payload size: " + size);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbConstants.java

         */
        int DEFAULT_SO_TIMEOUT = 35000;
        /**
         * Default receive buffer size for SMB transport.
         */
        int DEFAULT_RCV_BUF_SIZE = 0xFFFF;
        /**
         * Default send buffer size for SMB transport.
         */
        int DEFAULT_SND_BUF_SIZE = 0xFFFF;
        /**
         * Default buffer size for change notification responses.
         */
        int DEFAULT_NOTIFY_BUF_SIZE = 1024;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    entry = null;
                }
                return entry != null ? entry.address : null;
            }
        }
    
        int getNextNameTrnId() {
            if ((++this.nextNameTrnId & 0xFFFF) == 0) {
                this.nextNameTrnId = 1;
            }
            return this.nextNameTrnId;
        }
    
        void ensureOpen(final int timeout) throws IOException {
            this.closeTimeout = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
Back to top