Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for textOff (0.19 sec)

  1. src/cmd/internal/codesign/codesign.go

    // data is the file content without the signature, of size codeSize.
    // textOff and textSize is the file offset and size of the text segment.
    // isMain is true if this is a main executable.
    // id is the identifier used for signing (a field in CodeDirectory blob, which
    // has no significance in ad-hoc signing).
    func Sign(out []byte, data io.Reader, id string, codeSize, textOff, textSize int64, isMain bool) {
    	nhashes := (codeSize + pageSize - 1) / pageSize
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:19 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/vendor/golang.org/x/net/route/sys_dragonfly.go

    	return []Sys{
    		&InterfaceMetrics{
    			Type: int(m.raw[m.extOff]),
    			MTU:  int(nativeEndian.Uint32(m.raw[m.extOff+8 : m.extOff+12])),
    		},
    	}
    }
    
    func probeRoutingStack() (int, map[int]*wireFormat) {
    	var p uintptr
    	rtm := &wireFormat{extOff: 40, bodyOff: sizeofRtMsghdrDragonFlyBSD4}
    	rtm.parse = rtm.parseRouteMessage
    	ifm := &wireFormat{extOff: 16, bodyOff: sizeofIfMsghdrDragonFlyBSD4}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 05 19:54:32 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. 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)
Back to top