- Sort Score
- Result 10 results
- Languages All
Results 461 - 470 of 703 for wrappy (0.06 sec)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} assertEquals(2, callCount.get()); } /** * On a concurrent computation that throws an unchecked exception, all threads should get the * (wrapped) exception, with the loader called only once. The result should not be cached (a later * request should call the loader again). */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
assertNotNull(queryString); assertTrue(queryString.contains("expires")); } public void test_execute_withIOException() { // Create mock SearchEngineClient that throws IOException wrapped in RuntimeException searchEngineClient = new SearchEngineClient() { @Override public long deleteByQuery(String index, QueryBuilder query) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
webApiRequest = new WebApiRequest(mockRequest, customPath); assertEquals(customPath, webApiRequest.getServletPath()); } // Test wrapper functionality inheritance public void test_inheritedMethods_areProperlyDelegated() { final String customPath = "/api/v1/test"; final String testHeader = "X-Test-Header";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/CredentialsInternalTest.java
new boolean[] { true, true }); } @ParameterizedTest @MethodSource("anonGuestFlags") @DisplayName("unwrap, domain, anonymous/guest flags happy paths") void unwrap_and_flags_happy(boolean[] flags) { boolean anonymous = flags[0]; boolean guest = flags[1]; // Arrange Subject subject = new Subject();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
expandTableThreshold = (int) (DESIRED_LOAD_FACTOR * newTableSize); } /** * We attempt to detect deliberate hash flooding attempts. If one is detected, we fall back to a * wrapper around j.u.HashSet, which has built-in flooding protection. MAX_RUN_MULTIPLIER was * determined experimentally to match our desired probability of false positives. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
FileEntry e = mock(FileEntry.class); when(e.getName()).thenReturn(name); when(e.getType()).thenReturn(type); return e; } @Test @DisplayName("Happy path without filter: iterates all entries in order") void happyPath_noFilter_returnsAll() throws Exception { SmbFile parent = newParent();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
byte[] buf = impl.getBuffer(); assertNotNull(buf, "getBuffer should never return null"); assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size"); } // Happy path: get -> release -> get returns same instance, zeroed on release @Test @DisplayName("Release stores buffer for reuse and zeroes its contents") void releaseStoresAndZeroesBuffer() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
ctx.setMechs(updated); assertArrayEquals(updated, ctx.getMechs()); } @Test @DisplayName("toString includes wrapped mechanism context") void testToString() { SpnegoContext ctx = newContext(); when(this.mechContext.toString()).thenReturn("MECHCTX"); assertEquals("SPNEGO[MECHCTX]", ctx.toString()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
* Test for unwrap with nested wrapping. * Verifies that unwrap works correctly with multiple levels of wrapping. */ @Test void testUnwrap_nestedWrapping() { // Create a chain of wrapped trees CustomSmbTree innerTree = mock(CustomSmbTree.class); ExtendedSmbTree middleTree = mock(ExtendedSmbTree.class); when(smbTree.unwrap(ExtendedSmbTree.class)).thenReturn(middleTree);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/WrappingScheduledExecutorService.java
import java.util.concurrent.TimeUnit; import org.jspecify.annotations.Nullable; /** * An abstract {@code ScheduledExecutorService} that allows subclasses to {@linkplain * #wrapTask(Callable) wrap} tasks before they are submitted to the underlying executor. * * <p>Note that task wrapping may occur even if the task is never executed. * * @author Luke Sandberg */ @J2ktIncompatible @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0)