Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 136 for progx (0.04 sec)

  1. src/debug/buildinfo/buildinfo.go

    	f *elf.File
    }
    
    func (x *elfExe) ReadData(addr, size uint64) ([]byte, error) {
    	for _, prog := range x.f.Progs {
    		if prog.Vaddr <= addr && addr <= prog.Vaddr+prog.Filesz-1 {
    			n := prog.Vaddr + prog.Filesz - addr
    			if n > size {
    				n = size
    			}
    			return saferio.ReadDataAt(prog, n, int64(addr-prog.Vaddr))
    		}
    	}
    	return nil, errUnrecognizedFormat
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/regexp/onepass.go

    			prog.Inst[ix].Next = nil
    			prog.Inst[ix] = onePassInst{Inst: instOriginal}
    		}
    	}
    }
    
    // onePassCopy creates a copy of the original Prog, as we'll be modifying it.
    func onePassCopy(prog *syntax.Prog) *onePassProg {
    	p := &onePassProg{
    		Start:  prog.Start,
    		NumCap: prog.NumCap,
    		Inst:   make([]onePassInst, len(prog.Inst)),
    	}
    	for i, inst := range prog.Inst {
    		p.Inst[i] = onePassInst{Inst: inst}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/link.go

    //
    // The other fields not yet mentioned are for use by the back ends and should
    // be left zeroed by creators of Prog lists.
    type Prog struct {
    	Ctxt     *Link     // linker context
    	Link     *Prog     // next Prog in linked list
    	From     Addr      // first source operand
    	RestArgs []AddrPos // can pack any operands that not fit into {Prog.From, Prog.To}, same kinds of operands are saved in order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. src/cmd/internal/buildid/note.go

    // header. The caller has already opened filename, to get f, and read
    // at least 4 kB out, in data.
    func readELF(name string, f *os.File, data []byte) (buildid string, err error) {
    	// Assume the note content is in the data, already read.
    	// Rewrite the ELF header to set shoff and shnum to 0, so that we can pass
    	// the data to elf.NewFile and it will decode the Prog list but not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 20:40:42 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ppc64/ssa.go

    	p := s.Prog(loadByType(t))
    	p.From.Type = obj.TYPE_MEM
    	p.From.Name = obj.NAME_AUTO
    	p.From.Sym = n.Linksym()
    	p.From.Offset = n.FrameOffset() + off
    	p.To.Type = obj.TYPE_REG
    	p.To.Reg = reg
    	return p
    }
    
    func spillArgReg(pp *objw.Progs, p *obj.Prog, f *ssa.Func, t *types.Type, reg int16, n *ir.Name, off int64) *obj.Prog {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/pcln.go

    	pcln.Pcfile = funcpctab(ctxt, cursym, "pctofile", pctofileline, pcln)
    	pcln.Pcline = funcpctab(ctxt, cursym, "pctoline", pctofileline, nil)
    
    	// Check that all the Progs used as inline markers are still reachable.
    	// See issue #40473.
    	fn := cursym.Func()
    	inlMarkProgs := make(map[*Prog]struct{}, len(fn.InlMarks))
    	for _, inlMark := range fn.InlMarks {
    		inlMarkProgs[inlMark.p] = struct{}{}
    	}
    	for p := fn.Text; p != nil; p = p.Link {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/x86/ssa.go

    		// negative int is divided by -1.
    		var j *obj.Prog
    		if v.Op == ssa.Op386DIVL || v.Op == ssa.Op386DIVW ||
    			v.Op == ssa.Op386MODL || v.Op == ssa.Op386MODW {
    
    			if ssa.DivisionNeedsFixUp(v) {
    				var c *obj.Prog
    				switch v.Op {
    				case ssa.Op386DIVL, ssa.Op386MODL:
    					c = s.Prog(x86.ACMPL)
    					j = s.Prog(x86.AJEQ)
    
    				case ssa.Op386DIVW, ssa.Op386MODW:
    					c = s.Prog(x86.ACMPW)
    					j = s.Prog(x86.AJEQ)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 01:26:58 UTC 2023
    - 26.7K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/s390x/objz.go

    	}
    }
    
    // stacksplitPre generates the function stack check prologue following
    // Prog p (which should be the TEXT Prog). It returns one or two
    // branch Progs that must be patched to jump to the morestack epilogue,
    // and the Prog that starts the morestack check.
    func (c *ctxtz) stacksplitPre(p *obj.Prog, framesize int32) (pPre, pPreempt, pCheck *obj.Prog) {
    	if c.ctxt.Flag_maymorestack != "" {
    		// Save LR and REGCTXT
    		const frameSize = 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/dwarfgen/dwinl.go

    				// lowering, or unnamed params ("_").
    				v.ChildIndex = int32(synthCount)
    				synthCount++
    			}
    		}
    	}
    
    	// Make a second pass through the progs to compute PC ranges for
    	// the various inlined calls.
    	start := int64(-1)
    	curii := -1
    	var prevp *obj.Prog
    	for p := fnsym.Func().Text; p != nil; prevp, p = p, p.Link {
    		if prevp != nil && p.Pos == prevp.Pos {
    			continue
    		}
    		ii := posInlIndex(p.Pos)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. test/convinline.go

    	"float64",
    }
    
    func main() {
    	var prog bytes.Buffer
    	fmt.Fprintf(&prog, "package main\n\n")
    	fmt.Fprintf(&prog, "import ( \"fmt\"; \"math\" )\n")
    	for _, t1 := range types {
    		for _, t2 := range types {
    			fmt.Fprintf(&prog, "func %[1]s_to_%[2]s(x %[1]s) %[2]s { return %[2]s(x) }\n", t1, t2)
    		}
    	}
    
    	var outputs []string
    	var exprs []string
    
    	fmt.Fprintf(&prog, "var (\n")
    	for _, t1 := range types {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 13:46:05 UTC 2022
    - 4.7K bytes
    - Viewed (0)
Back to top