Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 118 for 65537 (0.02 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

        private static final int ALL_SECURITY_INFORMATION = 0x0000000F;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor initialization with basic parameters")
        void testConstructorBasic() {
            int fid = 0x1234;
            int securityInfo = OWNER_SECURITY_INFORMATION;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        @Test
        void testLargeBatchParameters() {
            // Test with maximum allowed values
            int maxSid = 0xFFFF;
            int maxResumeKey = 0x7FFFFFFF;
            int maxBatchCount = 65535;
            int maxBatchSize = 65535;
    
            trans2FindNext2 = new Trans2FindNext2(config, maxSid, maxResumeKey, TEST_FILENAME, maxBatchCount, maxBatchSize);
    
            byte[] buffer = new byte[512];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

        // Protocol limits
        private static final int MAX_SMB_MESSAGE_SIZE = 16 * 1024 * 1024; // 16MB max for SMB3
        private static final int MAX_SMB1_MESSAGE_SIZE = 65535; // 64KB for SMB1
        private static final int MIN_SMB_HEADER_SIZE = 32;
        private static final int MAX_PATH_COMPONENT_SIZE = 255;
        private static final int MAX_PATH_SIZE = 32767;
    
        // Statistics
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        private Smb2QueryDirectoryRequest request;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
            when(mockConfig.getListSize()).thenReturn(65536);
            when(mockContext.getConfig()).thenReturn(mockConfig);
        }
    
        @Test
        @DisplayName("Test constructor with configuration only")
        void testConstructorWithConfig() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test sign method with large data array")
        void testSignWithLargeData() {
            // Arrange
            byte[] largeData = new byte[65536]; // 64KB
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
            int offset = 1024;
            int length = 32768; // 32KB
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

        private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
        private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    
        private static final int DEFAULT_LIST_SIZE = 65535;
        private static final int DEFAULT_LIST_COUNT = 200;
    
        private final int searchAttributes;
        private final int flags;
        private final int informationLevel;
        private final int searchStorageType = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. utils/utils_test.go

    		{"int64", int64(math.MaxInt64), "9223372036854775807"},
    		{"uint", uint(math.MaxUint64), "18446744073709551615"},
    		{"uint8", uint8(math.MaxUint8), "255"},
    		{"uint16", uint16(math.MaxUint16), "65535"},
    		{"uint32", uint32(math.MaxUint32), "4294967295"},
    		{"uint64", uint64(math.MaxUint64), "18446744073709551615"},
    		{"string", "abc", "abc"},
    		{"other", true, ""},
    	}
    	for _, test := range tests {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

        }
    
        @Override
        public String getProviderName() {
            return "TCP Fallback";
        }
    
        @Override
        public int getMaxMessageSize() {
            return 65536; // 64KB for TCP
        }
    
        @Override
        public void shutdown() {
            // Nothing to clean up for TCP
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/BaseContextTest.java

            when(mockConfig.getDefaultDomain()).thenReturn(null);
            when(mockConfig.getBufferCacheSize()).thenReturn(16);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
    
            context = new BaseContext(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize all components")
        void testConstructorInitialization() {
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

            @Test
            @DisplayName("Should decode large value correctly")
            void testDecodeLargeValue() throws NdrException {
                // Given: NdrShort and mock returning large value
                int largeValue = 65535;
                NdrShort ndrShort = new NdrShort(0);
                when(mockBuffer.dec_ndr_short()).thenReturn(largeValue);
    
                // When: Decoding the value
                ndrShort.decode(mockBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top