Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 305 for parseMs (0.17 seconds)

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

  1. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

         *
         * @param map The source map
         * @param key The key to look up
         * @return The Long value, or null if the key doesn't exist or value is null
         * @throws NumberFormatException if the value cannot be parsed as a Long
         */
        public static Long getLong(final Map<String, Object> map, final String key) {
            return getLong(map, key, null);
        }
    
        /**
         * Gets a Long value from the map with a default value.
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  2. benchmarks/src/main/java/org/elasticsearch/benchmark/search/fetch/subphase/FetchSourcePhaseBenchmark.java

                XContentType.JSON.toParsedMediaType()
            );
            try (
                XContentParser parser = XContentType.JSON.xContent()
                    .createParser(NamedXContentRegistry.EMPTY, DeprecationHandler.THROW_UNSUPPORTED_OPERATION, sourceBytes.streamInput())
            ) {
                builder.copyCurrentStructure(parser);
                return BytesReference.bytes(builder);
            }
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 17:34:14 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            String escaped;
            String[] parsed;
    
            // Text with comma gets quoted, but parse preserves quotes
            input = "with,comma";
            escaped = KuromojiCSVUtil.quoteEscape(input); // "with,comma"
            parsed = KuromojiCSVUtil.parse(escaped);
            assertEquals(1, parsed.length);
            assertEquals("\"" + input + "\"", parsed[0]); // Quotes are preserved
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/ChatIntent.java

         *
         * @return the intent value
         */
        public String getValue() {
            return value;
        }
    
        /**
         * Parses a string value to ChatIntent enum.
         *
         * @param value the string value to parse
         * @return the corresponding ChatIntent, defaults to UNCLEAR if not found
         */
        public static ChatIntent fromValue(final String value) {
            if (value == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Locale;
    import java.util.Map;
    import java.util.Set;
    import java.util.stream.Collectors;
    
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. cmd/bucket-encryption.go

    func (sys *BucketSSEConfigSys) Get(bucket string) (*sse.BucketSSEConfig, error) {
    	sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket)
    	return sseCfg, err
    }
    
    // validateBucketSSEConfig parses bucket encryption configuration and validates if it is supported by MinIO.
    func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) {
    	encConfig, err := sse.ParseBucketSSEConfig(r)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.7K bytes
    - Click Count (1)
  7. internal/config/lambda/event/arn.go

    func (arn ARN) String() string {
    	if arn.ID == "" && arn.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // ParseARN - parses string to ARN.
    func ParseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") {
    		return nil, &ErrInvalidARN{s}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. internal/bucket/object/lock/lock.go

    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    // ParseObjectLockConfig parses ObjectLockConfig from xml
    func ParseObjectLockConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxObjectLockConfigSize)).Decode(&config); err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            }
            return Collections.emptyMap();
        }
    
        /**
         * Parses a query string and extracts parameter name-value pairs.
         * Applies URL decoding with the specified character encoding.
         *
         * @param queryString the query string to parse
         * @param enc the character encoding to use for URL decoding
         * @return a map of parameter names to their decoded values
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  10. internal/bucket/lifecycle/expiration.go

    )
    
    // ExpirationDays is a type alias to unmarshal Days in Expiration
    type ExpirationDays int
    
    // UnmarshalXML parses number of days from Expiration and validates if
    // greater than zero
    func (eDays *ExpirationDays) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var numDays int
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top