Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 109 for allocation (0.51 sec)

  1. README.md

    - **Sequenced Collections** - Full support for Java 21 sequenced collections API with dedicated utility methods
    - **Performance Focused** - Optimized implementations for better runtime performance with reduced memory allocation
    - **Type Safe** - Comprehensive use of generics and modern Java type system features
    
    ### Additional Components
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testDecodeSkipsActualFreeUnits() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[32];
                // total allocation units (8 bytes)
                buffer[4] = 0x01;
                // caller available allocation units (8 bytes)
                buffer[12] = 0x01;
                // actual free units (8 bytes) - should be skipped
                buffer[20] = (byte) 0xFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Change Time (8 bytes)
                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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            when(response.getHeaderStart()).thenReturn(0);
    
            // Write FileFsSizeInformation data (24 bytes)
            SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units
            SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units
            SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit
            SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertTrue(result.contains("sectPerAlloc=" + sectPerAlloc));
            assertTrue(result.contains("bytesPerSect=" + bytesPerSect));
        }
    
        @Test
        @DisplayName("Test decode with single sector per allocation")
        void testDecodeWithSingleSectorPerAllocation() throws SMBProtocolDecodingException {
            // Prepare test data with sectPerAlloc = 1
            byte[] buffer = new byte[22];
            int idFileSystem = 0x11111111;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            RdmaProvider provider = RdmaProviderFactory.selectBestProvider();
    
            try (RdmaBufferManager bufferManager = new RdmaBufferManager(provider)) {
                // Test basic buffer allocation
                RdmaMemoryRegion sendRegion = bufferManager.getSendRegion(4096);
                assertNotNull(sendRegion, "Send region should not be null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

        }
    
        /**
         * @return the lastWriteTime
         */
        @Override
        public final long getLastWriteTime() {
            return this.lastWriteTime;
        }
    
        /**
         * Gets the allocation size.
         *
         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Gets the end of file position.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

         * The total length of this DCERPC message
         */
        protected int length = 0;
        /**
         * The call ID for matching requests and responses
         */
        protected int call_id = 0;
        /**
         * The allocation hint for buffer sizing
         */
        protected int alloc_hint = 0;
        /**
         * The result code of the DCERPC operation
         */
        protected int result = 0;
    
        /**
         * Checks if a specific flag is set
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

        /**
         * Get the file change time
         *
         * @return the changeTime
         */
        public final long getChangeTime() {
            return this.changeTime;
        }
    
        /**
         * Get the file allocation size
         *
         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Get the end of file position
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

        }
    
        /**
         * Get the file change time
         * @return the changeTime
         */
        public final long getChangeTime() {
            return this.changeTime;
        }
    
        /**
         * Get the allocation size of the file
         * @return the allocationSize
         */
        public final long getAllocationSize() {
            return this.allocationSize;
        }
    
        /**
         * Get the end of file position
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top