Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,885 for Parses (0.11 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverterTest.groovy

            parser.parseNotation(" foo:bar ") == new UnversionedModuleComponentSelector(moduleIdentifierFactory.module("foo", "bar"))
        }
    
        def "parses module component identifier notation"() {
            expect:
            parser.parseNotation("org.gradle:gradle-core:1.+") == DefaultModuleComponentSelector.newSelector(DefaultModuleIdentifier.newId("org.gradle", "gradle-core"), new DefaultMutableVersionConstraint("1.+"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/AbstractPropertiesCommandLineConverterTest.groovy

                1 * parser.option(converter.propertyOption, converter.propertyOptionDetailed) >> option
        }
    
        def "parses properties args"() {
            expect:
            convert("-Aa=b", "-Ac=d") == [a: "b", c: "d"]
        }
    
        def "parses properties args with no property value"() {
            expect:
            convert("-Aa", "-Ab=") == [a: "", b: ""]
        }
    
        def "parses properties arg containing equals"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/dist/buildtag.go

    	return bool(v), nil
    }
    
    // parse parses an expression, including binary operators at precedence >= prec.
    func (p *exprParser) parse(prec int) val {
    	if p.t.prefix == nil {
    		panic("unexpected " + p.t.tok)
    	}
    	v := p.t.prefix(p)
    	for p.t.prec >= prec && p.t.infix != nil {
    		t := p.t
    		p.next()
    		v = t.infix(v, p.parse(t.prec+1))
    	}
    	return v
    }
    
    // not is the prefix parser for a ! token.
    func (p *exprParser) not() val {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 03:35:04 UTC 2021
    - 3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/syscall/route_bsd.go

    			nskips++
    		} else {
    			msgs = append(msgs, m)
    		}
    		b = b[any.Msglen:]
    	}
    	// We failed to parse any of the messages - version mismatch?
    	if nmsgs != len(msgs)+nskips {
    		return nil, EINVAL
    	}
    	return msgs, nil
    }
    
    // ParseRoutingSockaddr parses msg's payload as raw sockaddrs and
    // returns the slice containing the [Sockaddr] interfaces.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top