- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,060 for nulls (0.01 sec)
-
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* C}, instance methods are skipped for nulls test. * <li>Nulls test is not performed on method return values unless the method is a visible static * factory method whose return type is {@code C} or {@code C}'s subtype. * </ul> * * <p>In all cases, if {@code C} needs custom logic for testing nulls, you can add an explicit
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
* we're copying into a `contents` array whose type allows it to contain nulls. Still, it's * worth noting that we promise not to put nulls into the array in the first `size` elements. * We uphold that promise here because our callers promise that `elements` will not contain * nulls in its first `n` elements. */ System.arraycopy(elements, 0, contents, size, n); size += n;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* C}, instance methods are skipped for nulls test. * <li>Nulls test is not performed on method return values unless the method is a visible static * factory method whose return type is {@code C} or {@code C}'s subtype. * </ul> * * <p>In all cases, if {@code C} needs custom logic for testing nulls, you can add an explicit
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
return asImmutableList(array); } /** Views the array as an immutable list. Checks for nulls; does not copy. */ private static <E> ImmutableList<E> construct(Object... elements) { return asImmutableList(checkElementsNotNull(elements)); } /** * Views the array as an immutable list. Does not check for nulls; does not copy. * * <p>The array must be internally created. */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
* we're copying into a `contents` array whose type allows it to contain nulls. Still, it's * worth noting that we promise not to put nulls into the array in the first `size` elements. * We uphold that promise here because our callers promise that `elements` will not contain * nulls in its first `n` elements. */ System.arraycopy(elements, 0, contents, size, n); size += n;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 30.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
} /* * All the ContiguousSet generators below manually reject nulls here. In principle, we'd like to * defer that to Range, since it's ContiguousSet.create() that's used to create the sets. However, * that gets messy here, and we already have null tests for Range. */ /* * These generators also rely on consecutive integer inputs (not necessarily in order, but no
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 15.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
} return transform(fromList, removeFirst); } }) .named("Lists.transform, random access, no nulls") .withFeatures( CollectionSize.ANY, ListFeature.REMOVE_OPERATIONS, CollectionFeature.SERIALIZABLE, CollectionFeature.ALLOWS_NULL_QUERIES)Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
initThreeCopies(); assertSetCountDecreasingFailure(e0(), 1); } // setCount with nulls: @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_VALUES}) public void testSetCount_removeNull_nullSupported() { initCollectionWithNullElement(); assertSetCount(null, 0); } @CollectionFeature.Require( value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
@Test void testLsarDomainInfoEncodeDecodeWithNulls() throws NdrException { // Create a domain info with null fields lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo(); domainInfo.name = new rpc.unicode_string(); domainInfo.name.buffer = null; domainInfo.sid = null; // Encode to buffer byte[] buffer = new byte[1024];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
when(mockDelegate.getMaximumVersion()).thenReturn(null); // When & Then - should handle nulls gracefully assertNull(delegatingConfig.getRandom(), "Should return null when delegate returns null"); assertNull(delegatingConfig.getLocalAddr(), "Should return null when delegate returns null"); assertNull(delegatingConfig.getNetbiosHostname(), "Should return null when delegate returns null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0)