- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 631 for simpler (0.04 sec)
-
android/guava/src/com/google/common/cache/LoadingCache.java
* necessary. No observable state associated with this cache is modified until loading completes. * * <p>If another call to {@link #get} or {@link #getUnchecked} is currently loading the value for * {@code key}, simply waits for that thread to finish and returns its loaded value. Note that * multiple threads can concurrently load values for distinct keys. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
// or we can just check for the prefix and suffix. // For this test, I'll add a helper in the response class to get super.toString() // Or, more simply, check the format of the string. @Test void testToStringFormat() { String str = response.toString(); assert (str.startsWith("TransTransactNamedPipeResponse[")); assert (str.endsWith("]"));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
* and a primitive type and its corresponding wrapper type may map to different values. * * @param <B> the common supertype that all entries must share; often this is simply {@link Object} * @author Ben Yu * @since 13.0 */ @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap") public interface TypeToInstanceMap<B extends @Nullable Object>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
* and a primitive type and its corresponding wrapper type may map to different values. * * @param <B> the common supertype that all entries must share; often this is simply {@link Object} * @author Ben Yu * @since 13.0 */ @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap") public interface TypeToInstanceMap<B extends @Nullable Object>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
return resource; } } @BeforeEach void setUp() { lenient().when(fileEntry.getName()).thenReturn("test"); } @Test @DisplayName("Iterator without filter - simple case") void iteratorWithoutFilter() { // Setup: constructor calls advance() once when(delegate.hasNext()).thenReturn(true, false); when(delegate.next()).thenReturn(fileEntry);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryTest.java
import org.mockito.InOrder; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; @ExtendWith(MockitoExtension.class) class FileEntryTest { @Mock FileEntry mockEntry; // Simple fake implementation to exercise the interface without mocks private static final class TestFileEntry implements FileEntry { private final String name; private final int type;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java
sb.append(DELIMITER_STRING); } sb.append(comp); } dummy ^= sb.toString().length(); } return dummy; } /** * Similar to the above, but keeps a boolean flag rather than checking for the string accumulated * so far being empty. As a result, it does not have the above-mentioned bug. */ @Benchmark int booleanIfFirst(int reps) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 5K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
scheduleServiceRetry(); } }, 30, TimeUnit.SECONDS); } private boolean testWitnessService() { // Simple connectivity test return client != null && client.isConnected(); } private void reregisterNotifications() { // Re-register all previous registrations
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java
import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A container class for the five sample elements we need for testing. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class SampleElements<E extends @Nullable Object> implements Iterable<E> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
String url = "smb://server/IPC$/pipeName"; // Corrected URL for named pipe int pipeType = 1; SmbPipeResource mockSmbPipeResource = mock(SmbNamedPipe.class); // Similar to testGetSmbResource, we cannot directly mock `new SmbNamedPipe()`. // We verify that no exception is thrown for a valid URL and that it attempts to create an SmbNamedPipe.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0)