Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,413 for Empty (0.01 sec)

  1. guava-tests/test/com/google/common/io/CharStreamsTest.java

        assertEquals(ASCII.length(), CharStreams.exhaust(reader));
        assertEquals(-1, reader.read());
        assertEquals(0, CharStreams.exhaust(reader));
    
        Reader empty = new StringReader("");
        assertEquals(0, CharStreams.exhaust(empty));
        assertEquals(-1, empty.read());
      }
    
      public void testExhaust_readable() throws IOException {
        CharBuffer buf = CharBuffer.wrap(ASCII);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                public List<DataConfig> getAllDataConfigList() {
                    return new ArrayList<>(); // Always return empty for fast tests
                }
    
                @Override
                public List<DataConfig> getDataConfigListByIds(List<String> configIdList) {
                    return new ArrayList<>(); // Always return empty for fast tests
                }
    
                public String store(String sessionId, DataConfig dataConfig) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/app/service/CharMappingService.java

         */
        public OptionalEntity<CharMappingFile> getCharMappingFile(final String dictId) {
            return dictionaryManager.getDictionaryFile(dictId)
                    .filter(CharMappingFile.class::isInstance)
                    .map(file -> OptionalEntity.of((CharMappingFile) file))
                    .orElse(OptionalEntity.empty());
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. android/guava/src/com/google/common/math/Quantiles.java

         *
         * @param dataset the dataset to do the calculation on, which must be non-empty, and which will
         *     be arbitrarily reordered by this method call
         * @return the quantile value
         */
        public double computeInPlace(double... dataset) {
          checkArgument(dataset.length > 0, "Cannot calculate quantiles of an empty dataset");
          if (containsNaN(dataset)) {
            return NaN;
          }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K 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