- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,482 for nulls (0.28 sec)
-
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) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java
* href="https://bugs.openjdk.org/browse/JDK-6409434">JDK-6409434</a> is fixed. It's unclear * whether nulls were to be permitted or forbidden, but presumably the eventual fix will be to * permit them, as it seems more likely that code would depend on that behavior than on the other. * Thus, we say the bug is in set(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
void implementationRejectsNulls() { SmbFilenameFilter filter = (dir, name) -> { if (dir == null || name == null) { throw new NullPointerException("dir and name must be non-null"); } return true; }; NullPointerException npe1 = assertThrows(NullPointerException.class, () -> filter.accept(null, "x"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
schema/index_test.go
// Note: Duplicate Columns {Field: &schema.Field{Name: "Name8"}, Collate: "utf8"}, }, }, { Class: "UNIQUE", Name: "idx_user_indices_idx_compname_1", Option: "NULLS NOT DISTINCT", Fields: []schema.IndexOption{ {Field: &schema.Field{Name: "CompName1", NotNull: true}}, {Field: &schema.Field{Name: "CompName2"}}, }, }, { Name: "idx_user_indices_comp_id0",
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Dec 06 02:27:44 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
* * @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
* * @param reference any array of the desired type * @param length the length of the new array */ /* * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we * would declare a return type of `@Nullable T[]`. However, we've decided not to think too hard
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K 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)