- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 235 for zeros (0.03 sec)
-
src/main/java/jcifs/smb/PreauthIntegrityService.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
request = new Smb2NegotiateRequest(mockConfig, 0); // Then byte[] guid = request.getClientGuid(); assertNotNull(guid); assertEquals(16, guid.length); // Should be zeros (not set from machine ID) for (byte b : guid) { assertEquals(0, b); } } @Test @DisplayName("Should add negotiate contexts for SMB 3.1.1")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java
writeInt8(0L, dst, dstIndex); dstIndex += 8; /* Samba 2.2.7 needs ATTR_NORMAL */ writeInt2(0x80 | attributes, dst, dstIndex); dstIndex += 2; /* 6 zeros observed with NT */ writeInt8(0L, dst, dstIndex); dstIndex += 6; /* Also observed 4 byte alignment but we stick * with the default for jCIFS which is 2 */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
assertEquals(originalMessage.getFlags(), parsedMessage.getFlags()); assertNull(parsedMessage.getChallenge()); // Should be null if all zeros assertNull(parsedMessage.getTarget()); assertNull(parsedMessage.getContext()); // Should be null if all zeros assertNull(parsedMessage.getTargetInformation()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
response = mock(CommonServerMessageBlock.class); } @Test @DisplayName("Should sign data correctly with zero signature field") void testSignZeroesSignatureField() { // Fill signature field with non-zero values for (int i = 0; i < SIGNATURE_LENGTH; i++) { data[SIGNATURE_OFFSET + i] = (byte) 0xFF; }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
} @Test @DisplayName("Should write zeros for reserved field") void testReservedFieldIsZero() { // Given Configuration mockConfig = mock(Configuration.class); Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); byte[] buffer = new byte[256]; // Fill with non-zero values first for (int i = 0; i < buffer.length; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
} RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId); // All patterns should be accepted assertDoesNotThrow(() -> request.setFileId(allZeros), "Should handle all-zeros file ID"); assertDoesNotThrow(() -> request.setFileId(allOnes), "Should handle all-ones file ID"); assertDoesNotThrow(() -> request.setFileId(alternating), "Should handle alternating pattern file ID"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
byte[] originalDecKey = testDecryptionKey.clone(); // Ensure keys are not zero initially assertFalse(isAllZeros(originalEncKey), "Original encryption key should not be all zeros"); assertFalse(isAllZeros(originalDecKey), "Original decryption key should not be all zeros"); // When encryptionContext.secureWipeKeys();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
verify(mockNdrBuffer).advance(8); // sub_authority advance (4 * 2) verify(mockNdrBuffer, times(2)).derive(anyInt()); // Verify identifier_authority bytes (5 zeros + 1 five) verify(mockNdrBuffer, times(5)).enc_ndr_small((byte) 0); verify(mockNdrBuffer).enc_ndr_small((byte) 5); // Verify sub_authority values
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)