- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,885 for Parses (0.11 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) -
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) -
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) -
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) -
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)