- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 647 for nulled (0.05 sec)
-
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
} for (int i = 0; i < 10; i++) { loader.reset(); assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); assertFalse("Creator should not have been called @#" + i, loader.wasCalled()); } CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); assertEquals("Map must be empty by now", 0, cache.size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
@Test public void testParamWithNullValue() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); CurlRequest result = request.param("key", null); assertSame(request, result); // Should not add null parameters } @Test public void testHeaderMethod() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* * <p>{@code CharSink} provides two kinds of methods: * * <ul> * <li><b>Methods that return a writer:</b> These methods should return a <i>new</i>, independent * instance each time they are called. The caller is responsible for ensuring that the * returned writer is closed. * <li><b>Convenience methods:</b> These are implementations of common operations that are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
// Match by share name or server address, safely handling nulls boolean shareMatch = resourceName != null && shareName != null && resourceName.equalsIgnoreCase(shareName); String serverAddress = registration.getServerAddress() != null ? registration.getServerAddress().getHostAddress() : null; boolean addressMatch = java.util.Objects.equals(resourceName, serverAddress);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
* controls the order in which events are dispatched, while the executor controls how (i.e. on which * thread) the subscriber is actually called when an event is dispatched to it. * * @author Colin Decker */ abstract class Dispatcher { /** * Returns a dispatcher that queues events that are posted reentrantly on a thread that is already
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
*/ public void add(Runnable runnable, Executor executor) { // Fail fast on a null. We throw NPE here because the contract of Executor states that it throws // NPE on null listener, so we propagate that contract up into the add method as well. checkNotNull(runnable, "Runnable was null."); checkNotNull(executor, "Executor was null."); // Lock while we check state. We must maintain the lock while adding the new pair so that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
} @Override public Iterator<E> iterator() { if (iterator == null) { // TODO: throw something else? Do we worry that people's code and tests // might be relying on this particular type of exception? throw new IllegalStateException(); } try { return iterator; } finally { iterator = null; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
// When & Then - verify interface methods exist and can be called assertDoesNotThrow(() -> { cache.getBuffer(); cache.releaseBuffer(new byte[1024]); }, "All BufferCache interface methods should be callable"); } @Test @DisplayName("getBuffer should return non-null byte array") void testGetBufferContract() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Suppliers.java
* and then applying {@code function} to that value. Note that the resulting supplier will not * call {@code supplier} or invoke {@code function} until it is called. */ public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose( Function<? super F, T> function, Supplier<F> supplier) { return new SupplierComposition<>(function, supplier); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
*/ @Override public boolean equals(final Object obj) { return obj instanceof UniAddress && this.addr.equals(((UniAddress) obj).addr); } /** * Guess first called name to try for session establishment. This * method is used exclusively by the <code>jcifs.smb</code> package. * * @return the guessed name */ @Override public String firstCalledName() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0)