Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for IsType (0.24 sec)

  1. 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)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonReuseIntegrationTest.groovy

            def taskOperations =
                compilerOperations.collectEntries {
                    def op = buildOperations.parentsOf(it).reverse().find {
                        parent -> buildOperations.isType(parent, ExecuteTaskBuildOperationType)
                    }
                    [op.displayName, it]
                }
    
            def tasks = ['Task :compileJava', 'Task :compileMain2Java']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1alpha1.VolumeAttachment.json

              "cachingMode": "cachingModeValue",
              "fsType": "fsTypeValue",
              "readOnly": true,
              "kind": "kindValue"
            },
            "photonPersistentDisk": {
              "pdID": "pdIDValue",
              "fsType": "fsTypeValue"
            },
            "portworxVolume": {
              "volumeID": "volumeIDValue",
              "fsType": "fsTypeValue",
              "readOnly": true
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/storage.k8s.io.v1beta1.VolumeAttachment.json

              "cachingMode": "cachingModeValue",
              "fsType": "fsTypeValue",
              "readOnly": true,
              "kind": "kindValue"
            },
            "photonPersistentDisk": {
              "pdID": "pdIDValue",
              "fsType": "fsTypeValue"
            },
            "portworxVolume": {
              "volumeID": "volumeIDValue",
              "fsType": "fsTypeValue",
              "readOnly": true
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PersistentVolume.json

          "diskURI": "diskURIValue",
          "cachingMode": "cachingModeValue",
          "fsType": "fsTypeValue",
          "readOnly": true,
          "kind": "kindValue"
        },
        "photonPersistentDisk": {
          "pdID": "pdIDValue",
          "fsType": "fsTypeValue"
        },
        "portworxVolume": {
          "volumeID": "volumeIDValue",
          "fsType": "fsTypeValue",
          "readOnly": true
        },
        "scaleIO": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top