- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 104 for Dtype (0.11 sec)
-
src/runtime/race.go
const raceenabled = true // For all functions accepting callerpc and pc, // callerpc is a return PC of the function that calls this function, // pc is start PC of the function that calls this function. func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { kind := t.Kind_ & abi.KindMask if kind == abi.Array || kind == abi.Struct { // for composite objects we have to read every address
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0) -
src/runtime/plugin.go
// a dependency on the reflect package. syms = make(map[string]any, len(md.ptab)) for _, ptab := range md.ptab { symName := resolveNameOff(unsafe.Pointer(md.types), ptab.name) t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler? var val any valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val)) (*valp)[0] = unsafe.Pointer(t) name := symName.Name()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 4.4K bytes - Viewed (0) -
src/runtime/runtime1.go
} // reflectlite_resolveTypeOff resolves an *rtype offset from a base type. // //go:linkname reflectlite_resolveTypeOff internal/reflectlite.resolveTypeOff func reflectlite_resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer { return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off))) } // reflect_addReflectOff adds a pointer to the reflection offset lookup map.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
pkg/apis/batch/validation/validation.go
for _, cType := range []batch.JobConditionType{batch.JobFailed, batch.JobComplete, batch.JobFailureTarget} { if IsConditionTrue(oldJob.Status.Conditions, cType) && !IsConditionTrue(job.Status.Conditions, cType) { allErrs = append(allErrs, field.Invalid(statusFld.Child("conditions"), field.OmitValueType{}, fmt.Sprintf("cannot disable the terminal %s=True condition", string(cType)))) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 16:43:24 UTC 2024 - 51.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/decodesym.go
} // Type.commonType.kind func decodetypeUsegcprog(arch *sys.Arch, p []byte) bool { return abi.Kind(p[2*arch.PtrSize+7])&abi.KindGCProg != 0 // 0x13 / 0x1f } // Type.commonType.size func decodetypeSize(arch *sys.Arch, p []byte) int64 { return int64(decodeInuxi(arch, p, arch.PtrSize)) // 0x8 / 0x10 } // Type.commonType.ptrdata func decodetypePtrdata(arch *sys.Arch, p []byte) int64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/reflect/value.go
// for the specified type. That is, the returned Value's Type is [PointerTo](typ). func New(typ Type) Value { if typ == nil { panic("reflect: New(nil)") } t := &typ.(*rtype).t pt := ptrTo(t) if pt.IfaceIndir() { // This is a pointer to a not-in-heap type. panic("reflect: New of type that may not be allocated in heap (possibly undefined cgo C type)") } ptr := unsafe_New(t)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
} column, value := nameVal[0], nameVal[1] ctype, ok := c.db.columnType(stmt.table, column) if !ok { stmt.Close() return nil, errf("INSERT table %q references non-existent column %q", stmt.table, column) } stmt.colName = append(stmt.colName, column) if !strings.HasPrefix(value, "?") { var subsetVal any // Convert to driver subset type switch ctype { case "string":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go
} // A component is an assembly-addressable component of a composite type, // or a composite type itself. type component struct { size int offset int kind asmKind typ string suffix string // Such as _base for string base, _0_lo for lo half of first element of [1]uint64 on 32 bit machine. outer string // The suffix for immediately containing composite type. }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 22.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
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 { // d.Name "[" pname "]" ... // d.Name "[" x ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/go/doc/reader.go
// predeclared) type. The namedType for a type name is always found via // reader.lookupType. type namedType struct { doc string // doc comment for type name string // type name decl *ast.GenDecl // nil if declaration hasn't been seen yet isEmbedded bool // true if this type is embedded isStruct bool // true if this type is a struct embedded embeddedSet // true if the embedded type is a pointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 27.5K bytes - Viewed (0)