Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for textOff (0.33 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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