- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 199 for IsType (0.11 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationsFixture.groovy
return getTree().first(type, predicate) } @Override @SuppressWarnings("GrUnnecessaryPublicModifier") public <T extends BuildOperationType<?, ?>> boolean isType(BuildOperationRecord record, Class<T> type) { return getTree().isType(record, type) } @Override @SuppressWarnings("GrUnnecessaryPublicModifier")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 09:21:24 UTC 2024 - 4.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_node_status_test.go
// Report node status. kubelet.updateRuntimeUp() assert.NoError(t, kubelet.updateNodeStatus(ctx)) actions := kubeClient.Actions() assert.Len(t, actions, 2) assert.IsType(t, core.GetActionImpl{}, actions[0]) assert.IsType(t, core.PatchActionImpl{}, actions[1]) patchAction := actions[1].(core.PatchActionImpl) updatedNode, err := applyNodeStatusPatch(existingNode, patchAction.GetPatch()) require.NoError(t, err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 08 19:23:19 UTC 2024 - 115.8K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux_test.go
}, }, } for _, c := range cases { c := c t.Run(c.name, func(t *testing.T) { t.Parallel() pcm := c.cm.NewPodContainerManager() if c.cm.NodeConfig.CgroupsPerQOS { assert.IsType(t, &podContainerManagerImpl{}, pcm) got := pcm.(*podContainerManagerImpl) assert.Equal(t, c.cm.subsystems, got.subsystems) assert.Equal(t, c.cm.cgroupManager, got.cgroupManager)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 9.7K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/type.go
type TypeAndValue struct { Type Type 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"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 6.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go
func HasSideEffects(info *types.Info, e ast.Expr) bool { safe := true ast.Inspect(e, func(node ast.Node) bool { switch n := node.(type) { case *ast.CallExpr: typVal := info.Types[n.Fun] switch { case typVal.IsType(): // Type conversion, which is safe. case typVal.IsBuiltin(): // Builtin func, conservatively assumed to not // be safe for now. safe = false return false default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeFixture.groovy
} } @Override @SuppressWarnings("GrUnnecessaryPublicModifier") public <T extends BuildOperationType<?, ?>> boolean isType(BuildOperationRecord record, Class<T> type) { assert record.detailsType def detailsType = BuildOperationTypes.detailsType(type) detailsType.isAssignableFrom(record.detailsType) } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 23:08:20 UTC 2024 - 6.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/facts/facts.go
// importMap(s.pkg.Imports()). // TODO(adonovan): opt: implement "shallow" facts. if k.pkg != s.pkg { if k.obj == nil { continue // imported package fact } if _, isType := k.obj.(*types.TypeName); !isType && k.obj.Parent() == k.obj.Pkg().Scope() { continue // imported fact about package-level non-type object } } var object objectpath.Path if k.obj != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// IsVoid reports whether the corresponding expression // is a function call without results. func (tv TypeAndValue) IsVoid() bool { return tv.mode == novalue } // 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.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/BuildOperationTreeQueries.groovy
abstract <T extends BuildOperationType<?, ?>> BuildOperationRecord first(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll()) abstract <T extends BuildOperationType<?, ?>> boolean isType(BuildOperationRecord record, Class<T> type) abstract <T extends BuildOperationType<?, ?>> List<BuildOperationRecord> all(Class<T> type, Spec<? super BuildOperationRecord> predicate = Specs.satisfyAll())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.6K bytes - Viewed (0)