- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 544 for sector (0.35 seconds)
-
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 private long free;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
/** * 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; private int sectPerAlloc;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
writeInt8(2000, buffer, 0); // total allocation units writeInt8(1000, buffer, 8); // free allocation units writeInt4(8, buffer, 16); // sectors per allocation unit writeInt4(4096, buffer, 20); // bytes per sector int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(24, bytesRead, "Should read 24 bytes");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0) -
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() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
@DisplayName("Test decode with large bytes per sector") void testDecodeWithLargeBytesPerSector() throws SMBProtocolDecodingException { // Prepare test data with large bytesPerSect byte[] buffer = new byte[22]; int idFileSystem = 0x22222222; int sectPerAlloc = 8; long alloc = 10000L; long free = 5000L; int bytesPerSect = 32768; // 32KB sectors // Encode test dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
@DisplayName("Should decode various sector and allocation configurations") @CsvSource({ "1000, 500, 1, 512", // Minimal sectors per alloc "1000, 500, 8, 512", // Typical configuration "1000, 500, 64, 512", // Large allocation units "1000, 500, 8, 4096", // 4K sectors "1000, 500, 16, 4096", // Large sectors and allocationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
@DisplayName("Should decode various sector and allocation configurations") @CsvSource({ "1000, 500, 600, 1, 512", // Minimal sectors per alloc "1000, 500, 600, 8, 512", // Typical configuration "1000, 500, 600, 64, 512", // Large allocation units "1000, 500, 600, 8, 4096", // 4K sectors "1000, 500, 600, 16, 4096", // Large sectors and allocationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector int result = response.readBytesWireFormat(buffer, bufferIndex); assertNotNull(response.getInfo());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @param c the collection of elements to be placed in the vector * @return a new instance of {@link Vector} * @see Vector#Vector(Collection) */ public static <E> Vector<E> newVector(final Collection<? extends E> c) { return new Vector<>(c); } /** * Creates and returns a new instance of {@link Vector}. * * @param <E> the element type of {@link Vector}Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
} } boolean optional = false; if (!selector.isEmpty() && selector.charAt(0) == '?') { optional = true; selector = selector.substring(1); } projectActivation.addProjectActivation(selector, active, optional); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0)