- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 146 for 0xfeff (0.03 sec)
-
android/guava-tests/test/com/google/common/base/Utf8Test.java
TWO_BYTE_ROUNDTRIPPABLE_CHARACTERS; // 2048 private static final long THREE_BYTE_SURROGATES = 2 * 1024; // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates] private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS = 0xFFFF - 0x0800 + 1 - THREE_BYTE_SURROGATES; // 2,650,112 private static final long EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT = // All one byte characters
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertEquals(0, reserved); } @DisplayName("Test writeParametersWireFormat with different FIDs") @ParameterizedTest @ValueSource(ints = { 0, 1, 0xFFFF, 0x8000, 0x7FFF }) void testWriteParametersWireFormatWithDifferentFids(int fid) { when(mockFileInfo.getFileInformationLevel()).thenReturn((byte) FileInformation.FILE_BASIC_INFO);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K 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) -
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) -
guava/src/com/google/common/net/InetAddresses.java
checkArgument( (port >= 0) && (port <= 0xffff), "port '%s' is out of range (0 <= port <= 0xffff)", port); checkArgument( (flags >= 0) && (flags <= 0xffff), "flags '%s' is out of range (0 <= flags <= 0xffff)", flags); this.server = MoreObjects.firstNonNull(server, ANY4);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
assertEquals((byte) ((value >> 8) & 0xFF), dst[0]); assertEquals((byte) (value & 0xFF), dst[1]); } @Test @DisplayName("writeInt2 with offset should write at correct position") void testWriteInt2WithOffset() { byte[] dst = new byte[10]; dst[2] = (byte) 0xFF; // Mark position dst[3] = (byte) 0xFF; SessionServicePacket.writeInt2(0xABCD, dst, 4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K 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) -
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/main/java/jcifs/dcerpc/msrpc/netdfs.java
final int _ss = _src.dec_ndr_long(); final int _si = _src.index; _src.advance(4 * _ss); if (this.s == null) { if (_ss < 0 || _ss > 0xFFFF) { throw new NdrException(NdrException.INVALID_CONFORMANCE); } this.s = new DfsInfo1[_ss]; } _src = _src.derive(_si);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0)