Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for ptrType (0.12 sec)

  1. src/runtime/mbitmap.go

    	t := e._type
    
    	var et *_type
    	if t.Kind_&abi.KindMask != abi.Pointer {
    		throw("bad argument to getgcmask: expected type to be a pointer to the value type whose mask is being queried")
    	}
    	et = (*ptrtype)(unsafe.Pointer(t)).Elem
    
    	// data or bss
    	for _, datap := range activeModules() {
    		// data
    		if datap.data <= uintptr(p) && uintptr(p) < datap.edata {
    			bitmap := datap.gcdatamask.bytedata
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. src/cmd/internal/dwarf/dwarf.go

    			{DW_AT_type, DW_FORM_ref_addr},
    			{DW_AT_go_kind, DW_FORM_data1},
    			{DW_AT_go_runtime_type, DW_FORM_addr},
    			{DW_AT_go_key, DW_FORM_ref_addr},
    			{DW_AT_go_elem, DW_FORM_ref_addr},
    		},
    	},
    
    	/* PTRTYPE */
    	{
    		DW_TAG_pointer_type,
    		DW_CHILDREN_no,
    		[]dwAttrForm{
    			{DW_AT_name, DW_FORM_string},
    			{DW_AT_type, DW_FORM_ref_addr},
    			{DW_AT_go_kind, DW_FORM_data1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  3. src/runtime/mheap.go

    	nret    uintptr
    	fint    *_type   // May be a heap pointer, but always live.
    	ot      *ptrtype // May be a heap pointer, but always live.
    }
    
    // Adds a finalizer to the object p. Returns true if it succeeded.
    func addfinalizer(p unsafe.Pointer, f *funcval, nret uintptr, fint *_type, ot *ptrtype) bool {
    	lock(&mheap_.speciallock)
    	s := (*specialfinalizer)(mheap_.specialfinalizeralloc.alloc())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/dwarf_test.go

    		"internal/abi.Type":          true,
    		"internal/abi.ArrayType":     true,
    		"internal/abi.ChanType":      true,
    		"internal/abi.FuncType":      true,
    		"internal/abi.MapType":       true,
    		"internal/abi.PtrType":       true,
    		"internal/abi.SliceType":     true,
    		"internal/abi.StructType":    true,
    		"internal/abi.InterfaceType": true,
    		"internal/abi.ITab":          true,
    	}
    
    	found := findTypes(t, dwarf, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 01:38:11 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  5. src/runtime/export_test.go

    }
    
    func (a *UserArena) New(out *any) {
    	i := efaceOf(out)
    	typ := i._type
    	if typ.Kind_&abi.KindMask != abi.Pointer {
    		panic("new result of non-ptr type")
    	}
    	typ = (*ptrtype)(unsafe.Pointer(typ)).Elem
    	i.data = a.arena.new(typ)
    }
    
    func (a *UserArena) Slice(sl any, cap int) {
    	a.arena.slice(sl, cap)
    }
    
    func (a *UserArena) Free() {
    	a.arena.free()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/parser.go

    			// the decision towards a type parameter list.
    			if pname, ptype := extractName(x, p.tok == _Comma); pname != nil && (ptype != nil || p.tok != _Rbrack) {
    				// d.Name "[" pname ...
    				// d.Name "[" pname ptype ...
    				// d.Name "[" pname ptype "," ...
    				d.TParamList = p.paramList(pname, ptype, _Rbrack, true) // ptype may be nil
    				d.Alias = p.gotAssign()
    				d.Type = p.typeOrNil()
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/dwarf.go

    	for _, typ := range []string{
    		"type:internal/abi.Type",
    		"type:internal/abi.ArrayType",
    		"type:internal/abi.ChanType",
    		"type:internal/abi.FuncType",
    		"type:internal/abi.MapType",
    		"type:internal/abi.PtrType",
    		"type:internal/abi.SliceType",
    		"type:internal/abi.StructType",
    		"type:internal/abi.InterfaceType",
    		"type:internal/abi.ITab",
    		"type:internal/abi.Imethod"} {
    		d.defgotype(d.lookupOrDiag(typ))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*LineReader).Reset", Method, 5},
    		{"(*LineReader).Seek", Method, 5},
    		{"(*LineReader).SeekPC", Method, 5},
    		{"(*LineReader).Tell", Method, 5},
    		{"(*PtrType).Common", Method, 0},
    		{"(*PtrType).Size", Method, 0},
    		{"(*PtrType).String", Method, 0},
    		{"(*QualType).Common", Method, 0},
    		{"(*QualType).Size", Method, 0},
    		{"(*QualType).String", Method, 0},
    		{"(*Reader).AddressSize", Method, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  9. src/reflect/value.go

    				}
    			}
    			ptr = *(*unsafe.Pointer)(ptr)
    		}
    		// The returned value's address is v's value.
    		if ptr == nil {
    			return Value{}
    		}
    		tt := (*ptrType)(unsafe.Pointer(v.typ()))
    		typ := tt.Elem
    		fl := v.flag&flagRO | flagIndir | flagAddr
    		fl |= flag(typ.Kind())
    		return Value{typ, ptr, fl}
    	}
    	panic(&ValueError{"reflect.Value.Elem", v.kind()})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/DirectInstantiator.java

                if (param == null) {
                    continue;
                }
                Class<?> pType = param.getClass();
                if (pType.isPrimitive()) {
                    pType = JavaReflectionUtil.getWrapperTypeForPrimitiveType(pType);
                }
                result[i] = pType;
            }
            return result;
        }
    
        @VisibleForTesting
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top