Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 513 for units (0.04 sec)

  1. src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java

     * This structure provides complete allocation details including total allocation units, caller-available free units,
     * actual free allocation units, sectors per allocation unit, and bytes per sector.
     */
    public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1048576L); // Total allocation units (1M)
                buffer.putLong(524288L); // Caller available allocation units (512K)
                buffer.putLong(524288L); // Actual free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            // Mock data for FsFullSizeInformation
            writeInt8(3000, buffer, 0); // total allocation units
            writeInt8(1500, buffer, 8); // caller available allocation units
            writeInt8(1500, buffer, 16); // actual free units (skipped)
            writeInt4(4, buffer, 24); // sectors per allocation unit
            writeInt4(8192, buffer, 28); // bytes per sector
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

            // Read total allocation units.
            info.alloc = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // read caller available allocation units
            info.free = readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // skip actual free units
            bufferIndex += 8;
    
            info.sectPerAlloc = readInt4(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Represents the FILE_FS_SIZE_INFORMATION structure used to query file system size information.
     * This structure provides details about the total allocation units, free allocation units,
     * sectors per allocation unit, and bytes per sector for a file system volume.
     */
    public class FileFsSizeInformation implements AllocInfo {
    
        private long alloc; // Also handles SmbQueryFSSizeInfo
        private long free;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/SetsTest.java

      public void testImmutableEnumSet() {
        Set<SomeEnum> units = Sets.immutableEnumSet(SomeEnum.D, SomeEnum.B);
    
        assertThat(units).containsExactly(SomeEnum.B, SomeEnum.D).inOrder();
        assertThrows(UnsupportedOperationException.class, () -> units.remove(SomeEnum.B));
        assertThrows(UnsupportedOperationException.class, () -> units.add(SomeEnum.C));
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

    /**
     * Represents the SMB_INFO_ALLOCATION information level used in SMB transaction requests.
     * This structure provides allocation information for a file system including total units,
     * free units, sectors per allocation unit, and bytes per sector.
     */
    public class SmbInfoAllocation implements AllocInfo {
    
        /**
         * Default constructor for SMB allocation information.
         */
        public SmbInfoAllocation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            @DisplayName("Should decode with actual free units skipped")
            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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            // Write FileFsFullSizeInformation data (32 bytes)
            SMBUtil.writeInt8(1000000, buffer, 20); // Total allocation units
            SMBUtil.writeInt8(500000, buffer, 28); // Caller available units
            SMBUtil.writeInt8(600000, buffer, 36); // Actual available units
            SMBUtil.writeInt4(512, buffer, 44); // Sectors per unit
            SMBUtil.writeInt4(4096, buffer, 48); // Bytes per sector
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                ByteBuffer buffer = ByteBuffer.allocate(24);
                buffer.order(ByteOrder.LITTLE_ENDIAN);
                buffer.putLong(1048576L); // Total allocation units (1M)
                buffer.putLong(524288L); // Free allocation units (512K)
                buffer.putInt(8); // Sectors per allocation unit
                buffer.putInt(512); // Bytes per sector
                byte[] bufferArray = buffer.array();
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top