Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 148 for 0xffff (0.04 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

                byte[] testBuffer = new byte[8];
                ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);
                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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.append = append;
            this.openFlags = openFlags;
            this.access = openFlags >>> 16 & 0xFFFF;
            if (append) {
                try {
                    fp = file.length();
                } catch (final SmbAuthException sae) {
                    throw sae;
                } catch (final SmbException se) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/archive/zip/reader.go

    	if l > len(b) {
    		return nil, 0, errors.New("zip: invalid comment length")
    	}
    	d.comment = string(b[:l])
    
    	// These values mean that the file can be a zip64 file
    	if d.directoryRecords == 0xffff || d.directorySize == 0xffff || d.directoryOffset == 0xffffffff {
    		p, err := findDirectory64End(r, directoryEndOffset)
    		if err == nil && p >= 0 {
    			directoryEndOffset = p
    			err = readDirectory64End(r, p, d)
    		}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  4. 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)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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/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)
  10. 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)
Back to top