- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 664 for zeros (0.02 sec)
-
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
@Test @DisplayName("Test with edge case time values") void testWithEdgeCaseTimeValues() { // Test with various time values including edge cases long[][] timeValues = { { 0L, 0L, 0L, 0L }, // All zeros { Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE, Long.MAX_VALUE }, // Max values { 1L, 2L, 3L, 4L }, // Small values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertArrayEquals(testFileId, copiedFileId); } @Test @DisplayName("Test with various file ID patterns") void testWithVariousFileIdPatterns() { // Test with all zeros byte[] zeroFileId = new byte[16]; Smb2FlushRequest zeroRequest = new Smb2FlushRequest(mockConfig, zeroFileId); testFileIdInRequest(zeroRequest, zeroFileId); // Test with all ones
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/Smb2TransformHeaderTest.java
assertEquals((byte) 0x53, aad[2]); assertEquals((byte) 0xFD, aad[3]); // Verify signature is zeroed out (16 bytes of zeros) for (int i = 4; i < 20; i++) { assertEquals(0, aad[i], "Signature bytes should be zero in AAD"); } // Verify nonce matches at position 20 for (int i = 0; i < 16; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502(); byte[] securityDescriptorBytes = new byte[20]; securityDescriptorBytes[0] = 1; // revision // Rest are zeros - no DACL info502.security_descriptor = securityDescriptorBytes; info502.sd_size = securityDescriptorBytes.length; // Replace info field
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("toString uses hex authority when high bytes are non-zero") void testToStringHexAuthority() { byte[] ident = new byte[] { 1, 2, 3, 4, 5, 6 }; // high bytes non-zero -> hex representation SID sid = new SID(buildSidT((byte) 1, ident, 7, 8), jcifs.SID.SID_TYPE_USE_NONE, null, null, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java
buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else { // Write 20 zero bytes for null context handle for (int i = 0; i < 20; i++) { buf.enc_ndr_small(0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 16.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* @author Gregory Kick * @since 7.0 */ @GwtCompatible public final class Ascii { private Ascii() {} /* The ASCII control characters, per RFC 20. */ /** * Null ('\0'): The all-zeros character which may serve to accomplish time fill and media fill. * Normally used as a C string terminator. * * <p>Although RFC 20 names this as "Null", note that it is distinct from the C/C++ "NULL" * pointer.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should handle edge case with all zero session key") void testDeriveKeys_AllZeroSessionKey() { // Given byte[] zeroSessionKey = new byte[16]; // All zeros int dialect = Smb2Constants.SMB2_DIALECT_0311; // When
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/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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)