Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 217 for Trim (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * value slightly too high than slightly too low. If the value is not exact, the {@link
       * ImmutableIntArray} that is built will very likely occupy more memory than strictly necessary;
       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Splitter.java

       * count. Hence, {@code Splitter.on(',').limit(3).omitEmptyStrings().split("a,,,b,,,c,d")} returns
       * an iterable containing {@code ["a", "b", "c,d"]}. When trim is requested, all entries are
       * trimmed, including the last. Hence {@code Splitter.on(',').limit(3).trimResults().split(" a , b
       * , c , d ")} results in {@code ["a", "b", "c , d"]}.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                    """;
    
                Document document = Document.of(pomXml);
    
                String version = ModelVersionUtils.detectModelVersion(document);
    
                assertEquals("4.1.0", version, "Should trim whitespace from model version");
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

            // Items with blank words should be filtered
            for (SuggestItem item : items) {
                assertTrue("Items should not have blank text", item.getText().trim().length() > 0);
            }
        }
    
        @Test
        public void test_parseDocument_withLanguage() throws Exception {
            Map<String, Object> document = new HashMap<>();
            document.put("content", "ใƒ†ใ‚นใƒˆ");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                if (StringUtil.isNotBlank(requiredKeysStr) && StreamUtil.split(requiredKeysStr, ",")
                        .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).anyMatch(name -> {
                            final String[] values = req.getParameterValues(name);
                            if (values == null || values.length == 0 || StringUtil.isEmpty(values[0])) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                    logger.debug("Cannot add message, session not found. sessionId={}", sessionId);
                }
                return false;
            }
            session.addMessage(message);
    
            // Trim history if needed
            final int maxMessages = getMaxHistoryMessages();
            session.trimHistory(maxMessages);
    
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  7. cmd/handler-utils.go

    		}
    	}
    
    	if contentEncoding, ok := metadata[strings.ToLower(xhttp.ContentEncoding)]; ok {
    		contentEncoding = trimAwsChunkedContentEncoding(contentEncoding)
    		if contentEncoding != "" {
    			// Make sure to trim and save the content-encoding
    			// parameter for a streaming signature which is set
    			// to a custom value for example: "aws-chunked,gzip".
    			metadata[strings.ToLower(xhttp.ContentEncoding)] = contentEncoding
    		} else {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
  8. src/main/java/org/codelibs/fess/suggest/index/operations/ContentIndexingOperations.java

                    buf.append(c);
                } else if (!Character.isWhitespace(prev)) {
                    buf.append(' ');
                }
                prev = c;
            }
            final String[] words = buf.toString().trim().split(" ");
            try {
                final SuggestItem item =
                        contentsParser.parseSearchWords(words, null, fields, tags, roles, num, readingConverter, normalizer, analyzer, langs);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

            }
        }
    
        private String collectProblems(String... problems) {
            return Stream.of(problems).map(String::trim).filter(s -> s.isEmpty() == false).collect(Collectors.joining("\n"));
        }
    
        private String checkNoneExists(String message, Stream<? extends Class<?>> stream) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/UniAddress.java

                final int[] tmp = new int[4];
                final StringTokenizer st = new StringTokenizer(ro, ",");
                int i = 0;
                while (st.hasMoreTokens()) {
                    final String s = st.nextToken().trim();
                    if (s.equalsIgnoreCase("LMHOSTS")) {
                        tmp[i] = RESOLVER_LMHOSTS;
                        i++;
                    } else if (s.equalsIgnoreCase("WINS")) {
                        if (nbns == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 17K bytes
    - Click Count (0)
Back to Top