- Sort Score
- Result 10 results
- Languages All
Results 1481 - 1490 of 4,015 for null (0.03 sec)
-
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
entries[previous] = swapNext(entry, dstIndex); } } else { keys[dstIndex] = null; values[dstIndex] = 0; entries[dstIndex] = UNSET; } } public void clear() { modCount++; Arrays.fill(keys, 0, size, null); Arrays.fill(values, 0, size, 0); Arrays.fill(table, UNSET); Arrays.fill(entries, UNSET); this.size = 0; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 15K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
* Retrieve an <code>InetAddress</code>. If the address is not * an IP address and cannot be resolved <code>null</code> will * be returned. */ public static InetAddress getInetAddress ( Properties props, String key, InetAddress def ) { String addr = props.getProperty(key); if ( addr != null ) { try { def = InetAddress.getByName(addr); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/LongAdder.java
Cell[] as; long b, v; int[] hc; Cell a; int n; if ((as = cells) != null || !casBase(b = base, b + x)) { boolean uncontended = true; if ((hc = threadHashCode.get()) == null || as == null || (n = as.length) < 1 || (a = as[(n - 1) & hc[0]]) == null || !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 5.5K bytes - Viewed (0) -
android/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
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Mar 07 18:34:03 UTC 2024 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* {@link Equivalence#equivalent} returns {@code true} if both values are null, or if neither * value is null and {@link Object#equals} returns {@code true}. {@link Equivalence#hash} returns * {@code 0} if passed a null value. * * @since 13.0 * @since 8.0 (in Equivalences with null-friendly behavior) * @since 4.0 (in Equivalences) */ public static Equivalence<Object> equals() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 16 14:34:47 UTC 2024 - 13.8K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
assertThrows(NullPointerException.class, () -> entry.setValue(null)); expectUnchanged(); } } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO) public void testSetValueNullSupported() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { entry.setValue(null); } } expectReplacement(entry(k0(), (V) null));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
} public void testToOptionalSingleton() { assertThat(Stream.of(1).collect(toOptional())).hasValue(1); } public void testToOptionalNull() { Stream<@Nullable Object> stream = Stream.of((Object) null); assertThrows(NullPointerException.class, () -> stream.collect(toOptional())); } public void testToOptionalMultiple() { IllegalArgumentException expected =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/EncryptionNegotiateContext.java
*/ @Override public int encode ( byte[] dst, int dstIndex ) { int start = dstIndex; SMBUtil.writeInt2(this.ciphers != null ? this.ciphers.length : 0, dst, dstIndex); dstIndex += 2; if ( this.ciphers != null ) { for ( int cipher : this.ciphers ) { SMBUtil.writeInt2(cipher, dst, dstIndex); dstIndex += 2; } }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java
/** * Gets the policy that applies to this metadata regarding the specified repository. * * @param repository The repository for which to determine the policy, must not be {@code null}. * @return The policy, never {@code null}. */ ArtifactRepositoryPolicy getPolicy(ArtifactRepository repository);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0)