Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 465 for Parses (0.24 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/net/http/cookie.go

    		case "partitioned":
    			c.Partitioned = true
    			continue
    		}
    		c.Unparsed = append(c.Unparsed, parts[i])
    	}
    	return c, nil
    }
    
    // readSetCookies parses all "Set-Cookie" values from
    // the header h and returns the successfully parsed Cookies.
    func readSetCookies(h Header) []*Cookie {
    	cookieCount := len(h["Set-Cookie"])
    	if cookieCount == 0 {
    		return []*Cookie{}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/html/template/template.go

    // such as
    //
    //	var t = template.Must(template.New("name").Parse("html"))
    func Must(t *Template, err error) *Template {
    	if err != nil {
    		panic(err)
    	}
    	return t
    }
    
    // ParseFiles creates a new [Template] and parses the template definitions from
    // the named files. The returned template's name will have the (base) name and
    // (parsed) contents of the first file. There must be at least one file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

        /**
         * Parses the given command-line.
         *
         * @param commandLine The command-line.
         * @return The parsed command line.
         * @throws org.gradle.cli.CommandLineArgumentException
         *          On parse failure.
         */
        public ParsedCommandLine parse(String... commandLine) throws CommandLineArgumentException {
            return parse(Arrays.asList(commandLine));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    	// tag has variants or extensions.
    	str string
    }
    
    // Make is a convenience wrapper for Parse that omits the error.
    // In case of an error, a sensible default is returned.
    func Make(s string) Tag {
    	t, _ := Parse(s)
    	return t
    }
    
    // Raw returns the raw base language, script and region, without making an
    // attempt to infer their values.
    // TODO: consider removing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top