Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for largeFile (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

            setField(cmd, "unlocks", new LockingAndXRange[0]);
            setField(cmd, "largeFile", false);
            byte[] buf = new byte[12]; // Buffer needs to be at least 12 bytes for the parameter words
            cmd.writeParameterWordsWireFormat(buf, 0);
            // The flag must be present so the command recognises largeFile
            SmbComLockingAndX copy = new SmbComLockingAndX(cfg);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

        private int fid;
        private byte typeOfLock;
        private byte newOpLockLevel;
        private long timeout;
        private LockingAndXRange[] locks;
        private LockingAndXRange[] unlocks;
        private boolean largeFile;
    
        /**
         * Creates a new SMB1 locking request for file byte-range locking operations.
         *
         * @param config the CIFS configuration
         */
        public SmbComLockingAndX(final Configuration config) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/FileUtilTest.java

         */
        @Test
        public void testReadBytes_LargeFile() throws Exception {
            final File largeFile = tempFolder.newFile("large.dat");
    
            // Create a file larger than MAX_BUF_SIZE (10MB)
            // Write 11MB of data
            try (FileOutputStream fos = new FileOutputStream(largeFile)) {
                final byte[] chunk = new byte[1024 * 1024]; // 1MB
                for (int i = 0; i < 11; i++) { // Write 11MB
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. 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();
        
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        // ========== Advanced Features ==========
    
        @Test
        void testLargeFileOperations() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/largefile.bin", context);
    
            // Create a smaller test file (1KB instead of 1MB)
            byte[] data = new byte[1024];
            for (int i = 0; i < data.length; i++) {
                data[i] = (byte) (i % 256);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  6. 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];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/storage/StorageItemTest.java

            assertEquals("", item.getEncodedId());
        }
    
        public void test_largeFileSize() {
            final long largeSize = 10737418240L; // 10 GB
            final StorageItem item = new StorageItem("large-file.zip", "/backups/", false, largeSize, null, "bGFyZ2UtZmlsZS56aXA=");
    
            assertEquals(largeSize, item.getSize());
        }
    
        public void test_rootPath() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  8. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  9. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top