Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CheckedDowncastToActualType (0.38 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

          GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
              << "The program attempted to compare iterators "
              << "from different generators." << std::endl;
          const int other_index =
              CheckedDowncastToActualType<const Iterator>(&other)->index_;
          return index_ == other_index;
        }
    
       private:
        Iterator(const Iterator& other)
            : ParamIteratorInterface<T>(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

          GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
              << "The program attempted to compare iterators "
              << "from different generators." << std::endl;
          const int other_index =
              CheckedDowncastToActualType<const Iterator>(&other)->index_;
          return index_ == other_index;
        }
    
       private:
        Iterator(const Iterator& other)
            : ParamIteratorInterface<T>(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

              << "The program attempted to compare iterators "
              << "from different generators." << std::endl;
          const Iterator* typed_other =
              CheckedDowncastToActualType<const Iterator>(&other);
          // We must report iterators equal if they both point beyond their
          // respective ranges. That can happen in a variety of fashions,
          // so we have to consult AtEnd().
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

              << "The program attempted to compare iterators "
              << "from different generators." << std::endl;
          const Iterator* typed_other =
              CheckedDowncastToActualType<const Iterator>(&other);
          // We must report iterators equal if they both point beyond their
          // respective ranges. That can happen in a variety of fashions,
          // so we have to consult AtEnd().
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h

              << "The program attempted to compare iterators "
              << "from different generators." << std::endl;
          const Iterator* typed_other =
              CheckedDowncastToActualType<const Iterator>(&other);
          // We must report iterators equal if they both point beyond their
          // respective ranges. That can happen in a variety of fashions,
          // so we have to consult AtEnd().
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 187.7K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h

              << "The program attempted to compare iterators "
              << "from different generators." << std::endl;
          const Iterator* typed_other =
              CheckedDowncastToActualType<const Iterator>(&other);
          // We must report iterators equal if they both point beyond their
          // respective ranges. That can happen in a variety of fashions,
          // so we have to consult AtEnd().
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 187.7K bytes
    - Viewed (0)
  7. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // point to a class of type Derived, not any subclass of it.
    // When RTTI is available, the function performs a runtime
    // check to enforce this.
    template <class Derived, class Base>
    Derived* CheckedDowncastToActualType(Base* base) {
    #if GTEST_HAS_RTTI
      GTEST_CHECK_(typeid(*base) == typeid(Derived));
      return dynamic_cast<Derived*>(base);  // NOLINT
    #else
      return static_cast<Derived*>(base);  // Poor man's downcast.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // point to a class of type Derived, not any subclass of it.
    // When RTTI is available, the function performs a runtime
    // check to enforce this.
    template <class Derived, class Base>
    Derived* CheckedDowncastToActualType(Base* base) {
    #if GTEST_HAS_RTTI
      GTEST_CHECK_(typeid(*base) == typeid(Derived));
      return dynamic_cast<Derived*>(base);  // NOLINT
    #else
      return static_cast<Derived*>(base);  // Poor man's downcast.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
Back to top