- Sort Score
- Num 10 results
- Language All
Results 1341 - 1350 of 4,653 for nullif (0.17 seconds)
-
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
* allowing the CAS below to succeed. */ Thread currentThread = Thread.currentThread(); if (!compareAndSet(null, currentThread)) { return; // someone else has run or is running. } boolean run = !isDone(); T result = null; Throwable error = null; try { if (run) { result = runInterruptibly();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 10K bytes - Click Count (0) -
guava/src/com/google/common/cache/Cache.java
* @param <V> the type of the cache's values, which are not permitted to be null * @author Charles Fry * @since 10.0 */ @DoNotMock("Use CacheBuilder.newBuilder().build()") @GwtCompatible public interface Cache<K, V> { /** * Returns the value associated with {@code key} in this cache, or {@code null} if there is no * cached value for {@code key}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
when (val protocol = sslSocket.applicationProtocol) { null, "" -> null else -> protocol } } catch (e: UnsupportedOperationException) { // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol-- null } override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 3.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingSortedMapImplementsMapTest.java
} catch (RuntimeException tolerated) { // GWT's TreeMap.entrySet().removeAll(null) doesn't throws NPE. } } @Override public void testEntrySetRetainAllNullFromEmpty() { try { super.testEntrySetRetainAllNullFromEmpty(); } catch (RuntimeException tolerated) { // GWT's TreeMap.entrySet().retainAll(null) doesn't throws NPE. } } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryCache.java
* * @param request The repository request from which this cache was retrieved, must not be {@code null}. * @param key The key to use associate the data with, must not be {@code null}. * @param data The data to store in the cache, may be {@code null}. */ void put(RepositoryRequest request, Object key, Object data); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/DefaultLifecycleMapping.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
// Act + Assert assertThrows(PACDecodingException.class, () -> new KerberosApRequest(notASequence, null)); } @Test @DisplayName("seq ctor: valid minimal sequence sets apOptions and leaves ticket null") void sequenceConstructor_minimal_valid_setsApOptions_noTicket() throws Exception { // Arrange byte ap = (byte) 0x7A;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
getMap() .computeIfAbsent( null, k -> { assertNull(k); return v3(); })); expectUnchanged(); expectNullKeyMissingWhenNullKeysUnsupported( "Should not contain null key after unsupported computeIfAbsent(null, function)"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 31 14:51:04 GMT 2024 - 6.7K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
if (deploymentTimestamp == null) { deploymentTimestamp = getUtcDateFormatter().format(new Date()); } return deploymentTimestamp; } @Override protected String constructVersion(Versioning versioning, String baseVersion) { String version = null; Snapshot snapshot = versioning.getSnapshot(); if (snapshot != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
ComponentUtil.getLogNotificationHelper() .offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "msg1", null)); ComponentUtil.getLogNotificationHelper() .offer(new LogNotificationEvent(System.currentTimeMillis(), "WARN", "org.test", "msg2", null)); // expired() will drain buffer then fail on OpenSearch (not available) but should not throw logNotificationTarget.expired();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0)