Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 361 for buf (0.02 sec)

  1. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                final StringBuilder buf = new StringBuilder(100);
                buf.append("Processing ");
                if (totalHits > 0) {
                    buf.append(arList.size()).append('/').append(totalHits).append(" docs (Doc:{access ");
                } else {
                    buf.append("no docs in indexing queue (Doc:{access ");
                }
                buf.append(systemHelper.getCurrentTimeAsLong() - execTime).append("ms");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            final StringBuilder buf = new StringBuilder();
            updateConfigListenerMap.entrySet().stream().forEach(e -> {
                buf.append(e.getKey()).append(": ");
                try {
                    buf.append(e.getValue().get());
                } catch (final Exception ex) {
                    logger.warn("Failed to process {} task.", e.getKey(), ex);
                    buf.append(ex.getMessage());
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                private final ByteArrayOutputStream buf = new ByteArrayOutputStream(MAX_LEN);
    
                @Override
                public void write(final int b) throws IOException {
                    if (b == '\n' || b == '\r' || buf.size() >= MAX_LEN) {
                        try {
                            final String msg = buf.toString(Constants.UTF_8);
                            if (StringUtil.isNotBlank(msg)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Encdec.java

        }
    
    
        public static String dec_ucs2le ( byte[] src, int si, int slim, char[] buf ) {
            int bi;
    
            for ( bi = 0; ( si + 1 ) < slim; bi++, si += 2 ) {
                buf[ bi ] = (char) dec_uint16le(src, si);
                if ( buf[ bi ] == '\0' ) {
                    break;
                }
            }
    
            return new String(buf, 0, bi);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

            final StringBuilder buf = new StringBuilder();
            clientFactory.addClient("test:.*", new CrawlerClient() {
                @Override
                public ResponseData execute(final RequestData request) {
                    return null;
                }
    
                @Override
                public void setInitParameterMap(final Map<String, Object> params) {
                    buf.append("value=").append(params.get("hoge"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

                final StringBuilder buf = new StringBuilder(100);
                if (strings.length > 1) {
                    for (int i = 0; i < strings.length - 1; i++) {
                        if (buf.length() != 0) {
                            buf.append('.');
                        }
                        buf.append(strings[i]);
                    }
                    filePrefix = buf.toString();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. cmd/bucket-replication-metrics.go

    // SMA struct for calculating simple moving average
    type SMA struct {
    	buf       []float64
    	window    int     // len of buf
    	idx       int     // current index in buf
    	CAvg      float64 // cumulative average
    	prevSMA   float64
    	filledBuf bool
    }
    
    func newSMA(ln int) *SMA {
    	if ln <= 0 {
    		ln = defaultWindowSize
    	}
    	return &SMA{
    		buf:    make([]float64, ln),
    		window: ln,
    		idx:    0,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    parseTextContent(node, buf);
                }
            } catch (final Exception e) {
                logger.warn("Could not parse a value of {}", xpath);
            }
            if (buf == null) {
                return null;
            }
            return buf.toString().trim();
        }
    
        protected void parseTextContent(final Node node, final StringBuilder buf) {
            if (node.hasChildNodes()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

        default String getLdapAdminUserSecurityPrincipal(final String name) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append(String.format(getLdapAdminUserFilter(), name));
            if (StringUtil.isNotBlank(getLdapAdminUserBaseDn())) {
                buf.append(',').append(getLdapAdminUserBaseDn());
            }
            return buf.toString();
        }
    
        String getLdapAdminRoleObjectClasses();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            validate(form, messages -> {}, () -> asListHtml(null));
            verifyTokenKeep(() -> asListHtml(this::saveToken));
    
            String header = null;
            final StringBuilder buf = new StringBuilder(1000);
            try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) {
                header = ReaderUtil.readLine(reader);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top