Home
last modified time | relevance | path

Searched refs:data_tuple (Results 1 – 18 of 18) sorted by relevance

/dports/net/kea/kea-2.0.1/src/lib/dhcp/tests/
H A Doption_opaque_data_tuples_unittest.cc25 EXPECT_EQ(4, data_tuple.len()); in TEST()
39 data_tuple.addTuple(tuple); in TEST()
45 data_tuple.addTuple(tuple); in TEST()
77 data_tuple.addTuple(tuple); in TEST()
81 data_tuple.addTuple(tuple); in TEST()
104 ASSERT_EQ(4, data_tuple.len()); in TEST()
114 data_tuple.addTuple(tuple); in TEST()
125 data_tuple.addTuple(tuple); in TEST()
128 data_tuple.addTuple(tuple); in TEST()
236 data_tuple.addTuple(tuple); in TEST()
[all …]
/dports/lang/micropython/micropython-1.17/extmod/
H A Dmodbluetooth.c1028 data_tuple->len = j; in ringbuf_extract()
1076 data_tuple->len = 0; in bluetooth_ble_invoke_irq()
1131 data_tuple->base.type = &mp_type_tuple; in invoke_irq_handler()
1132 data_tuple->len = 0; in invoke_irq_handler()
1135 data_tuple->items[data_tuple->len++] = MP_OBJ_NEW_SMALL_INT(numeric[i]); in invoke_irq_handler()
1139 data_tuple->items[data_tuple->len++] = MP_OBJ_FROM_PTR(&mv_addr); in invoke_irq_handler()
1142 data_tuple->items[data_tuple->len++] = MP_OBJ_NEW_SMALL_INT(numeric[i + n_unsigned]); in invoke_irq_handler()
1146 data_tuple->items[data_tuple->len++] = MP_OBJ_FROM_PTR(uuid); in invoke_irq_handler()
1152 data_tuple->items[data_tuple->len++] = MP_OBJ_FROM_PTR(&mv_data[i]); in invoke_irq_handler()
1154 data_tuple->items[data_tuple->len++] = mp_const_none; in invoke_irq_handler()
[all …]
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/protocols/
H A Djson_serialization_test.py364 data_tuple: Optional[Tuple] = None,
369 self.data_tuple = data_tuple or ()
378 and self.data_tuple == other.data_tuple
387 "data_tuple": self.data_tuple,
392 def _from_json_dict_(cls, name, data_list, data_tuple, data_dict, **kwargs): argument
393 return cls(name, data_list, tuple(data_tuple), data_dict)
409 sbki_tuple = SBKImpl('sbki_tuple', data_tuple=(sbki_list, sbki_list))
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/protocols/
H A Djson_serialization_test.py363 data_tuple: Optional[Tuple] = None,
368 self.data_tuple = data_tuple or ()
377 and self.data_tuple == other.data_tuple
386 "data_tuple": self.data_tuple,
391 def _from_json_dict_(cls, name, data_list, data_tuple, data_dict, **kwargs): argument
392 return cls(name, data_list, tuple(data_tuple), data_dict)
408 sbki_tuple = SBKImpl('sbki_tuple', data_tuple=(sbki_list, sbki_list))
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/protocols/
H A Djson_serialization_test.py363 data_tuple: Optional[Tuple] = None,
368 self.data_tuple = data_tuple or ()
377 and self.data_tuple == other.data_tuple
386 "data_tuple": self.data_tuple,
391 def _from_json_dict_(cls, name, data_list, data_tuple, data_dict, **kwargs): argument
392 return cls(name, data_list, tuple(data_tuple), data_dict)
408 sbki_tuple = SBKImpl('sbki_tuple', data_tuple=(sbki_list, sbki_list))
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/protocols/
H A Djson_serialization_test.py363 data_tuple: Optional[Tuple] = None,
368 self.data_tuple = data_tuple or ()
377 and self.data_tuple == other.data_tuple
386 "data_tuple": self.data_tuple,
391 def _from_json_dict_(cls, name, data_list, data_tuple, data_dict, **kwargs): argument
392 return cls(name, data_list, tuple(data_tuple), data_dict)
408 sbki_tuple = SBKImpl('sbki_tuple', data_tuple=(sbki_list, sbki_list))
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/protocols/
H A Djson_serialization_test.py363 data_tuple: Optional[Tuple] = None,
368 self.data_tuple = data_tuple or ()
377 and self.data_tuple == other.data_tuple
386 "data_tuple": self.data_tuple,
391 def _from_json_dict_(cls, name, data_list, data_tuple, data_dict, **kwargs): argument
392 return cls(name, data_list, tuple(data_tuple), data_dict)
408 sbki_tuple = SBKImpl('sbki_tuple', data_tuple=(sbki_list, sbki_list))
/dports/textproc/py-fastavro/fastavro-0.24.2/tests/
H A Dtest_complex.py130 data_tuple = serialize({"type": "array", "items": "int"}, (1, 2, 3))
131 assert data_list == data_tuple
/dports/lang/python311/Python-3.11.0a3/Modules/
H A D_zoneinfo.c838 PyObject *data_tuple = NULL; in load_data() local
856 if (data_tuple == NULL) { in load_data()
860 if (!PyTuple_CheckExact(data_tuple)) { in load_data()
862 data_tuple); in load_data()
867 PyObject *trans_idx_list = PyTuple_GetItem(data_tuple, 0); in load_data()
872 PyObject *trans_utc = PyTuple_GetItem(data_tuple, 1); in load_data()
877 PyObject *utcoff_list = PyTuple_GetItem(data_tuple, 2); in load_data()
882 PyObject *isdst_list = PyTuple_GetItem(data_tuple, 3); in load_data()
887 PyObject *abbr = PyTuple_GetItem(data_tuple, 4); in load_data()
892 PyObject *tz_str = PyTuple_GetItem(data_tuple, 5); in load_data()
[all …]
/dports/lang/python310/Python-3.10.1/Modules/
H A D_zoneinfo.c834 PyObject *data_tuple = NULL; in load_data() local
852 if (data_tuple == NULL) { in load_data()
856 if (!PyTuple_CheckExact(data_tuple)) { in load_data()
858 data_tuple); in load_data()
863 PyObject *trans_idx_list = PyTuple_GetItem(data_tuple, 0); in load_data()
868 PyObject *trans_utc = PyTuple_GetItem(data_tuple, 1); in load_data()
873 PyObject *utcoff_list = PyTuple_GetItem(data_tuple, 2); in load_data()
878 PyObject *isdst_list = PyTuple_GetItem(data_tuple, 3); in load_data()
883 PyObject *abbr = PyTuple_GetItem(data_tuple, 4); in load_data()
888 PyObject *tz_str = PyTuple_GetItem(data_tuple, 5); in load_data()
[all …]
/dports/lang/python39/Python-3.9.9/Modules/
H A D_zoneinfo.c839 PyObject *data_tuple = NULL; in load_data() local
857 if (data_tuple == NULL) { in load_data()
861 if (!PyTuple_CheckExact(data_tuple)) { in load_data()
863 data_tuple); in load_data()
868 PyObject *trans_idx_list = PyTuple_GetItem(data_tuple, 0); in load_data()
873 PyObject *trans_utc = PyTuple_GetItem(data_tuple, 1); in load_data()
878 PyObject *utcoff_list = PyTuple_GetItem(data_tuple, 2); in load_data()
883 PyObject *isdst_list = PyTuple_GetItem(data_tuple, 3); in load_data()
888 PyObject *abbr = PyTuple_GetItem(data_tuple, 4); in load_data()
893 PyObject *tz_str = PyTuple_GetItem(data_tuple, 5); in load_data()
[all …]
/dports/devel/py-backports.zoneinfo/backports.zoneinfo-0.2.1/lib/
H A Dzoneinfo_module.c862 PyObject *data_tuple = NULL; in load_data() local
880 if (data_tuple == NULL) { in load_data()
884 if (!PyTuple_CheckExact(data_tuple)) { in load_data()
886 data_tuple); in load_data()
891 PyObject *trans_idx_list = PyTuple_GetItem(data_tuple, 0); in load_data()
896 PyObject *trans_utc = PyTuple_GetItem(data_tuple, 1); in load_data()
901 PyObject *utcoff_list = PyTuple_GetItem(data_tuple, 2); in load_data()
906 PyObject *isdst_list = PyTuple_GetItem(data_tuple, 3); in load_data()
911 PyObject *abbr = PyTuple_GetItem(data_tuple, 4); in load_data()
916 PyObject *tz_str = PyTuple_GetItem(data_tuple, 5); in load_data()
[all …]
/dports/net-im/py-telepot/telepot-12.7/telepot/
H A Dhelper.py785 def event_at(self, when, data_tuple): argument
793 return self._base.event_at(when, self.make_event_data(*data_tuple))
795 def event_later(self, delay, data_tuple): argument
803 return self._base.event_later(delay, self.make_event_data(*data_tuple))
805 def event_now(self, data_tuple): argument
812 return self._base.event_now(self.make_event_data(*data_tuple))
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/python/pyarrow/tests/
H A Dtest_plasma.py193 [data_tuple] = self.plasma_client.get_buffers([object_ids[i]],
195 assert data_tuple[1].to_pybytes() == i * b'a'
316 def deserialize_or_output(data_tuple): argument
317 if data_tuple[0] == use_meta:
318 return data_tuple[1].to_pybytes()
320 if data_tuple[1] is None:
323 return pa.deserialize(data_tuple[1])
/dports/databases/arrow/apache-arrow-6.0.1/python/pyarrow/tests/
H A Dtest_plasma.py193 [data_tuple] = self.plasma_client.get_buffers([object_ids[i]],
195 assert data_tuple[1].to_pybytes() == i * b'a'
316 def deserialize_or_output(data_tuple): argument
317 if data_tuple[0] == use_meta:
318 return data_tuple[1].to_pybytes()
320 if data_tuple[1] is None:
323 return pa.deserialize(data_tuple[1])
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/python/pyarrow/tests/
H A Dtest_plasma.py193 [data_tuple] = self.plasma_client.get_buffers([object_ids[i]],
195 assert data_tuple[1].to_pybytes() == i * b'a'
314 def deserialize_or_output(data_tuple): argument
315 if data_tuple[0] == use_meta:
316 return data_tuple[1].to_pybytes()
318 if data_tuple[1] is None:
321 return pa.deserialize(data_tuple[1])
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/contrib/
H A Dtest_onnx.py49 def run_relay(func, data_tuple): argument
53 relay_res = intrp.evaluate(func)(*data_tuple)
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/relay/
H A Dtest_any.py1022 data_tuple = relay.expr.TupleWrapper(data0, 2)
1023 nested_data_tuple = relay.expr.TupleWrapper(data_tuple[0], 2)
1024 y = nested_data_tuple[1] * data_tuple[1] + data1