- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 911 for reflect1 (0.25 sec)
-
schema/field.go
} } if field.Size == 0 { switch reflect.Indirect(fieldValue).Kind() { case reflect.Int, reflect.Int64, reflect.Uint, reflect.Uint64, reflect.Float64: field.Size = 64 case reflect.Int8, reflect.Uint8: field.Size = 8 case reflect.Int16, reflect.Uint16: field.Size = 16 case reflect.Int32, reflect.Uint32, reflect.Float32: field.Size = 32 } } // setup permission
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
src/runtime/mbarrier.go
bulkBarrierPreWrite(uintptr(dst), uintptr(src), typ.PtrBytes, typ) } // reflect_typedmemmove is meant for package reflect, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - gitee.com/quant1x/gox // - github.com/goccy/json // - github.com/modern-go/reflect2 // - github.com/ugorji/go/codec // - github.com/v2pro/plz // // Do not remove or change the type signature.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 15.7K bytes - Viewed (0) -
src/runtime/runtime1.go
gp.stackguard0 = stackPreempt } } // reflect_typelinks is meant for package reflect, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - gitee.com/quant1x/gox // - github.com/goccy/json // - github.com/modern-go/reflect2 // - github.com/vmware/govmomi // - github.com/pinpoint-apm/pinpoint-go-agent // - github.com/timandy/routine
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 19.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
// In most of the cases, leader is reelected within few cycles. reflector.MaxInternalErrorRetryDuration = time.Second * 30 // since the watch-list is provided by the watch cache instruct // the reflector to issue a regular LIST against the store reflector.UseWatchList = ptr.To(false) cacher.watchCache = watchCache cacher.reflector = reflector go cacher.dispatchEvents() go progressRequester.Run(stopCh)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
src/runtime/map.go
} h.flags &^= sameSizeGrow } } // Reflect stubs. Called from ../reflect/asm_*.s // reflect_makemap is for package reflect, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - gitee.com/quant1x/gox // - github.com/modern-go/reflect2 // - github.com/goccy/go-json // - github.com/RomiChan/protobuf
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 57.6K bytes - Viewed (0) -
src/unsafe/unsafe.go
// // In general, [reflect.SliceHeader] and [reflect.StringHeader] should be used // only as *reflect.SliceHeader and *reflect.StringHeader pointing at actual // slices or strings, never as plain structs. // A program should not declare or allocate variables of these struct types. // // // INVALID: a directly-declared header will not hold Data as a reference. // var hdr reflect.StringHeader
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
src/reflect/badlinkname.go
//go:linkname badlinkname_rtype_AssignableTo reflect.(*rtype).AssignableTo func badlinkname_rtype_AssignableTo(*rtype, Type) bool //go:linkname badlinkname_rtype_Bits reflect.(*rtype).Bits func badlinkname_rtype_Bits(*rtype) int //go:linkname badlinkname_rtype_ChanDir reflect.(*rtype).ChanDir func badlinkname_rtype_ChanDir(*rtype) ChanDir //go:linkname badlinkname_rtype_Comparable reflect.(*rtype).Comparable
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 4.5K bytes - Viewed (0) -
src/reflect/type_test.go
{"func(func(int, int))", reflect.TypeOf(func(func(int, int)) {}), false}, {"int64", reflect.TypeOf(int64(1)), false}, {"uint64", reflect.TypeOf(uint64(1)), false}, {"*[4]int", reflect.TypeOf(&[4]int{}), true}, {"chan int64", reflect.TypeOf(make(chan int64)), false}, {"map[int]int", reflect.TypeOf(make(map[int]int)), true}, {"string", reflect.TypeOf(""), true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 4.2K bytes - Viewed (0) -
src/text/template/exec.go
case reflect.Chan, reflect.Func, reflect.Pointer, reflect.Interface: truth = !val.IsNil() case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: truth = val.Int() != 0 case reflect.Float32, reflect.Float64: truth = val.Float() != 0 case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uintptr: truth = val.Uint() != 0 case reflect.Struct:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/database/sql/convert.go
return nil } } var sv reflect.Value switch d := dest.(type) { case *string: sv = reflect.ValueOf(src) switch sv.Kind() { case reflect.Bool, reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Float32, reflect.Float64: *d = asString(src) return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0)