- Sort Score
- Result 10 results
- Languages All
Results 51 - 59 of 59 for UnsafePointer (0.26 sec)
-
src/cmd/compile/internal/types2/predicates.go
} // fallthrough } return false } // hasNil reports whether type t includes the nil value. func hasNil(t Type) bool { switch u := under(t).(type) { case *Basic: return u.kind == UnsafePointer case *Slice, *Pointer, *Signature, *Map, *Chan: return true case *Interface: return !isTypeParam(t) || u.typeSet().underIs(func(u Type) bool { return u != nil && hasNil(u) }) } return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go
arch.sizes = types.SizesFor("gc", "amd64") log.Printf("unknown architecture %s", arch.name) } arch.intSize = int(arch.sizes.Sizeof(types.Typ[types.Int])) arch.ptrSize = int(arch.sizes.Sizeof(types.Typ[types.UnsafePointer])) arch.maxAlign = int(arch.sizes.Alignof(types.Typ[types.Int64])) } } var ( re = regexp.MustCompile asmPlusBuild = re(`//\s+\+build\s+([^\n]+)`)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 22.8K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, const Uint64 BasicKind pkg go/types, const Uint8 = 8 pkg go/types, const Uint8 BasicKind pkg go/types, const Uintptr = 12 pkg go/types, const Uintptr BasicKind pkg go/types, const UnsafePointer = 18 pkg go/types, const UnsafePointer BasicKind pkg go/types, const UntypedBool = 19 pkg go/types, const UntypedBool BasicKind pkg go/types, const UntypedComplex = 23 pkg go/types, const UntypedComplex BasicKind
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
schema/field.go
ef.TagSettings[k] = v } } case reflect.Invalid, reflect.Uintptr, reflect.Array, reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice, reflect.UnsafePointer, reflect.Complex64, reflect.Complex128: schema.err = fmt.Errorf("invalid embedded struct for %s's field %s, should be struct, but got %v", field.Schema.Name, field.Name, field.FieldType) } } return field
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
// PointerType = "*" ("any" | Type) . func (p *parser) parsePointerType(pkg *types.Package, nlist []any) types.Type { p.expect('*') if p.tok == scanner.Ident { p.expectKeyword("any") t := types.Typ[types.UnsafePointer] p.update(t, nlist) return t } t := new(types.Pointer) p.update(t, nlist) *t = *types.NewPointer(p.parseType(pkg, t)) return t }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
newmemberoffsetattr(fld, int32(offset)) if decodetypeStructFieldEmbedded(d.ldr, d.arch, gotype, i) { newattr(fld, dwarf.DW_AT_go_embedded_field, dwarf.DW_CLS_FLAG, 1, 0) } } case abi.UnsafePointer: die = d.newdie(&dwtypes, dwarf.DW_ABRV_BARE_PTRTYPE, name) default: d.linkctxt.Errorf(gotype, "dwarf: definition of unknown kind %d", kind) die = d.newdie(&dwtypes, dwarf.DW_ABRV_TYPEDECL, name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Uint32", Const, 5}, {"Uint64", Const, 5}, {"Uint8", Const, 5}, {"Uintptr", Const, 5}, {"Unalias", Func, 22}, {"Union", Type, 18}, {"Universe", Var, 5}, {"Unsafe", Var, 5}, {"UnsafePointer", Const, 5}, {"UntypedBool", Const, 5}, {"UntypedComplex", Const, 5}, {"UntypedFloat", Const, 5}, {"UntypedInt", Const, 5}, {"UntypedNil", Const, 5}, {"UntypedRune", Const, 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) -
api/go1.txt
pkg reflect, const Uint Kind pkg reflect, const Uint16 Kind pkg reflect, const Uint32 Kind pkg reflect, const Uint64 Kind pkg reflect, const Uint8 Kind pkg reflect, const Uintptr Kind pkg reflect, const UnsafePointer Kind pkg reflect, func Append(Value, ...Value) Value pkg reflect, func AppendSlice(Value, Value) Value pkg reflect, func Copy(Value, Value) int pkg reflect, func DeepEqual(interface{}, interface{}) bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg reflect, const Uint = 7 pkg reflect, const Uint16 = 9 pkg reflect, const Uint32 = 10 pkg reflect, const Uint64 = 11 pkg reflect, const Uint8 = 8 pkg reflect, const Uintptr = 12 pkg reflect, const UnsafePointer = 26 pkg reflect, func ChanOf(ChanDir, Type) Type pkg reflect, func MakeFunc(Type, func([]Value) []Value) Value pkg reflect, func MapOf(Type, Type) Type pkg reflect, func Select([]SelectCase) (int, Value, bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)