Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,544 for parseAI (0.57 sec)

  1. hack/update-netparse-cve.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    # This script replace "net" stdlib IP and CIDR parsers
    # with the ones forked in k8s.io/utils/net to parse IP addresses
    # because of the compatibility break introduced in golang 1.17
    # Reference: #100895
    # Usage: `hack/update-netparse-cve.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  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. src/regexp/syntax/parse.go

    	}
    	return re
    }
    
    // Parsing.
    
    // Parse parses a regular expression string s, controlled by the specified
    // Flags, and returns a regular expression parse tree. The syntax is
    // described in the top-level comment.
    func Parse(s string, flags Flags) (*Regexp, error) {
    	return parse(s, flags)
    }
    
    func parse(s string, flags Flags) (_ *Regexp, err error) {
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/http/httpproxy/proxy.go

    		if m.match(addr, port, ip) {
    			return false
    		}
    	}
    	return true
    }
    
    func (c *config) init() {
    	if parsed, err := parseProxy(c.HTTPProxy); err == nil {
    		c.httpProxy = parsed
    	}
    	if parsed, err := parseProxy(c.HTTPSProxy); err == nil {
    		c.httpsProxy = parsed
    	}
    
    	for _, p := range strings.Split(c.NoProxy, ",") {
    		p = strings.ToLower(strings.TrimSpace(p))
    		if len(p) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/DependencyStringNotationConverterTest.groovy

            !d.force
            d.artifacts.size() == 0
        }
    
        def "parses short hand-notation #notation for strict dependencies"() {
            def parser = new DependencyStringNotationConverter(TestUtil.instantiatorFactory().decorateLenient(), DefaultClientModule, SimpleMapInterner.notThreadSafe());
    
            when:
            def d = parse(parser, "org.foo:bar:$notation")
    
            then:
            d instanceof ExternalModuleDependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

            factory.setNamespaceAware(true)
            DocumentBuilder builder = factory.newDocumentBuilder()
            def parsed = builder.parse(new InputSource(new StringReader(str))).documentElement
            return document ? document.importNode(parsed, true) : parsed
        }
    
        def formatTree(Closure cl) {
            withCategories {
                return formatTree(cl.call())
            }
        }
    
        def withCategories(Closure cl) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/Parser.kt

        val wrappedCode: String,
        val originalCodeOffset: Int,
        val suffixLength: Int,
    )
    
    
    fun parse(@Language("kts") code: String): ParsedLightTree {
        val (wrappedCode, codeOffset, suffixLength) = wrapScriptIntoClassInitializerBlock(code)
        return ParsedLightTree(
            KotlinLightParser.parse(psiBuilderFactory.createBuilder(parserDefinition, lexer, wrappedCode)),
            wrappedCode,
            codeOffset,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top