- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 163 for 0xffe0 (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
@Override public final int readUnsignedShort() throws SmbException { if (read(tmp, 0, 2) < 0) { throw new SmbException("EOF"); } return Encdec.dec_uint16be(tmp, 0) & 0xFFFF; } @Override public final char readChar() throws SmbException { if (read(tmp, 0, 2) < 0) { throw new SmbException("EOF"); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, 0xFFFF, defaultDialects); byte[] buffer = new byte[request.size()]; request.encode(buffer, 0); // Verify max security mode value (2 bytes) assertEquals(0xFFFF, SMBUtil.readInt2(buffer, 20) & 0xFFFF); } @Test @DisplayName("Test encode with all zero GUID")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
} // there seems to be a bug with some servers that causes corruption if using signatures + CAP_LARGE_WRITE if (th.hasCapability(SmbConstants.CAP_LARGE_WRITEX) && !th.areSignaturesActive()) { this.writeSize = Math.min(th.getConfig().getSendBufferSize() - 70, 0xFFFF - 70); } this.fp = 0L;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.8K bytes - Click Count (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 0xffffCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.9K bytes - Click Count (0) -
src/archive/zip/zip_test.go
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
uuid.time_mid = (short) 0x9ABC; uuid.time_hi_and_version = (short) 0xDEF0; uuid.clock_seq_hi_and_reserved = (byte) 0x11; uuid.clock_seq_low = (byte) 0x22; uuid.node = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF }; // Mock the derive method to return a buffer for node encodingCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (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."); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
final byte[] addr = localInetAddress.getAddress(); localHostname = "JCIFS" + (addr[2] & 0xFF) + "_" + (addr[3] & 0xFF) + "_" + Hexdump.toHexString((int) (Math.random() * 0xFF), 2); } /* * Create an NbtAddress for the local interface with * the name deduced above possibly with scope applied and
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
void testReadBytesWireFormatNegativeStructureSize() { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Set structure size to -1 (0xFFFF when read as unsigned) SMBUtil.writeInt2(0xFFFF, buffer, bufferIndex); SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex),
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
assertEquals(0xFFFFFFFF, transCallNamedPipe.timeout); assertEquals(0, transCallNamedPipe.maxParameterCount); assertEquals(0xFFFF, transCallNamedPipe.maxDataCount); assertEquals((byte) 0x00, transCallNamedPipe.maxSetupCount); assertEquals(2, transCallNamedPipe.setupCount); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0)