Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 501 for insts (0.08 sec)

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

    			length := 1
    			if i+1 < len(insts) && insts[i+1].Addr > inst.Addr {
    				// Extend to next instruction.
    				length = int(insts[i+1].Addr - inst.Addr)
    			}
    
    			// Get inlined-call-stack for address.
    			frames, err := r.obj.SourceLine(addr)
    			if err != nil {
    				// Construct a frame from disassembler output.
    				frames = []plugin.Frame{{Func: inst.Function, File: inst.File, Line: inst.Line}}
    			}
    
    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/cmd/vendor/github.com/google/pprof/internal/report/report.go

    func annotateAssembly(insts []plugin.Inst, samples graph.Nodes, file plugin.ObjFile) []assemblyInstruction {
    	// Add end marker to simplify printing loop.
    	insts = append(insts, plugin.Inst{
    		Addr: ^uint64(0),
    	})
    
    	// Ensure samples are sorted by address.
    	samples.Sort(graph.AddressOrder)
    
    	s := 0
    	asm := make([]assemblyInstruction, 0, len(insts))
    	for ix, in := range insts[:len(insts)-1] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    }
    
    func (o *internalObjTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]plugin.Inst, error) {
    	insts, err := o.ObjTool.Disasm(file, start, end, intelSyntax)
    	if err != nil {
    		return nil, err
    	}
    	var pluginInst []plugin.Inst
    	for _, inst := range insts {
    		pluginInst = append(pluginInst, plugin.Inst(inst))
    	}
    	return pluginInst, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/regexp/syntax/prog.go

    }
    
    // skipNop follows any no-op or capturing instructions.
    func (p *Prog) skipNop(pc uint32) *Inst {
    	i := &p.Inst[pc]
    	for i.Op == InstNop || i.Op == InstCapture {
    		i = &p.Inst[i.Out]
    	}
    	return i
    }
    
    // op returns i.Op but merges all the Rune special cases into InstRune
    func (i *Inst) op() InstOp {
    	op := i.Op
    	switch op {
    	case InstRune1, InstRuneAny, InstRuneAnyNotNL:
    		op = InstRune
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/lookup.go

    }
    
    func (l *instanceLookup) lookup(inst *Named) *Named {
    	for _, t := range l.buf {
    		if t != nil && Identical(inst, t) {
    			return t
    		}
    	}
    	for _, t := range l.m[inst.Origin()] {
    		if Identical(inst, t) {
    			return t
    		}
    	}
    	return nil
    }
    
    func (l *instanceLookup) add(inst *Named) {
    	for i, t := range l.buf {
    		if t == nil {
    			l.buf[i] = inst
    			return
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/go/types/lookup.go

    }
    
    func (l *instanceLookup) lookup(inst *Named) *Named {
    	for _, t := range l.buf {
    		if t != nil && Identical(inst, t) {
    			return t
    		}
    	}
    	for _, t := range l.m[inst.Origin()] {
    		if Identical(inst, t) {
    			return t
    		}
    	}
    	return nil
    }
    
    func (l *instanceLookup) add(inst *Named) {
    	for i, t := range l.buf {
    		if t == nil {
    			l.buf[i] = inst
    			return
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  7. src/regexp/onepass.go

    			if matchArg {
    				inst.Out, inst.Arg = inst.Arg, inst.Out
    				matchOut, matchArg = matchArg, matchOut
    			}
    			if matchOut {
    				m[pc] = true
    				inst.Op = syntax.InstAltMatch
    			}
    
    			// build a dispatch operator from the two legs of the alt.
    			onePassRunes[pc], inst.Next = mergeRuneSets(
    				&onePassRunes[inst.Out], &onePassRunes[inst.Arg], inst.Out, inst.Arg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:36:03 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    				}
    				if !Identical(inst.Inst.Type, inst2) {
    					t.Errorf("%v and %v are not identical", inst.Inst.Type, inst2)
    				}
    			}
    		})
    	}
    }
    
    type recordedInstance struct {
    	Name *syntax.Name
    	Inst Instance
    }
    
    func sortedInstances(m map[*syntax.Name]Instance) (instances []recordedInstance) {
    	for id, inst := range m {
    		instances = append(instances, recordedInstance{id, inst})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. src/go/types/api_test.go

    				}
    				if !Identical(inst.Inst.Type, inst2) {
    					t.Errorf("%v and %v are not identical", inst.Inst.Type, inst2)
    				}
    			}
    		})
    	}
    }
    
    type recordedInstance struct {
    	Ident *ast.Ident
    	Inst  Instance
    }
    
    func sortedInstances(m map[*ast.Ident]Instance) (instances []recordedInstance) {
    	for id, inst := range m {
    		instances = append(instances, recordedInstance{id, inst})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/riscv/inst.go

    		return &inst{0x2f, 0x2, 0x0, -512, 0x70}
    	case AAMOMIND:
    		return &inst{0x2f, 0x3, 0x0, -2048, 0x40}
    	case AAMOMINW:
    		return &inst{0x2f, 0x2, 0x0, -2048, 0x40}
    	case AAMOMINUD:
    		return &inst{0x2f, 0x3, 0x0, -1024, 0x60}
    	case AAMOMINUW:
    		return &inst{0x2f, 0x2, 0x0, -1024, 0x60}
    	case AAMOORD:
    		return &inst{0x2f, 0x3, 0x0, 1024, 0x20}
    	case AAMOORW:
    		return &inst{0x2f, 0x2, 0x0, 1024, 0x20}
    	case AAMOSWAPD:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top