Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for namebuf (0.24 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go

    }
    
    func BpxOpen(name string, options *BpxFilestatus, mode *BpxMode) (rv int32, rc int32, rn int32) {
    	if len(name) < 1024 {
    		var namebuf [1024]byte
    		sz := int32(copy(namebuf[:], name))
    		A2e(namebuf[:sz])
    		var parms [7]unsafe.Pointer
    		parms[0] = unsafe.Pointer(&sz)
    		parms[1] = unsafe.Pointer(&namebuf[0])
    		parms[2] = unsafe.Pointer(options)
    		parms[3] = unsafe.Pointer(mode)
    		parms[4] = unsafe.Pointer(&rv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. src/runtime/type.go

    	i, l := n.ReadVarint(1)
    	off := 1 + i + l
    	if *n.Data(0)&(1<<1) != 0 {
    		i2, l2 := n.ReadVarint(off)
    		off += i2 + l2
    	}
    	var nameOff nameOff
    	copy((*[4]byte)(unsafe.Pointer(&nameOff))[:], (*[4]byte)(unsafe.Pointer(n.Data(off)))[:])
    	pkgPathName := resolveNameOff(unsafe.Pointer(n.Bytes), nameOff)
    	return pkgPathName.Name()
    }
    
    // typelinksinit scans the types from extra modules and builds the
    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/reflectlite/type.go

    		i2, l2 := n.ReadVarint(off)
    		off += i2 + l2
    	}
    	var nameOff int32
    	// Note that this field may not be aligned in memory,
    	// so we cannot use a direct int32 assignment here.
    	copy((*[4]byte)(unsafe.Pointer(&nameOff))[:], (*[4]byte)(unsafe.Pointer(n.DataChecked(off, "name offset field")))[:])
    	pkgPathName := name{(*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))}
    	return pkgPathName.name()
    }
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/internal/abi/type.go

    	// versions of types with GC programs.
    	// These types need to be deallocated when the underlying object
    	// is freed.
    	TFlagUnrolledBitmap TFlag = 1 << 4
    )
    
    // NameOff is the offset to a name from moduledata.types.  See resolveNameOff in runtime.
    type NameOff int32
    
    // TypeOff is the offset to a type from moduledata.types.  See resolveTypeOff in runtime.
    type TypeOff int32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K 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/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)
  8. 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)
  9. 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)
  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