Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 914 for readFn (0.05 sec)

  1. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

                        final String term = termTokenList.get(i).getTerm();
                        String reading = readingTokenList.get(i).getTerm();
                        if (Strings.isNullOrEmpty(reading)) {
                            reading = term;
                        }
                        reading = transliterator.transliterate(reading);
    
                        final int pos = text.indexOf(term, offset);
                        if (pos > 0) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:28:21 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. internal/http/request-recorder.go

    	// no-op
    	return nil
    }
    
    // Read reads from the internal reader and counts/save the body in the memory
    func (r *RequestRecorder) Read(p []byte) (n int, err error) {
    	n, err = r.Reader.Read(p)
    	r.bytesRead += n
    
    	if r.LogBody {
    		r.buf.Write(p[:n])
    	}
    	if err != nil {
    		return n, err
    	}
    	return n, err
    }
    
    // Size returns the body size if the currently read object
    func (r *RequestRecorder) Size() int {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 12 21:37:19 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

        }
    
        public Settings read(Reader reader, boolean strict) throws IOException, XmlPullParserException {
            try {
                return new Settings(delegate.read(reader, strict, null));
            } catch (XMLStreamException e) {
                throw new XmlPullParserException(e.getMessage(), null, e);
            }
        }
    
        public Settings read(Reader reader) throws IOException, XmlPullParserException {
            try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

        // Give up because the cache cannot be written.
        try {
          editor?.abort()
        } catch (_: IOException) {
        }
      }
    
      /**
       * Initialize the cache. This will include reading the journal files from the storage and building
       * up the necessary in-memory cache information.
       *
       * The initialization time may vary depending on the journal file size and the current actual
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 03 17:41:45 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        static String urlString = "あいうえお";
    
        InputStream is = new ByteArrayInputStream(srcBytes);
    
        ByteArrayOutputStream os = new ByteArrayOutputStream();
    
        Reader reader = new StringReader(srcString);
    
        StringWriter writer = new StringWriter();
    
        StringBuilder builder = new StringBuilder();
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. internal/ioutil/discard.go

    var Discard io.Writer = discard{}
    
    // discard is /dev/null for Golang.
    type discard struct{}
    
    func (discard) Write(p []byte) (int, error) {
    	return len(p), nil
    }
    
    // DiscardReader discarded reader
    func DiscardReader(r io.Reader) {
    	Copy(Discard, r)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon Nov 06 22:26:08 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/index/contents/ContentsParser.java

         * @param langFieldName The name of the field that contains language information.
         * @param readingConverter The converter to use for reading fields.
         * @param contentsReadingConverter The converter to use for reading content fields.
         * @param normalizer The normalizer to use for normalizing field values.
         * @param analyzer The analyzer to use for analyzing field values.
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

     *       normalization, contents, and contents reading) for a specific field.</li>
     * </ul>
     *
     * @see SuggestAnalyzer
     * @see FieldAnalyzerMapping
     */
    public class AnalyzerSettings {
        /** Analyzer name for reading. */
        public static final String READING_ANALYZER = "reading_analyzer";
        /** Analyzer name for reading term. */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            if (title == null) {
                return StringUtil.EMPTY; // empty
            }
    
            final int[] spaceChars = getSpaceChars();
            try (final Reader reader = new StringReader(title)) {
                return TextUtil.normalizeText(reader).initialCapacity(title.length()).spaceChars(spaceChars).execute();
            } catch (final IOException e) {
                return StringUtil.EMPTY; // empty
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/IterationMarkCharFilterFactory.java

                final Settings settings) {
            super(indexSettings, name);
        }
    
        @Override
        public Reader create(final Reader tokenStream) {
            return new IterationMarkCharFilter(tokenStream);
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
Back to top