- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 592 for 16 (0.01 sec)
-
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
SMBUtil.writeInt4(TRANSFORM_PROTOCOL_ID, dst, dstIndex); dstIndex += 4; // Signature (16 bytes) System.arraycopy(this.signature, 0, dst, dstIndex, 16); dstIndex += 16; // Nonce (16 bytes) System.arraycopy(this.nonce, 0, dst, dstIndex, 16); dstIndex += 16; // Original message size SMBUtil.writeInt4(this.originalMessageSize, dst, dstIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR"); byte[] mac = PacMac.calculateMacArcfourHMACMD5(3, key, TEST_DATA); assertNotNull(mac); assertEquals(16, mac.length); // Test with a different key usage byte[] mac2 = PacMac.calculateMacArcfourHMACMD5(9, key, TEST_DATA); assertNotNull(mac2); assertEquals(16, mac2.length); // Test with another key usage
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
SMBUtil.writeInt4(50, minBuffer, 8); SMBUtil.writeInt4(0, minBuffer, 12); SMBUtil.writeInt4(0, minBuffer, 16); int bytesRead = response.readBytesWireFormat(minBuffer, 0); assertEquals(16, bytesRead); assertEquals(100, response.getCount()); assertEquals(50, response.getRemaining()); // Large buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
assertEquals(16, derivedKey.length, "Should always produce 16-byte key regardless of input size"); } } @Test @DisplayName("Should derive unique keys for different session keys") void testDeriveKeys_UniqueSessionKeys() { // Given byte[] sessionKey1 = new byte[16]; byte[] sessionKey2 = new byte[16]; new SecureRandom().nextBytes(sessionKey1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
// The decode method returns only the header size (16 bytes)\n assertEquals(16, bytesDecoded); } @Test @DisplayName("Test decode without data") void testDecodeWithoutData() throws SMBProtocolDecodingException { // Prepare test data - only header, no data byte[] buffer = new byte[16]; int bufferIndex = 0; // Set up test values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
private static final int STRUCTURE_SIZE = 16; private byte[] fileId; // 16-byte file ID from previous open /** * Create a new durable handle reconnect context * @param fileId the 16-byte file ID from the previous open */ public DurableHandleReconnect(byte[] fileId) { if (fileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/riscv64validation.s
VMSLTVI $17, V2, V3 // ERROR "signed immediate 16 must be in range [-16, 15]" VMSLTVI $-16, V2, V3 // ERROR "signed immediate -17 must be in range [-16, 15]" VMSLTUVI $17, V2, V3 // ERROR "signed immediate 16 must be in range [-16, 15]" VMSLTUVI $-16, V2, V3 // ERROR "signed immediate -17 must be in range [-16, 15]" VMSGEVI $17, V2, V3 // ERROR "signed immediate 16 must be in range [-16, 15]"
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed May 21 14:19:19 UTC 2025 - 31.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; int offset = 10; // Write valid structure (16 bytes) SMBUtil.writeInt2(16, buffer, offset); // Structure size buffer[offset + 2] = (byte) 0x01; // Share type (DISK) buffer[offset + 3] = 0; // Reserved
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
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)