Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 274 for rtrim (0.02 seconds)

  1. cmd/xl-storage-meta-inline.go

    	}
    	// If none left...
    	if len(newKeys) == 0 {
    		*x = nil
    		return true
    	}
    
    	// Reserialize...
    	x.serialize(plSize, newKeys, newVals)
    	return true
    }
    
    // xlMetaV2TrimData will trim any data from the metadata without unmarshalling it.
    // If any error occurs the unmodified data is returned.
    func xlMetaV2TrimData(buf []byte) []byte {
    	metaBuf, maj, minor, err := checkXL2V1(buf)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                return BASE64_DECODER.decode(base64String);
            } catch (IllegalArgumentException e) {
                if (e.getCause() instanceof DecodingException) {
                    return BASE64URL_DECODER.decode(base64String.trim());
                }
                throw e;
            }
        }
    
        /**
         * Processes the callback from OpenID Connect provider.
         *
         * @param request the HTTP servlet request
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Dec 14 01:18:25 GMT 2025
    - 16.5K 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/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)
  5. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

         */
        protected String stripCodeFences(final String response) {
            if (response == null) {
                return "";
            }
            String stripped = response.trim();
            if (stripped.startsWith("```json")) {
                stripped = stripped.substring(7);
            } else if (stripped.startsWith("```")) {
                stripped = stripped.substring(3);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K 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. src/main/java/jcifs/util/InputValidator.java

         */
        public static String requireNonEmpty(String value, String fieldName) {
            if (value == null) {
                throw new IllegalArgumentException(fieldName + " cannot be null");
            }
            if (value.trim().isEmpty()) {
                throw new IllegalArgumentException(fieldName + " cannot be empty");
            }
            return value;
        }
    
        /**
         * Validates array is not null and has expected length
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                                .child(MavenPomElements.Elements.PHASE)
                                .orElse(null);
                        if (phaseElement != null) {
                            String currentPhase = phaseElement.textContent().trim();
                            String newPhase = phaseUpgrades.get(currentPhase);
                            if (newPhase != null) {
                                phaseElement.textContent(newPhase);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

            final List<String> list = new ArrayList<>(values.length);
            for (final String line : values) {
                if (StringUtil.isNotBlank(line)) {
                    list.add(line.trim());
                }
            }
            return list.toArray(new String[list.size()]);
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/config/BaseConfiguration.java

            } else {
                final StringTokenizer st = new StringTokenizer(ro, ",");
                while (st.hasMoreTokens()) {
                    final String s = st.nextToken().trim();
                    if (s.equalsIgnoreCase("LMHOSTS")) {
                        this.resolverOrder.add(ResolverType.RESOLVER_LMHOSTS);
                    } else if (s.equalsIgnoreCase("WINS")) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top