Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 320 for Rsize (0.07 sec)

  1. src/cmd/link/internal/loadxcoff/ldxcoff.go

    				}
    				rSize = 8
    				rType = objabi.R_CONST
    				rAdd = int64(rx.Symbol.Value)
    
    			case xcoff.R_RBR:
    				rSize = 4
    				rType = objabi.R_CALLPOWER
    				rAdd = 0
    			}
    			r, _ := sb.AddRel(rType)
    			r.SetOff(rOff)
    			r.SetSiz(rSize)
    			r.SetSym(rSym)
    			r.SetAdd(rAdd)
    		}
    	}
    	return textp, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/symbolbuilder.go

    }
    
    func (sb *SymbolBuilder) addSymRef(tgt Sym, add int64, typ objabi.RelocType, rsize int) int64 {
    	if sb.kind == 0 {
    		sb.kind = sym.SDATA
    	}
    	i := sb.size
    
    	sb.size += int64(rsize)
    	sb.Grow(sb.size)
    
    	r, _ := sb.AddRel(typ)
    	r.SetSym(tgt)
    	r.SetOff(int32(i))
    	r.SetSiz(uint8(rsize))
    	r.SetAdd(add)
    
    	return i + int64(rsize)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 15:25:19 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. src/internal/xcoff/file.go

    				}
    				reloc.VirtualAddress = uint64(rel.Rvaddr)
    				reloc.Symbol = idxToSym[int(rel.Rsymndx)]
    				reloc.Type = rel.Rtype
    				reloc.Length = rel.Rsize&0x3F + 1
    
    				if rel.Rsize&0x80 != 0 {
    					reloc.Signed = true
    				}
    				if rel.Rsize&0x40 != 0 {
    					reloc.InstructionFixed = true
    				}
    
    			case U64_TOCMAGIC:
    				rel := new(Reloc64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loadelf/ldelf.go

    			rType := objabi.ElfRelocOffset + objabi.RelocType(relocType)
    			rSize, addendSize, err := relSize(arch, pn, uint32(relocType))
    			if err != nil {
    				return nil, 0, err
    			}
    			if rela != 0 {
    				rAdd = int64(add)
    			} else {
    				// load addend from image
    				if rSize == 4 {
    					rAdd = int64(e.Uint32(sect.base[rOff:]))
    				} else if rSize == 8 {
    					rAdd = int64(e.Uint64(sect.base[rOff:]))
    				} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  5. src/internal/xcoff/xcoff.go

    type Reloc32 struct {
    	Rvaddr  uint32 // (virtual) address of reference
    	Rsymndx uint32 // Index into symbol table
    	Rsize   uint8  // Sign and reloc bit len
    	Rtype   uint8  // Toc relocation type
    }
    
    type Reloc64 struct {
    	Rvaddr  uint64 // (virtual) address of reference
    	Rsymndx uint32 // Index into symbol table
    	Rsize   uint8  // Sign and reloc bit len
    	Rtype   uint8  // Toc relocation type
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadmacho/ldmacho.go

    		if bld.Type() != 0 {
    			return errorf("duplicate %s/%s", sect.segname, sect.name)
    		}
    
    		if sect.flags&0xff == 1 { // S_ZEROFILL
    			bld.SetData(make([]byte, sect.size))
    		} else {
    			bld.SetReadOnly(readOnly)
    			bld.SetData(dat[sect.addr-c.seg.vmaddr:][:sect.size])
    		}
    		bld.SetSize(int64(len(bld.Data())))
    
    		if sect.segname == "__TEXT" {
    			if sect.name == "__text" {
    				bld.SetType(sym.STEXT)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 18:45:57 UTC 2022
    - 19.1K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loadpe/ldpe.go

    	sectsyms        map[*pe.Section]loader.Sym
    	comdats         map[uint16]int64 // key is section index, val is size
    	sectdata        map[*pe.Section][]byte
    	localSymVersion int
    }
    
    // comdatDefinitions records the names of symbols for which we've
    // previously seen a definition in COMDAT. Key is symbol name, value
    // is symbol size (or -1 if we're using the "any" strategy).
    var comdatDefinitions map[string]int64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  8. pkg/volume/util/hostutil/hostutil_linux_test.go

    227 62 253:0 /var/lib/docker/devicemapper /var/lib/docker/devicemapper rw,relatime - ext4 /dev/mapper/ssd-root rw,seclabel,data=ordered
    150 23 1:58 / /media/nfs_vol rw,relatime shared:89 - nfs4 172.18.4.223:/srv/nfs rw,vers=4.0,rsize=524288,wsize=524288,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=172.18.4.223,local_lock=none,addr=172.18.4.223
    `
    	tempDir, filename, err := writeFile(info)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/dwarf.go

    	size := 4
    	if isDwarf64(c.linkctxt) {
    		size = 8
    	}
    	ds := loader.Sym(s.(dwSym))
    	dsu := c.ldr.MakeSymbolUpdater(ds)
    	tds := loader.Sym(t.(dwSym))
    	switch size {
    	default:
    		c.linkctxt.Errorf(ds, "invalid size %d in adddwarfref\n", size)
    	case c.arch.PtrSize, 4:
    	}
    	dsu.AddSymRef(c.arch, tds, ofs, objabi.R_DWARFSECREF, size)
    }
    
    func (c dwctxt) Logf(format string, args ...interface{}) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  10. src/math/big/rat.go

    func quotToFloat32(a, b nat) (f float32, exact bool) {
    	const (
    		// float size in bits
    		Fsize = 32
    
    		// mantissa
    		Msize  = 23
    		Msize1 = Msize + 1 // incl. implicit 1
    		Msize2 = Msize1 + 1
    
    		// exponent
    		Esize = Fsize - Msize1
    		Ebias = 1<<(Esize-1) - 1
    		Emin  = 1 - Ebias
    		Emax  = Ebias
    	)
    
    	// TODO(adonovan): specialize common degenerate cases: 1.0, integers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 13.5K bytes
    - Viewed (0)
Back to top