- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 148 for readings1 (2 sec)
-
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
import java.net.UnknownHostException; import jcifs.smb1.util.Encdec; /** * This class provides random access to files stored on an SMB/CIFS network resource. * It implements the DataInput and DataOutput interfaces for reading and writing primitive * Java data types to the file. */ public class SmbRandomAccessFile implements DataOutput, DataInput { private static final int WRITE_OPTIONS = 0x0842; private final SmbFile file;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertEquals(0xFFFFFFFF, response.getCapabilities()); assertEquals(0xFFFFFFFF, response.getMaximalAccess()); } @Test @DisplayName("Should handle buffer too small for reading") void testBufferTooSmall() { // Given byte[] buffer = new byte[15]; // Too small for 16-byte structure SMBUtil.writeInt2(16, buffer, 0); // When & Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
int n = readn(in, buffer, bufferIndex, HEADER_LENGTH); if (n != HEADER_LENGTH) { if (n == -1) { return -1; } throw new IOException("unexpected EOF reading netbios session header"); } return buffer[bufferIndex] & 0xFF; } int type, length; /** * Writes the packet to the specified byte array in wire format. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
} @Test @DisplayName("Should handle null buffer") void testReadBytesWithNullBuffer() { // This is expected behavior for echo request - no reading needed assertDoesNotThrow(() -> { int result = echoRequest.readBytesWireFormat(null, 0); assertEquals(0, result); }); } } @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
long lm = f.lastModified(); if (lm > this.lastModified) { if (log.isDebugEnabled()) { log.debug("Reading " + tc.getConfig().getLmHostsFileName()); } this.lastModified = lm; this.table.clear(); try (FileReader r = new FileReader(f)) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) { @Override protected int readHeaderWireFormat(byte[] buffer, int bufferIndex) { // Simulate header reading return 33; } }; byte[] buffer = new byte[1024]; // Setup buffer after header buffer[33] = 4; // wordCount
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
* * @param outputFile the converted output file * @param outExt the output file extension * @return the extracted text content * @throws ExtractException if an error occurs while reading the file */ protected String getOutputContent(final File outputFile, final String outExt) { final Extractor extractor = getExtractor(outExt); if (extractor != null) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
private static final Logger logger = LogManager.getLogger(ESSourceReader.class); /** Queue of documents. */ protected final Queue<Map<String, Object>> queue = new ConcurrentLinkedQueue<>(); /** Flag indicating if reading is finished. */ protected final AtomicBoolean isFinished = new AtomicBoolean(false); /** OpenSearch client. */ protected final Client client; /** Suggest settings. */
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
import java.io.IOException; import java.io.InputStream; import java.math.BigInteger; import java.util.Date; import jcifs.SmbConstants; import jcifs.smb.SID; /** * Input stream for reading PAC data structures with proper alignment and byte ordering. * Handles little-endian byte order and data alignment requirements of PAC structures. */ public class PacDataInputStream { private final DataInputStream dis;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0)