Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 437 for parse (0.03 sec)

  1. internal/amztime/parse.go

    	// Add new AMZ date formats here.
    }
    
    // ErrMalformedDate always returned for dates that cannot be parsed.
    var ErrMalformedDate = errors.New("malformed date")
    
    // Parse parses date string via supported amz date formats.
    func Parse(amzDateStr string) (time.Time, error) {
    	for _, dateFormat := range amzDateFormats {
    		amzDate, err := time.Parse(dateFormat, amzDateStr)
    		if err == nil {
    			return amzDate, nil
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. internal/config/lambda/parse.go

    Aditya Manthramurthy <******@****.***> 1716591923 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java

     * the appropriate {@link InvokerRequest} object.
     *
     * @param <R> the type of {@link InvokerRequest} produced by this parser, extending {@link InvokerRequest}
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Parser<R extends InvokerRequest<? extends Options>> {
        /**
         * Parses the given Maven arguments to create an InvokerRequest.
         * This is a convenience method that internally creates a ParserRequest using
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 04 12:23:10 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. cmd/signature-v4-parser.go

    		}
    		ch, s3Err = parseCredentialHeader(authFields[0], region, stype)
    		if s3Err != ErrNone {
    			return auth.Credentials{}, false, s3Err
    		}
    	}
    	return checkKeyValid(r, ch.accessKey)
    }
    
    // parse credentialHeader string into its structured form.
    func parseCredentialHeader(credElement string, region string, stype serviceType) (ch credentialHeader, aec APIErrorCode) {
    	creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

    /**
     * Service interface to parse {@link Version} and {@link VersionRange}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionParser extends Service {
    
        /**
         * Parses the specified version string, for example "1.0".
         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         */
        @Nonnull
        Model parse(@Nonnull Source source, @Nullable Map<String, ?> options) throws ModelParserException;
    
        /**
         * Locate and parse the model in the specified directory.
         * This is equivalent to {@code locate(dir).map(s -> parse(s, options))}.
         *
         * @param dir the directory to locate the pom for, never {@code null}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 10 17:18:47 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketExtensionsTest.kt

    class WebSocketExtensionsTest {
      @Test
      fun emptyHeader() {
        assertThat(parse("")).isEqualTo(WebSocketExtensions())
      }
    
      @Test
      fun noExtensionHeader() {
        assertThat(WebSocketExtensions.parse(headersOf()))
          .isEqualTo(WebSocketExtensions())
      }
    
      @Test
      fun emptyExtension() {
        assertThat(parse(", permessage-deflate"))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/ParameterUtilTest.java

            parameters = "";
            parameterMap = ParameterUtil.parse(parameters);
            assertEquals(0, parameterMap.size());
    
            parameters = "domain";
            parameterMap = ParameterUtil.parse(parameters);
            assertEquals(1, parameterMap.size());
            assertEquals("", parameterMap.get("domain"));
    
            parameters = "domain=";
            parameterMap = ParameterUtil.parse(parameters);
            assertEquals(1, parameterMap.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java

            QueryParser queryParser = new QueryParser();
    
            Query query = queryParser.createDefaultFilterChain().parse("fess");
            assertEquals(TermQuery.class, query.getClass());
            assertEquals("_default:fess", ((TermQuery) query).getTerm().toString());
    
            query = queryParser.createDefaultFilterChain().parse("title:fess");
            assertEquals(TermQuery.class, query.getClass());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        public void init() {
            createFilterChain();
        }
    
        public Query parse(final String query) {
            return filterChain.parse(query);
        }
    
        protected org.apache.lucene.queryparser.classic.QueryParser createQueryParser() {
            final LuceneQueryParser parser = new LuceneQueryParser(defaultField, analyzer);
            parser.setAllowLeadingWildcard(allowLeadingWildcard);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top