- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 500 for reading_ (0.14 seconds)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
} @Test @DisplayName("readInt2 should correctly read 16-bit integer") void testReadInt2() { byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56 }; int result = SessionServicePacket.readInt2(src, 0); assertEquals(0x1234, result); } @Test @DisplayName("readInt2 with offset should read from correct position")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java
bufferIndex += 4; // skip idFileSystem info.sectPerAlloc = readInt4(buffer, bufferIndex); bufferIndex += 4; info.alloc = readInt4(buffer, bufferIndex); bufferIndex += 4; info.free = readInt4(buffer, bufferIndex); bufferIndex += 4; info.bytesPerSect = readInt2(buffer, bufferIndex); bufferIndex += 4; this.info = info;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
dst[dstIndex++] = (byte) (val >> 8 & 0xFF); dst[dstIndex] = (byte) (val & 0xFF); } static int readInt2(final byte[] src, final int srcIndex) { return ((src[srcIndex] & 0xFF) << 8) + (src[srcIndex + 1] & 0xFF); } static int readInt4(final byte[] src, final int srcIndex) { return ((src[srcIndex] & 0xFF) << 24) + ((src[srcIndex + 1] & 0xFF) << 16) + ((src[srcIndex + 2] & 0xFF) << 8)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.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 - 4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java
assertEquals(smbComNtTransaction.totalParameterCount, SmbComTransaction.readInt4(dst, 3), "totalParameterCount should be written correctly"); assertEquals(smbComNtTransaction.totalDataCount, SmbComTransaction.readInt4(dst, 7), "totalDataCount should be written correctly"); assertEquals(smbComNtTransaction.maxParameterCount, SmbComTransaction.readInt4(dst, 11), "maxParameterCount should be written correctly");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java
bufferIndex += 8; this.extFileAttributes = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex); bufferIndex += 8; this.fileType = 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 - 7.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java
bufferIndex += 4; // skip idFileSystem this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.alloc = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.free = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.bytesPerSect = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 4;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(minBuffer, 0)); // Large buffer byte[] largeBuffer = new byte[10000]; written = echoRequest.writeBytesWireFormat(largeBuffer, 5000); assertEquals(4, written); assertEquals(4, SMBUtil.readInt2(largeBuffer, 5000)); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals(0, SMBUtil.readInt2(buffer, 0)); // search attributes assertEquals(0, SMBUtil.readInt2(buffer, 2)); // max items } // Helper method to read string from buffer private String readStringFromBuffer(byte[] buffer, int offset, int length) { // Simple ASCII string reading for test purposes StringBuilder sb = new StringBuilder();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/converter/ReadingConverterChain.java
* A chain of {@link ReadingConverter} implementations that applies each converter in sequence to generate possible reading variations of a given text. * It maintains a list of ReadingConverter instances and iterates through them, applying each converter to the input text and accumulating the results. * The chain stops processing when the maximum number of readings is reached. */ public class ReadingConverterChain implements ReadingConverter { /**Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Wed Dec 31 05:38:07 GMT 2025 - 3.8K bytes - Click Count (1)