HomeSort by relevance Sort by last modified time
    Searched refs:tuple (Results 326 - 350 of 2452) sorted by null

<<11121314151617181920>>

  /external/Reactive-Extensions/RxCpp/Ix/CPP/unittest/
testbench.cpp 566 vector<tuple<int>> numbers { std::tuple<int>(0), std::tuple<int>(1), std::tuple<int>(2) };
568 auto result = cpplinq::from(numbers).sum([](std::tuple<int>& x){
576 vector<tuple<int>> numbers { std::tuple<int>(0), std::tuple<int>(1), std::tuple<int>(2) };
578 auto result = cpplinq::from(numbers).sum([](std::tuple<int>& x)
    [all...]
  /external/python/cpython3/Objects/
codeobject.c 32 intern_strings(PyObject *tuple)
36 for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
37 PyObject *v = PyTuple_GET_ITEM(tuple, i);
41 PyUnicode_InternInPlace(&PyTuple_GET_ITEM(tuple, i));
47 intern_string_constants(PyObject *tuple)
52 for (i = PyTuple_GET_SIZE(tuple); --i >= 0; ) {
53 PyObject *v = PyTuple_GET_ITEM(tuple, i);
63 PyTuple_SET_ITEM(tuple, i, v);
84 PyTuple_SET_ITEM(tuple, i, v);
293 /* Helper for code_new: return a shallow copy of a tuple that i
550 PyObject *tuple; local
578 PyObject *tuple, *set; local
    [all...]
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorSyclExtractAccessor.h 17 * ExtractAccessor takes Expression placeHolder expression and the tuple of sycl
21 * the order of the actual data in the tuple of sycl buffer. By invoking the
23 * buffer in the tuple of buffers. This accessor is then added as an Nth
24 * element in the tuple of accessors. In this case we preserve the order of data
52 -> decltype(utility::tuple::append(ExtractAccessor<Arg1>::getTuple(cgh, eval1), ExtractAccessor<Arg2>::getTuple(cgh, eval2))) {
53 return utility::tuple::append(ExtractAccessor<Arg1>::getTuple(cgh, eval1), ExtractAccessor<Arg2>::getTuple(cgh, eval2));
56 -> decltype(utility::tuple::append(ExtractAccessor<Arg1>::getTuple(cgh, eval1),utility::tuple::append(ExtractAccessor<Arg2>::getTuple(cgh, eval2), ExtractAccessor<Arg3>::getTuple(cgh, eval3)))) {
57 return utility::tuple::append(ExtractAccessor<Arg1>::getTuple(cgh, eval1),utility::tuple::append(ExtractAccessor<Arg2>::getTuple(cgh, eval2), ExtractAccessor<Arg3>::getTuple(cgh, eval3)))
    [all...]
TensorSyclPlaceHolderExpr.h 52 typedef utility::tuple::Tuple<ArgType> ArgsTuple;
60 typedef utility::tuple::Tuple<Arg1Type, Arg2Type> ArgsTuple;
70 typedef utility::tuple::Tuple<Arg1Type, Arg2Type, Arg3Type> ArgsTuple;
77 struct CategoryHelper<Category, OP, utility::tuple::Tuple<T...> > {
82 struct CategoryHelper<Category, NoOP, utility::tuple::Tuple<T...> >
    [all...]
  /external/google-breakpad/src/testing/test/
gmock-internal-utils_test.cc 63 using ::std::tr1::tuple;
265 tuple<> matchers;
266 tuple<> values;
272 tuple<Matcher<int> > matchers(Eq(1));
273 tuple<int> values1(1),
281 tuple<Matcher<int>, Matcher<char> > matchers(Eq(1), Eq('a'));
282 tuple<int, char> values1(1, 'a'),
294 tuple<Matcher<int>, Matcher<char>, Matcher<bool>, Matcher<long>, // NOLINT
297 tuple<int, char, bool, long, string> // NOLINT
627 StlContainerView<tuple<const int*, size_t> >::type>()
    [all...]
  /external/python/cpython3/Tools/unicode/
gencodec.py 49 or a tuple of integers.
71 return tuple(l)
105 if not isinstance(enc, tuple) and enc < 256:
160 if isinstance(mapkey, tuple):
162 if isinstance(mapvalue, tuple):
212 if isinstance(mapkey, tuple):
214 if isinstance(mapvalue, tuple):
236 if isinstance(mapvalue, tuple):
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
exceptions.c 671 PyObject *tuple; local
682 tuple = PyTuple_New(3);
683 if (!tuple) {
691 PyTuple_SET_ITEM(tuple, 0, self->myerrno);
695 PyTuple_SET_ITEM(tuple, 0, Py_None);
699 PyTuple_SET_ITEM(tuple, 1, self->strerror);
703 PyTuple_SET_ITEM(tuple, 1, Py_None);
706 PyTuple_SET_ITEM(tuple, 2, repr);
708 rtnval = PyString_Format(fmt, tuple);
711 Py_DECREF(tuple);
715 PyObject *tuple; local
903 PyObject *tuple; local
947 PyObject *tuple; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
exceptions.c 671 PyObject *tuple; local
682 tuple = PyTuple_New(3);
683 if (!tuple) {
691 PyTuple_SET_ITEM(tuple, 0, self->myerrno);
695 PyTuple_SET_ITEM(tuple, 0, Py_None);
699 PyTuple_SET_ITEM(tuple, 1, self->strerror);
703 PyTuple_SET_ITEM(tuple, 1, Py_None);
706 PyTuple_SET_ITEM(tuple, 2, repr);
708 rtnval = PyString_Format(fmt, tuple);
711 Py_DECREF(tuple);
715 PyObject *tuple; local
902 PyObject *tuple; local
946 PyObject *tuple; local
    [all...]
  /external/python/cpython2/Objects/
exceptions.c 661 PyObject *tuple; local
672 tuple = PyTuple_New(3);
673 if (!tuple) {
681 PyTuple_SET_ITEM(tuple, 0, self->myerrno);
685 PyTuple_SET_ITEM(tuple, 0, Py_None);
689 PyTuple_SET_ITEM(tuple, 1, self->strerror);
693 PyTuple_SET_ITEM(tuple, 1, Py_None);
696 PyTuple_SET_ITEM(tuple, 2, repr);
698 rtnval = PyString_Format(fmt, tuple);
701 Py_DECREF(tuple);
705 PyObject *tuple; local
892 PyObject *tuple; local
936 PyObject *tuple; local
    [all...]
  /external/tensorflow/tensorflow/python/autograph/converters/
control_flow.py 154 composite_tuple = tuple(composites)
225 basic_created_in_body = tuple(
227 basic_created_in_orelse = tuple(
240 aliased_body_orig_names = tuple(need_alias_in_body)
241 aliased_orelse_orig_names = tuple(need_alias_in_orelse)
242 aliased_body_new_names = tuple(
245 aliased_orelse_new_names = tuple(
263 returned_from_cond = tuple(returned_from_cond)
268 cond_results = gast.Tuple([s.ast() for s in returned_from_cond], None)
270 returned_from_body = tuple(
    [all...]
  /external/tensorflow/tensorflow/core/kernels/
sparse_conditional_accumulator.h 24 * An aggregation object for adding sparse gradients, represented as a tuple of
49 std::tuple<const Tensor*, const Tensor*, const Tensor*>> {
55 std::tuple<const Tensor*, const Tensor*, const Tensor*>>(
85 std::tuple<const Tensor*, const Tensor*, const Tensor*>* tensor,
160 std::tuple<const Tensor*, const Tensor*, const Tensor*>* grad) override {
194 std::tuple<const Tensor*, const Tensor*, const Tensor*>* grad) override {
208 std::vector<std::tuple<Source, int64, int64>> entries_to_copy;
358 std::tuple<const Tensor*, const Tensor*, const Tensor*>** tensor) override
396 *tensor = new std::tuple<const Tensor*, const Tensor*, const Tensor*>(
404 void CleanUpGradTensor(std::tuple<const Tensor*, const Tensor*
    [all...]
  /external/bcc/src/cc/frontends/clang/
b_frontend_action.h 50 void set_ptreg(std::tuple<clang::Decl *, int> &pt) { ptregs_.insert(pt); }
53 std::set<std::tuple<clang::Decl *, int>> ptregs_;
106 void set_ptreg(std::tuple<clang::Decl *, int> &pt) { ptregs_.insert(pt); }
108 std::set<std::tuple<clang::Decl *, int>> get_ptregs() { return ptregs_; }
123 std::set<std::tuple<clang::Decl *, int>> ptregs_;
  /external/libaom/libaom/third_party/googletest/src/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>
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/libvpx/libvpx/third_party/googletest/src/include/gtest/
gtest-printers.h 79 // // Prints the fields of a tuple tersely to a string vector, one
80 // // element for each field. Tuple support must be enabled in
83 // const Tuple& value);
112 # include <tuple>
646 // Helper function for printing a tuple. T must be instantiated with
647 // a tuple type.
653 // Overload for ::std::tr1::tuple. Needed for printing function arguments,
658 // regardless of whether tr1::tuple is implemented using the
661 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) {
666 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os)
    [all...]
  /external/mesa3d/src/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...]
  /external/python/cpython3/Lib/test/
test_dummy_thread.py 135 tuple())
165 "using tuple failed")
169 tuple(),
184 "Argument passing for thread creation using both tuple"
217 Test invoking start_new_thread() with a non-tuple value for "args".
222 self.assertEqual(cm.exception.args[0], "2nd arg must be a tuple")
230 _thread.start_new_thread(mock.Mock(), tuple(), kwargs=[])
241 _thread.start_new_thread(func, tuple())
254 _thread.start_new_thread(func, tuple())
  /external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/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);
108 # include <tuple>
586 // Helper function for printing a tuple. T must be instantiated with
587 // a tuple type.
593 // Overload for ::std::tr1::tuple. Needed for printing function arguments,
598 // regardless of whether tr1::tuple is implemented using the
601 inline void PrintTo(const ::std::tr1::tuple<>& t, ::std::ostream* os) {
606 void PrintTo(const ::std::tr1::tuple<T1>& t, ::std::ostream* os)
    [all...]
  /external/tensorflow/tensorflow/core/framework/
reader_base.cc 205 context, [this, context, &n, &work](const QueueInterface::Tuple& tuple) {
207 if (tuple.size() != 1) {
210 } else if (tuple[0].dtype() != DT_STRING) {
213 } else if (tuple[0].NumElements() != 1) {
217 work = tuple[0].flat<string>()(0);
  /external/tensorflow/tensorflow/python/ops/ragged/
ragged_factory_ops.py 50 pylist: A nested `list` or `tuple`. Any nested element that is not a `list`
51 or `tuple` must be a scalar value compatible with `dtype`.
59 inner_shape: A tuple of integers specifying the shape for individual inner
100 pylist: A nested `list` or `tuple`. Any nested element that is not a `list`
101 or `tuple` must be a scalar value compatible with `dtype`.
109 inner_shape: A tuple of integers specifying the shape for individual inner
143 pylist: A nested `list` or `tuple`.
158 if not isinstance(pylist, (list, tuple)):
234 pylist: A nested python `list` or `tuple`.
237 A tuple `(scalar_depth, max_depth)`. `scalar_depth` is the nestin
    [all...]
  /external/tensorflow/tensorflow/python/tpu/
topology.py 174 return self._topology_tasks[tuple(device_coordinates)]
187 return self._topology_devices[tuple(device_coordinates)]
192 job, self._topology_tasks[tuple(device_coordinates)])
197 self._topology_tasks[tuple(device_coordinates)],
198 self._topology_devices[tuple(device_coordinates)])
  /external/tensorflow/tensorflow/stream_executor/
kernel_spec.h 146 typedef std::tuple<int, int, absl::string_view> PtxSpec;
198 // PTX translation unit text contents in memory. The key is of as a tuple
202 std::map<std::tuple<int, int>, const char *,
203 bool (*)(const std::tuple<int, int> &, const std::tuple<int, int> &)>
213 static const std::tuple<int, int> kMinimumCapability;
  /external/tensorflow/tensorflow/compiler/xla/
literal_test.cc 215 auto tuple = LiteralUtil::MakeTuple({&scalar, &matrix}); local
223 EXPECT_EQ(expected, tuple.ToString());
359 std::vector<std::tuple<int64, int64, string>> seen;
365 using Elem = std::tuple<int64, int64, string>;
444 // Tuple with the same elements. One element is shared with the original
445 // tuple, the other is a clone of the element in the original tuple.
450 // Tuple with elements reversed.
454 // Tuple with different value.
464 // Tuple with the same elements. One element is shared with the origina
493 auto tuple = LiteralUtil::MakeTuple({&element1, &element1}); local
504 auto tuple = LiteralUtil::MakeTuple({&scalar, &matrix}); local
1089 Literal tuple = local
1113 Literal tuple = LiteralUtil::MakeTuple({&elements[0], &elements[1]}); local
1552 auto tuple = LiteralUtil::MakeTuple({&scalar, &matrix}); local
1558 EXPECT_EQ(LiteralSlice(tuple, {}), tuple); local
1565 EXPECT_EQ(LiteralSlice(nested_tuple, {0}), tuple); local
1574 auto tuple = LiteralUtil::MakeTuple({&scalar, &matrix}); local
1595 auto tuple = LiteralUtil::MakeTuple({&scalar, &matrix}); local
1764 auto tuple = LiteralUtil::MakeTuple({&elements[0], &elements[1]}); local
1787 Literal tuple = Literal::CreateFromShape(ShapeUtil::MakeTupleShape( local
1816 auto tuple = LiteralUtil::MakeTuple( local
    [all...]
  /external/grpc-grpc/src/python/grpcio_tests/tests/unit/
_rpc_test.py 248 expected_responses = tuple(
255 responses = tuple(response_iterator)
260 requests = tuple(
275 requests = tuple(
292 requests = tuple(
309 requests = tuple(
311 expected_responses = tuple(
319 responses = tuple(response_iterator)
342 requests = tuple(
358 responses = tuple(
    [all...]
  /external/libnetfilter_conntrack/src/conntrack/
parse_mnl.c 46 nfct_parse_ip(const struct nlattr *attr, struct __nfct_tuple *tuple,
55 tuple->src.v4 = mnl_attr_get_u32(tb[CTA_IP_V4_SRC]);
70 tuple->dst.v4 = mnl_attr_get_u32(tb[CTA_IP_V4_DST]);
85 memcpy(&tuple->src.v6, mnl_attr_get_payload(tb[CTA_IP_V6_SRC]),
101 memcpy(&tuple->dst.v6, mnl_attr_get_payload(tb[CTA_IP_V6_DST]),
149 nfct_parse_proto(const struct nlattr *attr, struct __nfct_tuple *tuple,
158 tuple->protonum = mnl_attr_get_u8(tb[CTA_PROTO_NUM]);
173 tuple->l4src.tcp.port =
189 tuple->l4dst.tcp.port =
205 tuple->l4dst.icmp.type
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/
hlo_cse_test.cc 199 // Tie the constants together with a tuple. This makes it easier to refer to
201 auto tuple = builder.AddInstruction(HloInstruction::CreateTuple( local
208 EXPECT_THAT(tuple,
209 op::Tuple(common_constant1, common_constant2, uncommon_constant));
215 auto first_operand = tuple->operand(0);
218 EXPECT_THAT(tuple,
219 op::Tuple(first_operand, first_operand, uncommon_constant));
233 auto tuple = local
240 EXPECT_THAT(tuple, op::Tuple(exp1, exp2, exp3))
439 auto tuple = local
470 auto tuple = local
554 auto tuple = local
    [all...]

Completed in 2804 milliseconds

<<11121314151617181920>>