Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 933 for Parses (0.37 sec)

  1. src/cmd/vendor/golang.org/x/tools/cover/profile.go

    // ParseProfiles parses profile data in the specified file and returns a
    // Profile for each source file described therein.
    func ParseProfiles(fileName string) ([]*Profile, error) {
    	pf, err := os.Open(fileName)
    	if err != nil {
    		return nil, err
    	}
    	defer pf.Close()
    	return ParseProfilesFromReader(pf)
    }
    
    // ParseProfilesFromReader parses profile data from the Reader and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 17:02:03 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/note.go

    }
    
    var errMalformedTree = errors.New("malformed tree note")
    var treePrefix = []byte("go.sum database tree\n")
    
    // ParseTree parses a formatted tree root description.
    func ParseTree(text []byte) (tree Tree, err error) {
    	// The message looks like:
    	//
    	//	go.sum database tree
    	//	2
    	//	nND/nri/U0xuHUrYSy0HtMeal2vzD9V4k/BO79C+QeI=
    	//
    	// For forwards compatibility, extra text lines after the encoding are ignored.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 29 20:10:15 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/CapabilityNotationParser.java

    package org.gradle.api.internal.artifacts.dsl;
    
    import org.gradle.api.capabilities.Capability;
    import org.gradle.internal.typeconversion.NotationParser;
    
    /**
     * A concrete type for a generic {@link NotationParser} that parses {@link Capability}s.
     * <p>
     * This concrete type is necessary so that it can be injected into version catalog generated sources.
     */
    public interface CapabilityNotationParser extends NotationParser<Object, Capability> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1K bytes
    - Viewed (0)
  4. maven-artifact/src/site/apt/index.apt

     The jar file is executable and provides a little tool to display how Maven parses and compares versions:
    
    +----+
    $ java -jar maven-artifact-*.jar 3.2.4-alpha-1 3.2.4-SNAPSHOT 3.2.4.0
    Display parameters as parsed by Maven (in canonical form) and comparison result:
    1. 3.2.4-alpha-1 == 3.2.4.alpha.1
       3.2.4-alpha-1 < 3.2.4-SNAPSHOT
    2. 3.2.4-SNAPSHOT == 3.2.4.snapshot
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Nov 30 20:57:07 UTC 2014
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/ProjectPropertiesCommandLineConverterTest.groovy

      def converter = new ProjectPropertiesCommandLineConverter();
    
      def convert(String... args) {
        converter.convert(Arrays.asList(args), new HashMap<String, String>()).sort()
      }
    
      def "parses project properties args"() {
        expect:
        convert("-Pa=b", "-Pc=d") == [a: "b", c: "d"]
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. src/net/port.go

    package net
    
    // parsePort parses service as a decimal integer and returns the
    // corresponding value as port. It is the caller's responsibility to
    // parse service as a non-decimal integer when needsLookup is true.
    //
    // Some system resolvers will return a valid port number when given a number
    // over 65536 (see https://golang.org/issues/11715). Alas, the parser
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:56 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/CGroupMemoryInfoTest.groovy

    package org.gradle.process.internal.health.memory
    
    import spock.lang.Specification
    
    class CGroupMemoryInfoTest extends Specification {
        private static final long MB_IN_BYTES = 1024 * 1024 * 1024
    
        def "parses memory from cgroup values"() {
            def snapshot = new CGroupMemoryInfo().getOsSnapshotFromCgroup(mbsToBytesAsString(800), mbsToBytesAsString(1024))
    
            expect:
            snapshot.physicalMemory.total == mbsToBytes(1024)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/TypedNotationConverterTest.groovy

    public class TypedNotationConverterTest extends Specification {
    
        def parser = NotationParserBuilder.toType(Integer).converter(new DummyConverter()).toComposite()
    
        def "parses object of source type"(){
            expect:
            parser.parseNotation("100") == 100
        }
    
        def "throws meaningful exception on parse attempt"(){
            when:
            parser.parseNotation(new Object())
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 16 07:34:13 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/template.go

    */
    
    package util
    
    import (
    	"bytes"
    	"text/template"
    
    	"github.com/pkg/errors"
    )
    
    // ParseTemplate validates and parses passed as argument template
    func ParseTemplate(strtmpl string, obj interface{}) ([]byte, error) {
    	var buf bytes.Buffer
    	tmpl, err := template.New("template").Parse(strtmpl)
    	if err != nil {
    		return nil, errors.Wrap(err, "error when parsing template")
    	}
    	err = tmpl.Execute(&buf, obj)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 26 07:17:21 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  10. pkg/util/iptables/save_restore.go

    )
    
    // MakeChainLine return an iptables-save/restore formatted chain line given a Chain
    func MakeChainLine(chain Chain) string {
    	return fmt.Sprintf(":%s - [0:0]", chain)
    }
    
    // GetChainsFromTable parses iptables-save data to find the chains that are defined. It
    // assumes that save contains a single table's data, and returns a set with keys for every
    // chain defined in that table.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 1.4K bytes
    - Viewed (0)
Back to top