- Sort Score
- Result 10 results
- Languages All
Results 1551 - 1560 of 3,735 for Null (0.02 sec)
-
guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java
/** * The collection must not throw {@code NullPointerException} on calls such as {@code * contains(null)} or {@code remove(null)}, but instead must return a simple {@code false}. */ ALLOWS_NULL_QUERIES, ALLOWS_NULL_VALUES(ALLOWS_NULL_QUERIES), /** * Indicates that a collection disallows certain elements (other than {@code null}, whose validity
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java
public String findTool(String toolName) { return null; } }; } private DefaultToolchain newDefaultToolchain(ToolchainModel model, String type) { return new DefaultToolchain(model, type, logger) { @Override public String findTool(String toolName) { return null; } }; } @Test
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java
Thread th = new Thread(() -> { try { Thread.sleep(1000); } catch (InterruptedException ignore) {} deferred.resolve(new SuggestResponse("", 0, Collections.emptyList(), 0, null)); }); th.start(); final CountDownLatch latch = new CountDownLatch(1); deferred.promise().then(response -> latch.countDown()); assertTrue(latch.await(10, TimeUnit.SECONDS));
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
@Test @DisplayName("Should handle unwrap returning null") void shouldHandleUnwrapReturningNull() { SmbSession mockSession = mock(SmbSession.class); when(mockSession.unwrap(SmbSession.class)).thenReturn(null); SmbSession result = mockSession.unwrap(SmbSession.class); assertNull(result, "unwrap should return null when not available"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(handle, never()).close(anyLong()); } // Invalid input: constructing with null handle and invoking watch() NPEs @Test @DisplayName("Null handle causes NPE on watch() (invalid input)") void constructor_nullHandle_watch_throwsNPE() { SmbWatchHandleImpl sut = new SmbWatchHandleImpl(null, 0, false); assertThrows(NullPointerException.class, () -> { sut.watch();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(20, bytesRead, "Should read 20 bytes"); assertNotNull(response.info, "Info object should not be null"); assertTrue(response.info instanceof Trans2QueryFSInformationResponse.SmbInfoAllocation, "Info should be of type SmbInfoAllocation");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
} if (keyStrength != null) { s.add("keyStrength", Ascii.toLowerCase(keyStrength.toString())); } if (valueStrength != null) { s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString())); } if (keyEquivalence != null) { s.addValue("keyEquivalence"); } if (valueEquivalence != null) { s.addValue("valueEquivalence"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
assertEquals("b", result[1]); assertEquals("c", result[2]); } public void test_distinct_withNullElements() { // Test distinct with null elements String[] input = new String[] { "a", null, "b", null, "a" }; String[] result = invokeDistinct(input); assertEquals(3, result.length); assertEquals("a", result[0]); assertNull(result[1]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
wConfig.setAvailable(Constants.T); wConfig.setBoost(1.0f); wConfig.setCreatedBy(username); wConfig.setCreatedTime(now); if (form.depth != null) { wConfig.setDepth(form.depth); } wConfig.setExcludedDocUrls(getDefaultString("default.config.web.excludedDocUrls", StringUtil.EMPTY));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should handle null preauth integrity for SMB 3.0.0") void testDeriveKeys_NullPreauthForSMB300() { // Given int dialect = Smb2Constants.SMB2_DIALECT_0300; // When - SMB 3.0.0 doesn't use preauth integrity, so null should be acceptable byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, sessionKey, null); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0)