Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for buf (0.15 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            // content
            final StringBuilder buf = new StringBuilder(content.length() + 1000);
            if (fessConfig.isCrawlerDocumentFileAppendBodyContent()) {
                buf.append(content);
            }
            if (fessConfig.isCrawlerDocumentFileAppendMetaContent()) {
                if (buf.length() > 0) {
                    buf.append(' ');
                }
                buf.append(contentMeta);
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/StringUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAppendHex() throws Exception {
            final StringBuilder buf = new StringBuilder();
            StringUtil.appendHex(buf, (byte) 1);
            assertEquals("01", buf.toString());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCamelize() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            SmbTransport t2 = dest.tree.session.transport;
    
            if( t1.snd_buf_size < t2.snd_buf_size ) {
                t2.snd_buf_size = t1.snd_buf_size;
            } else {
                t1.snd_buf_size = t2.snd_buf_size;
            }
    
            bsize = Math.min( t1.rcv_buf_size - 70, t1.snd_buf_size - 70 );
            b = new byte[2][bsize];
    
            try {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top