Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 147 for line_ (0.05 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    			stack = append(stack, callID{
    				file: callees[j].File,
    				line: callees[j].Line,
    			})
    		}
    		file.lines[f.Line] = append(file.lines[f.Line], sourceInst{addr, stack})
    
    		// Remember the first function name encountered per source line
    		// and assume that that line belongs to that function.
    		if _, ok := file.funcName[f.Line]; !ok {
    			file.funcName[f.Line] = f.Func
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  2. src/net/textproto/reader.go

    		return
    	}
    	peek, _ := r.R.Peek(s)
    	for len(peek) > 0 && n < 1000 {
    		var line []byte
    		line, peek, _ = bytes.Cut(peek, nl)
    		if len(line) == 0 || (len(line) == 1 && line[0] == '\r') {
    			// Blank line separating headers from the body.
    			break
    		}
    		if line[0] == ' ' || line[0] == '\t' {
    			// Folded continuation of the previous line.
    			continue
    		}
    		n++
    	}
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/envcmd/env.go

    		base.Fatalf("go: reading go env config: %v", err)
    	}
    	lines := strings.SplitAfter(string(data), "\n")
    	if lines[len(lines)-1] == "" {
    		lines = lines[:len(lines)-1]
    	} else {
    		lines[len(lines)-1] += "\n"
    	}
    	return lines
    }
    
    func updateEnvFile(add map[string]string, del map[string]bool) {
    	lines := readEnvFileLines(len(add) == 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/net/net_windows_test.go

    		want[cname] = addr
    		group = make(map[string]string)
    	}
    	lines := bytes.Split(out, []byte{'\r', '\n'})
    	for _, line := range lines {
    		if len(line) == 0 {
    			processGroup()
    			continue
    		}
    		i := bytes.IndexByte(line, ':')
    		if i == -1 {
    			t.Fatalf("line %q has no : in it", line)
    		}
    		group[string(line[:i])] = string(bytes.TrimSpace(line[i+1:]))
    	}
    	processGroup()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/modfile/rule.go

    		var line *Line
    		if r.Syntax == nil {
    			line = &Line{Token: []string{AutoQuote(r.Mod.Path), r.Mod.Version}}
    			r.Syntax = line
    			if r.Indirect {
    				r.setIndirect(true)
    			}
    		} else {
    			line = new(Line)
    			*line = *r.Syntax
    			if !line.InBlock && len(line.Token) > 0 && line.Token[0] == "require" {
    				line.Token = line.Token[1:]
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 18:34:56 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. src/net/http/cookie.go

    func readCookies(h Header, filter string) []*Cookie {
    	lines := h["Cookie"]
    	if len(lines) == 0 {
    		return []*Cookie{}
    	}
    
    	cookies := make([]*Cookie, 0, len(lines)+strings.Count(lines[0], ";"))
    	for _, line := range lines {
    		line = textproto.TrimString(line)
    
    		var part string
    		for len(line) > 0 { // continue since we have rest
    			part, line, _ = strings.Cut(line, ";")
    			part = textproto.TrimString(part)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. JavadocStyleGuide.md

    - The first line that begins with an `@` character ends the description; you cannot continue the description following block tags.
    - Block tags must be added in order.
    - The last line contains the end-comment delimiter ( `*/`).
    
    So lines won't wrap, limit any doc-comment lines to 120 characters.
    
    ### 1.1.2 HTML
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/go/printer/printer_test.go

    // before empty lines.
    func TestIssue5945(t *testing.T) {
    	const orig = `
    package p   // line 2
    func f() {} // line 3
    
    var x, y, z int
    
    
    func g() { // line 8
    }
    `
    
    	const want = `//line src.go:2
    package p
    
    //line src.go:3
    func f() {}
    
    var x, y, z int
    
    //line src.go:8
    func g() {
    }
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    			l := sample.Location[i]
    			lines := l.Line
    			if len(lines) == 0 {
    				lines = []profile.Line{{}} // Create empty line to include location info.
    			}
    			for lidx := len(lines) - 1; lidx >= 0; lidx-- {
    				nodeMap := parentNodeMap[parent]
    				if nodeMap == nil {
    					nodeMap = make(NodeMap)
    					parentNodeMap[parent] = nodeMap
    				}
    				n := nodeMap.findOrInsertLine(l, lines[lidx], o)
    				if n == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	for scan.Scan() {
    		line := strings.TrimSpace(scan.Text())
    		if line == "" || line[0] == '#' {
    			continue
    		}
    		matches := apiFileLineRegexp.FindStringSubmatch(line)
    		if len(matches) == 0 {
    			return nil, fmt.Errorf("%s: malformed line %q", filename, line)
    		}
    		if len(matches) != 5 {
    			return nil, fmt.Errorf("wrong number of matches for line %q", line)
    		}
    		f := APIFeature{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top