- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for ReadUint (0.1 sec)
-
src/main/java/jcifs/pac/PacDataInputStream.java
*/ public String readString() throws IOException, PACDecodingException { final int totalChars = readInt(); final int unusedChars = readInt(); final int usedChars = readInt(); if (unusedChars > totalChars || usedChars > totalChars - unusedChars) { throw new PACDecodingException("Malformed string in PAC"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
final SID groupId = pacStream.readId(); // Groups information final int groupCount = pacStream.readInt(); final int groupPointer = pacStream.readInt(); // User flags about PAC Logon Info content this.userFlags = pacStream.readInt(); final boolean hasExtraSids = (this.userFlags & PacConstants.LOGON_EXTRA_SIDS) == PacConstants.LOGON_EXTRA_SIDS;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
int bufferCount = pacStream.readInt(); int version = pacStream.readInt(); if (version != PacConstants.PAC_VERSION) { throw new PACDecodingException("Unrecognized PAC version " + version); } for (int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++) { int bufferType = pacStream.readInt();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} } @Test fun publicSuffixExceptions() { val buffer = Buffer() FileSystem.SYSTEM.read(pathForTests) { var length = readInt() skip(length.toLong()) length = readInt() buffer.write(this, length.toLong()) } while (!buffer.exhausted()) { val exception = buffer.readUtf8LineStrict()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
// 1NNNNNNN val index = readInt(b, PREFIX_7_BITS) readIndexedHeader(index - 1) } b == 0x40 -> { // 01000000 readLiteralHeaderWithIncrementalIndexingNewName() } b and 0x40 == 0x40 -> { // 01NNNNNN val index = readInt(b, PREFIX_6_BITS)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt
try { listSource().buffer().use { bufferedSource -> val totalBytes = bufferedSource.readInt() publicSuffixListBytes = bufferedSource.readByteString(totalBytes.toLong()) val totalExceptionBytes = bufferedSource.readInt() publicSuffixExceptionListBytes = bufferedSource.readByteString(totalExceptionBytes.toLong()) } synchronized(this) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 3.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
), ) } @Test fun readSingleByteInt() { assertThat(newReader(byteStream()).readInt(10, 31)).isEqualTo(10) assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10) } @Test fun readMultibyteInt() { assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337) } @Test fun writeSingleByteInt() { hpackWriter!!.writeInt(10, 31, 0)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
assertEquals(1, pdis.available()); assertEquals(0x05, pdis.readByte()); // Test no alignment needed pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 }); pdis.readInt(); // position is 4 pdis.align(4); assertEquals(0, pdis.available()); // Test alignment with mask 0 pdis = createInputStream(new byte[] { 0x01, 0x02, 0x03, 0x04 });
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
Platform.get().log("cache corruption", WARN, it) } requestMethod = source.readUtf8LineStrict() val varyHeadersBuilder = Headers.Builder() val varyRequestHeaderLineCount = readInt(source) for (i in 0 until varyRequestHeaderLineCount) { varyHeadersBuilder.addLenient(source.readUtf8LineStrict()) } varyHeaders = varyHeadersBuilder.build()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
for (i in 0 until answerCount) { skipName(buf) // name val type = buf.readShort().toInt() and 0xffff buf.readShort() // class @Suppress("UNUSED_VARIABLE") val ttl = buf.readInt().toLong() and 0xffffffffL // ttl val length = buf.readShort().toInt() and 0xffff if (type == TYPE_A || type == TYPE_AAAA) { val bytes = ByteArray(length) buf.read(bytes)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0)