- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for isBuiltin (0.54 sec)
-
src/cmd/compile/internal/syntax/type.go
Value constant.Value exprFlags } type exprFlags uint16 func (f exprFlags) IsVoid() bool { return f&1 != 0 } func (f exprFlags) IsType() bool { return f&2 != 0 } func (f exprFlags) IsBuiltin() bool { return f&4 != 0 } // a language builtin that resembles a function call, e.g., "make, append, new" func (f exprFlags) IsValue() bool { return f&8 != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 2.7K bytes - Viewed (0) -
src/text/template/exec.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/go/types/api.go
// IsType reports whether the corresponding expression specifies a type. func (tv TypeAndValue) IsType() bool { return tv.mode == typexpr } // IsBuiltin reports whether the corresponding expression denotes // a (possibly parenthesized) built-in function. func (tv TypeAndValue) IsBuiltin() bool { return tv.mode == builtin } // IsValue reports whether the corresponding expression is a value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// IsType reports whether the corresponding expression specifies a type. func (tv TypeAndValue) IsType() bool { return tv.mode == typexpr } // IsBuiltin reports whether the corresponding expression denotes // a (possibly parenthesized) built-in function. func (tv TypeAndValue) IsBuiltin() bool { return tv.mode == builtin } // IsValue reports whether the corresponding expression is a value.
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/go/types/example_test.go
// 12:26 | 2 | value : int = 2 } func mode(tv types.TypeAndValue) string { switch { case tv.IsVoid(): return "void" case tv.IsType(): return "type" case tv.IsBuiltin(): return "builtin" case tv.IsNil(): return "nil" case tv.Assignable(): if tv.Addressable() { return "var" } return "mapindex" case tv.IsValue(): return "value" default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client.go
namespaceFilter = kube.FilterIfEnhancedFilteringEnabled(cl.client) } filter := kubetypes.Filter{ObjectFilter: composeFilters(namespaceFilter, cl.inRevision, extraFilter)} var kc kclient.Untyped if s.IsBuiltin() { kc = kclient.NewUntypedInformer(cl.client, gvr, filter) } else { kc = kclient.NewDelayedInformer[controllers.Object]( cl.client, gvr, kubetypes.StandardInformer, filter, ) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 00:12:28 UTC 2024 - 13.7K bytes - Viewed (0) -
src/text/template/funcs.go
return false } } return true } // findFunction looks for a function in the template, and global map. func findFunction(name string, tmpl *Template) (v reflect.Value, isBuiltin, ok bool) { if tmpl != nil && tmpl.common != nil { tmpl.muFuncs.RLock() defer tmpl.muFuncs.RUnlock() if fn := tmpl.execFuncs[name]; fn.IsValid() { return fn, false, true } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
tv := TypeAndValue{mode, typ, val} stv := syntax.TypeAndValue{Type: typ, Value: val} if tv.IsVoid() { stv.SetIsVoid() } if tv.IsType() { stv.SetIsType() } if tv.IsBuiltin() { stv.SetIsBuiltin() } if tv.IsValue() { stv.SetIsValue() } if tv.IsNil() { stv.SetIsNil() } if tv.Addressable() { stv.SetAddressable() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/go/types/api_test.go
if b { if buf.Len() > 0 { buf.WriteString(", ") } buf.WriteString(s) } } pred(tv.IsVoid(), "void") pred(tv.IsType(), "type") pred(tv.IsBuiltin(), "builtin") pred(tv.IsValue() && tv.Value != nil, "const") pred(tv.IsValue() && tv.Value == nil, "value") pred(tv.IsNil(), "nil") pred(tv.Addressable(), "addressable") pred(tv.Assignable(), "assignable")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)