Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for visitNext (0.12 sec)

  1. android/guava/src/com/google/common/graph/Traverser.java

         *
         * <p>For example, if horizon is {@code [[a, b], [c, d], [e]]}, {@code visitNext()} will return
         * {@code [a, b, null, c, d, null, e, null]} sequentially, encoding the topological structure.
         * (Note, however, that the callers of {@code visitNext()} often insert additional iterators
         * into {@code horizon} between calls to {@code visitNext()}. This causes them to receive
         * additional values interleaved with those shown above.)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/Traverser.java

         *
         * <p>For example, if horizon is {@code [[a, b], [c, d], [e]]}, {@code visitNext()} will return
         * {@code [a, b, null, c, d, null, e, null]} sequentially, encoding the topological structure.
         * (Note, however, that the callers of {@code visitNext()} often insert additional iterators
         * into {@code horizon} between calls to {@code visitNext()}. This causes them to receive
         * additional values interleaved with those shown above.)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

        public void visitSignature(SignatureVisitor visitor) {
            if (wildcard) {
                visitor.visitText("?");
            } else if (upperBounds != null) {
                visitor.visitText("? extends ");
                upperBounds.visitSignature(visitor);
            } else if (lowerBounds != null) {
                visitor.visitText("? super ");
                lowerBounds.visitSignature(visitor);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/TypeMetaDataTest.groovy

            type.visitSignature(visitor)
    
            then:
            1 * visitor.visitType('org.gradle.SomeType')
            1 * visitor.visitText('<')
            1 * visitor.visitType('OtherType')
            1 * visitor.visitText('>')
            0 * visitor._
        }
    
        def visitsSignatureForWildcardType() {
            TypeMetaData.SignatureVisitor visitor = Mock()
            type.setWildcard()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/cc/experimental/libtf/tests/visit_test.cc

      const char* operator()(Int64 i) { return "int64"; }
      const char* operator()(Float32 f) { return "float32"; }
      template <class T>
      const char* operator()(const T& i) {
        return "else";
      }
    };
    
    TEST(VisitTest, Test1) {
      TaggedValue a(Int64(1)), b(Float32(1.1f));
      TaggedValue c = TaggedValue::None();
    
      ASSERT_EQ(a.visit<const char*>(Visitor()), "int64");
      ASSERT_EQ(b.visit<const char*>(Visitor()), "float32");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 15 16:58:38 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

            final Element linkElement = document.createElement("classname");
    
            type.visitSignature(new TypeMetaData.SignatureVisitor() {
                @Override
                public void visitText(String text) {
                    linkElement.appendChild(document.createTextNode(text));
                }
    
                @Override
                public void visitType(String name) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
Back to top