Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 235 for legalize (0.24 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/DefaultModelRegistryTest.groovy

            registry.realize("parent") // TODO - should not need this: parent mutations should be applied before mutating element
    
            expect:
            registry.realize("parent.bar", Bean).value == "prefix: bar"
            registry.realize("parent.foo", String) == "ignore me"
            registry.realize("parent.bar.child1", Bean).value == "prefix: baz"
            registry.realize("parent.bar.child2", String) == "ignore me too"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 56K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

        }
    
        void realize() {
            registry.realizeNode(path)
        }
    
        void selfClose() {
            registry.atState(path, ModelNode.State.SelfClosed)
        }
    
        ModelMap<T> realizeAsModelMap() {
            registry.realize(path, modelMapType)
        }
    
        T realizeChild(String name) {
            registry.realize(path.child(name), itemType)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ScalarTypesInManagedModelTest.groovy

                    void setUnmanagedReadWriteProperty($type type)
                }
    
            """
    
            then:
            realize(clazz)
    
            where:
            type << ['List<Date>', 'Set<Date>']
    
        }
    
        private void failWhenRealized(Class type, String expected) {
            try {
                realize(type)
                throw new AssertionError("node realisation of type ${type.name} should have failed with a cause of:\n$expected\n")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

            verifyTaskIds()
            verifyTaskDetails(RegisterTaskBuildOperationType, withPath(':', ':foo')).children.empty
            def realize = verifyTaskDetails(RealizeTaskBuildOperationType, withPath(':', ':foo'))
            realize.children.empty
            realize.details.eager == false
        }
    
        def "op during realize are child ops"() {
            given:
            register('foo')
            register('bar')
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-groovy/src/test/groovy/org/gradle/model/dsl/internal/NonTransformedModelDslBackingTest.groovy

            given:
            register("foo", [])
    
            when:
            modelDsl.configure {
                foo {
                    add 1
                }
            }
    
            then:
            registry.realize("foo", List) == [1]
        }
    
        @Managed
        interface Thing {
            void setName(String name)
    
            String getName()
        }
    
        @Managed
        interface Foo {
            ModelSet<Thing> getBar()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.h

    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/Transforms/DialectConversion.h"  // from @llvm-project
    
    namespace mlir {
    namespace mhlo {
    
    // Returns a ConversionTarget that includes default legalized MLIR dialects
    // for conversion to XLA.
    // If legalize_chlo is true, the resulting conversion target cannot have CHLO.
    mlir::ConversionTarget GetDefaultLegalConversionTargets(
        MLIRContext& mlir_context, bool legalize_chlo);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/collections/SortedSetElementSource.java

                    if (collector.getType() == null || type.isAssignableFrom(collector.getType())) {
                        copied.add(collector);
                    }
                }
                realize(copied);
            }
        }
    
        private void realize(Iterable<Collectors.TypedCollector<T>> collectors) {
            for (Collectors.TypedCollector<T> collector : collectors) {
                pending.remove(collector);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  8. src/internal/filepathlite/path.go

    		path = Clean(path)
    	}
    	if path == ".." || stringslite.HasPrefix(path, "../") {
    		return false
    	}
    	return true
    }
    
    // Localize is filepath.Localize.
    func Localize(path string) (string, error) {
    	if !fs.ValidPath(path) {
    		return "", errInvalidPath
    	}
    	return localize(path)
    }
    
    // ToSlash is filepath.ToSlash.
    func ToSlash(path string) string {
    	if Separator == '/' {
    		return path
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. platforms/native/testing-native/src/test/groovy/org/gradle/nativeplatform/test/plugins/NativeBinariesTestPluginTest.groovy

            when:
            dsl {
                apply plugin: NativeBinariesTestPlugin
                model {
                    library(StaticLibraryBinarySpec)
                }
            }
    
            def library = realize("library")
    
            dsl {
                model {
                    binary(NativeTestSuiteBinarySpec) {
                        testedBinary = library
                        tasks.create("run", RunTestExecutable) {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/InstanceBackedModelRegistrationTest.groovy

            then:
            !foo.promise.canBeViewedAs(ModelType.of(String))
            foo.promise.canBeViewedAs(ModelType.of(List))
    
            registry.realize(fooReference.path, fooReference.type).is(fooList)
            registry.realize(barReference.path, barReference.type).is(barList)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top