Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 109 for 0xFFFF (0.55 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/pac/PacDataInputStream.java

         * @return the unsigned short value as an integer
         * @throws IOException if an I/O error occurs
         */
        public int readUnsignedShort() throws IOException {
            return readShort() & 0xffff;
        }
    
        /**
         * Reads a Windows FILETIME value and converts it to a Date.
         * @return the Date object, or null if the time represents infinity
         * @throws IOException if an I/O error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. 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 -> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top