Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for Buf (0.12 sec)

  1. src/main/java/org/codelibs/fess/helper/NotificationHelper.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append("{\"text\":\"");
            buf.append(LF);
            buf.append(StringEscapeUtils.escapeJson(discloser.getSavedSubject().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```");
            buf.append(LF).append(StringEscapeUtils.escapeJson(discloser.getSavedPlainText().orElse(StringUtil.EMPTY).trim()));
            buf.append(LF).append("```\"}");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append("/WEB-INF/view/").append(page);
            if (StringUtil.isNotBlank(lang)) {
                buf.append('_').append(lang);
                if (StringUtil.isNotBlank(country)) {
                    buf.append('_').append(country);
                }
            }
            buf.append(".jsp");
            return buf.toString();
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  3. src/main/java/org/codelibs/core/text/Tokenizer.java

                    }
                    if (i >= buf.length) {
                        final char[] nb = new char[buf.length * 2];
                        System.arraycopy(buf, 0, nb, 0, buf.length);
                        buf = nb;
                    }
                    buf[i++] = (char) c;
                    d = read();
                }
                peekc = d;
                sval = String.copyValueOf(buf, 0, i);
                return true;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/ActivityHelper.java

            final StringBuilder buf = new StringBuilder(100);
            buf.append("{\"@timestamp\":\"").append(valueMap.remove("time")).append('"');
            buf.append(",\"log.level\":\"INFO\"");
            buf.append(",\"ecs.version\":\"").append(ecsVersion).append('"');
            buf.append(",\"service.name\":\"").append(ecsServiceName).append('"');
            buf.append(",\"event.dataset\":\"").append(ecsEventDataset).append('"');
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/ByteStreams.java

          return position - oldPosition;
        }
    
        ByteBuffer buf = ByteBuffer.wrap(createBuffer());
        long total = 0;
        while (from.read(buf) != -1) {
          Java8Compatibility.flip(buf);
          while (buf.hasRemaining()) {
            total += to.write(buf);
          }
          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
      /** Max array length on JVM. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/FileUtil.java

            int bufferSize;
            if (initialCapacity > 0 && initialCapacity <= MAX_BUF_SIZE) {
                bufferSize = initialCapacity;
            } else {
                bufferSize = DEFAULT_BUF_SIZE;
            }
            char[] buf = new char[bufferSize];
            int size = 0;
            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
                    size += len;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/SAXRuntimeException.java

         */
        protected static String createMessage(final SAXException cause) {
            final StringBuilder buf = new StringBuilder(100);
            buf.append(cause);
            if (cause instanceof SAXParseException) {
                final SAXParseException e = (SAXParseException) cause;
                if (e.getSystemId() != null) {
                    buf.append(" at ").append(e.getSystemId());
                }
                final int lineNumber = e.getLineNumber();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        }
    
        protected void write(final String text, final String contentType, final String encoding) {
            final StringBuilder buf = new StringBuilder(50);
            if (contentType == null) {
                buf.append("text/plain");
            } else {
                buf.append(contentType);
            }
            buf.append("; charset=");
            final String enc;
            if (encoding == null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. 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");
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            final StringBuilder buf = new StringBuilder(1000);
    
            buf.append("[SYSTEM MONITOR] ");
            buf.append('{');
    
            appendOsStats(buf);
            appendProcessStats(buf);
            appendJvmStats(buf);
            appendFesenStats(buf);
    
            appendTimestamp(buf);
            buf.append('}');
    
            if (logger.isInfoEnabled()) {
                logger.info(buf.toString());
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
Back to top