- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for textOff (0.31 sec)
-
src/runtime/type.go
// Runtime type representation. package runtime import ( "internal/abi" "unsafe" ) type nameOff = abi.NameOff type typeOff = abi.TypeOff type textOff = abi.TextOff type _type = abi.Type // rtype is a wrapper that allows us to define additional methods. type rtype struct { *abi.Type // embedding is okay here (unlike reflect) because none of this is public }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 12.7K bytes - Viewed (0) -
src/internal/abi/type.go
type NameOff int32 // TypeOff is the offset to a type from moduledata.types. See resolveTypeOff in runtime. type TypeOff int32 // TextOff is an offset from the top of a text section. See (rtype).textOff in runtime. type TextOff int32 // String returns the name of k. func (k Kind) String() string { if int(k) < len(kindNames) { return kindNames[k] } return kindNames[0] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
src/runtime/runtime1.go
// See go.dev/issue/67401. // //go:linkname reflect_resolveTextOff reflect.resolveTextOff func reflect_resolveTextOff(rtype unsafe.Pointer, off int32) unsafe.Pointer { return toRType((*_type)(rtype)).textOff(textOff(off)) } // reflectlite_resolveNameOff resolves a name offset from a base pointer. // //go:linkname reflectlite_resolveNameOff internal/reflectlite.resolveNameOff
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
src/internal/reflectlite/type.go
Interface = abi.Interface Slice = abi.Slice String = abi.String Struct = abi.Struct ) type nameOff = abi.NameOff type typeOff = abi.TypeOff type textOff = abi.TextOff type rtype struct { *abi.Type } // uncommonType is present only for defined types or types with methods // (if T is a defined type, the uncommonTypes for T and *T have methods).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/runtime/symtab.go
throw("runtime: text offset out of range") } } return res } // textOff is the opposite of textAddr. It converts a PC to a (virtual) offset // to md.text, and returns if the PC is in any Go text section. // // It is nosplit because it is part of the findfunc implementation. // //go:nosplit func (md *moduledata) textOff(pc uintptr) (uint32, bool) { res := uint32(pc - md.text) if len(md.textsectmap) > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 40K bytes - Viewed (0) -
src/reflect/type.go
return (*abi.Type)(resolveTypeOff(unsafe.Pointer(t), int32(off))) } func (t *rtype) textOff(off aTextOff) unsafe.Pointer { return resolveTextOff(unsafe.Pointer(t), int32(off)) } func textOffFor(t *abi.Type, off aTextOff) unsafe.Pointer { return toRType(t).textOff(off) } func (t *rtype) String() string { s := t.nameOff(t.t.Str).Name() if t.t.TFlag&abi.TFlagExtraStar != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/runtime/iface.go
pkgPath := pkgPath(tname) if pkgPath == "" { pkgPath = rtyp.nameOff(x.PkgPath).Name() } if tname.IsExported() || pkgPath == ipkg { ifn := rtyp.textOff(t.Ifn) if k == 0 { fun0 = ifn // we'll set m.Fun[0] at the end } else if firstTime { methods[k] = ifn } continue imethods } } } // didn't find method
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} else if (GLOBALPARAMS.equalsIgnoreCase(tagQueue.get(tagQueue.size() - 2))) { globalParams.put(GOOD_URLS, textBuf.toString()); } } else if (BAD_URLS.equalsIgnoreCase(qName)) { if (labelType != null) { labelType.setExcludedPaths(parseFilterPaths(textBuf.toString(), true, true));
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.1K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/route_classic.go
Type: int(b[3]), Flags: int(nativeEndian.Uint32(b[8:12])), Index: int(nativeEndian.Uint16(b[4:6])), ID: uintptr(nativeEndian.Uint32(b[16:20])), Seq: int(nativeEndian.Uint32(b[20:24])), extOff: w.extOff, raw: b[:l], } errno := syscall.Errno(nativeEndian.Uint32(b[28:32])) if errno != 0 { m.Err = errno } var err error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.9K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/interface_classic.go
} m := &InterfaceMessage{ Version: int(b[2]), Type: int(b[3]), Addrs: make([]Addr, syscall.RTAX_MAX), Flags: int(nativeEndian.Uint32(b[8:12])), Index: int(nativeEndian.Uint16(b[12:14])), extOff: w.extOff, raw: b[:l], } a, err := parseLinkAddr(b[w.bodyOff:]) if err != nil { return nil, err } m.Addrs[syscall.RTAX_IFP] = a m.Name = a.(*LinkAddr).Name return m, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.6K bytes - Viewed (0)