- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for 0x7f (0.01 sec)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
@DisplayName("Hexdump Utility Tests") class HexdumpTest extends BaseTest { @Test @DisplayName("Should convert byte array to hex string") void testToHexString() { // Given byte[] data = { 0x00, 0x0F, (byte) 0xFF, 0x7F, (byte) 0x80 }; // When String result = Hexdump.toHexString(data); // Then assertNotNull(result); assertEquals("000FFF7F80", result); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
assertEquals(time / 1000, date.getTime() / 1000); // Test with null date (0x7fffffff ffffffff) byte[] nullData = new byte[] { (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, (byte) 0xff, 0x7f }; pdis = createInputStream(nullData); assertNull(pdis.readFiletime()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
} if (length < 0) { throw new EOFException("EOF found when length expected"); } if (0xFF == length) { throw new IOException("invalid long form definite-length 0xFF"); } final int octetsCount = length & 0x7F; int octetsPos = 0; length = 0; do { final int octet = s.read(); if (octet < 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt
} while (!encodedCharBuffer.exhausted()) { val b = encodedCharBuffer.readByte().toInt() and 0xff writeByte('%'.code) writeByte(HEX_DIGITS[b shr 4 and 0xf].code) writeByte(HEX_DIGITS[b and 0xf].code) } } else { // This character doesn't need encoding. Just copy it over. writeUtf8CodePoint(codePoint) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
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) when (range) { is MappedRange.Constant -> { rangesBuffer.writeByte(range.b1)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("Various byte values are converted to uppercase hex") void testHexConversion() { byte[] challenge = new byte[] { (byte) 0x00, (byte) 0x0F, (byte) 0x10, (byte) 0x7F, (byte) 0x80, (byte) 0xFF }; UniAddress dc = mock(UniAddress.class); when(dc.toString()).thenReturn("DC"); NtlmChallenge nc = new NtlmChallenge(challenge, dc);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
Arguments.of(0x12345678, new byte[] { 0x78, 0x56, 0x34, 0x12 }), Arguments.of(0xFFFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }), Arguments.of(0x7FFFFFFF, new byte[] { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0x7F })); } @ParameterizedTest @MethodSource("int32Provider")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
// Confirm the data strings are ASCII. for (dataString in listOf<String>(compactTable.sections, compactTable.ranges)) { for (codePoint in dataString.codePoints()) { assertThat(codePoint and 0x7f).isEqualTo(codePoint) } } // Confirm the sections are increasing. val rangesIndices = mutableListOf<Int>() val rangesOffsets = mutableListOf<Int>()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
return plusSign; } else if (cp <= 0x7F) { // Single byte UTF-8 characters // Start with "%--" and fill in the blanks char[] dest = new char[3]; dest[0] = '%'; dest[2] = upperHexDigits[cp & 0xF]; dest[1] = upperHexDigits[cp >>> 4]; return dest; } else if (cp <= 0x7ff) { // Two byte UTF-8 characters [cp >= 0x80 && cp <= 0x7ff]Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0)