- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 164 for Wood (0.02 sec)
-
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
setupParentForUrlCreation(); StubFileEntry bad = new StubFileEntry(badName, SmbConstants.TYPE_SERVER); StubFileEntry good = new StubFileEntry("OKSERVER", SmbConstants.TYPE_SERVER); when(delegate.hasNext()).thenReturn(true, true, false); when(delegate.next()).thenReturn(bad, good); NetServerFileEntryAdapterIterator itr = new NetServerFileEntryAdapterIterator(parent, delegate, null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
void filterThrows_skipsAndContinues() throws Exception { SmbFile parent = newParent(); List<FileEntry> entries = Arrays.asList(entry("bad", SmbConstants.TYPE_SHARE), entry("good", SmbConstants.TYPE_SHARE)); // First call throws, second accepts when(filter.accept(any())).thenThrow(new CIFSException("boom")).thenReturn(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* crashes the application on Android and prints a stacktrace on the JVM. (Crash reporting * libraries may customize this behavior.) * * A good way to signal a failure is with a synthetic HTTP response: * * ```kotlin * @Throws(IOException::class) * override fun intercept(chain: Interceptor.Chain): Response { * if (myConfig.isInvalid()) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
private Element[] createQueries(Set<Element> elementsInSet, int numQueries) { List<Element> queryList = Lists.newArrayListWithCapacity(numQueries); int numGoodQueries = (int) (numQueries * hitRate + 0.5); // add good queries int size = elementsInSet.size(); if (size > 0) { int minCopiesOfEachGoodQuery = numGoodQueries / size; int extras = numGoodQueries % size;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
import java.util.ListIterator; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide * target iterators on demand. It also requires three additional constructor parameters: {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
import java.util.ListIterator; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A utility similar to {@link IteratorTester} for testing a {@link ListIterator} against a known * good reference implementation. As with {@code IteratorTester}, a concrete subclass must provide * target iterators on demand. It also requires three additional constructor parameters: {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DependencyContext.java
* </p> * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice. * * @since 3.0 */ // TODO From a concurrency perspective, this class is not good. The combination of mutable/immutable state is not nice public class DependencyContext { private final MavenProject project; private final Collection<String> scopesToCollectForCurrentProject;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
@Mock private Response mockResponse; @BeforeEach void setUp() { // Reset mock before each test to ensure clean state // MockitoExtension handles this automatically for @Mock fields, but good to be aware. } @Test void testIsReceived() { // Test initial state (should be false by default for a fresh mock) assertFalse(mockResponse.isReceived());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
CONTRIBUTING.md
- Fixing or improving documentation. - Improvements to Maven configuration. Guidelines for any code contributions: 1. Any significant changes should be accompanied by tests. The project already has good test coverage, so look at some existing tests if you're unsure how to go about it. 2. All contributions must be licensed Apache 2.0 and all files must have a copyRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 15 18:43:50 UTC 2025 - 4K bytes - Viewed (0)