Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 118 for cbuf (0.02 seconds)

  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");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 32.9K bytes
    - Click Count (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 {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            StringBuilder buf = null;
            XPathNodes list = null;
            try {
                list = getXPathAPI().selectNodeList(document, xpath);
                for (int i = 0; i < list.size(); i++) {
                    if (buf == null) {
                        buf = new StringBuilder(1000);
                    }
                    Node node = list.get(i).cloneNode(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

                        }
                        final char[] newBuf = new char[newBufferSize];
                        System.arraycopy(buf, 0, newBuf, 0, bufferSize);
                        buf = newBuf;
                        bufferSize = newBufferSize;
                    }
                }
                return new String(buf, 0, size);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                    if (buf.length() > 0) {
                        buf.append(" : ");
                    }
                    buf.append(ip);
                }
            } catch (final Exception e) {
                // ignore
            }
            return buf.toString();
        }
    
        /**
         * Checks if the given filename is a log file based on its extension.
         *
         * @param name the filename to check
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  6. 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());
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        assertThrows(EOFException.class, in::readUnsignedByte);
      }
    
      public void testReadUnsignedShort_eof() throws IOException {
        byte[] buf = {23};
        DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(buf));
        assertThrows(EOFException.class, in::readUnsignedShort);
      }
    
      @SuppressWarnings("DoNotCall")
      public void testReadLine() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/CharSourceTest.java

        assertTrue(source.wasStreamOpened());
        assertFalse(source.wasStreamClosed());
    
        StringWriter writer = new StringWriter();
        char[] buf = new char[64];
        int read;
        while ((read = reader.read(buf)) != -1) {
          writer.write(buf, 0, read);
        }
        reader.close();
        writer.close();
    
        assertTrue(source.wasStreamClosed());
        assertThat(writer.toString()).isEqualTo(STRING);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

          return hex.decodeHex().toResponseBody(mediaType)
        }
    
        fun exhaust(reader: Reader): String {
          val builder = StringBuilder()
          val buf = CharArray(10)
          var read: Int
          while (reader.read(buf).also { read = it } != -1) {
            builder.appendRange(buf, 0, read)
          }
          return builder.toString()
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            final String[] values = content.split("\n");
            final StringBuilder buf = new StringBuilder((int) (content.length() * 1.3));
            buf.append(prefix).append(1).append(':').append(values[0]);
            for (int i = 1; i < values.length; i++) {
                buf.append('\n').append(prefix).append(i + 1).append(':').append(values[i]);
            }
            return buf.toString();
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top