Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 729 for Parses (0.32 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. 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)
  3. 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)
  4. src/cmd/vendor/github.com/ianlancetaylor/demangle/rust.go

    	}
    }
    
    // implPath parses:
    //
    //	<impl-path> = [<disambiguator>] <path>
    func (rst *rustState) implPath() {
    	// This path is not part of the demangled string.
    	hold := rst.skip
    	rst.skip = true
    	defer func() {
    		rst.skip = hold
    	}()
    
    	rst.disambiguator()
    	rst.path(false)
    }
    
    // identifier parses:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 23.3K bytes
    - Viewed (0)
  5. src/go/build/constraint/expr.go

    }
    
    // A SyntaxError reports a syntax error in a parsed build expression.
    type SyntaxError struct {
    	Offset int    // byte offset in input where error was detected
    	Err    string // description of error
    }
    
    func (e *SyntaxError) Error() string {
    	return e.Err
    }
    
    var errNotConstraint = errors.New("not a build constraint")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  6. maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                map.put(parser.getName(), parse(parser, toType));
            }
            return map;
        }
    
        /**
         * Parses a sequence of XML elements and converts them to the appropriate {@link Collection} type.
         *
         * @param parser The XML parser
         * @return Converted Collection instance
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/catalog/parser/TomlCatalogFileParserTest.groovy

            parse('one-version')
    
            then:
            hasVersion('guava', '17')
        }
    
        def "parses a file with a single plugin and nothing else"() {
            when:
            parse('one-plugin')
    
            then:
            hasPlugin('greeter', 'org.example.greeter', '1.13')
        }
    
        def "parses dependencies with various notations"() {
            when:
            parse 'dependency-notations'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 05:41:21 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    		p.start(op)
    		if name, abi, ok := p.funcAddress(); ok {
    			fmt.Fprintf(w, "ref %s %s\n", name, abi)
    		}
    	}
    }
    
    func (p *Parser) start(operand []lex.Token) {
    	p.input = operand
    	p.inputPos = 0
    }
    
    // address parses the operand into a link address structure.
    func (p *Parser) address(operand []lex.Token) obj.Addr {
    	p.start(operand)
    	addr := obj.Addr{}
    	p.operand(&addr)
    	return addr
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    	}
    	s.done = true
    	return end
    }
    
    // acceptMinSize parses multiple tokens of the given size or greater.
    // It returns the end position of the last token consumed.
    func (s *scanner) acceptMinSize(min int) (end int) {
    	end = s.end
    	s.scan()
    	for ; len(s.token) >= min; s.scan() {
    		end = s.end
    	}
    	return end
    }
    
    // Parse parses the given BCP 47 string and returns a valid Tag. If parsing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. src/encoding/asn1/asn1.go

    // characters such as '@' and '&'. To force other encodings, use the following
    // tags:
    //
    //	ia5     causes strings to be unmarshaled as ASN.1 IA5String values
    //	numeric causes strings to be unmarshaled as ASN.1 NumericString values
    //	utf8    causes strings to be unmarshaled as ASN.1 UTF8String values
    //
    // If the type of the first field of a structure is RawContent then the raw
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 31.8K bytes
    - Viewed (0)
Back to top