Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 933 for Parses (0.38 sec)

  1. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/resolve/NativeDependencyNotationParserTest.groovy

        }
    
        def "parses map notation for library in other project"() {
            when:
            def input = [project: 'other', library: 'libName']
            def dependency = parser.parseNotation(input)
    
    
            then:
            dependency.projectPath == "other"
            dependency.libraryName == "libName"
            dependency.linkage == null
        }
    
        def "parses map notation for library with defined linkage"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracterTest.groovy

    import spock.lang.Specification
    
    class MetadataExtracterTest extends Specification {
    
        def "parses package information when defined in a separate line"() {
            given:
            def grammar = """
            header {
                package org.acme;
            }
    
            class TestGrammar extends Parser;
    
            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
         * Parses the specified version range specification, for example "[1.0,2.0)".
         *
         * @param range the range specification to parse, must not be {@code null}
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. pkg/test/util/yml/parse.go

    }
    
    // Part is a single-part yaml source, along with its descriptor.
    type Part struct {
    	Contents   string
    	Descriptor Descriptor
    }
    
    // Parse parses the given multi-part yaml text, and returns as Parts.
    func Parse(yamlText string) ([]Part, error) {
    	splitContent := SplitString(yamlText)
    	parts := make([]Part, 0, len(splitContent))
    	for _, part := range splitContent {
    		if len(part) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 27 09:06:29 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesTest.groovy

     */
    
    package gradlebuild.binarycompatibility
    
    import spock.lang.Specification
    
    class AcceptedApiChangesTest extends Specification {
    
        def "parses accepted change"() {
            when:
            def changes = AcceptedApiChanges.parse(["""
                {
                    "acceptedApiChanges": [
                        {
                            "type": "org.gradle.api.initialization.ConfigurableIncludedBuild",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. cluster/images/etcd/migrate/versions.go

    type EtcdVersion struct {
    	semver.Version
    }
    
    // ParseEtcdVersion parses a SemVer string to an EtcdVersion.
    func ParseEtcdVersion(s string) (*EtcdVersion, error) {
    	v, err := semver.Make(s)
    	if err != nil {
    		return nil, err
    	}
    	return &EtcdVersion{v}, nil
    }
    
    // MustParseEtcdVersion parses a SemVer string to an EtcdVersion and panics if the parse fails.
    func MustParseEtcdVersion(s string) *EtcdVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  8. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. doc/next/6-stdlib/99-minor/net/http/66008.md

    The new [ParseCookie] function parses a Cookie header value and
    returns all the cookies which were set in it. Since the same cookie
    name can appear multiple times the returned Values can contain
    more than one value for a given key.
    
    The new [ParseSetCookie] function parses a Set-Cookie header value and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 17:43:50 UTC 2024
    - 359 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverterTest.groovy

            parser.parseNotation(" foo:bar ") == new UnversionedModuleComponentSelector(moduleIdentifierFactory.module("foo", "bar"))
        }
    
        def "parses module component identifier notation"() {
            expect:
            parser.parseNotation("org.gradle:gradle-core:1.+") == DefaultModuleComponentSelector.newSelector(DefaultModuleIdentifier.newId("org.gradle", "gradle-core"), new DefaultMutableVersionConstraint("1.+"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top