- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 3,225 for nulls (0.02 seconds)
-
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessJsonResourceProviderTest.java
// Comprehensive test to verify all methods return expected values FessJsonResourceProvider testProvider = new FessJsonResourceProvider(); // Verify nulls suppression is enabled assertTrue("Nulls should be suppressed", testProvider.isNullsSuppressed()); // Verify pretty print is enabled assertFalse("Pretty print should not be suppressed", testProvider.isPrettyPrintSuppressed());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
new RegularImmutableSet<>(EMPTY_ARRAY, 0, EMPTY_ARRAY, 0, 0); // The first `size` elements are non-null. @VisibleForTesting final transient @Nullable Object[] elements; private final transient int hashCode; // the same values as `elements` in hashed positions (plus nulls) @VisibleForTesting final transient @Nullable Object[] table; // 'and' with an int to get a valid table index.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalCollection.java
* exceptions whenever it can. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class MinimalCollection<E extends @Nullable Object> extends AbstractCollection<E> { // TODO: expose allow nulls parameter? public static <E extends @Nullable Object> MinimalCollection<E> of(E... contents) { return new MinimalCollection<>(Object.class, true, contents); } // TODO: use this
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 3.8K bytes - Click Count (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;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
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
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AllEqualOrdering.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.List; import org.jspecify.annotations.Nullable; /** * An ordering that treats all references as equals, even nulls. * * @author Emily Soldal */ @GwtCompatible final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable { static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AllEqualOrdering.java
import com.google.common.annotations.J2ktIncompatible; import java.io.Serializable; import java.util.List; import org.jspecify.annotations.Nullable; /** * An ordering that treats all references as equals, even nulls. * * @author Emily Soldal */ @GwtCompatible final class AllEqualOrdering extends Ordering<@Nullable Object> implements Serializable { static final AllEqualOrdering INSTANCE = new AllEqualOrdering();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java
} /** * Test getAnchorSet with null input */ @Test public void test_getAnchorSet_withNull() { FessCrawlerThread crawlerThread = new FessCrawlerThread(); Set<RequestData> result = crawlerThread.getAnchorSet(null); assertNull(result, "getAnchorSet should return null for null input"); } /** * Test getAnchorSet with single stringCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.3K bytes - Click Count (0)