/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ |
D | TestAbstractContainers.java | 34 @JsonSubTypes.Type(value = ListWrapper.class, name = "wrapper"), 36 static class ListWrapper { class in TestAbstractContainers 58 ListWrapper w = new ListWrapper(); in testAbstractLists() 62 Object o = MAPPER.readValue(json, ListWrapper.class); in testAbstractLists() 63 assertEquals(ListWrapper.class, o.getClass()); in testAbstractLists() 64 ListWrapper out = (ListWrapper) o; in testAbstractLists()
|
/external/tensorflow/tensorflow/python/trackable/ |
D | data_structures_test.py | 162 if list_method == getattr(data_structures.ListWrapper, name): 169 original = data_structures.ListWrapper([1, 2]) 177 nest.assert_same_structure(l, data_structures.ListWrapper(copy.copy(l))) 193 data_structures.ListWrapper([constant_op.constant(3.)])) 203 self.assertEqual(data_structures.ListWrapper([a, a]), 204 data_structures.ListWrapper([a, a])) 206 data_structures.ListWrapper([a, a])) 207 self.assertEqual(data_structures.ListWrapper([a, a]), 211 self.assertNotEqual(data_structures.ListWrapper([a, a]), 212 data_structures.ListWrapper([b, a])) [all …]
|
D | data_structures.py | 122 return ListWrapper(value) 454 class ListWrapper( class 1123 lambda obj: isinstance(obj, ListWrapper), 1125 object_factory=lambda proto: ListWrapper([]), 1148 object_factory=lambda proto: ListWrapper([]),
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/objectid/ |
D | TestAbstractWithObjectId.java | 27 static class ListWrapper<T extends BaseInterface> { class in TestAbstractWithObjectId 52 ListWrapper<BaseInterfaceImpl> myList = new ListWrapper<BaseInterfaceImpl>(); in testIssue877() 64 ListWrapper<BaseInterfaceImpl> result; in testIssue877() 66 result = om.readValue(json, new TypeReference<ListWrapper<BaseInterfaceImpl>>() { }); in testIssue877()
|
/external/kotlinx.serialization/formats/json-tests/commonTest/src/kotlinx/serialization/json/polymorphic/ |
D | JsonListPolymorphismTest.kt | 16 internal data class ListWrapper(val list: List<@Polymorphic InnerBase>) in <lambda>() class in kotlinx.serialization.json.polymorphic.JsonListPolymorphismTest 20 ListWrapper.serializer(), in <lambda>() 21 ListWrapper(listOf(InnerImpl(1), InnerImpl2(2))), in <lambda>() 44 …assertFails { polymorphicRelaxedJson.decodeFromString(ListWrapper.serializer(), serialized, jsonTe… in <lambda>()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/ |
D | DefaultTypingOverride1391Test.java | 14 static class ListWrapper { class in DefaultTypingOverride1391Test 30 String json = mapper.writeValueAsString(new ListWrapper()); in testCollectionWithOverride()
|
/external/kotlinx.serialization/formats/json-tests/jvmTest/src/kotlinx/serialization/ |
D | SerializerForNullableJavaTypeTest.kt | 35 … private data class ListWrapper(val times: List<@Serializable(with = DateSerializer::class) Date?>) class in kotlinx.serialization.SerializerForNullableJavaTypeTest 39 val data = ListWrapper(listOf(Date(42), null)) in testMixedList()
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | tf_utils.py | 200 class ListWrapper(object): class 232 if isinstance(nested, ListWrapper): 241 if isinstance(nested, ListWrapper): 244 return ListWrapper(nested) 247 if isinstance(nested, ListWrapper):
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/ |
D | TestJsonSerialize2.java | 184 ListWrapper<String> list = new ListWrapper<String>(); in testEmptyInclusionContainers() 187 assertEquals("{}", inclMapper.writeValueAsString(new ListWrapper<String>())); in testEmptyInclusionContainers()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/ |
D | TestConvertingSerializer.java | 101 static class ListWrapper { class in TestConvertingSerializer 210 String json = objectWriter().writeValueAsString(new ListWrapper()); in testConverterForList357()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ |
D | BaseMapTest.java | 111 protected static class ListWrapper<T> class in BaseMapTest 115 public ListWrapper(@SuppressWarnings("unchecked") T... values) { in ListWrapper() method in BaseMapTest.ListWrapper
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | node.py | 212 return tf_utils.ListWrapper(data)
|
D | functional.py | 1162 if isinstance(t, tf_utils.ListWrapper): 1369 tf_utils.ListWrapper([layer.name, new_node_index, tensor_index])) 1385 tf_utils.ListWrapper([layer.name, new_node_index, tensor_index]))
|
/external/moshi/moshi/src/test/java/com/squareup/moshi/ |
D | MoshiTest.java | 1083 static final class ListWrapper { class in MoshiTest.HasPlatformType 1139 moshi.adapter(HasPlatformType.ListWrapper.class); in reentrantFieldErrorMessagesListWrapper()
|
/external/python/cpython3/Doc/faq/ |
D | design.rst | 513 class ListWrapper: 539 In the case of :class:`!ListWrapper`, whenever the wrapper object is in a dictionary the
|