- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 36 for 0x7F (0.14 seconds)
-
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappedRange.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
// Little-endian 0x12345678 -> 0x78 0x56 0x34 0x12 byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 }; PacDataInputStream pdis = createInputStream(data); assertEquals(0x12345678, pdis.readInt()); } @Test public void testReadLong() throws IOException { // Little-endian 0x123456789ABCDEF0 -> 0xF0 0xDE 0xBC 0x9A 0x78 0x56 0x34 0x12Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9.2K bytes - Click Count (0) -
src/main/java/jcifs/pac/ASN1Util.java
throw new EOFException("EOF found inside tag value."); } throw new IOException("corrupted stream - high tag number < 31 found"); } tagNo = b & 0x7f; // X.690-0207 8.1.2.4.2 // "c) bits 7 to 1 of the first subsequent octet shall not all be zero." if (0 == tagNo) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (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)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/util/HexdumpTest.java
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); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt
// Encode '+' as '%2B' since we permit ' ' to be encoded as either '+' or '%20'. writeUtf8(if (alreadyEncoded) "+" else "%2B") } else if (codePoint < 0x20 || codePoint == 0x7f || codePoint >= 0x80 && !unicodeAllowed || codePoint.toChar() in encodeSet || codePoint == '%'.code && (!alreadyEncoded || strict && !input.isPercentEncoded(i, limit)) ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Utf8.java
i++; } // This loop optimizes for chars less than 0x800. for (; i < utf16Length; i++) { char c = sequence.charAt(i); if (c < 0x800) { utf8Length += (0x7f - c) >>> 31; // branch free! } else { utf8Length += encodedLengthGeneral(sequence, i); break; } } if (utf8Length < utf16Length) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (0) -
guava/src/com/google/common/base/Utf8.java
i++; } // This loop optimizes for chars less than 0x800. for (; i < utf16Length; i++) { char c = sequence.charAt(i); if (c < 0x800) { utf8Length += (0x7f - c) >>> 31; // branch free! } else { utf8Length += encodedLengthGeneral(sequence, i); break; } } if (utf8Length < utf16Length) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7K bytes - Click Count (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")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0)