- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for sectPerAlloc (0.05 sec)
-
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
return FS_SIZE_INFO; } @Override public long getCapacity() { return this.alloc * this.sectPerAlloc * this.bytesPerSect; } @Override public long getFree() { return this.free * this.sectPerAlloc * this.bytesPerSect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
return FS_FULL_SIZE_INFO; } @Override public long getCapacity() { return this.alloc * this.sectPerAlloc * this.bytesPerSect; } @Override public long getFree() { return this.free * this.sectPerAlloc * this.bytesPerSect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Verify capacity calculation: alloc * sectPerAlloc * bytesPerSect long expectedCapacity = alloc * sectPerAlloc * bytesPerSect; assertEquals(expectedCapacity, smbInfoAllocation.getCapacity()); // Verify free space calculation: free * sectPerAlloc * bytesPerSect long expectedFree = free * sectPerAlloc * bytesPerSect; assertEquals(expectedFree, smbInfoAllocation.getFree());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
buffer.putInt(sectPerAlloc); buffer.putInt(bytesPerSect); byte[] bufferArray = buffer.array(); // When int bytesConsumed = fileFsFullSizeInfo.decode(bufferArray, 0, bufferArray.length); // Then assertEquals(32, bytesConsumed); assertEquals(alloc * sectPerAlloc * bytesPerSect, fileFsFullSizeInfo.getCapacity());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
long alloc; // Also handles SmbQueryFSSizeInfo long free; int sectPerAlloc; int bytesPerSect; @Override public long getCapacity() { return alloc * sectPerAlloc * bytesPerSect; } @Override public long getFree() { return free * sectPerAlloc * bytesPerSect; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java
return FileSystemInformation.SMB_INFO_ALLOCATION; } @Override public long getCapacity() { return this.alloc * this.sectPerAlloc * this.bytesPerSect; } @Override public long getFree() { return this.free * this.sectPerAlloc * this.bytesPerSect; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
info.free = 500; info.sectPerAlloc = 100; info.bytesPerSect = 512; String infoString = info.toString(); assertTrue(infoString.contains("alloc=1000"), "toString should contain alloc"); assertTrue(infoString.contains("free=500"), "toString should contain free"); assertTrue(infoString.contains("sectPerAlloc=100"), "toString should contain sectPerAlloc");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0)