Home
last modified time | relevance | path

Searched refs:expected_types (Results 1 – 13 of 13) sorted by relevance

/external/libprotobuf-mutator/examples/libfuzzer/
Dlibfuzzer_example.cc33 static const char* const expected_types[] = { in __anon7841a1170102() local
38 if (!std::count(std::begin(expected_types), std::end(expected_types), in __anon7841a1170102()
41 (std::end(expected_types) - std::begin(expected_types)); in __anon7841a1170102()
42 any->set_type_url(expected_types[seed % num]); in __anon7841a1170102()
Dlibfuzzer_bin_example.cc33 static const char* const expected_types[] = { in __anon95debcef0102() local
38 if (!std::count(std::begin(expected_types), std::end(expected_types), in __anon95debcef0102()
41 (std::end(expected_types) - std::begin(expected_types)); in __anon95debcef0102()
42 any->set_type_url(expected_types[seed % num]); in __anon95debcef0102()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dunbatch_test.py49 expected_types = (dtypes.int32,) * 3
51 self.assertEqual(expected_types, dataset_ops.get_legacy_output_types(data))
53 self.assertEqual(expected_types, dataset_ops.get_legacy_output_types(data))
69 expected_types = (dtypes.int32, dtypes.string, dtypes.int32)
71 self.assertEqual(expected_types, dataset_ops.get_legacy_output_types(data))
73 self.assertEqual(expected_types, dataset_ops.get_legacy_output_types(data))
131 expected_types = ((dtypes.int32,),) * 3
133 self.assertEqual(expected_types, dataset_ops.get_legacy_output_types(data))
135 self.assertEqual(expected_types, dataset_ops.get_legacy_output_types(data))
144 expected_types = ((dtypes.int32, dtypes.string),) * 3
[all …]
Dfrom_tensor_slices_test.py287 expected_types = (dtypes.uint8, dtypes.uint16, dtypes.uint32, dtypes.uint64)
291 self.assertEqual(expected_types,
/external/llvm-project/lldb/test/API/lang/cpp/stl/
DTestSTL.py61 expected_types = {'string': False, 'int': False}
68 expected_types['string'] = True
70 expected_types['int'] = True
73 self.assertTrue(all(expected_types.values()))
/external/python/parse_type/tests/
Dtest_parse_util.py384 for field_text, expected_types in MANY_TYPES_DATA:
386 self.assertEqual(len(type_names), len(expected_types))
387 self.assertSequenceEqual(type_names, expected_types)
/external/webrtc/modules/audio_coding/audio_network_adaptor/
Dcontroller_manager_unittest.cc299 const std::vector<ControllerType>& expected_types) { in CheckControllersOrder() argument
300 ASSERT_EQ(expected_types.size(), controllers.size()); in CheckControllersOrder()
312 switch (expected_types[i]) { in CheckControllersOrder()
/external/tensorflow/tensorflow/python/debug/wrappers/
Dframework.py119 def _check_type(obj, expected_types): argument
130 if not isinstance(obj, expected_types):
132 (expected_types, type(obj)))
/external/tensorflow/tensorflow/python/grappler/
Dauto_mixed_precision_test.py402 expected_types = []
411 expected_types.append(section_expected_types)
419 for section_name, expected_types in zip(section_names, expected_types):
420 for i, expected_type in enumerate(expected_types):
/external/protobuf/python/google/protobuf/pyext/
Dmessage.h342 void FormatTypeError(PyObject* arg, char* expected_types);
Dmessage.cc546 void FormatTypeError(PyObject* arg, char* expected_types) { in FormatTypeError() argument
556 expected_types); in FormatTypeError()
/external/tensorflow/tensorflow/python/framework/
Dtensor_util.py263 def _generate_isinstance_check(expected_types): argument
266 if not (isinstance(v, expected_types) or
268 issubclass(v.dtype.type, expected_types))):
/external/tensorflow/tensorflow/python/data/util/
Dstructure_test.py85 def testFlatStructure(self, value_fn, expected_structure, expected_types, argument
91 self.assertEqual(expected_types, flat_types)