- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 273 for Reads (0.31 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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt
throw IllegalStateException("Unable to load $path resource.").apply { initCause(readFailure) } } } abstract val path: Any /** * Reads the public suffix list treating the operation as uninterruptible. We always want to read * the list otherwise we'll be left in a bad state. If the thread was interrupted prior to this
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* * @author Chris Nokleberg * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class Files { private Files() {} /** * Returns a buffered reader that reads from a file using the given character set. * * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}. * * @param file the file to read fromRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K 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/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) -
futures/failureaccess/pom.xml
<compilerArgs> <arg>-sourcepath</arg> <arg>${project.basedir}/src</arg> <arg>--add-reads=com.google.common=ALL-UNNAMED</arg> <!-- https://errorprone.info/docs/installation#maven --> <arg>-XDcompilePolicy=simple</arg> </compilerArgs>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 02 19:27:26 UTC 2025 - 5.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
import java.util.Map; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Test cases for a {@link Table} implementation supporting reads and writes. * * @author Jared Levy * @author Louis Wasserman */ @GwtCompatible @NullMarked public abstract class AbstractTableTest<C extends @Nullable Character> extends AbstractTableReadTest<C> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformer.java
* as a ByteArrayInputStream. * </p> * * <p> * The transform method takes a ResponseData object, checks if it has a response body, * and then reads the body into a byte array. This byte array is then set as the data * in the ResultData object. * </p> * * <p> * The getData method takes an AccessResultData object, checks if the transformer name matches,
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
/* * We access this field racily but safely. For discussion of a similar situation, see the comments * on the fields of TimeoutFuture. This field is slightly different from the fields discussed * there: cancel() never reads this field, only writes to it. That makes the race here completely * harmless, rather than just 99.99% harmless. */ @LazyInit private @Nullable List<@Nullable Present<V>> values;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* * @author Chris Nokleberg * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class Files { private Files() {} /** * Returns a buffered reader that reads from a file using the given character set. * * <p><b>{@link java.nio.file.Path} equivalent:</b> {@link * java.nio.file.Files#newBufferedReader(java.nio.file.Path, Charset)}. * * @param file the file to read fromRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0)