Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 126 for asType (0.19 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FlatMapProvider.java

            try (EvaluationContext.ScopeContext context = openScope()) {
                Value<? extends T> value = provider.calculateValue(consumer);
                if (value.isMissing()) {
                    return value.asType();
                }
                return doMapValue(context, value).calculateValue(consumer);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractFileTree.java

        @Override
        public FileTree visit(Closure closure) {
            return visit(fileVisitorFrom(closure));
        }
    
        static FileVisitor fileVisitorFrom(Closure closure) {
            return DefaultGroovyMethods.asType(closure, FileVisitor.class);
        }
    
        @Override
        public FileTree visit(final Action<? super FileVisitDetails> visitor) {
            return visit(new FileVisitor() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MergeProvider.java

            for (Provider<R> provider : items) {
                Value<? extends R> value = Providers.internal(provider).calculateValue(consumer);
                if (value.isMissing()) {
                    return value.asType();
                }
                values.add(value);
            }
    
            ImmutableList.Builder<R> result = ImmutableList.builderWithExpectedSize(values.size());
            for (Value<? extends R> value : values) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:34 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TransformBackedProvider.java

            }
        }
    
        @Nonnull
        protected Value<OUT> mapValue(EvaluationContext.ScopeContext context, Value<? extends IN> value) {
            if (value.isMissing()) {
                return value.asType();
            }
            return value.transform(transformer);
        }
    
        protected void beforeRead(EvaluationContext.ScopeContext context) {
            provider.getProducer().visitContentProducerTasks(producer -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileTreeTest.groovy

            1 * source2.visit(visitor)
        }
    
        def visitsEachTreeWithClosure() {
            final Closure visitor = TestUtil.TEST_CLOSURE
            final FileVisitor closureAsVisitor = DefaultGroovyMethods.asType(visitor, FileVisitor.class)
    
            when:
            tree.visit(visitor)
    
            then:
            1 * source1.visit(closureAsVisitor)
            1 * source2.visit(closureAsVisitor)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/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: Tue Oct 31 03:26:35 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. staging/src/k8s.io/api/testdata/HEAD/storage.k8s.io.v1.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: Tue Oct 31 03:26:35 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/storage.k8s.io.v1.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: Fri Dec 15 04:12:07 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.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: Fri Dec 15 04:12:07 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top