- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,633 for Parses (0.14 sec)
-
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/parsing/BasicParsingTest.kt
import org.gradle.internal.declarativedsl.parsing.ParseTestUtil import org.gradle.internal.declarativedsl.parsing.assert import org.junit.jupiter.api.Test class BasicParsingTest { @Test fun `parses literals`() { val results = parse( """ a = 1 b = "test" c = ${'"'}""test${'"'}"" e = true d = false """.trimIndent() )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 22:06:18 UTC 2024 - 19.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
src/net/mail/message.go
} // An AddressParser is an RFC 5322 address parser. type AddressParser struct { // WordDecoder optionally specifies a decoder for RFC 2047 encoded-words. WordDecoder *mime.WordDecoder } // Parse parses a single RFC 5322 address of the // form "Gogh Fir <******@****.***>" or "******@****.***". func (p *AddressParser) Parse(address string) (*Address, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:31:03 UTC 2024 - 23.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradleModuleMetadataParserTest.groovy
when: parser.parse(resource('not-json'), metadata) then: def e = thrown(MetaDataParseException) e.message == 'Could not parse module metadata <resource>' } def "ignores unknown top-level values"() { def metadata = Mock(MutableModuleComponentResolveMetadata) when: parser.parse(resource(UNKNOWN_TOP_LEVEL), metadata)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 38K bytes - Viewed (0) -
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)