Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for namebuf (0.28 sec)

  1. src/cmd/link/internal/loadelf/ldelf.go

    	if err := elfmap(elfobj, sect); err != nil {
    		return errorf("malformed elf file: %v", err)
    	}
    	for i := 0; uint(i) < elfobj.nsect; i++ {
    		if elfobj.sect[i].nameoff != 0 {
    			elfobj.sect[i].name = cstring(sect.base[elfobj.sect[i].nameoff:])
    		}
    	}
    
    	// load string table for symbols into memory.
    	elfobj.symtab = section(elfobj, ".symtab")
    
    	if elfobj.symtab == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:12:12 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. src/debug/dwarf/line.go

    			if uint64(int(off)) != off {
    				return "", 0, 0, DecodeError{"line", r.buf.off, "strp/line_strp offset out of range"}
    			}
    			var b1 buf
    			if lf.form == formStrp {
    				b1 = makeBuf(r.buf.dwarf, r.buf.format, "str", 0, r.str)
    			} else {
    				b1 = makeBuf(r.buf.dwarf, r.buf.format, "line_str", 0, r.lineStr)
    			}
    			b1.skip(int(off))
    			str = b1.string()
    			if b1.err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 23.5K bytes
    - Viewed (0)
  3. src/runtime/heapdump.go

    	// dump the type
    	dumpint(tagType)
    	dumpint(uint64(uintptr(unsafe.Pointer(t))))
    	dumpint(uint64(t.Size_))
    	rt := toRType(t)
    	if x := t.Uncommon(); x == nil || rt.nameOff(x.PkgPath).Name() == "" {
    		dumpstr(rt.string())
    	} else {
    		pkgpath := rt.nameOff(x.PkgPath).Name()
    		name := rt.name()
    		dumpint(uint64(uintptr(len(pkgpath)) + 1 + uintptr(len(name))))
    		dwrite(unsafe.Pointer(unsafe.StringData(pkgpath)), uintptr(len(pkgpath)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/runtime/runtime1.go

    // See go.dev/issue/67401.
    //
    //go:linkname reflect_resolveNameOff reflect.resolveNameOff
    func reflect_resolveNameOff(ptrInModule unsafe.Pointer, off int32) unsafe.Pointer {
    	return unsafe.Pointer(resolveNameOff(ptrInModule, nameOff(off)).Bytes)
    }
    
    // reflect_resolveTypeOff resolves an *rtype offset from a base type.
    //
    // reflect_resolveTypeOff is meant for package reflect,
    // but widely used packages access it using linkname.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/runtime/os_linux.go

    var sysTHPSizePath = []byte("/sys/kernel/mm/transparent_hugepage/hpage_pmd_size\x00")
    
    func getHugePageSize() uintptr {
    	var numbuf [20]byte
    	fd := open(&sysTHPSizePath[0], 0 /* O_RDONLY */, 0)
    	if fd < 0 {
    		return 0
    	}
    	ptr := noescape(unsafe.Pointer(&numbuf[0]))
    	n := read(fd, ptr, int32(len(numbuf)))
    	closefd(fd)
    	if n <= 0 {
    		return 0
    	}
    	n-- // remove trailing newline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/decodesym.go

    	off := decodetypeStructFieldArrayOff(ldr, arch, symIdx, i)
    	relocs := ldr.Relocs(symIdx)
    	return decodetypeNameEmbedded(ldr, symIdx, &relocs, off)
    }
    
    // decodetypeStr returns the contents of an rtype's str field (a nameOff).
    func decodetypeStr(ldr *loader.Loader, arch *sys.Arch, symIdx loader.Sym) string {
    	relocs := ldr.Relocs(symIdx)
    	str := decodetypeName(ldr, symIdx, &relocs, 4*arch.PtrSize+8)
    	data := ldr.Data(symIdx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/debug/gosym/pclntab.go

    		f.End = ft.pc(i + 1)
    		info := t.funcData(uint32(i))
    		f.LineTable = t
    		f.FrameSize = int(info.deferreturn())
    		syms[i] = Sym{
    			Value:     f.Entry,
    			Type:      'T',
    			Name:      t.funcName(info.nameOff()),
    			GoType:    0,
    			Func:      f,
    			goVersion: t.version,
    		}
    		f.Sym = &syms[i]
    	}
    	return funcs
    }
    
    // findFunc returns the funcData corresponding to the given program counter.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/pe.go

    	0x00,
    	0x00,
    	0x00,
    	0x00,
    	0x00,
    }
    
    type Imp struct {
    	s       loader.Sym
    	off     uint64
    	next    *Imp
    	argsize int
    }
    
    type Dll struct {
    	name     string
    	nameoff  uint64
    	thunkoff uint64
    	ms       *Imp
    	next     *Dll
    }
    
    var (
    	rsrcsyms    []loader.Sym
    	PESECTHEADR int32
    	PEFILEHEADR int32
    	pe64        int
    	dr          *Dll
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.css

    ut;animation-fill-mode:both}.uk-animation-fade{animation-name:uk-fade;animation-duration:.8s;animation-timing-function:linear}.uk-animation-scale-up{animation-name:uk-fade-scale-02}.uk-animation-scale-down{animation-name:uk-fade-scale-18}.uk-animation-slide-top{animation-name:uk-fade-top}.uk-animation-slide-bottom{animation-name:uk-fade-bottom}.uk-animation-slide-left{animation-name:uk-fade-left}.uk-animation-slide-right{animation-name:uk-fade-right}.uk-animation-slide-top-small{animation-name:u...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 257.2K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/deadcode.go

    		return unicode.IsUpper(r)
    	}
    	panic("methodref has no signature")
    }
    
    // decodeMethodSig decodes an array of method signature information.
    // Each element of the array is size bytes. The first 4 bytes is a
    // nameOff for the method name, and the next 4 bytes is a typeOff for
    // the function type.
    //
    // Conveniently this is the layout of both runtime.method and runtime.imethod.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top