Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 109 of 109 for 0xFFFF (0.02 sec)

  1. 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)
  2. 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 files
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            }
    
            @Test
            @DisplayName("Should handle hash algorithms with maximum value")
            void testMaximumHashAlgoValues() throws SMBProtocolDecodingException {
                int[] hashAlgos = { 0xFFFF, 0x0000, 0x7FFF };
                byte[] salt = { (byte) 0xFF, 0x00, 0x7F };
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                assertEquals("Unknown dialect", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0x0000, 0x0100, 0x0201, 0x0303, 0x0400, 0xFFFF })
            @DisplayName("Should throw exception for invalid dialects")
            void testConstructorInvalidDialects(int dialect) {
                IllegalArgumentException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SID.java

                    domainHandle = new SamrDomainHandle(handle, policyHandle, 0x02000000, domsid);
                    rpc = new MsrpcEnumerateAliasesInDomain(domainHandle, 0xFFFF, sam);
                    handle.sendrecv(rpc);
                    if (rpc.retval != 0) {
                        throw new SmbException(rpc.retval, false);
                    }
    
                    final Map map = new HashMap();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

                    Arguments.of(0x0300, DialectVersion.SMB300, true), Arguments.of(0x0302, DialectVersion.SMB302, true),
                    Arguments.of(0x0311, DialectVersion.SMB311, true), Arguments.of(0xFFFF, null, false), // SMB2_DIALECT_ANY
                    Arguments.of(0x9999, null, false) // Unknown dialect
            );
        }
    
        // Helper methods
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top