Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,414 for empty (0.02 sec)

  1. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link LoadingCache} tests that deal with empty caches.
     *
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class EmptyCachesTest extends TestCase {
    
      public void testEmpty() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

        /**
         * Decodes MIME-encoded text.
         *
         * @param value the encoded text to decode
         * @return the decoded text or empty string if decoding fails
         */
        protected String getDecodeText(final String value) {
            if (value == null) {
                return StringUtil.EMPTY;
            }
            try {
                return MimeUtility.decodeText(value);
            } catch (final UnsupportedEncodingException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/EnumMultiset.java

      }
    
      public static <E extends Enum<E>> EnumMultiset<E> create(Iterable<E> elements) {
        Iterator<E> iterator = elements.iterator();
        checkArgument(iterator.hasNext(), "EnumMultiset constructor passed empty Iterable");
        EnumMap<E, Count> map = new EnumMap<>(getDeclaringClassOrObjectForJ2cl(iterator.next()));
        EnumMultiset<E> multiset = new EnumMultiset<>(map);
        Iterables.addAll(multiset, elements);
        return multiset;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizerFactory.java

            if (synonymLoader.getSynonymMap() == null) {
                if (settings.getAsList("synonyms", null) != null) {
                    logger.warn("synonyms values are empty.");
                } else if (settings.get("synonyms_path") != null) {
                    logger.warn("synonyms_path[{}] is empty.", settings.get("synonyms_path"));
                } else {
                    logger.debug("No synonym data.");
                }
            }
        }
    
        @Override
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

                    return OptionalEntity.empty();
                }
            }, WebConfigService.class.getCanonicalName());
    
            assertTrue(crawlingConfigHelper.getPipeline("W1").isEmpty());
        }
    
        public void test_getPipeline_withEmptyStringPipeline() {
            // Register service that returns empty string pipeline
            ComponentUtil.register(new WebConfigService() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

         * ability to throw the correct exception in the future.
         */
        assertThrows(NoSuchElementException.class, empty::peek);
        assertThrows(NoSuchElementException.class, empty::peek);
      }
    
      public void testSneakyThrow() throws Exception {
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              boolean haveBeenCalled;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Reads all the lines of this source as a list of strings. The returned list will be empty if
       * this source is empty.
       *
       * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
       * text that is terminated by (but does not include) one of {@code \r\n}, {@code \r} or {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSource.java

          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Reads all the lines of this source as a list of strings. The returned list will be empty if
       * this source is empty.
       *
       * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
       * text that is terminated by (but does not include) one of {@code \r\n}, {@code \r} or {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java

                    logger.debug("Failed to parse a value of {}.", name, e);
                }
            }
            return OptionalObject.empty();
        }
    
        @Override
        public OptionalThing<Locale> getRequestedLocale(final RequestManager requestManager) {
            return OptionalObject.empty(); // means browser default
        }
    
        // ===================================================================================
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

      /**
       * Trailers received when the response body became exhausted.
       *
       * If the response body was successfully read until the end, this is the headers that followed,
       * or empty headers if there were none that followed.
       *
       * If the response body was closed prematurely or failed with an error, this will be the sentinel
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
Back to top