- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 120 for Dtype (0.05 sec)
-
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go
aType := string(a.Type) if aType == "" { allErrs = append(allErrs, field.Required(fldPath.Child("type"), "")) continue } if !knownTypes.Has(aType) { allErrs = append(allErrs, field.NotSupported(fldPath.Child("type"), aType, knownTypes.List())) continue } if seenAuthorizerTypes.Has(aType) && !repeatableTypes.Has(aType) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 31.3K bytes - Viewed (0) -
src/internal/abi/switch.go
return true default: return false } } type TypeAssert struct { Cache *TypeAssertCache Inter *InterfaceType CanFail bool } type TypeAssertCache struct { Mask uintptr Entries [1]TypeAssertCacheEntry } type TypeAssertCacheEntry struct { // type of source value (a *runtime._type) Typ uintptr // itab to use for result (a *runtime.itab)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 17:02:53 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
n := n.(*ir.LogicalExpr) n.X, n.Y = Expr(n.X), Expr(n.Y) if n.X.Type() == nil || n.Y.Type() == nil { n.SetType(nil) return n } // For "x == x && len(s)", it's better to report that "len(s)" (type int) // can't be used with "&&" than to report that "x == x" (type untyped bool) // can't be converted to int (see issue #41500). if !n.X.Type().IsBoolean() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
t.Errorf("wrong names result: %v", names) } for i, err := range errs { expErr := tc.errs[i] if err.Type != expErr.etype { t.Errorf("unexpected error type:\n\twant: %q\n\t got: %q", expErr.etype, err.Type) } if !strings.HasSuffix(err.Field, "."+expErr.field) { t.Errorf("unexpected error field:\n\twant: %q\n\t got: %q", expErr.field, err.Field) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
src/runtime/slice.go
} func panicmakeslicecap() { panic(errorString("makeslice: cap out of range")) } // makeslicecopy allocates a slice of "tolen" elements of type "et", // then copies "fromlen" elements of type "et" into that new allocation from "from". func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer { var tomem, copymem uintptr if uintptr(tolen) > uintptr(fromlen) { var overflow bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 12.2K bytes - Viewed (0) -
pkg/model/proxy.go
) // NodeType decides the responsibility of the proxy serves in the mesh type NodeType string const ( // SidecarProxy type is used for sidecar proxies in the application containers SidecarProxy NodeType = "sidecar" // Router type is used for standalone proxies acting as L7/L4 routers Router NodeType = "router" // Waypoint type is used for waypoint proxies Waypoint NodeType = "waypoint"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 17:18:17 UTC 2024 - 18.7K bytes - Viewed (0) -
src/runtime/chan.go
debugChan = false ) type hchan struct { qcount uint // total data in the queue dataqsiz uint // size of the circular queue buf unsafe.Pointer // points to an array of dataqsiz elements elemsize uint16 closed uint32 timer *timer // timer feeding this chan elemtype *_type // element type sendx uint // send index recvx uint // receive index
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 25.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/select.go
t := types.NewPtr(types.Types[types.TUINT8]) return typecheck.ConvNop(s, t) } var scase *types.Type // Keep in sync with src/runtime/select.go. func scasetype() *types.Type { if scase == nil { n := ir.NewDeclNameAt(src.NoXPos, ir.OTYPE, ir.Pkgs.Runtime.Lookup("scase")) scase = types.NewNamed(n) n.SetType(scase) n.SetTypecheck(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K bytes - Viewed (0) -
src/net/http/fs.go
if done { return } code := StatusOK // If Content-Type isn't set, use the file's extension to find it, but // if the Content-Type is unset explicitly, do not sniff the type. ctypes, haveType := w.Header()["Content-Type"] var ctype string if !haveType { ctype = mime.TypeByExtension(filepath.Ext(name)) if ctype == "" { // read a chunk to decide between utf-8 text and binary
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 17:06:47 UTC 2024 - 31.1K bytes - Viewed (0) -
src/runtime/cgocall.go
// depending on indir. The top parameter is whether we are at the top // level, where Go pointers are allowed. Go pointers to pinned objects are // allowed as long as they don't reference other unpinned pointers. func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) { if !t.Pointers() || p == nil { // If the type has no pointers there is nothing to do. return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0)