- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 1,303 for EMPTY (0.6 sec)
-
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
} } public void test_setObject_withEmptyName() { // Test setObject with empty name try { WebApiUtil.setObject("", "testValue"); } catch (Exception e) { fail("setObject should handle empty name gracefully: " + e.getMessage()); } } public void test_getObject_noRequest() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* consider using {@code collection.getFirst()} instead. Note that if the collection is empty, * {@code getFirst()} throws a {@code NoSuchElementException}, while this method returns the * default value. * * @param defaultValue the default value to return if the iterable is empty * @return the first element of {@code iterable} or the default value * @since 7.0 */ @ParametricNullness
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
int n, @Nullable Object[] alternatingKeysAndValues, @Nullable Builder<K, V> builder) { if (n == 0) { @SuppressWarnings("unchecked") RegularImmutableMap<K, V> empty = (RegularImmutableMap<K, V>) EMPTY; return empty; } else if (n == 1) { // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
* Extracts the virtual host key from a RelatedContent entity. * If the virtual host is blank or null, returns an empty string. * This key is used to organize related content by virtual host. * * @param entity the RelatedContent entity to extract the host key from * @return the virtual host key, or empty string if not specified */ protected String getHostKey(final RelatedContent entity) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
} }; ComponentUtil.register(mockSearchLogHelper, "searchLogHelper"); // Execute the job String result = aggregateLogJob.execute(); // Verify result is empty string on success assertNotNull(result); assertEquals("", result); } public void test_execute_withException() { // Setup mock SearchLogHelper that throws exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt
* * A misdirected request (HTTP 421) on a coalesced connection. */ open fun isOneShot(): Boolean = false companion object { /** Empty request body with no content-type. */ @JvmField val EMPTY: RequestBody = ByteString.EMPTY.toRequestBody() /** * Returns a new request body that transmits this string. If [contentType] is non-null and lacks * a charset, this will use UTF-8.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 04 17:43:43 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
} @Test @DisplayName("Should handle empty hostname in getByName") void testGetByNameWithEmpty() { // When/Then assertThrows(UnknownHostException.class, () -> { nameServiceClient.getByName(""); }, "Should throw UnknownHostException for empty hostname"); } @Test @DisplayName("Should handle localhost in getByName")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
// 20 bytes fixed + 2 * length assertEquals(20 + 2 * longFileName.length(), info.size()); } @Test @DisplayName("Test size calculation with empty filename") void testSizeWithEmptyFilename() { FileRenameInformation2 info = new FileRenameInformation2("", false); assertEquals(20, info.size()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
@SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) { return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents)); } @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
@SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> of(E... contents) { return ofClassAndContents(Object.class, (E[]) new Object[0], asList(contents)); } @SuppressWarnings("unchecked") // empty Object[] as E[] public static <E extends @Nullable Object> MinimalSet<E> from(Collection<? extends E> contents) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0)