- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 337 for reusing (0.03 sec)
-
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
import jcifs.Configuration; import jcifs.internal.util.SMBUtil; /** * SMB1 transaction subcommand for peeking at data in a named pipe. * * This class implements the TRANS_PEEK_NAMED_PIPE transaction which allows * reading data from a pipe without removing it, useful for checking if data * is available before performing a blocking read. */ public class TransPeekNamedPipe extends SmbComTransaction { private final int fid; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/io/LineReader.java
import java.io.IOException; import java.io.Reader; import java.nio.CharBuffer; import java.util.ArrayDeque; import java.util.Queue; import org.jspecify.annotations.Nullable; /** * A class for reading lines of text. Provides the same functionality as {@link * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of * {@link Reader}. * * @author Chris Nokleberg * @since 1.0 */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMapValues.java
* the backport does. For now, we're keeping the class declaration in *both* flavors so that both * flavors can read old data or data from the other flavor. However, we strongly discourage * relying on this, as we have made incompatible changes to serialized forms in the past and * expect to do so again, as discussed in https://github.com/google/guava#important-warnings. */ @SuppressWarnings("unused")
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheScope.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.lease; /** * Defines the scope of directory caching for SMB3 directory leasing */ public enum DirectoryCacheScope { /** * Cache only direct children of the directory */ IMMEDIATE_CHILDREN, /** * Cache entire subtree recursively (if supported by server)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
IOException exception = assertThrows(IOException.class, () -> { SessionServicePacket.readPacketType(bais, buffer, 0); }); assertEquals("unexpected EOF reading netbios session header", exception.getMessage()); } @Test @DisplayName("readPacketType should throw IOException on incomplete header") void testReadPacketTypeIncompleteHeader() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
assertEquals(expectedTime, response.getLastWriteTime()); assertEquals(expectedTime, response.getLastAccessTime()); } @Test void testReadParameterWordsWireFormatWithData() { // Test reading parameter words from wire format response = new SmbComQueryInformationResponse(mockConfig, 0L); // Prepare test data byte[] buffer = new byte[256]; int bufferIndex = 0;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
SessionRequestPacket packet = new SessionRequestPacket(mockConfig); packet.length = 100; // Expect more data than available // Create a larger buffer for reading to avoid IndexOutOfBoundsException byte[] readBuffer = new byte[100]; assertThrows(IOException.class, () -> { packet.readTrailerWireFormat(bais, readBuffer, 0); }); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Ticker.java
public abstract long read(); /** * A ticker that reads the current time using {@link System#nanoTime}. * * @since 10.0 */ public static Ticker systemTicker() { return SYSTEM_TICKER; } private static final Ticker SYSTEM_TICKER = new Ticker() { @Override @SuppressWarnings("GoodTime") // reading system time without TimeSource public long read() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
* Test that extraction error includes encoding information in the error message. */ public void test_getText_extractionError_includesEncodingInMessage() { // Create a stream that will cause an error during reading final InputStream errorStream = new InputStream() { @Override public int read() throws IOException { throw new IOException("Simulated read error"); } };Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
* the readLength to set */ public void setReadLength(final int readLength) { this.readLength = readLength; } /** * Sets the file offset from which to start reading * * @param offset * the offset to set */ public void setOffset(final long offset) { this.offset = offset; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0)