- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 92 for reeds (2.8 sec)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
assertThrows(SmbEndOfFileException.class, () -> raf.readFully(new byte[4])); } @Test @DisplayName("readFully(): reads across multiple partial reads") void readFully_readsAll() throws Exception { SmbRandomAccessFile raf = spy(newInstance("r", false, false, false)); AtomicInteger calls = new AtomicInteger(); doAnswer(inv -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
default -> false; }; } /** * Processes and saves an image from the input stream to the output file as a thumbnail. * * <p>This method reads image data, validates dimensions, applies subsampling and scaling * transformations based on configuration settings, and writes the processed thumbnail * to the specified output file.</p> *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
SMBUtil.writeInt2(0, buffer, 2); // When - simulate multiple concurrent reads on same response object int read1 = response.readBytesWireFormat(buffer, 0); int read2 = response.readBytesWireFormat(buffer, 0); int read3 = response.readBytesWireFormat(buffer, 0); // Then - all reads should return same result assertEquals(4, read1); assertEquals(4, read2);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
ServerMessageBlock.writeInt2(0, buf, 42); assertThrows(RuntimeException.class, () -> block.decode(buf, 0)); } @Test @DisplayName("readAndXWireFormat reads chained plain SMB and marks received") void testReadAndXWireFormatWithPlainSMB() { DummyPlainSMB next = new DummyPlainSMB(); // The implementation uses andx.wordCount, which starts at 0 by default
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
import jcifs.internal.util.SMBUtil; /** * Represents a byte range for SMB1 locking and unlocking operations. * * This class encapsulates the information about a byte range that needs * to be locked or unlocked, including the process ID, offset, and length. * * @author mbechler */ public class LockingAndXRange implements Encodable, Decodable { private final boolean largeFile;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
* * @return true if expired */ public boolean isExpired() { return System.currentTimeMillis() - lastUpdateTime > maxAge; } /** * Check if cache needs refresh * * @return true if refresh needed */ public boolean needsRefresh() { return isExpired() || hasChanges; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
import java.util.LinkedList; import java.util.List; import java.util.function.Consumer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; /** * A thread that reads from an input stream line by line and maintains a buffer of recent lines. * This class provides functionality to read input stream data asynchronously,
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
*/ public void writeOctetArray(final byte[] b, final int i, final int l) { System.arraycopy(b, i, buf, index, l); advance(l); } /** * Reads an octet array from the buffer. * * @param b the byte array to read into * @param i the starting index in the array * @param l the number of bytes to read */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
import org.opensearch.index.query.QueryBuilders; import org.opensearch.search.SearchHit; import org.opensearch.search.sort.SortBuilder; import org.opensearch.transport.client.Client; /** * <p> * {@link ESSourceReader} reads documents from Elasticsearch using the scroll API. * It implements the {@link DocumentReader} interface to provide a way to iterate over documents * in a large index without loading all of them into memory at once. * </p> *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/smb/SmbTreeImpl.java
TreeConnectResponse response = null; try (SmbSessionImpl sess = getSession(); SmbTransportImpl transport = sess.getTransport()) { synchronized (transport) { // this needs to be done before the reference to the remote hostname later transport.ensureConnected(); if (waitForState(transport) == 2) { // already connectedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0)