Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for largeFile (0.3 sec)

  1. docs/smb3-features/05-rdma-smb-direct-design.md

        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true");
        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
        // Measure RDMA transfer performance
        byte[] data = new byte[10485760];  // 10MB
        Arrays.fill(data, (byte)0x42);
        
        long start = System.currentTimeMillis();
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  2. docs/smb3-features/03-multi-channel-design.md

        context.getConfig().setProperty("jcifs.smb.client.useMultiChannel", "true");
        context.getConfig().setProperty("jcifs.smb.client.maxChannels", "4");
        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
        // Measure single channel throughput
        long singleChannelTime = measureReadTime(file, false);
        
        // Measure multi-channel throughput
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java

            // Use large but valid time values
            long largeTime = System.currentTimeMillis() + 365L * 24 * 60 * 60 * 1000; // 1 year from now
            int maxAttributes = Integer.MAX_VALUE;
    
            FileBasicInfo info = new FileBasicInfo(largeTime, largeTime, largeTime, largeTime, maxAttributes);
    
            // Encode and decode
            byte[] buffer = new byte[50];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            assertSame(specificHandle, handleField.get(lookupSids));
        }
    
        @Test
        void constructor_shouldHandleLargeSidArray() {
            // Arrange
            int largeSize = 1000;
            testSids = new jcifs.SID[largeSize];
            for (int i = 0; i < largeSize; i++) {
                testSids[i] = mock(jcifs.SID.class);
                when(testSids[i].unwrap(sid_t.class)).thenReturn(mockSidT);
            }
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        void testSizeReturnsLargeValue() {
            // Given
            int largeSize = Integer.MAX_VALUE;
            when(request.size()).thenReturn(largeSize);
    
            // When
            int result = request.size();
    
            // Then
            assertEquals(largeSize, result);
            verify(request, times(1)).size();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top