Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for line_ (0.09 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. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        TestCharSource lines = new TestCharSource(LINES);
        assertEquals("foo", lines.readFirstLine());
        assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed());
      }
    
      public void testReadLines_toList() throws IOException {
        TestCharSource lines = new TestCharSource(LINES);
        assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/dist/buildtool.go

    		}
    		if path != m[2] {
    			lines[i] = strings.ReplaceAll(line, `"`+m[2]+`"`, `"`+path+`"`)
    		}
    	}
    
    	lines[0] = generatedHeader + "// This is a bootstrap copy of " + srcFile + "\n\n//line " + srcFile + ":1\n" + lines[0]
    
    	return strings.Join(lines, "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

            static Lookup find(List<String> lines, String anchor) {
                boolean inJavadoc
                List<String> javadoc = []
                for (line in lines) {
                    if (line.trim().startsWith("/**")) {
                        inJavadoc = true
                        javadoc.clear()
                    }
                    if (inJavadoc) {
                        javadoc << line
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top