- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 151 for 0xfeff (0.11 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
val version = fromSource.readByte() and 0xff if (version != VERSION_5) throw ProtocolException("unexpected version: $version") val command = fromSource.readByte() and 0xff val reserved = fromSource.readByte() and 0xff if (reserved != 0) throw ProtocolException("unexpected reserved: $reserved") val addressType = fromSource.readByte() and 0xff val toAddress = when (addressType) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
private int pad1 = 0; private boolean hasMore = true; private boolean isPrimary = true; private int bufParameterOffset; private int bufDataOffset; static final int TRANSACTION_BUF_SIZE = 0xFFFF; static final byte TRANS2_FIND_FIRST2 = (byte) 0x01; static final byte TRANS2_FIND_NEXT2 = (byte) 0x02; static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteResponse.java
return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { this.count = SMBUtil.readInt2(buffer, bufferIndex) & 0xFFFFL; return 8; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
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"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
Arguments.of(0xFFFF, true) // All flags including DFS ); } @Test @DisplayName("Should handle maximum values for all fields") void testMaximumValues() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; SMBUtil.writeInt2(16, buffer, 0); buffer[2] = (byte) 0xFF; // Max share type buffer[3] = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertEquals((byte) (listCount & 0xFF), dst[2]); assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]); // informationLevel (2 bytes, LE) -> 0x0104 assertEquals((byte) 0x04, dst[4]); assertEquals((byte) 0x01, dst[5]); // resumeKey (4 bytes, LE) assertEquals((byte) 0xEF, dst[6]); assertEquals((byte) 0xCD, dst[7]);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
} @Test @DisplayName("Test with maximum values") void testWithMaximumValues() { trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test", "*.*", 0xFFFF, 65535, Integer.MAX_VALUE); byte[] buffer = new byte[256]; int written = trans2FindFirst2.writeParametersWireFormat(buffer, 0); // Verify search attributes are still maskedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
if (c.isLowSurrogate() || !low.isLowSurrogate()) { '?'.code } else { i++ 0x010000 + (c.code and 0x03ff shl 10 or (low.code and 0x03ff)) } } else -> c.code } i++ } return result } private val Int.punycodeDigit: Int get() = when {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
} @ParameterizedTest @DisplayName("Should encode consistently with various flag values") @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags); int encoded = lock.encode(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)