- Sort Score
- Result 10 results
- Languages All
Results 1281 - 1290 of 3,432 for NULL (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
} public void testNull() { assertThrows(NullPointerException.class, () -> map.put(null, new Integer(1))); map.putInstance(Integer.class, null); assertNull(map.get(Integer.class)); assertNull(map.getInstance(Integer.class)); map.put(Long.class, null); assertNull(map.get(Long.class)); assertNull(map.getInstance(Long.class)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
* import javax.naming.*; * import javax.naming.directory.*; * public static String getDomainByName(String name) throws UnknownHostException { * DirContext context; * UnknownHostException uhe = null; * * try { * context = new InitialDirContext(); * for ( ;; ) { * try { * Attributes attributes = context.getAttributes( * "dns:/_ldap._tcp.dc._msdcs." + name,Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
// Given - Various invalid buffers byte[] nullBuffer = null; byte[] wrongSizeBuffer = new byte[100]; // Wrong size byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]; // When/Then - Should handle invalid buffers gracefully assertDoesNotThrow(() -> { BufferCache.releaseBuffer(nullBuffer); // Should ignore nullRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
reader.setScrollSize(1000); int count = 0; Set<String> valueSet = Collections.synchronizedSet(new HashSet<>()); Map<String, Object> source; while ((source = reader.read()) != null) { assertTrue(source.get("field1").toString().startsWith("test")); valueSet.add(source.get("field1").toString()); count++; } assertEquals(num, count);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
try { final SuggestItem item = contentsParser.parseSearchWords(words, null, fields, tags, roles, num, readingConverter, normalizer, analyzer, langs); if (item == null) { return new SuggestIndexResponse(0, 1, null, System.currentTimeMillis() - start); } final long parseTime = System.currentTimeMillis();Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryProcessor.java
* @throws IllegalArgumentException if name or queryCommand is null */ public void add(final String name, final QueryCommand queryCommand) { if (name == null || queryCommand == null) { throw new IllegalArgumentException("name or queryCommand is null."); } if (logger.isDebugEnabled()) { logger.debug("Loaded {}", name); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
*/ @JvmOverloads fun charset(defaultValue: Charset? = null): Charset? { val charset = parameter("charset") ?: return defaultValue return try { Charset.forName(charset) } catch (_: IllegalArgumentException) { defaultValue // This charset is invalid or unsupported. Give up. } } /** * Returns the parameter [name] of this media type, or null if this media type does not define * such a parameter.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:08 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
public void testCompute_absentToAbsent() { assertNull( "Map.compute(absent, functionReturningNull) should return null", getMap() .compute( k3(), (k, v) -> { assertEquals(k3(), k); assertNull(v); return null; })); expectUnchanged(); assertEquals(getNumElements(), getMap().size()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to * return to a caller, the code needs to a way to return {@code null} from a method that returns * "plain {@code T}." This API provides that. */ @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/exbhv/SearchLogBhv.java
*/ public class SearchLogBhv extends BsSearchLogBhv { private static final Logger logger = LogManager.getLogger(SearchLogBhv.class); private String indexName = null; @Override protected String asEsIndex() { if (indexName == null) { final String name = ComponentUtil.getFessConfig().getIndexLogIndex(); indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_log"), name); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 4.8K bytes - Viewed (0)