Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 120 for 4095 (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.putInt(16);
                buffer.putInt(4096);
    
                // When
                fileFsFullSizeInfo.decode(buffer.array(), 0, 32);
                String result = fileFsFullSizeInfo.toString();
    
                // Then
                String expected = "SmbInfoAllocation[alloc=123456,free=78910,sectPerAlloc=16,bytesPerSect=4096]";
                assertEquals(expected, result);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  2. cmd/veeam-sos-api.go

    			ModelName:       "\"MinIO " + ReleaseTag + "\"",
    		}
    		si.ProtocolCapabilities.CapacityInfo = true
    
    		// Default recommended block size with MinIO
    		si.SystemRecommendations.KBBlockSize = 4096
    
    		buf = encodeResponse(&si)
    	case capacityXMLObject:
    		objAPI := newObjectLayerFn()
    		if objAPI == nil {
    			return nil, errServerNotInitialized
    		}
    
    		q, _ := globalBucketQuotaSys.Get(ctx, bucket)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

            void testConstructorWithValidParameters() {
                // Given
                long sourceOffset = 1024L;
                long targetOffset = 2048L;
                int length = 4096;
    
                // When
                SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length);
    
                // Then
                assertNotNull(chunk);
            }
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file");
            assertEquals("/file", getPrivateField(cmd, "path"));
            assertEquals((byte) 0x00, getPrivateField(cmd, "maxSetupCount"));
            assertEquals(4096, getPrivateField(cmd, "maxDataCount"));
        }
    
        @Test
        @DisplayName("writeSetupWireFormat writes subCommand and padding")
        void testWriteSetup() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. docs/smb3-features/05-rdma-smb-direct-design.md

        assumeTrue(provider.isAvailable());
        
        ByteBuffer buffer = ByteBuffer.allocateDirect(4096);
        RdmaMemoryRegion region = provider.registerMemory(buffer, 
            EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.REMOTE_READ));
        
        assertNotNull(region);
        assertEquals(4096, region.getSize());
        assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ));
        
        region.close();
    }
    
    @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/InputStreamUtil.java

     */
    public abstract class InputStreamUtil {
    
        /**
         * Do not instantiate.
         */
        protected InputStreamUtil() {
        }
    
        /** Default buffer size. */
        private static final int BUF_SIZE = 4096;
    
        /**
         * Creates a {@link FileInputStream}.
         *
         * @param file the file (must not be {@literal null})
         * @return a {@link FileInputStream} to read from the file
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                final int numAces = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
    
                if (numAces > 4096) {
                    throw new SMBProtocolDecodingException("Invalid SecurityDescriptor");
                }
    
                this.aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        void testSetMaxOutputResponse() {
            setupMockConfig();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
            int maxOutput = 4096;
    
            request.setMaxOutputResponse(maxOutput);
    
            assertNotNull(request);
        }
    
        @Test
        @DisplayName("Test setInputData method")
        void testSetInputData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getConfig()).thenReturn(config);
            lenient().when(config.getListCount()).thenReturn(10);
            lenient().when(config.getListSize()).thenReturn(4096);
    
            lenient().when(parent.getLocator()).thenReturn(locator);
            lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\
    
            // Create URL with registered handler
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                long changeTime = creationTime + 3000000L;
                SMBUtil.writeInt8(changeTime, buffer, bufferIndex + 32);
                // Allocation Size (8 bytes)
                SMBUtil.writeInt8(4096, buffer, bufferIndex + 40);
                // End of File (8 bytes)
                SMBUtil.writeInt8(1024, buffer, bufferIndex + 48);
                // File Attributes (4 bytes)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top