- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Units (1.36 sec)
-
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
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/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) -
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) -
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) -
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) -
LICENSES/vendor/github.com/docker/go-units/LICENSE
= vendor/github.com/docker/go-units licensed under: = Apache License Version 2.0, January 2004 https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Fri May 08 04:49:00 UTC 2020 - 10.6K bytes - Viewed (0) -
guava-gwt/pom.xml
Let's take the warnings for one module, c.g.c.base.testModule, as an example: [INFO] Validating units: [INFO] Ignored 53 units with compilation errors in first pass. [INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 21:35:58 UTC 2025 - 19.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
* @param q the blocking queue to be drained * @param buffer where to add the transferred elements * @param numElements the number of elements to be waited for * @param timeout how long to wait before giving up, in units of {@code unit} * @param unit a {@code TimeUnit} determining how to interpret the timeout parameter * @return the number of elements transferred * @throws InterruptedException if interrupted while waiting */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
assertEquals(2000000L * 16L * 4096L, info.getCapacity()); assertEquals(800000L * 16L * 4096L, info.getFree()); // This is caller available allocation units } @Test void testReadDataWireFormat_UnsupportedInformationLevel() throws Exception { // Test with unsupported information level
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/NetworkInterfaceInfo.java
/** * Information about a network interface for SMB3 Multi-Channel */ public class NetworkInterfaceInfo { private int interfaceIndex; private int capability; private int linkSpeed; // In units of 1 Mbps private byte[] sockaddrStorage; private InetAddress address; private boolean ipv6; private boolean rssCapable; // Receive Side Scaling private boolean rdmaCapable; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 9.8K bytes - Viewed (0)