Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 729 for Parses (0.11 sec)

  1. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    //	5th word -- Padding.
    func parseCPU(b []byte) (*Profile, error) {
    	var parse func([]byte) (uint64, []byte)
    	var n1, n2, n3, n4, n5 uint64
    	for _, parse = range cpuInts {
    		var tmp []byte
    		n1, tmp = parse(b)
    		n2, tmp = parse(tmp)
    		n3, tmp = parse(tmp)
    		n4, tmp = parse(tmp)
    		n5, tmp = parse(tmp)
    
    		if tmp != nil && n1 == 0 && n2 == 3 && n3 == 0 && n4 > 0 && n5 == 0 {
    			b = tmp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  2. 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)
  3. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParser.java

            } while (!buffer.hasAny(",)"));
            return new ComplexExpression(IncludeType.EXPRESSIONS, null, expressions);
        }
    
        /**
         * Parses an expression that ends with the given delimiter. Returns null on failure and consumes input up to the parse failure point.
         */
        @Nullable
        private static Expression readDelimitedExpression(Buffer buffer, char endDelim, IncludeType type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParserTest.groovy

        IvyXmlModuleDescriptorParser parser = new IvyXmlModuleDescriptorParser(new IvyModuleDescriptorConverter(moduleIdentifierFactory), moduleIdentifierFactory, fileRepository, metadataFactory)
    
        DescriptorParseContext parseContext = Mock()
        MutableIvyModuleResolveMetadata metadata
        boolean hasGradleMetadataRedirectionMarker
    
        def "parses minimal Ivy descriptor"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 33.8K bytes
    - Viewed (0)
  5. 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)
  6. src/go/doc/comment/parse.go

    	if isStdPkg(name) {
    		return name, true
    	}
    	return "", false
    }
    
    // Parse parses the doc comment text and returns the *[Doc] form.
    // Comment markers (/* // and */) in the text must have already been removed.
    func (p *Parser) Parse(text string) *Doc {
    	lines := unindent(strings.Split(text, "\n"))
    	d := &parseDoc{
    		Parser:    p,
    		Doc:       new(Doc),
    		links:     make(map[string]*LinkDef),
    		lines:     lines,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  7. src/net/error_test.go

    		default:
    			return fmt.Errorf("OpError.Source or Addr is unknown type: %T, %v", addr, e)
    		}
    	}
    	if e.Err == nil {
    		return fmt.Errorf("OpError.Err is empty: %v", e)
    	}
    	return nil
    }
    
    // parseDialError parses nestedErr and reports whether it is a valid
    // error value from Dial, Listen functions.
    // It returns nil when nestedErr is valid.
    func parseDialError(nestedErr error) error {
    	if nestedErr == nil {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. src/cmd/internal/archive/archive.go

    func New(f *os.File) (*Archive, error) {
    	_, err := f.Write(archiveHeader)
    	if err != nil {
    		return nil, err
    	}
    	return &Archive{f: f}, nil
    }
    
    // Parse parses an object file or archive from f.
    func Parse(f *os.File, verbose bool) (*Archive, error) {
    	var r objReader
    	r.init(f)
    	t, err := r.peek(8)
    	if err != nil {
    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K 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. pkg/util/iptables/testing/parse.go

    var ipTablesValuePtrType = reflect.TypeOf((*IPTablesValue)(nil))
    
    // ParseRule parses rule. If strict is false, it will parse the recognized
    // parameters and ignore unrecognized ones. If it is true, parsing will fail if there are
    // unrecognized parameters.
    func ParseRule(rule string, strict bool) (*Rule, error) {
    	parsed := &Rule{Raw: rule}
    
    	// Split rule into "words" (where a quoted string is a single word).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top