- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,007 for lineB (1.44 sec)
-
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) -
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) -
src/internal/trace/raw/doc.go
trace parsers. # Text format specification The trace text format produced and consumed by this package is a line-oriented format. The first line in each text trace is the header line. Trace Go1.XX Following that is a series of event lines. Each event begins with an event name, followed by zero or more named unsigned integer arguments.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.3K bytes - Viewed (0) -
src/runtime/testdata/testprog/syscalls_linux.go
return false, false, err } status, err := io.ReadAll(os.NewFile(uintptr(fd), statusFile)) if err != nil { return false, false, err } lines := bytes.Split(status, []byte{'\n'}) // Find the State line. stateLineIdx := -1 for i, line := range lines { if bytes.HasPrefix(line, []byte("State:")) { stateLineIdx = i break } } if stateLineIdx < 0 { // Malformed status file?
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:00:09 UTC 2024 - 2.2K bytes - Viewed (0) -
common/config/.yamllint.yml
comments: disable comments-indentation: disable document-end: disable document-start: disable empty-lines: disable empty-values: disable hyphens: enable indentation: disable key-duplicates: enable key-ordering: disable line-length: disable new-line-at-end-of-file: disable new-lines: enable octal-values: disable quoted-strings: disable trailing-spaces: disable
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 30 23:53:31 UTC 2020 - 863 bytes - Viewed (0) -
src/internal/profile/merge.go
key.mappingID = l.Mapping.ID } lines := make([]string, len(l.Line)*2) for i, line := range l.Line { if line.Function != nil { lines[i*2] = strconv.FormatUint(line.Function.ID, 16) } lines[i*2+1] = strconv.FormatInt(line.Line, 16) } key.lines = strings.Join(lines, "|") return key } type locationKey struct { addr, mappingID uint64 lines string isFolded bool }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 17 19:35:56 UTC 2020 - 11.3K bytes - Viewed (0) -
cmd/genkubedocs/postprocessing.go
// - The sections see also, that assumes file will be used as a main page func cleanupForInclude(md string) string { lines := strings.Split(md, "\n") cleanMd := "" for i, line := range lines { if i == 0 { continue } if line == "### SEE ALSO" { break } cleanMd += line if i < len(lines)-1 { cleanMd += "\n" } } return cleanMd
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 1.8K bytes - Viewed (0) -
src/go/token/serialize_test.go
return fmt.Errorf("different size for %q: %d != %d", f.name, f.size, g.size) } for j, l := range f.lines { m := g.lines[j] if l != m { return fmt.Errorf("different offsets for %q", f.name) } } for j, l := range f.infos { m := g.infos[j] if l.Offset != m.Offset || l.Filename != m.Filename || l.Line != m.Line { return fmt.Errorf("different infos for %q", f.name) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 17 15:02:55 UTC 2022 - 2.5K bytes - Viewed (0) -
src/go/printer/testdata/declarations.golden
) } // formatting of multi-line variable declarations var a1, b1, c1 int // all on one line var a2, b2, c2 int // this line should be indented var ( a3, b3, c3, d3 int // this line should be indented a4, b4, c4 int // this line should be indented ) // Test case from issue 3304: multi-line declarations must end
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 13 22:24:31 UTC 2021 - 16.2K bytes - Viewed (0) -
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)