- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,247 for nulls (0.02 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 Sep 05 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 15.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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K 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 Sep 05 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
} @Test @DisplayName("verifyMIC throws on mismatch and nulls") void testVerifyMICThrows() throws Exception { DummySSPContext ctx = new DummySSPContext(new byte[] { 1 }, true, null, null, 0, true); byte[] data = new byte[] { 1, 2, 3 }; byte[] wrongMic = new byte[] { 0 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0)