Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for is_pointer (0.15 sec)

  1. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-message.h

      // tr1::type_traits-like is_pointer works, and we can overload on that.
      template <typename T>
      inline void StreamHelper(internal::true_type /*is_pointer*/, T* pointer) {
        if (pointer == NULL) {
          *ss_ << "(null)";
        } else {
          *ss_ << pointer;
        }
      }
      template <typename T>
      inline void StreamHelper(internal::false_type /*is_pointer*/,
                               const T& value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-message.h

      // tr1::type_traits-like is_pointer works, and we can overload on that.
      template <typename T>
      inline void StreamHelper(internal::true_type /*is_pointer*/, T* pointer) {
        if (pointer == NULL) {
          *ss_ << "(null)";
        } else {
          *ss_ << pointer;
        }
      }
      template <typename T>
      inline void StreamHelper(internal::false_type /*is_pointer*/,
                               const T& value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    typedef bool_constant<false> false_type;
    typedef bool_constant<true> true_type;
    
    template <typename T>
    struct is_pointer : public false_type {};
    
    template <typename T>
    struct is_pointer<T*> : public true_type {};
    
    template <typename Iterator>
    struct IteratorTraits {
      typedef typename Iterator::value_type value_type;
    };
    
    template <typename T>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    typedef bool_constant<false> false_type;
    typedef bool_constant<true> true_type;
    
    template <typename T>
    struct is_pointer : public false_type {};
    
    template <typename T>
    struct is_pointer<T*> : public true_type {};
    
    template <typename Iterator>
    struct IteratorTraits {
      typedef typename Iterator::value_type value_type;
    };
    
    template <typename T>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

      // in Symbian's C++ compiler that prevents it from picking the right
      // overload between:
      //
      //   PrintTo(const T& x, ...);
      //   PrintTo(T* x, ...);
      DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
    }
    
    // The following list of PrintTo() overloads tells
    // UniversalPrinter<T>::Print() how to print standard types (built-in
    // types, strings, plain arrays, and pointers).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 30.9K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-printers.h

      // in Symbian's C++ compiler that prevents it from picking the right
      // overload between:
      //
      //   PrintTo(const T& x, ...);
      //   PrintTo(T* x, ...);
      DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
    }
    
    // The following list of PrintTo() overloads tells
    // UniversalPrinter<T>::Print() how to print standard types (built-in
    // types, strings, plain arrays, and pointers).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

          // this template match better.
          typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
        return CmpHelperEQ(expected_expression, actual_expression, expected,
                           actual);
      }
    
      // This version will be picked when the second argument to ASSERT_EQ() is a
      // pointer, e.g. ASSERT_EQ(NULL, a_pointer).
      template <typename T>
      static AssertionResult Compare(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

          // this template match better.
          typename EnableIf<!is_pointer<T2>::value>::type* = 0) {
        return CmpHelperEQ(expected_expression, actual_expression, expected,
                           actual);
      }
    
      // This version will be picked when the second argument to ASSERT_EQ() is a
      // pointer, e.g. ASSERT_EQ(NULL, a_pointer).
      template <typename T>
      static AssertionResult Compare(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/java/source/JavaElementDelegatingTypeSourceWithSmartPointer.kt

        abstract val psiPointer: SmartPsiElementPointer<out PSI>
        abstract fun getType(psi: PSI): TYPE
    
        override val type: TYPE
            get() {
                val psi = psiPointer.element
                    ?: error("Cannot restore $psiPointer")
                return getType(psi)
            }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 14 09:25:26 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescSyntheticFieldSymbolPointer.kt

        }
    
        override fun pointsToTheSameSymbolAs(other: KaSymbolPointer<KaSymbol>): Boolean = this === other ||
                other is KaFe10DescSyntheticFieldSymbolPointer &&
                other.psiPointer.pointsToTheSameSymbolAs(psiPointer)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top