Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 962 for Parses (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/text/template/helper.go

    }
    
    // ParseFS is like [Template.ParseFiles] or [Template.ParseGlob] but reads from the file system fsys
    // instead of the host operating system's file system.
    // It accepts a list of glob patterns (see [path.Match]).
    // (Note that most file names serve as glob patterns matching only themselves.)
    func ParseFS(fsys fs.FS, patterns ...string) (*Template, error) {
    	return parseFS(nil, fsys, patterns)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:54:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/internal/dag/parse.go

    		return cmp.Compare(g.byLabel[a], g.byLabel[b])
    	})
    	return edges
    }
    
    // Parse parses the DAG language and returns the transitive closure of
    // the described graph. In the returned graph, there is an edge from "b"
    // to "a" if b < a (or a > b) in the partial order.
    func Parse(dag string) (*Graph, error) {
    	g := newGraph()
    	disallowed := []rule{}
    
    	rules, err := parseRules(dag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

    };
    
    // Parses the command line flag strings to the specification of nodes in
    // the Graph.
    Status ParseOutputArrayInfo(absl::string_view array_names,
                                std::vector<string>* outputs);
    
    Status ParseOutputArrayInfo(const std::vector<string>& output_names,
                                std::vector<string>* outputs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/README.md

    The `cmd` directory contains helpful tools for debugging traces.
    
    * `gotraceraw` parses traces without validation.
      It can produce a text version of the trace wire format, or convert
      the text format back into bytes.
    * `gotracevalidate` parses traces and validates them.
      It performs more rigorous checks than the parser does on its own,
      which helps for debugging the parser as well.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top