Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 210 for IsType (0.13 sec)

  1. 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)
  2. 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)
  3. src/go/types/example_test.go

    	// 12:24 | x - 2               | value   : int
    	// 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"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    			break
    		}
    		if p.isUnsafeData(c.Fun, true) {
    			return true
    		}
    		if !p.isType(c.Fun) {
    			break
    		}
    		x = c.Args[0]
    	}
    	return false
    }
    
    // isType reports whether the expression is definitely a type.
    // This is conservative--it returns false for an unknown identifier.
    func (p *Package) isType(t ast.Expr) bool {
    	switch t := t.(type) {
    	case *ast.SelectorExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/link/internal/ld/lib.go

    // DWARF generator) know means the symbol is not decodable.
    // Leave type:runtime. symbols alone, because other parts of
    // the linker manipulates them.
    func typeSymbolMangle(name string) string {
    	isType := strings.HasPrefix(name, "type:")
    	if !isType && !strings.Contains(name, "@") {
    		// Issue 58800: instantiated symbols may include a type name, which may contain "@"
    		return name
    	}
    	if strings.HasPrefix(name, "type:runtime.") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    	pred := func(b bool, s string) {
    		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")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    	pred := func(b bool, s string) {
    		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")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.yaml

      photonPersistentDisk:
        fsType: fsTypeValue
        pdID: pdIDValue
      portworxVolume:
        fsType: fsTypeValue
        readOnly: true
        volumeID: volumeIDValue
      quobyte:
        group: groupValue
        readOnly: true
        registry: registryValue
        tenant: tenantValue
        user: userValue
        volume: volumeValue
      rbd:
        fsType: fsTypeValue
        image: imageValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1beta1.VolumeAttachment.yaml

        inlineVolumeSpec:
          accessModes:
          - accessModesValue
          awsElasticBlockStore:
            fsType: fsTypeValue
            partition: 3
            readOnly: true
            volumeID: volumeIDValue
          azureDisk:
            cachingMode: cachingModeValue
            diskName: diskNameValue
            diskURI: diskURIValue
            fsType: fsTypeValue
            kind: kindValue
            readOnly: true
          azureFile:
            readOnly: true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top