- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for ReadUint (0.37 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) -
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) -
src/main/java/jcifs/pac/PacSignature.java
try { final PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data))); this.type = bufferStream.readInt(); switch (this.type) { case KERB_CHECKSUM_HMAC_MD5: this.checksum = new byte[16]; break; case HMAC_SHA1_96_AES128: case HMAC_SHA1_96_AES256:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertEquals(0x1234, raf.readUnsignedShort()); assertEquals((short) 0x1234, raf.readShort()); assertEquals((char) 0x1234, raf.readChar()); } @Test @DisplayName("readInt/Long/Float/Double: big-endian decoding") void read_multiByteVariants() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); // int 0x01020304 doAnswer(inv -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
if (read(tmp, 0, 2) < 0) { throw new SmbException("EOF"); } return (char) Encdec.dec_uint16be(tmp, 0); } @Override public final int readInt() throws SmbException { if (read(tmp, 0, 4) < 0) { throw new SmbException("EOF"); } return Encdec.dec_uint32be(tmp, 0); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
if (read(this.tmp, 0, 2) < 0) { throw new SmbEndOfFileException(); } return (char) Encdec.dec_uint16be(this.tmp, 0); } @Override public final int readInt() throws SmbException { if (read(this.tmp, 0, 4) < 0) { throw new SmbEndOfFileException(); } return Encdec.dec_uint32be(this.tmp, 0); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
@J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); keyToKeyList = CompactLinkedHashMap.create(); int size = stream.readInt(); for (int i = 0; i < size; i++) { @SuppressWarnings("unchecked") // reading data stored by writeObject K key = (K) stream.readObject();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0)