- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 395 for typeOf (0.91 sec)
-
src/errors/wrap_test.go
} } } type errorT struct{ s string } func (e errorT) Error() string { return fmt.Sprintf("errorT(%s)", e.s) } type wrapped struct { msg string err error } func (e wrapped) Error() string { return e.msg } func (e wrapped) Unwrap() error { return e.err } type multiErr []error func (m multiErr) Error() string { return "multiError" }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 22:49:49 UTC 2024 - 6K bytes - Viewed (0) -
helm/minio/templates/statefulset.yaml
securityContext: readOnlyRootFilesystem: {{ .Values.securityContext.readOnlyRootFilesystem | default false }} {{- end }} {{- with .Values.extraContainers }} {{- if eq (typeOf .) "string" }} {{- tpl . $ | nindent 8 }} {{- else }} {{- toYaml . | nindent 8 }} {{- end }} {{- end }} {{- with .Values.nodeSelector }}
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 07:50:24 UTC 2024 - 10.7K bytes - Viewed (0) -
src/context/context.go
// // The provided key must be comparable and should not be of type // string or any other built-in type to avoid collisions between // packages using context. Users of WithValue should define their own // types for keys. To avoid allocating when assigning to an // interface{}, context keys often have concrete type // struct{}. Alternatively, exported context key variables' static // type should be a pointer or interface.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 23.7K bytes - Viewed (0) -
src/cmd/go/internal/base/base.go
// other kinds of structured errors that are logically one unit and that // add other context: only handling the wrapped errors would lose // that context. if err != nil && reflect.TypeOf(err).String() == "*errors.joinError" { for _, e := range err.(interface{ Unwrap() []error }).Unwrap() { Error(e) } return } Errorf("go: %v", err) } func Fatal(err error) { Error(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 5.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/common.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 18.1K bytes - Viewed (0) -
src/internal/abi/type.go
// versions of types with GC programs. // These types need to be deallocated when the underlying object // is freed. TFlagUnrolledBitmap TFlag = 1 << 4 ) // NameOff is the offset to a name from moduledata.types. See resolveNameOff in runtime. type NameOff int32 // TypeOff is the offset to a type from moduledata.types. See resolveTypeOff in runtime. type TypeOff int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
pkg/test/framework/suitecontext.go
"istio.io/istio/pkg/test/util/yml" "istio.io/istio/pkg/util/sets" ) // SuiteContext contains suite-level items used during runtime. type SuiteContext interface { resource.Context } var _ SuiteContext = &suiteContext{} // suiteContext contains suite-level items used during runtime. type suiteContext struct { settings *resource.Settings environment resource.Environment skipped bool workDir string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.5K bytes - Viewed (0) -
src/runtime/arena_test.go
"testing" "time" "unsafe" ) type smallScalar struct { X uintptr } type smallPointer struct { X *smallPointer } type smallPointerMix struct { A *smallPointer B byte C *smallPointer D [11]byte } type mediumScalarEven [8192]byte type mediumScalarOdd [3321]byte type mediumPointerEven [1024]*smallPointer type mediumPointerOdd [1023]*smallPointer type largeScalar [UserArenaChunkBytes + 1]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 13.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
func (info *Info) recordTypes() bool { return info.Types != nil || info.StoreTypesInSyntax } // TypeOf returns the type of expression e, or nil if not found. // Precondition 1: the Types map is populated or StoreTypesInSyntax is set. // Precondition 2: Uses and Defs maps are populated. func (info *Info) TypeOf(e syntax.Expr) Type { if info.Types != nil { if t, ok := info.Types[e]; ok { return t.Type }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/fmt/print.go
} // Special processing considerations. // %T (the value's type) and %p (its address) are special; we always do them first. switch verb { case 'T': p.fmt.fmtS(reflect.TypeOf(arg).String()) return case 'p': p.fmtPointer(reflect.ValueOf(arg), 'p') return } // Some types can be done without reflection. switch f := arg.(type) { case bool: p.fmtBool(f, verb) case float32:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:22:43 UTC 2024 - 31.8K bytes - Viewed (0)