- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 208 for 0xffe3 (0.03 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("toString with valid data produces expected format") void testToStringWithValidData() { byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("SERVER123"); NtlmChallenge nc = new NtlmChallenge(challenge, dc); String result = nc.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
} /** * {@inheritDoc} * * @see jcifs.internal.TreeConnectResponse#isValidTid() */ @Override public boolean isValidTid() { return getTid() != 0xFFFF; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java
int readRDataWireFormat(final byte[] src, int srcIndex) { final int start = srcIndex; numberOfNames = src[srcIndex] & 0xFF; final int namesLength = numberOfNames * 18; final int statsLength = rDataLength - namesLength - 1; numberOfNames = src[srcIndex] & 0xFF; srcIndex++; // gotta read the mac first so we can populate addressArray with it
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
void testEncode() { byte[] testBytes = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 }; Smb2LeaseKey key = new Smb2LeaseKey(testBytes); byte[] buffer = new byte[20]; key.encode(buffer, 2); for (int i = 0; i < 16; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
assertTrue(messageBytes.length >= 12); // Message type should be 1 (little endian) assertEquals(1, messageBytes[8] & 0xFF); assertEquals(0, messageBytes[9] & 0xFF); assertEquals(0, messageBytes[10] & 0xFF); assertEquals(0, messageBytes[11] & 0xFF); } @Test @DisplayName("Should handle Unicode negotiation flag") void testUnicodeNegotiation() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/archive/tar/strconv.go
// data bytes and treat the value as an unsigned number. var inv byte // 0x00 if positive or zero, 0xff if negative if b[0]&0x40 != 0 { inv = 0xff } var x uint64 for i, c := range b { c ^= inv // Inverts c only if inv is 0xff, otherwise does nothing if i == 0 { c &= 0x7f // Ignore signal bit in first byte } if (x >> 56) > 0 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
assertEquals(0, response.getCommand()); // Verify we can change the subcommand response.setSubCommand((byte) 0xFF); assertEquals((byte) 0xFF, response.getSubCommand()); // But creating a new instance should have the correct subcommand Trans2SetFileInformationResponse newResponse = new Trans2SetFileInformationResponse(config);
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/nego/NegotiateContextRequestTest.java
void testMockImplementation() { NegotiateContextRequest mockRequest = mock(NegotiateContextRequest.class); when(mockRequest.getContextType()).thenReturn(0xFF); assertEquals(0xFF, mockRequest.getContextType()); verify(mockRequest).getContextType(); } } @Nested @DisplayName("Edge Cases and Error Conditions") class EdgeCasesTests {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
public void testSupportedHashAlgorithms() { assertTrue(preauthService.isHashAlgorithmSupported(PreauthIntegrityService.HASH_ALGO_SHA512)); assertFalse(preauthService.isHashAlgorithmSupported(0xFF)); // Unsupported int[] supported = preauthService.getSupportedHashAlgorithms(); assertNotNull(supported); assertEquals(1, supported.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/MD4.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9.6K bytes - Viewed (0)