- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 761 for 16 (0.51 sec)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
// Verify length (8 bytes) assertEquals(length, SMBUtil.readInt8(buffer, 8)); // Verify flags (4 bytes) assertEquals(flags, SMBUtil.readInt4(buffer, 16)); // Verify reserved field is zeros (4 bytes) assertEquals(0, SMBUtil.readInt4(buffer, 20)); } @Test @DisplayName("Should encode at different buffer positions")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(300, SMBUtil.readInt4(buffer, chunkStart + 16)); // Verify second chunk chunkStart += CHUNK_SIZE; assertEquals(400L, SMBUtil.readInt8(buffer, chunkStart)); assertEquals(500L, SMBUtil.readInt8(buffer, chunkStart + 8)); assertEquals(600, SMBUtil.readInt4(buffer, chunkStart + 16)); // Verify third chunk
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
private byte[] testFileId; private Smb2LeaseKey testLeaseKey; @BeforeEach public void setUp() { testGuid = new HandleGuid(); testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); } testLeaseKey = new Smb2LeaseKey(); } @Test public void testHandleInfoCreation() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
buildscripts/rewrite-old-new.sh
MINIO_CONFIG_DIR="$WORK_DIR/.minio" MINIO_OLD=("$PWD/minio.RELEASE.2020-10-28T08-16-50Z" --config-dir "$MINIO_CONFIG_DIR" server) MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server) if [ ! -x "$PWD/minio" ]; then echo "minio executable binary not found in current directory" exit 1 fi function download_old_release() { if [ ! -f minio.RELEASE.2020-10-28T08-16-50Z ]; then
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon May 27 19:17:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
// Verify context name is encoded at offset 16 byte[] nameBytes = new byte[4]; System.arraycopy(buffer, 16, nameBytes, 0, 4); assertArrayEquals("RqLs".getBytes(), nameBytes); // Verify lease key is encoded at offset 24 (after header + name + padding) byte[] encodedKey = new byte[16]; System.arraycopy(buffer, 24, encodedKey, 0, 16);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify context name byte[] nameBytes = new byte[4]; System.arraycopy(buffer, 16, nameBytes, 0, 4); assertEquals("DLse", new String(nameBytes)); // Verify lease key (first 16 bytes of data) byte[] leaseKeyBytes = new byte[16]; System.arraycopy(buffer, 24, leaseKeyBytes, 0, 16); assertArrayEquals(key.getKey(), leaseKeyBytes);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
i += 8; SMBUtil.writeInt4(attrs, body, i); // FileAttributes i += 4; i += 4; // Reserved2 System.arraycopy(fileId, 0, body, i, 16); // FileId i += 16; SMBUtil.writeInt4(0, body, i); // CreateContextsOffset i += 4; SMBUtil.writeInt4(0, body, i); // CreateContextsLength i += 4; assert i == body.length;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
dst[dstIndex++] = (byte) (val >> 8); dst[dstIndex++] = (byte) (val >> 16); dst[dstIndex++] = (byte) (val >> 24); } private void writeInt8(long val, byte[] dst, int dstIndex) { dst[dstIndex++] = (byte) val; dst[dstIndex++] = (byte) (val >> 8); dst[dstIndex++] = (byte) (val >> 16); dst[dstIndex++] = (byte) (val >> 24); dst[dstIndex++] = (byte) (val >> 32);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
@DisplayName("Should generate random lease key with correct size") void testRandomLeaseKeyGeneration() { Smb2LeaseKey key = new Smb2LeaseKey(); assertNotNull(key.getKey()); assertEquals(16, key.getKey().length); assertFalse(key.isZero()); } @Test @DisplayName("Should create lease key from byte array") void testLeaseKeyFromBytes() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0)