Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for otherProp (1.04 sec)

  1. subprojects/core-api/src/main/java/org/gradle/api/plugins/ExtraPropertiesExtension.java

     * </pre>
     *
     * You can also use the Groovy accessor syntax to get and set properties on an extra properties extension.
     *
     * <pre class='autoTested'>
     * project.ext["otherProp"] = "a"
     * assert project.otherProp == "a"
     * assert project.ext["otherProp"] == "a"
     * </pre>
     *
     * The exception that is thrown when an attempt is made to get the value of a property that does not exist is different depending on whether the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:35:02 UTC 2017
    - 6.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            task3.target.name == 'target3'
        }
    
        def "can nest elements"() {
            when:
            ant.otherProp = 'true'
            ant.condition(property: 'prop', value: 'someValue') {
                or {
                    and {
                        isSet(property: 'otherProp')
                        not { isSet(property: 'missing') }
                    }
                }
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

            buildFile """
                abstract class Thing {
                    String otherProp
    
                    abstract String getProp()
                    abstract void setProp(String value)
                }
    
                def t = objects.newInstance(Thing)
                assert t.prop == null
                assert t.otherProp == null
                t.prop = "value"
                assert t.prop == "value"
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

                    void transform(TransformOutputs outputs) {
                        println "processing using prop: \${parameters.prop.get()}, nested: \${parameters.nested.nestedProp.get()}"
                        assert parameters.otherProp.getOrNull() == ${expectedNullValue}
                    }
                }
            """
    
            when:
            run("a:resolve")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc

    namespace mlir {
    namespace tf_executor {
    namespace {
    
    // Comparator for `OpsInReverseProgramOrder`.
    struct IsAfterInBlock {
      bool operator()(Operation* op, Operation* other_op) const {
        // This function has an average complexity of O(1).
        return other_op->isBeforeInBlock(op);
      }
    };
    
    #define GEN_PASS_DEF_EXECUTORUPDATECONTROLDEPENDENCIESPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 07:53:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/runtime/pprof/protomem_test.go

    type opCall struct {
    }
    
    var sink []byte
    
    func storeAlloc() {
    	sink = make([]byte, 16)
    }
    
    func nonRecursiveGenericAllocFunction[CurrentOp any, OtherOp any](alloc bool) {
    	if alloc {
    		storeAlloc()
    	} else {
    		nonRecursiveGenericAllocFunction[OtherOp, CurrentOp](true)
    	}
    }
    
    func TestGenericsInlineLocations(t *testing.T) {
    	if testenv.OptimizationOff() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        const OpSetVector& cluster_dependent_ops,
        const mlir::TF::SideEffectAnalysis::Info& side_effect_analysis) {
      auto filter = [&](Operation* other_op) {
        return cluster_ops.contains(other_op) ||
               cluster_dependent_ops.contains(other_op);
      };
      auto other_ops =
          incoming ? side_effect_analysis.DirectControlPredecessors(op, filter)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/fsys/fsys.go

    		if to != "" {
    			// Don't canonicalize "", meaning to delete a file, because then it will turn into ".".
    			to = canonicalize(to)
    		}
    		if otherFrom, seen := reverseCanonicalized[cfrom]; seen {
    			return fmt.Errorf(
    				"paths %q and %q both canonicalize to %q in overlay file Replace map", otherFrom, from, cfrom)
    		}
    		reverseCanonicalized[cfrom] = from
    		from = cfrom
    
    		// Create node for overlaid file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/UnsupportedConfigurationMutationTest.groovy

                }
                configurations.b.resolve()
                configurations.a.exclude group: 'someGroup'
                configurations.a.resolve()
                configurations.a.exclude group: 'otherGroup'
            """
    
    
    
            when: fails()
            then: failure.assertHasCause("Cannot change dependencies of dependency configuration ':a' after it has been included in dependency resolution.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 17.6K bytes
    - Viewed (2)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            configuration.getAttributes().attribute(Attribute.of('key', String.class), 'value')
            configuration.resolutionStrategy
    
            def otherConf = conf("other")
            otherConf.dependencies.add(dependency("otherGroup", "name3", "version3"))
            configuration.extendsFrom(otherConf)
            return configuration
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
Back to top