Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for noff (0.04 sec)

  1. src/internal/trace/internal/oldtrace/parser.go

    	lastGs map[int32]uint64
    	lastP  int32
    }
    
    func (p *parser) discard(n uint64) bool {
    	if n > math.MaxInt {
    		return false
    	}
    	if noff := p.off + int(n); noff < p.off || noff > len(p.data) {
    		return false
    	} else {
    		p.off = noff
    	}
    	return true
    }
    
    func newParser(r io.Reader, ver version.Version) (*parser, error) {
    	var buf []byte
    	if seeker, ok := r.(io.Seeker); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/staticinit/sched.go

    }
    
    // like staticassign but we are copying an already
    // initialized value r.
    func (s *Schedule) staticcopy(l *ir.Name, loff int64, rn *ir.Name, typ *types.Type) bool {
    	if rn.Class == ir.PFUNC {
    		// TODO if roff != 0 { panic }
    		staticdata.InitAddr(l, loff, staticdata.FuncLinksym(rn))
    		return true
    	}
    	if rn.Class != ir.PEXTERN || rn.Sym().Pkg != types.LocalPkg {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/liveness/plive.go

    	off := objw.Uint32(lsym, 0, uint32(nbitmap))
    	off = objw.Uint32(lsym, off, uint32(bv.N))
    	off = objw.BitVec(lsym, off, bv)
    
    	if fn.Type().NumResults() > 0 {
    		for _, p := range abiInfo.OutParams() {
    			if len(p.Registers) == 0 {
    				typebits.SetNoCheck(p.Type, p.FrameOffset(abiInfo), bv)
    			}
    		}
    		off = objw.BitVec(lsym, off, bv)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/dwarf_test.go

    	}
    
    	if off := typedieof(ptrastructTypeDIE); off != astructTypeDIE.Offset {
    		t.Errorf("type attribute of *main.astruct references %#x, not main.astruct DIE at %#x\n", off, astructTypeDIE.Offset)
    	}
    
    	if off := typedieof(globalptrDIE); off != ptrastructTypeDIE.Offset {
    		t.Errorf("type attribute of main.globalptr references %#x, not *main.astruct DIE at %#x\n", off, ptrastructTypeDIE.Offset)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  5. src/debug/gosym/pclntab.go

    	return v
    }
    
    // funcName returns the name of the function found at off.
    func (t *LineTable) funcName(off uint32) string {
    	if s, ok := t.funcNames[off]; ok {
    		return s
    	}
    	i := bytes.IndexByte(t.funcnametab[off:], 0)
    	s := string(t.funcnametab[off : off+uint32(i)])
    	t.funcNames[off] = s
    	return s
    }
    
    // stringFrom returns a Go string found at off from a position.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadelf/ldelf.go

    					rAdd = int64(e.Uint32(sect.base[rOff:]))
    				} else if rSize == 8 {
    					rAdd = int64(e.Uint64(sect.base[rOff:]))
    				} else {
    					return errorf("invalid rela size %d", rSize)
    				}
    			}
    
    			if addendSize == 2 {
    				rAdd = int64(int16(rAdd))
    			}
    			if addendSize == 4 {
    				rAdd = int64(int32(rAdd))
    			}
    
    			r, _ := sb.AddRel(rType)
    			r.SetOff(rOff)
    			r.SetSiz(rSize)
    			r.SetSym(rSym)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/arm64/asm.go

    // relocation targeting s+off. The label symbols is used on Darwin/Windows
    // when external linking, so that the addend fits in a Mach-O/PE relocation.
    func offsetLabelName(ldr *loader.Loader, s loader.Sym, off int64) string {
    	if off>>20<<20 == off {
    		return fmt.Sprintf("%s+%dMB", ldr.SymExtname(s), off>>20)
    	}
    	return fmt.Sprintf("%s+%d", ldr.SymExtname(s), off)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 47K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/deadcode.go

    		off += 3 * arch.PtrSize
    	case abi.Chan: // reflect.chanType
    		off += 2 * arch.PtrSize
    	case abi.Map: // reflect.mapType
    		off += 4*arch.PtrSize + 8
    	case abi.Interface: // reflect.interfaceType
    		off += 3 * arch.PtrSize
    	default:
    		// just Sizeof(rtype)
    	}
    
    	mcount := int(decodeInuxi(arch, p[off+4:], 2))
    	moff := int(decodeInuxi(arch, p[off+4+2+2:], 4))
    	off += moff                // offset to array of reflect.method values
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    					continue
    				}
    				off := 0
    				if m[1] != "" {
    					off, _ = strconv.Atoi(m[2])
    				}
    				if off >= localSize {
    					if fn != nil {
    						v := fn.varByOffset[off-localSize]
    						if v != nil {
    							badf("%s should be %s+%d(FP)", m[1], v.name, off-localSize)
    							continue
    						}
    					}
    					if off >= localSize+argSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/p256_asm_arm64.s

    #define y2in(off)  (32*0 + 8 + off)(RSP)
    #define s2(off)    (32*1 + 8 + off)(RSP)
    #define z1sqr(off) (32*2 + 8 + off)(RSP)
    #define h(off)	   (32*3 + 8 + off)(RSP)
    #define r(off)	   (32*4 + 8 + off)(RSP)
    #define hsqr(off)  (32*5 + 8 + off)(RSP)
    #define rsqr(off)  (32*6 + 8 + off)(RSP)
    #define hcub(off)  (32*7 + 8 + off)(RSP)
    
    #define z2sqr(off) (32*8 + 8 + off)(RSP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 29.7K bytes
    - Viewed (0)
Back to top