- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 91 for 0x5c (0.42 sec)
-
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
0x0A, 0x0B, 0x0C, 0x0D // Salt }; // Act int decodedSize = context.decode(buffer, 0, buffer.length); // Assert assertEquals(12, decodedSize); assertArrayEquals(new int[] { 1, 2 }, context.getHashAlgos()); assertArrayEquals(new byte[] { 0x0A, 0x0B, 0x0C, 0x0D }, context.getSalt()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
// Then assertEquals(testType, nameType); verify(mockNetbiosName).getNameType(); } @ParameterizedTest @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 }) @DisplayName("Should handle various NetBIOS name types") void testVariousNameTypes(int nameType) { // Given when(mockNetbiosName.getNameType()).thenReturn(nameType);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 }); // 56-fold("password") verifyNfold("password", 7, new byte[] { (byte) 0x78, (byte) 0xa0, (byte) 0x7b, (byte) 0x6c, (byte) 0xaf, (byte) 0x85, (byte) 0xfa }); // 64-fold("Rough Consensus, and Running Code")
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/smb1/ntlmssp/NtlmMessageTest.java
} @Test @DisplayName("writeSecurityBuffer copies data and sets fields") void testWriteSecurityBufferNonZero() { byte[] dest = new byte[8 + 4]; byte[] payload = { 0x55, 0x66, 0x77 }; NtlmMessage.writeSecurityBuffer(dest, 0, 8, payload); assertEquals(3, NtlmMessage.readUShort(dest, 0), "Length field must be 3");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
*/ public static final byte FILE_BOTH_DIRECTORY_INFO = 0x03; /** * File information class for file names only. */ public static final byte FILE_NAMES_INFO = 0x0C; /** * File information class for both names with file IDs. */ public static final byte FILE_ID_BOTH_DIRECTORY_INFO = 0x24; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) { if (loadBalance) { dc = new UniAddress(NbtAddress.getByName(domainController, 0x1C, null)); } else { dc = UniAddress.getByName(domainController, true); } NtlmPasswordAuthentication ntlm; if (msg.startsWith("NTLM ")) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
if (this.loadBalance) { dc = new UniAddress(getTransportContext().getNameServiceClient().getNbtByName(this.domainController, 0x1C, null)); } else { dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true); } NtlmPasswordAuthentication ntlm;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
android/guava/src/com/google/common/primitives/Chars.java
* {@code ByteBuffer.allocate(2).putChar(value).array()}. For example, the input value {@code * '\\u5432'} would yield the byte array {@code {0x54, 0x32}}. * * <p>If you need to convert and concatenate several values (possibly even of different types), * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
} @Test @DisplayName("Test with maximum data size") void testWithMaxDataSize() { // Given byte[] maxData = new byte[0xFFFF]; Arrays.fill(maxData, (byte) 0x55); transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, maxData, 0, maxData.length); byte[] dst = new byte[0x10000]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
buf[bodyStart + 2] = 0x02; // errorContextCount buf[bodyStart + 3] = 0x00; // reserved int bc = 4; SMBUtil.writeInt4(bc, buf, bodyStart + 4); byte[] err = new byte[] { 0x55, 0x66, 0x77, 0x01 }; System.arraycopy(err, 0, buf, bodyStart + 8, bc); int decoded = resp.decode(buf, headerStart); assertTrue(decoded > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0)