- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 148 for IsType (0.66 sec)
-
src/cmd/fix/typecheck.go
// x's type is "int" but T's type is "type int". // mkType inserts the "type " prefix. // getType removes it. // isType tests for it. func mkType(t string) string { return "type " + t } func getType(t string) string { if !isType(t) { return "" } return t[len("type "):] } func isType(t string) bool { return strings.HasPrefix(t, "type ") } // TypeConfig describes the universe of relevant types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 16 22:02:42 UTC 2022 - 20.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) -
src/go/types/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: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy
realize.children.size() == 1 def configure = realize.children[0] configure.children.size() == 1 buildOperations.isType(configure.children[0], RealizeTaskBuildOperationType) withPath(":", ":bar").isSatisfiedBy(configure.children[0]) } def "emits registration, realization build ops when tasks later realized"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 12.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
} if check.StoreTypesInSyntax { 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() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.yaml
volumes: - awsElasticBlockStore: fsType: fsTypeValue partition: 3 readOnly: true volumeID: volumeIDValue azureDisk: cachingMode: cachingModeValue diskName: diskNameValue diskURI: diskURIValue fsType: fsTypeValue kind: kindValue readOnly: true azureFile:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 35.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/apps.v1beta2.DaemonSet.yaml
volumes: - awsElasticBlockStore: fsType: fsTypeValue partition: 3 readOnly: true volumeID: volumeIDValue azureDisk: cachingMode: cachingModeValue diskName: diskNameValue diskURI: diskURIValue fsType: fsTypeValue kind: kindValue readOnly: true azureFile:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 35.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.Deployment.yaml
volumes: - awsElasticBlockStore: fsType: fsTypeValue partition: 3 readOnly: true volumeID: volumeIDValue azureDisk: cachingMode: cachingModeValue diskName: diskNameValue diskURI: diskURIValue fsType: fsTypeValue kind: kindValue readOnly: true azureFile:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 34.5K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.Job.yaml
volumes: - awsElasticBlockStore: fsType: fsTypeValue partition: 3 readOnly: true volumeID: volumeIDValue azureDisk: cachingMode: cachingModeValue diskName: diskNameValue diskURI: diskURIValue fsType: fsTypeValue kind: kindValue readOnly: true azureFile:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 35K bytes - Viewed (0)