- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 665 for readInt (0.06 seconds)
-
src/bytes/reader.go
return 0, io.EOF } r.prevRune = -1 n = copy(b, r.s[r.i:]) r.i += int64(n) return } // ReadAt implements the [io.ReaderAt] interface. func (r *Reader) ReadAt(b []byte, off int64) (n int, err error) { // cannot modify state - see io.ReaderAt if off < 0 { return 0, errors.New("bytes.Reader.ReadAt: negative offset") } if off >= int64(len(r.s)) { return 0, io.EOF } n = copy(b, r.s[off:])
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jul 16 18:17:37 GMT 2024 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java
final int start = bufferIndex; this.alloc = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.free = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.bytesPerSect = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
this.pid = SMBUtil.readInt2(buffer, bufferIndex); final int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4); final int boLow = SMBUtil.readInt4(buffer, bufferIndex + 8); this.byteOffset = boHigh << 32 | boLow; final int lHigh = SMBUtil.readInt4(buffer, bufferIndex + 12); final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
desc2.writeParametersWireFormat(dst2, 0); desc3.writeParametersWireFormat(dst3, 0); assertEquals(0x1111, SMBUtil.readInt2(dst1, 0)); assertEquals(0x2222, SMBUtil.readInt2(dst2, 0)); assertEquals(0x3333, SMBUtil.readInt2(dst3, 0)); } @Test @DisplayName("Test parameter wire format structure") void testParameterWireFormatStructure() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
bufferIndex += 2; this.fileType = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.deviceState = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.action = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.serverFid = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 6;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
bufferIndex += 16; this.capabilities = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.maxTransactSize = SMBUtil.readInt4(buffer, bufferIndex); this.maxReadSize = SMBUtil.readInt4(buffer, bufferIndex + 4); this.maxWriteSize = SMBUtil.readInt4(buffer, bufferIndex + 8); // Validate reasonable buffer sizes to prevent resource exhaustionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
final int start = bufferIndex; setStatus(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.converter = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; setNumEntries(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.totalAvailableEntries = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java
} int start = bufferIndex; transformCount = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; reserved1 = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; reserved2 = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // Read the transform (only expecting one)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
this.resultCode = src[srcIndex + OPCODE_OFFSET + 1] & 0x0F; this.questionCount = readInt2(src, srcIndex + QUESTION_OFFSET); this.answerCount = readInt2(src, srcIndex + ANSWER_OFFSET); this.authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET); this.additionalCount = readInt2(src, srcIndex + ADDITIONAL_OFFSET); return HEADER_LENGTH; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
resultCode = src[srcIndex + OPCODE_OFFSET + 1] & 0x0F; questionCount = readInt2(src, srcIndex + QUESTION_OFFSET); answerCount = readInt2(src, srcIndex + ANSWER_OFFSET); authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET); additionalCount = readInt2(src, srcIndex + ADDITIONAL_OFFSET); return HEADER_LENGTH; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0)