Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 120 for 4095 (0.03 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            // Prepare buffer with invalid ACE count (> 4096)
            prepareSecurityDescriptorBufferWithInvalidAceCount(testBuffer, 0);
    
            assertThrows(SMBProtocolDecodingException.class, () -> securityDescriptor.decode(testBuffer, 0, testBuffer.length),
                    "Should throw exception for ACE count > 4096");
        }
    
        @Test
        @DisplayName("Test getType returns correct value")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                SMBUtil.writeInt4(3, buffer, 0);
                SMBUtil.writeInt4(4096, buffer, 4);
                SMBUtil.writeInt4(12288, buffer, 8);
    
                int bytesDecoded = response.decode(buffer, 0, buffer.length);
    
                assertEquals(12, bytesDecoded);
                assertEquals(3, response.getChunksWritten());
                assertEquals(4096, response.getChunkBytesWritten());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            MockitoAnnotations.openMocks(this);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            testFileId = new byte[16];
            new SecureRandom().nextBytes(testFileId);
            outputBuffer = new byte[4096];
            request = new Smb2ReadRequest(mockConfig, testFileId, outputBuffer, 0);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            when(config.getFlags2()).thenReturn(0);
            when(config.getMaxMpxCount()).thenReturn(1);
            when(config.getSendBufferSize()).thenReturn(4096);
            when(config.getReceiveBufferSize()).thenReturn(4096);
            when(config.getTransactionBufferSize()).thenReturn(4096);
            when(config.isUseUnicode()).thenReturn(true);
    
            SmbComNegotiateResponse nego = new SmbComNegotiateResponse(ctx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            @Test
            @DisplayName("Package constructor should initialize with binding and handle")
            void testPackageConstructor() throws Exception {
                // Given
                int maxXmit = 4096;
                int maxRecv = 4096;
                when(mockHandle.getMaxXmit()).thenReturn(maxXmit);
                when(mockHandle.getMaxRecv()).thenReturn(maxRecv);
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            serverData.security = 1;
            serverData.encryptedPasswords = true;
            serverData.maxMpxCount = 10;
            serverData.maxNumberVcs = 2;
            serverData.maxBufferSize = 4096;
            serverData.maxRawSize = 8192;
            serverData.sessionKey = 0xABCDEF;
            serverData.capabilities = SmbConstants.CAP_UNICODE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

        void setUp() throws MalformedURLException, UnknownHostException, SmbException {
            // Mock the transport layer
            smbTransport = mock(SmbTransport.class);
            smbTransport.rcv_buf_size = 4096;
            smbTransport.snd_buf_size = 4096;
    
            // Mock the session layer
            smbSession = mock(SmbSession.class);
            smbSession.transport = smbTransport;
    
            // Mock the tree layer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. api/go1.15.txt

    pkg database/sql/driver, type Validator interface { IsValid }
    pkg database/sql/driver, type Validator interface, IsValid() bool
    pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_APPCONTAINER = 4096
    pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_APPCONTAINER ideal-int
    pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE = 64
    pkg debug/pe, const IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE ideal-int
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Jul 17 02:15:01 UTC 2020
    - 7.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(8192, transaction.maxBufferSize);
        }
    
        @Test
        @DisplayName("Test setMaxDataCount")
        void testSetMaxDataCount() {
            transaction.setMaxDataCount(4096);
            assertEquals(4096, transaction.maxDataCount);
        }
    
        @Test
        @DisplayName("Test buffer management")
        void testBufferManagement() {
            byte[] buffer = new byte[1024];
            buffer[0] = 0x42;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. cmd/server-rlimit.go

    	if _, maxLimit, err = sys.GetMaxOpenFileLimit(); err != nil {
    		return err
    	}
    
    	if maxLimit < 4096 && runtime.GOOS != globalWindowsOSName {
    		logger.Info("WARNING: maximum file descriptor limit %d is too low for production servers. At least 4096 is recommended. Fix with \"ulimit -n 4096\"",
    			maxLimit)
    	}
    
    	if err = sys.SetMaxOpenFileLimit(maxLimit, maxLimit); err != nil {
    		return err
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Jul 02 15:09:36 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top