Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for Rsize (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/java/jcifs/smb/SmbCopyUtil.java

                    do {
                        long ooff = 0;
                        while ( ooff < size ) {
                            long wsize = size - ooff;
                            if ( wsize > byteLimit ) {
                                wsize = byteLimit;
                            }
    
                            int chunks = (int) ( wsize / maxChunkSize );
                            int lastChunkSize;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/size.go

    		intRegs += uint64(typ.intRegs)
    		floatRegs += uint64(typ.floatRegs)
    	}
    
    	// Final size includes trailing padding.
    	size = RoundUp(size, int64(maxAlign))
    
    	if intRegs > math.MaxUint8 || floatRegs > math.MaxUint8 {
    		intRegs = math.MaxUint8
    		floatRegs = math.MaxUint8
    	}
    
    	t.width = size
    	t.align = maxAlign
    	t.intRegs = uint8(intRegs)
    	t.floatRegs = uint8(floatRegs)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. src/cmd/internal/archive/archive.go

    		fsize := size + size&1
    		if fsize < 0 || fsize < size {
    			return errCorruptArchive
    		}
    		switch name {
    		case "__.PKGDEF":
    			r.a.Entries = append(r.a.Entries, Entry{
    				Name:  name,
    				Type:  EntryPkgDef,
    				Mtime: mtime,
    				Uid:   uid,
    				Gid:   gid,
    				Mode:  mode,
    				Data:  Data{r.offset, size},
    			})
    			r.skip(size)
    		case "preferlinkext", "dynimportfail":
    			if size == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top