- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 96 for 0xff00 (0.03 sec)
-
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} @Test @DisplayName("Should handle ciphers with maximum value") void testMaximumCipherValues() throws SMBProtocolDecodingException { int[] ciphers = { 0xFFFF, 0x0000, 0x7FFF }; EncryptionNegotiateContext originalContext = new EncryptionNegotiateContext(mockConfig, ciphers); int encoded = originalContext.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF }; int length = SessionServicePacket.readLength(src, 0); assertEquals(0x01FFFF, length); } @Test @DisplayName("readLength should handle zero length") void testReadLengthZero() { byte[] src = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
val flags = buf.readShort().toInt() and 0xffff require(flags shr 15 != 0) { "not a response" } val responseCode = flags and 0xf if (responseCode == NXDOMAIN) { throw UnknownHostException("$hostname: NXDOMAIN") } else if (responseCode == SERVFAIL) { throw UnknownHostException("$hostname: SERVFAIL") } val questionCount = buf.readShort().toInt() and 0xffff
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
// Given setResultField(bind, 0xFFFF); // When DcerpcException result = bind.getResult(); // Then assertNotNull(result, "Should return exception for large error code"); assertEquals("0xFFFF", result.getMessage(), "Should return hex representation for large error code"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java
// Protocol constants /** Minimum supported SMB Direct protocol version (1.0) */ public static final int MIN_VERSION = 0x0100; // SMB Direct 1.0 /** Maximum supported SMB Direct protocol version (1.0) */ public static final int MAX_VERSION = 0x0100; // SMB Direct 1.0 /** SMB Direct negotiate request message type */ public static final int NEGOTIATE_REQUEST = 0x01; // Message fields
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
buffer.putShort(0, (short) 0xFFFF); assertEquals(0xFFFF, NtlmMessage.readUShort(data, 0), "Should read max UShort correctly."); // Test with a negative short (should be interpreted as unsigned positive) buffer.putShort(0, (short) -1); // -1 is 0xFFFF assertEquals(0xFFFF, NtlmMessage.readUShort(data, 0), "Should interpret -1 as unsigned max UShort."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
// Section prefix. sectionIndexBuffer.writeByte(section and 0x1fc000 shr 14) sectionIndexBuffer.writeByte((section and 0x3f80) shr 7) // Section index. sectionIndexBuffer.writeByte((sectionOffset and 0x3f80) shr 7) sectionIndexBuffer.writeByte(sectionOffset and 0x7f) // Ranges. for (range in sectionMappedRanges) { rangesBuffer.writeByte(range.rangeStart)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
final int _name_bufferi = _src.index; _src.advance(2 * _name_bufferl); if (this.name.buffer == null) { if (_name_buffers < 0 || _name_buffers > 0xFFFF) { throw new NdrException(NdrException.INVALID_CONFORMANCE); } this.name.buffer = new short[_name_buffers]; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
Arguments.of(DialectVersion.SMB210, DialectVersion.SMB300, new int[] { 0x0210, 0x0300 }), Arguments.of(DialectVersion.SMB202, DialectVersion.SMB311, new int[] { 0x0202, 0x0210, 0x0300, 0x0302, 0x0311 }), Arguments.of(DialectVersion.SMB311, DialectVersion.SMB311, new int[] { 0x0311 })); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0)