Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for namebuf (0.14 sec)

  1. src/runtime/symtabinl.go

    	_ "unsafe" // for linkname
    )
    
    // inlinedCall is the encoding of entries in the FUNCDATA_InlTree table.
    type inlinedCall struct {
    	funcID    abi.FuncID // type of the called function
    	_         [3]byte
    	nameOff   int32 // offset into pclntab for name of called function
    	parentPc  int32 // position of an instruction whose source position is the call site (offset from entry)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/DependencyState.java

            String extension = avs.getExtension() != null ? avs.getExtension() : avs.getType();
            return new DefaultIvyArtifactName(
                nameOf(target),
                avs.getType(),
                extension,
                avs.getClassifier()
            );
        }
    
        private static String nameOf(ComponentSelector target) {
            if (target instanceof ModuleComponentSelector) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  3. src/reflect/type.go

    type interfaceType struct {
    	abi.InterfaceType // can embed directly because not a public type.
    }
    
    func (t *interfaceType) nameOff(off aNameOff) abi.Name {
    	return toRType(&t.Type).nameOff(off)
    }
    
    func nameOffFor(t *abi.Type, off aNameOff) abi.Name {
    	return toRType(t).nameOff(off)
    }
    
    func typeOffFor(t *abi.Type, off aTypeOff) *abi.Type {
    	return toRType(t).typeOff(off)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  4. src/internal/reflectlite/export_test.go

    func FirstMethodNameBytes(t Type) *byte {
    	_ = pinUnexpMethI
    
    	ut := t.uncommon()
    	if ut == nil {
    		panic("type has no methods")
    	}
    	m := ut.Methods()[0]
    	mname := t.(rtype).nameOff(m.Name)
    	if *mname.DataChecked(0, "name flag field")&(1<<2) == 0 {
    		panic("method name does not have pkgPath *string")
    	}
    	return mname.Bytes
    }
    
    type Buffer struct {
    	buf []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. src/runtime/symtab.go

    				break
    			}
    		}
    	}
    	return res, true
    }
    
    // funcName returns the string at nameOff in the function name table.
    func (md *moduledata) funcName(nameOff int32) string {
    	if nameOff == 0 {
    		return ""
    	}
    	return gostringnocopy(&md.funcnametab[nameOff])
    }
    
    // FuncForPC returns a *[Func] describing the function that contains the
    // given program counter address, or else nil.
    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/go/ast/filter.go

    	FilterUnassociatedComments
    	// If set, duplicate import declarations are excluded.
    	FilterImportDuplicates
    )
    
    // nameOf returns the function (foo) or method name (foo.bar) for
    // the given function declaration. If the AST is incorrect for the
    // receiver, it assumes a function instead.
    func nameOf(f *FuncDecl) string {
    	if r := f.Recv; r != nil && len(r.List) == 1 {
    		// looks like a correct receiver declaration
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/runtime/plugin.go

    // A ptabEntry is generated by the compiler for each exported function
    // and global variable in the main package of a plugin. It is used to
    // initialize the plugin module's symbol map.
    type ptabEntry struct {
    	name nameOff
    	typ  typeOff
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/pcln.go

    		}
    		off = sb.SetUint32(ctxt.Arch, off, uint32(entryOff))
    
    		// nameOff int32
    		nameOff, ok := nameOffsets[s]
    		if !ok {
    			panic("couldn't find function name offset")
    		}
    		off = sb.SetUint32(ctxt.Arch, off, uint32(nameOff))
    
    		// args int32
    		// TODO: Move into funcinfo.
    		args := uint32(0)
    		if fi.Valid() {
    			args = uint32(fi.Args())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  9. src/runtime/iface.go

    		i := &inter.Methods[k]
    		itype := toRType(&inter.Type).typeOff(i.Typ)
    		name := toRType(&inter.Type).nameOff(i.Name)
    		iname := name.Name()
    		ipkg := pkgPath(name)
    		if ipkg == "" {
    			ipkg = inter.PkgPath.Name()
    		}
    		for ; j < nt; j++ {
    			t := &xmhdr[j]
    			rtyp := toRType(typ)
    			tname := rtyp.nameOff(t.Name)
    			if rtyp.typeOff(t.Mtyp) == itype && tname.Name() == iname {
    				pkgPath := pkgPath(tname)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/value.go

    			v.Fatalf("spill/restore type %s doesn't fit in slot type %s", v.Type, loc.Type)
    		}
    		return loc.N, loc.Off
    	}
    	// Assume it is a register, return its spill slot, which needs to be live
    	nameOff := v.Aux.(*AuxNameOffset)
    	return nameOff.Name, nameOff.Offset
    }
    
    // CanSSA reports whether values of type t can be represented as a Value.
    func CanSSA(t *types.Type) bool {
    	types.CalcSize(t)
    	if t.Size() > int64(4*types.PtrSize) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top