Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for line_str (0.2 sec)

  1. ci/official/utilities/extract_resultstore_links.py

        line_str = f'Invocation #{i} ({invocation_results["status"]}):\n'
        command = invocation_results.get('command')
        if command:
          line_str += command
        else:
          line_str += ('Couldn\'t parse the bazel command, '
                       'check inside the build log instead')
        line_str += f'\n{url}\n'
        print(line_str)
        i += 1
    
    
    def main():
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. src/debug/dwarf/line.go

    			}
    			if uint64(int(off)) != off {
    				return "", 0, 0, DecodeError{"line", r.buf.off, "strp/line_strp offset out of range"}
    			}
    			var b1 buf
    			if lf.form == formStrp {
    				b1 = makeBuf(r.buf.dwarf, r.buf.format, "str", 0, r.str)
    			} else {
    				b1 = makeBuf(r.buf.dwarf, r.buf.format, "line_str", 0, r.lineStr)
    			}
    			b1.skip(int(off))
    			str = b1.string()
    			if b1.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  3. src/debug/dwarf/entry.go

    			} else {
    				if len(b.dwarf.lineStr) == 0 {
    					b.error("DW_FORM_line_strp with no .debug_line_str section")
    					return nil
    				}
    				b1 = makeBuf(b.dwarf, b.format, "line_str", 0, b.dwarf.lineStr)
    			}
    			b1.skip(int(off))
    			val = b1.string()
    			if b1.err != nil {
    				b.err = b1.err
    				return nil
    			}
    		case formStrx, formStrx1, formStrx2, formStrx3, formStrx4:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 30.7K bytes
    - Viewed (0)
  4. src/debug/dwarf/open.go

    	abbrev   []byte
    	aranges  []byte
    	frame    []byte
    	info     []byte
    	line     []byte
    	pubnames []byte
    	ranges   []byte
    	str      []byte
    
    	// New sections added in DWARF 5.
    	addr       []byte
    	lineStr    []byte
    	strOffsets []byte
    	rngLists   []byte
    
    	// parsed data
    	abbrevCache map[uint64]abbrevTable
    	bigEndian   bool
    	order       binary.ByteOrder
    	typeCache   map[Offset]Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testplugin/testdata/issue19418/main.go

    )
    
    func main() {
    	p, err := plugin.Open("plugin.so")
    	if err != nil {
    		panic(err)
    	}
    
    	val, err := p.Lookup("Val")
    	if err != nil {
    		panic(err)
    	}
    	got := *val.(*string)
    	const want = "linkstr"
    	if got != want {
    		fmt.Fprintf(os.Stderr, "issue19418 value is %q, want %q\n", got, want)
    		os.Exit(2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 511 bytes
    - Viewed (0)
  6. src/cmd/internal/dwarf/dwarf_defs.go

    	DW_FORM_block2    = 0x03 // block
    	DW_FORM_block4    = 0x04 // block
    	DW_FORM_data2     = 0x05 // constant
    	DW_FORM_data4     = 0x06 // constant, lineptr, loclistptr, macptr, rangelistptr
    	DW_FORM_data8     = 0x07 // constant, lineptr, loclistptr, macptr, rangelistptr
    	DW_FORM_string    = 0x08 // string
    	DW_FORM_block     = 0x09 // block
    	DW_FORM_block1    = 0x0a // block
    	DW_FORM_data1     = 0x0b // constant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 15:55:36 UTC 2019
    - 16.1K bytes
    - Viewed (0)
  7. src/go/printer/printer.go

    	}
    	return size
    }
    
    // recordLine records the output line number for the next non-whitespace
    // token in *linePtr. It is used to compute an accurate line number for a
    // formatted construct, independent of pending (not yet emitted) whitespace
    // or comments.
    func (p *printer) recordLine(linePtr *int) {
    	p.linePtr = linePtr
    }
    
    // linesFrom returns the number of output lines between the current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 41.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testplugin/plugin_test.go

    	goCmd(t, "build", "-o", "issue18584.exe", "./issue18584/main.go")
    	run(t, "./issue18584.exe")
    }
    
    func TestIssue19418(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-ldflags=-X main.Val=linkstr", "-o", "plugin.so", "./issue19418/plugin.go")
    	goCmd(t, "build", "-o", "issue19418.exe", "./issue19418/main.go")
    	run(t, "./issue19418.exe")
    }
    
    func TestIssue19529(t *testing.T) {
    	globalSkip(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. pkg/proxy/iptables/proxier_test.go

    	if err != nil {
    		t.Fatalf("%s", err)
    	}
    
    	lineStr := ""
    	if line != 0 {
    		lineStr = fmt.Sprintf(" (from line %d)", line)
    	}
    	if diff := cmp.Diff(expected, result); diff != "" {
    		t.Errorf("rules do not match%s:\ndiff:\n%s\nfull result:\n```\n%s```", lineStr, diff, result)
    	}
    
    	if checkConsistency {
    		err = checkIPTablesRuleJumps(expected)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  10. src/cmd/internal/testdir/testdir_test.go

    	for _, errStr := range splitOutput(out, false) {
    		errFile, rest, ok := strings.Cut(errStr, ":")
    		if !ok || errFile != file {
    			continue
    		}
    		lineStr, msg, ok := strings.Cut(rest, ":")
    		if !ok {
    			continue
    		}
    		line, err := strconv.Atoi(lineStr)
    		line--
    		if err != nil || line < 0 || line >= len(lines) {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top