Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 80 for GetLength (0.06 seconds)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        Integer[] codePoints = utf8Lengths.keySet().toArray(new Integer[] {});
        StringBuilder sb = new StringBuilder();
        Random rnd = new Random();
        for (int trial = 0; trial < 100; trial++) {
          sb.setLength(0);
          int utf8Length = 0;
          for (int i = 0; i < 6; i++) {
            Integer randomCodePoint = codePoints[rnd.nextInt(codePoints.length)];
            sb.appendCodePoint(randomCodePoint);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                    }
                    buffer.append(buildTimeDuration);
                    buffer.append(']');
                }
    
                logger.info(buffer.toString());
                buffer.setLength(0);
            }
        }
    
        private void logResult(MavenSession session) {
            infoLine('-');
            MessageBuilder buffer = builder();
    
            if (session.getResult().hasExceptions()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                regexQueries[i] = Pattern.quote(queries[i]);
                hlQueries[i] = highlightTagPre + queries[i] + highlightTagPost;
            }
            while (m.find()) {
                segBuf.setLength(0);
                m.appendReplacement(segBuf, StringUtil.EMPTY);
                String segment = segBuf.toString();
                for (int i = 0; i < queries.length; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 52.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            this.fp = pos;
        }
    
        @Override
        public long length() throws SmbException {
            return this.file.length();
        }
    
        @Override
        public void setLength(final long newLength) throws SmbException {
            try (SmbFileHandleImpl fh = ensureOpen(); SmbTreeHandleImpl th = fh.getTree()) {
                if (th.isSMB2()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

                userAgent = textBuf.toString().trim();
            }
            tagQueue.pollLast();
            textBuf.setLength(0);
        }
    
        /**
         * SAX event handler called to process character data between XML elements.
         * Accumulates text content in a buffer for later processing when the element ends.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/audit/SecurityAuditLogger.java

            StringBuilder sb = stringBuilderPool.poll();
            if (sb == null) {
                sb = new StringBuilder(512); // Pre-allocate reasonable size
            } else {
                sb.setLength(0); // Reset length
            }
            return sb;
        }
    
        private void returnStringBuilder(StringBuilder sb) {
            if (sb != null && sb.capacity() < 2048) { // Avoid keeping very large builders
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                    final int remaining = maxChars - totalChars - CONTEXT_TRUNCATION_BUFFER;
                    if (remaining > 0 && docEntry.length() > remaining) {
                        docEntry.setLength(remaining);
                        docEntry.append("...\n\n");
                        documentContent.append(docEntry);
                    }
                    truncated = true;
                    break;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                        try {
                            int value = Integer.parseInt(unicode.toString(), HEX_RADIX);
                            out.append((char) value);
                            unicode.setLength(0);
                            inUnicode = false;
                            hadSlash = false;
                        } catch (NumberFormatException nfe) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 38.4K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

                        try {
                            int value = Integer.parseInt(unicode.toString(), HEX_RADIX);
                            out.append((char) value);
                            unicode.setLength(0);
                            inUnicode = false;
                            hadSlash = false;
                        } catch (NumberFormatException nfe) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            try {
                response.setContentType("application/x-ndjson; charset=UTF-8");
                final long count = searchHelper.scrollSearch(params, doc -> {
                    buf.setLength(0);
                    buf.append('{');
                    boolean first2 = true;
                    for (final Map.Entry<String, Object> entry : doc.entrySet()) {
                        final String name = entry.getKey();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 27 13:56:32 GMT 2026
    - 55.4K bytes
    - Click Count (1)
Back to Top