- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 665 for 16 (0.03 sec)
-
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
dstIndex += 4; // Padding to align data to 8-byte boundary dstIndex += 4; // Write lease V2 data (52 bytes total) leaseKey.encode(dst, dstIndex); // LeaseKey (16 bytes) dstIndex += 16; SMBUtil.writeInt4(leaseState, dst, dstIndex); // LeaseState (4 bytes) dstIndex += 4; SMBUtil.writeInt4(leaseFlags, dst, dstIndex); // LeaseFlags (4 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java
* * @param key 16-byte array * @throws IllegalArgumentException if key is not 16 bytes */ public Smb2LeaseKey(byte[] key) { if (key == null) { throw new IllegalArgumentException("Lease key cannot be null"); } if (key.length != LEASE_KEY_SIZE) { throw new IllegalArgumentException("Lease key must be 16 bytes, got " + key.length); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleGuid.java
} /** * Create a handle GUID from existing bytes * @param bytes the 16-byte GUID data in little-endian format (SMB wire format) */ public HandleGuid(byte[] bytes) { if (bytes.length != 16) { throw new IllegalArgumentException("GUID must be 16 bytes"); } // MS-SMB2 specifies little-endian byte ordering for GUID components
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); // Create a test file ID (16 bytes) testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); } testFileName = "test-file.txt"; request = new Smb2CloseRequest(mockConfig, testFileId, testFileName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
} /** * Update the file ID after successful create response * @param newFileId the new 16-byte file ID */ public void updateFileId(byte[] newFileId) { if (newFileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); } System.arraycopy(newFileId, 0, this.fileId, 0, 16); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
byte[] actualMachineId = new byte[32]; System.arraycopy(value, 16, actualMachineId, 0, 32); assertArrayEquals(expectedMachineId, actualMachineId); // Verify the size field (first 4 bytes) assertEquals(48, (value[0] & 0xFF) | ((value[1] & 0xFF) << 8) | ((value[2] & 0xFF) << 16) | ((value[3] & 0xFF) << 24)); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); // Create a test file ID (16 bytes) testFileId = new byte[16]; for (int i = 0; i < 16; i++) { testFileId[i] = (byte) (i + 1); } request = new Smb2FlushRequest(mockConfig, testFileId); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Nonces should have proper size assertEquals(16, nonce1.length, "GCM nonce should be 16 bytes"); assertEquals(16, nonce2.length, "GCM nonce should be 16 bytes"); assertEquals(16, nonce3.length, "GCM nonce should be 16 bytes"); // For GCM, last 4 bytes should contain incrementing counter
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
private static final int SIGNATURE_LENGTH = 16; @BeforeAll static void setupClass() { // Ensure BouncyCastle provider is available for AES-CMAC if (Security.getProvider(BouncyCastleProvider.PROVIDER_NAME) == null) { Security.addProvider(new BouncyCastleProvider()); } } @BeforeEach void setup() { sessionKey = new byte[16]; Arrays.fill(sessionKey, (byte) 0xAA);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/mips.s
MOVF F2, 16(R1) MOVF F2, (R1) // // store ints and bytes // // LMOVW rreg ',' addr // { // outcode(int($1), &$2, 0, &$4); // } MOVW R1, foo<>+3(SB) MOVW R1, 16(R2) MOVW R1, (R2) MOVW R1, foo<>+3(SB) MOVW R1, 16(R2) MOVW R1, (R2) SC R1, (R2) // LMOVB rreg ',' addr // { // outcode(int($1), &$2, 0, &$4); // } MOVB R1, foo<>+3(SB) MOVB R1, 16(R2)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 08 12:17:12 UTC 2023 - 6.7K bytes - Viewed (0)