Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,353 for genValue (0.16 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolveConfigurationResolutionBuildOperationDetails.java

                    } else if (property.getValue() instanceof File) {
                        propertyValue = ((File) property.getValue()).getAbsolutePath();
                    } else if (property.getValue() instanceof URI) {
                        propertyValue = ((URI) property.getValue()).toASCIIString();
                    } else {
                        propertyValue = property.getValue();
                    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

        if (!mlir::isa<FlatSymbolRefAttr>(named_attr.getValue())) {
          return op->emitError() << "'tf_saved_model.bound_input' attribute should "
                                    "be a FlatSymbolRefAttr";
        }
        auto symbol_name =
            mlir::cast<FlatSymbolRefAttr>(named_attr.getValue()).getValue();
        auto module = op->getParentOfType<ModuleOp>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/metaobject/ConfigureDelegate.java

                if (result.isFound()) {
                    return result.getValue();
                }
    
                if (!isAlreadyConfiguring) {
                    // Try to configure element
                    result = _configure(name, params);
                    if (result.isFound()) {
                        return result.getValue();
                    }
                }
    
                // try the owner
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 17 11:25:34 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeImplTest.java

            assertEquals(3, item.length);
            assertEquals("one", item[0].getValue());
            assertEquals("parent", item[0].getInputLocation());
            assertEquals("two", item[1].getValue());
            assertEquals("parent", item[1].getInputLocation());
            assertEquals("three", item[2].getValue());
            assertEquals("child", item[2].getInputLocation());
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/ObjectExtensionInstantiationIntegrationTest.groovy

        }
    
        def "can create instance of interface with mutable property of type #type"() {
            buildFile << """
                interface Thing {
                    ${type} getValue()
                    void setValue(${type} value)
                }
    
                extensions.create("thing", Thing)
                assert thing.value == ${defaultValue}
                thing {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 16.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/validators.cc

      const auto &elements = mlir::cast<ArrayAttr>(attr).getValue();
      if (elements.size() != 4 ||
          std::any_of(elements.begin(), elements.end(),
                      [](Attribute e) { return !mlir::isa<IntegerAttr>(e); }))
        return false;
    
      if (mlir::cast<IntegerAttr>(elements.front()).getValue() != 1 ||
          mlir::cast<IntegerAttr>(elements.back()).getValue() != 1)
        return false;
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

      if (!state) {
        return nullptr;
      }
      auto ops = state->getValue().ops;
      if (ops.size() != 1) {
        return nullptr;
      }
      Operation* source = *ops.begin();
      return source;
    }
    
    Attribute GetInitialValue(Operation* source) {
      if (auto global = dyn_cast<tf_saved_model::GlobalTensorOp>(source)) {
        if (global.getValue()) {
          return *global.getValue();
        }
      }
      return nullptr;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

            assertSame(entry.getValue(), cache.asMap().putIfAbsent(entry.getKey(), newValue));
            Object newKey = new Object();
            assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
            assertEquals(entry.getValue(), cache.getUnchecked(newKey));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/PathJavadocOptionFileOptionTest.groovy

            final File fileTwo = new File("fileTwo")
    
            pathOption.getValue().add(fileOne)
            pathOption.getValue().add(fileTwo)
    
            when:
            pathOption.write(writerContextMock)
    
            then:
            1 * writerContextMock.writePathOption(optionName, pathOption.getValue(), joinBy)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/lifecycle/MojoExecutionXPathContainer.java

            return context.getValue(expression) != null;
        }
    
        public Object getValue(String expression) {
            try {
                return context.getValue(expression);
            } catch (JXPathNotFoundException e) {
                return null;
            }
        }
    
        public boolean xPathExpressionEqualsValue(String expression, String value) {
            return context.getValue(expression) != null
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
Back to top