HomeSort by relevance Sort by last modified time
    Searched defs:Tuple (Results 1 - 25 of 82) sorted by null

1 2 3 4

  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/
p12.cpp 7 template<class ...> struct Tuple { };
8 template<class ... Types> int &g(Tuple<Types ...>); // #1
9 template<class T1, class ... Types> float &g(Tuple<T1, Types ...>); // #2
10 template<class T1, class ... Types> double &g(Tuple<T1, Types& ...>); // #3
13 int &ir1 = g(Tuple<>());
14 float &fr1 = g(Tuple<int, float>());
15 double &dr1 = g(Tuple<int, float&>());
16 double &dr2 = g(Tuple<int>());
  /external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
disable_reduced_arity_initialization_extension.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
19 #include <tuple>
45 typedef std::tuple<MO, ND> Tuple;
46 static_assert(!std::is_constructible<Tuple, MO>::value, "");
47 static_assert(std::is_constructible<Tuple, MO, ND>::value, "");
48 static_assert(test_convertible<Tuple, MO, ND>(), "");
51 typedef std::tuple<MO, MO, ND> Tuple
    [all...]
enable_reduced_arity_initialization_extension.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
21 #include <tuple>
44 typedef std::tuple<MO, ND> Tuple;
45 static_assert(!std::is_constructible<Tuple, MO>::value, "");
46 static_assert(std::is_constructible<Tuple, MO, ND>::value, "");
47 static_assert(test_convertible<Tuple, MO, ND>(), "");
50 typedef std::tuple<MO, MO, ND> Tuple
    [all...]
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
UTypes.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
19 #include <tuple>
47 typedef std::tuple<MoveOnly, NoDefault> Tuple;
50 Tuple,
55 Tuple,
60 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple;
    [all...]
