Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for resolved_value (0.08 sec)

  1. tensorflow/c/eager/custom_device_test.cc

      std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> resolved_value(
          TFE_TensorHandleResolve(var_value_unpacked, status.get()),
          TF_DeleteTensor);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_EQ(111., *static_cast<float*>(TF_TensorData(resolved_value.get())));
    
      // Free the backing buffer for the variable.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 18.4K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

        }
    
        def convertsValueLinkToLiteralValue() {
            ClassMetaData otherClass = Mock()
    
            when:
            def link = converter.resolveValue('SomeName#someField', classMetaData, listener)
    
            then:
            format(link) == '<literal>value</literal>'
            _ * nameResolver.resolve('SomeName', classMetaData) >> 'org.gradle.SomeName'
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

            if (candidates.size() != 1) {
                return null;
            }
            return candidates.get(0);
        }
    
        /**
         * Converts a javadoc value link into docbook.
         */
        public Node resolveValue(String fieldName, ClassMetaData classMetaData, GenerationListener listener) {
            String[] parts = fieldName.split("#");
            ClassMetaData targetClass;
            if (parts[0].length() > 0) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            then:
            _ * propertyMetaData.rawCommentText >> '{@value org.gradle.SomeClass#CONST}'
            _ * propertyMetaData.ownerClass >> classMetaData
            _ * linkConverter.resolveValue('org.gradle.SomeClass#CONST', classMetaData, listener) >> document.importNode(parse('<literal>some-value</literal>'), true)
    
            format(result.docbook) == '''<para><literal>some-value</literal></para>'''
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 14.2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            @Override
            public boolean onJavadocTag(String tag, String value) {
                if (!tag.equals("value")) {
                    return false;
                }
                nodes.appendChild(linkConverter.resolveValue(value, classMetaData, listener));
                return true;
            }
        }
    
        private static class LiteralTagHandler implements JavadocTagHandler {
            private final DocBookBuilder nodes;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
Back to top