- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 664 for zeros (0.02 sec)
-
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.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: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2SetFileInformation.java
} @Override protected int writeDataWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dstIndex += this.info.encode(dst, dstIndex); /* 6 zeros observed with NT */ SMBUtil.writeInt8(0L, dst, dstIndex); dstIndex += 6; /* * Also observed 4 byte alignment but we stick * with the default for jCIFS which is 2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.3K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-549755813887L) assertThat(Adapters.INTEGER_AS_LONG.toDer(-549755813887L)).isEqualTo(bytes) } @Test fun `eight zeros`() { val bytes = "020200ff".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(255) assertThat(Adapters.INTEGER_AS_LONG.toDer(255)).isEqualTo(bytes) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
} @Test @DisplayName("Should handle null file ID gracefully") void testNullFileId() { // Given byte[] nullFileId = new byte[16]; // All zeros Configuration config = mock(Configuration.class); when(config.getNotifyBufferSize()).thenReturn(8192); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[100]; // Initialize buffer with zeros to avoid random data java.util.Arrays.fill(buffer, (byte) 0); // Set dataCount to 0 - but decode still runs setDataCount(response, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0)