alloc_UTypes.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // tuple(allocator_arg_t, const Alloc& a, UTypes&&...);
19 #include <tuple>
43 // is less that the number of elements in the tuple. Previously libc++ would
49 typedef std::tuple<MoveOnly, MoveOnly, BadDefault> Tuple;
52 Tuple,
57 Tuple,
62 typedef std::tuple<MoveOnly, MoveOnly, BadDefault, BadDefault> Tuple
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/client/
sharding_builder.cc 66 OpSharding Tuple(const ShapeTree<OpSharding>& shardings) {
  /external/tensorflow/tensorflow/core/framework/
queue_interface.h 33 typedef std::vector<Tensor> Tuple;
35 typedef std::function<void(const Tuple&)> CallbackWithTuple;
37 virtual Status ValidateTuple(const Tuple& tuple) = 0;
38 virtual Status ValidateManyTuple(const Tuple& tuple) = 0;
41 // enqueue the tuple of tensors into the queue, and returns immediately. The
43 virtual void TryEnqueue(const Tuple& tuple, OpKernelContext* ctx,
48 virtual void TryEnqueueMany(const Tuple& tuple, OpKernelContext* ctx
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/
disable_reduced_arity_initialization_extension.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
19 #include <tuple>
45 typedef std::tuple<MO, ND> Tuple;
46 static_assert(!std::is_constructible<Tuple, MO>::value, "");
47 static_assert(std::is_constructible<Tuple, MO, ND>::value, "");
48 static_assert(test_convertible<Tuple, MO, ND>(), "");
51 typedef std::tuple<MO, MO, ND> Tuple
    [all...]
enable_reduced_arity_initialization_extension.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
21 #include <tuple>
44 typedef std::tuple<MO, ND> Tuple;
45 static_assert(!std::is_constructible<Tuple, MO>::value, "");
46 static_assert(std::is_constructible<Tuple, MO, ND>::value, "");
47 static_assert(test_convertible<Tuple, MO, ND>(), "");
50 typedef std::tuple<MO, MO, ND> Tuple
    [all...]
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
UTypes.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // explicit tuple(UTypes&&... u);
19 #include <tuple>
47 typedef std::tuple<MoveOnly, NoDefault> Tuple;
50 Tuple,
55 Tuple,
60 typedef std::tuple<MoveOnly, MoveOnly, NoDefault> Tuple;
    [all...]
alloc_UTypes.pass.cpp 10 // <tuple>
12 // template <class... Types> class tuple;
15 // tuple(allocator_arg_t, const Alloc& a, UTypes&&...);
19 #include <tuple>
43 // is less that the number of elements in the tuple. Previously libc++ would
49 typedef std::tuple<MoveOnly, MoveOnly, BadDefault> Tuple;
52 Tuple,
57 Tuple,
62 typedef std::tuple<MoveOnly, MoveOnly, BadDefault, BadDefault> Tuple
    [all...]
  /external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
is_nothrow_constructible.pass.cpp 96 struct Tuple {
97 Tuple(Empty&&) noexcept {}
113 test_is_nothrow_constructible<Tuple &&, Empty> (); // See bug #19616.
115 static_assert(!std::is_constructible<Tuple&, Empty>::value, "");
116 test_is_not_nothrow_constructible<Tuple &, Empty> (); // See bug #19616.
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/meta/meta.unary/meta.unary.prop/
is_nothrow_constructible.pass.cpp 96 struct Tuple {
97 Tuple(Empty&&) noexcept {}
113 test_is_nothrow_constructible<Tuple &&, Empty> (); // See bug #19616.
115 static_assert(!std::is_constructible<Tuple&, Empty>::value, "");
116 test_is_not_nothrow_constructible<Tuple &, Empty> (); // See bug #19616.
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorSyclTuple.h 17 * Minimal implementation of std::tuple that can be used inside a SYCL kernel.
24 namespace tuple { namespace in namespace:utility
35 /// \struct Tuple
37 /// \ztparam Ts... - the types of the elements that the tuple stores.
40 struct Tuple {};
42 /// \brief specialisation of the \ref Tuple class when the tuple has at least
44 /// \tparam T : the type of the first element in the tuple.
45 /// \tparam Ts... the rest of the elements in the tuple. Ts... can be empty.
47 struct Tuple<T, Ts...>
    [all...]
TensorMeta.h 109 // Tuple mimics std::pair but works on e.g. nvcc.
110 template <typename U, typename V> struct Tuple {
119 Tuple() : first(), second() {}
122 Tuple(const U& f, const V& s) : first(f), second(s) {}
125 Tuple& operator= (const Tuple& rhs) {
133 void swap(Tuple& rhs) {
142 bool operator==(const Tuple<U, V>& x, const Tuple<U, V>& y) {
148 bool operator!=(const Tuple<U, V>& x, const Tuple<U, V>& y)
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/
hlo_sharding.h 71 // Creates a new sharding for a tuple type. The given ShapeTree must have
72 // elements for every leaf shape contained in the tuple.
73 static HloSharding Tuple(const ShapeTree<HloSharding>& sub_shardings) {
83 // Creates a new sharding for a tuple type. The requested tuple shape must not
85 static HloSharding Tuple(const Shape& tuple_shape,
103 // Returns true if the sharding has tuple type.
156 // tuple, if IsTuple, or a ShapeTree with a single element containing this
236 // Internal helper to validate a tuple sharding.
238 // Internal helper to validate a non-tuple (leaf) sharding
    [all...]
  /external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
_typecheck.py 49 arguments must be stored as a tuple on the `_types` attribute.
68 tpe, = self._types # pylint: disable=unbalanced-tuple-unpacking
140 class Tuple(Type):
141 """A typed tuple.
143 A correct type is a tuple with the correct length where each element has
148 return (isinstance(instance, tuple)
160 key_type, value_type = self._types # pylint: disable=unbalanced-tuple-unpacking
  /external/googletest/googletest/include/gtest/
gtest-printers.h 76 // // Prints the fields of a tuple tersely to a string vector, one
77 // // element for each field. Tuple support must be enabled in
80 // const Tuple& value);
107 # include <tuple>
602 // Helper function for printing a tuple. T must be instantiated with
603 // a tuple type.
609 // Overload for ::std::tr1::tuple. Needed for printing function arguments,
614 // regardless of whether tr1::tuple is implemented using the
617 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) {
622 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os)
    [all...]
  /external/libmojo/ipc/
ipc_message_utils.h 17 #include <tuple>
85 typedef std::tuple<Ts...> Tuple;
701 struct ParamTraits<std::tuple<>> {
702 typedef std::tuple<> param_type;
715 struct ParamTraits<std::tuple<A>> {
716 typedef std::tuple<A> param_type;
734 struct ParamTraits<std::tuple<A, B>> {
735 typedef std::tuple<A, B> param_type;
758 struct ParamTraits<std::tuple<A, B, C>>
    [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/
gtest-printers.h 76 // // Prints the fields of a tuple tersely to a string vector, one
77 // // element for each field. Tuple support must be enabled in
80 // const Tuple& value);
107 # include <tuple>
585 // Helper function for printing a tuple. T must be instantiated with
586 // a tuple type.
592 // Overload for ::std::tr1::tuple. Needed for printing function arguments,
597 // regardless of whether tr1::tuple is implemented using the
600 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) {
605 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os)
    [all...]
  /external/v8/testing/gtest/include/gtest/
gtest-printers.h 76 // // Prints the fields of a tuple tersely to a string vector, one
77 // // element for each field. Tuple support must be enabled in
80 // const Tuple& value);
107 # include <tuple>
585 // Helper function for printing a tuple. T must be instantiated with
586 // a tuple type.
592 // Overload for ::std::tr1::tuple. Needed for printing function arguments,
597 // regardless of whether tr1::tuple is implemented using the
600 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) {
605 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os)
    [all...]
  /frameworks/base/core/java/android/animation/
StateListAnimator.java 51 private ArrayList<Tuple> mTuples = new ArrayList<Tuple>();
52 private Tuple mLastMatch = null;
83 Tuple tuple = new Tuple(specs, animator); local
84 tuple.mAnimator.addListener(mAnimatorListener);
85 mTuples.add(tuple);
139 clone.mTuples = new ArrayList<Tuple>(mTuples.size());
147 final Tuple tuple = mTuples.get(i) local
167 final Tuple tuple = mTuples.get(i); local
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/python/
local_computation_builder.cc 403 ComputationDataHandle LocalComputationBuilder::Tuple(
405 return builder_.Tuple(elements);
  /external/tensorflow/tensorflow/core/kernels/
barrier_ops.cc 45 typedef std::vector<Tensor> Tuple;
47 typedef std::function<void(const Tensor&, const Tensor&, const Tuple&)>
102 // For each key, update the corresponding incomplete tuple with the
108 Tuple insert_tuple;
128 std::vector<Tuple> ready_tuples;
157 // tuple by slicing entries into new Tensors. This part is slow
227 callback(Tensor(DT_INT64), Tensor(DT_STRING), Tuple());
235 [this, ctx, callback](const Tuple& t) {
238 Tuple values;
310 std::vector<Tuple>* ready_tuples, bool* new_elements
    [all...]
  /external/v8/tools/clang/plugins/tests/
ipc.cpp 45 struct Tuple {
55 typedef base::Tuple<T...> Tuple;
182 #define IPC_TUPLE(...) IPC::CheckedTuple<__VA_ARGS__>::Tuple

Completed in 465 milliseconds

1 2 3 4