- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for _typ (0.8 sec)
-
src/unique/clone.go
func buildArrayCloneSeq(typ *abi.Type, seq *cloneSeq, baseOffset uintptr) { atyp := typ.ArrayType() etyp := atyp.Elem offset := baseOffset for range atyp.Len { switch etyp.Kind() { case abi.String: seq.stringOffsets = append(seq.stringOffsets, offset) case abi.Struct: buildStructCloneSeq(etyp, seq, offset) case abi.Array: buildArrayCloneSeq(etyp, seq, offset) } offset += etyp.Size()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:21 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeparam.go
id = check.nextID } typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint} if obj.typ == nil { obj.typ = typ } // iface may mutate typ.bound, so we must ensure that iface() is called // at least once before the resulting TypeParam escapes. if check != nil { check.needsCleanup(typ) } else if constraint != nil { typ.iface() } return typ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 4.9K bytes - Viewed (0) -
src/go/types/typeparam.go
id = check.nextID } typ := &TypeParam{check: check, id: id, obj: obj, index: -1, bound: constraint} if obj.typ == nil { obj.typ = typ } // iface may mutate typ.bound, so we must ensure that iface() is called // at least once before the resulting TypeParam escapes. if check != nil { check.needsCleanup(typ) } else if constraint != nil { typ.iface() } return typ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 5.1K bytes - Viewed (0) -
src/runtime/unsafe.go
} } // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeSlice func unsafeslice64(et *_type, ptr unsafe.Pointer, len64 int64) { len := int(len64) if int64(len) != len64 { panicunsafeslicelen1(getcallerpc()) } unsafeslice(et, ptr, len) } func unsafeslicecheckptr(et *_type, ptr unsafe.Pointer, len64 int64) { unsafeslice64(et, ptr, len64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:51:18 UTC 2024 - 3.1K bytes - Viewed (0) -
src/reflect/makefunc.go
func MakeFunc(typ Type, fn func(args []Value) (results []Value)) Value { if typ.Kind() != Func { panic("reflect: call of MakeFunc with non-Func type") } t := typ.common() ftyp := (*funcType)(unsafe.Pointer(t)) code := abi.FuncPCABI0(makeFuncStub) // makeFuncImpl contains a stack map for use by the runtime _, _, abid := funcLayout(ftyp, nil) impl := &makeFuncImpl{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:20:05 UTC 2024 - 5.9K bytes - Viewed (0) -
src/runtime/export_debug_test.go
if tid == 0 { return nil, plainError("missing tid") } f := efaceOf(&fn) if f._type == nil || f._type.Kind_&abi.KindMask != abi.Func { return nil, plainError("fn must be a function") } fv := (*funcval)(f.data) a := efaceOf(&stackArgs) if a._type != nil && a._type.Kind_&abi.KindMask != abi.Pointer { return nil, plainError("args must be a pointer or nil") } argp := a.data
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/universe.go
typ.SetUnderlying(ityp) def(obj) } // type comparable interface{} // marked as comparable { obj := NewTypeName(nopos, nil, "comparable", nil) obj.setColor(black) typ := NewNamed(obj, nil, nil) // interface{} // marked as comparable ityp := &Interface{complete: true, tset: &_TypeSet{nil, allTermlist, true}} typ.SetUnderlying(ityp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.1K bytes - Viewed (0) -
src/go/types/universe.go
typ.SetUnderlying(ityp) def(obj) } // type comparable interface{} // marked as comparable { obj := NewTypeName(nopos, nil, "comparable", nil) obj.setColor(black) typ := NewNamed(obj, nil, nil) // interface{} // marked as comparable ityp := &Interface{complete: true, tset: &_TypeSet{nil, allTermlist, true}} typ.SetUnderlying(ityp)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 9.3K bytes - Viewed (0) -
src/runtime/cgocheck.go
//go:systemstack func cgoCheckUsingType(typ *_type, src unsafe.Pointer, off, size uintptr) { if !typ.Pointers() { return } // Anything past typ.PtrBytes is not a pointer. if typ.PtrBytes <= off { return } if ptrdataSize := typ.PtrBytes - off; size > ptrdataSize { size = ptrdataSize } if typ.Kind_&abi.KindGCProg == 0 { cgoCheckBits(src, typ.GCData, off, size) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 7.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/tasks/ValidatePlugins.java
* The <a href="https://docs.gradle.org/current/userguide/java_gradle_plugin.html" target="_top">java-gradle-plugin</a> adds * a {@code validatePlugins} task, though if you cannot use this plugin then you need to register the task yourself. * * See the user guide for more information on * <a href="https://docs.gradle.org/current/userguide/incremental_build.html" target="_top">incremental build</a> and
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 04 07:42:50 UTC 2024 - 8K bytes - Viewed (0)