- Sort Score
- Num 10 results
- Language All
Results 1441 - 1450 of 4,689 for nulls (0.05 seconds)
-
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
// Act & Assert assertNotNull(impl, "Implementation instance should not be null"); assertTrue(SessionSetupHandler.class.isInstance(impl), "Instance should be assignable to interface"); assertTrue(SessionSetupHandler.class.isAssignableFrom(impl.getClass()), "Type should be assignable"); } @Test @DisplayName("Edge: null is not an instance of the interface") void testNullIsNotInstance() { // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
public void testHandleInfoExpiration() { // Test durable handle expiration HandleInfo durableInfo = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 100, // 100ms timeout null); assertFalse(durableInfo.isExpired()); // Wait for expiration try { Thread.sleep(150); } catch (InterruptedException e) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 4.6K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
when (val protocol = sslSocket.applicationProtocol) { null, "" -> null else -> protocol } } catch (e: UnsupportedOperationException) { // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol-- null } @SuppressLint("NewApi") override fun configureTlsExtensions( sslSocket: SSLSocket,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Jan 10 09:36:53 GMT 2026 - 2.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DiscreteDomain.java
} @Override public @Nullable Integer next(Integer value) { int i = value; return (i == Integer.MAX_VALUE) ? null : i + 1; } @Override public @Nullable Integer previous(Integer value) { int i = value; return (i == Integer.MIN_VALUE) ? null : i - 1; } @Override Integer offset(Integer origin, long distance) { checkNonnegative(distance, "distance");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/FieldDesc.java
* @return the element type if this field is a parameterized {@link Collection}, otherwise {@literal null} */ Class<?> getElementClassOfCollection(); /** * Returns the key type if this field is a parameterized {@link Map}. * * @return the key type if this field is a parameterized {@link Map}, otherwise {@literal null} */ Class<?> getKeyClassOfMap(); /**Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
private var constructed = false private var peekedHeader: DerHeader? = null private val bytesLeft: Long get() = if (limit == -1L) -1L else (limit - byteCount) fun hasNext(): Boolean = peekHeader() != null /** * Returns the next header to process unless this scope is exhausted. * * This returns null if: * * * The stream is exhausted.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ViewHelperTest.java
try { assertNull(actionHook.godHandPrologue(null, runtime -> null)); assertNull(actionHook.godHandMonologue(null, runtime -> null)); actionHook.godHandEpilogue(null, runtime -> {}); assertNull(actionHook.hookBefore(null, runtime -> null)); actionHook.hookFinally(null, runtime -> {}); assertTrue(true); } catch (Exception e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 27.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
// Test that null text causes exception // Create item with valid text first, then set to null SuggestItem item = new SuggestItem(new String[] { "text" }, new String[0][0], new String[0], 0, 0, 1.0f, new String[0], new String[0], new String[0], SuggestItem.Kind.DOCUMENT); // Set text to null after construction item.setText(null); item.setTimestamp(ZonedDateTime.now());Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 26.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
assertThrows(NullPointerException.class, () -> table.put(null, 2, cellValue('d'))); assertThrows(NullPointerException.class, () -> table.put("cat", null, cellValue('d'))); if (supportsNullValues()) { assertThat(table.put("cat", 2, null)).isNull(); assertTrue(table.contains("cat", 2)); } else { assertThrows(NullPointerException.class, () -> table.put("cat", 2, null)); } assertSize(3); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/http/Handler.java
URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol); if (handler != null) { return handler; } if (factory != null) { handler = factory.createURLStreamHandler(protocol); } if (handler == null) { final String path = System.getProperty(HANDLER_PKGS_PROPERTY);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0)