- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 193 for reserialized (0.65 sec)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
reserialize(new TypeToken<String>() {}); reserialize(new TypeToken<Map<String, Integer>>() {}); TypeToken<Map<String, Integer>> reserialized = reserialize(new TypeToken<Map<String, Integer>>() {}); assertEquals(reserialized, substitute(reserialized, String.class)); } private static <T, X> TypeToken<T> substitute(TypeToken<T> type, Class<X> arg) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
"Serialization failed on return value of " + factory, e.getCause()); } catch (AssertionFailedError e) { throw new AssertionError( "Return value of " + factory + " reserialized to an unequal value", e); } } } return this; } private ImmutableList<Invokable<?, ?>> getFactoriesToTest() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* * @return the re-serialized object * @throws RuntimeException if the specified object was not successfully serialized or * deserialized */ @CanIgnoreReturnValue public static <T> T reserialize(T object) { return Platform.reserialize(object); } /** * Serializes and deserializes the specified object and verifies that the re-serialized object is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
}; } /** * Deserializes a byte array back to an object. * <p> * The deserialization method used depends on the configured serializer type. * Supported types are Kryo and JavaBin deserialization. * </p> * * @param bytes the byte array to deserialize * @return the deserialized object
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java
public class MapSerializationTester<K, V> extends AbstractMapTester<K, V> { @CollectionFeature.Require(SERIALIZABLE) public void testReserializeMap() { Map<K, V> deserialized = SerializableTester.reserialize(getMap()); new EqualsTester().addEqualityGroup(getMap(), deserialized).testEquals(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
*/ protected SerializeUtil() { } private static final int BYTE_ARRAY_SIZE = 8 * 1024; /** * Tests if the object can be serialized. * * @param obj the object to be serialized (must not be {@literal null}) * @return the deserialized object */ public static Object serialize(final Object obj) { assertArgumentNotNull("obj", obj);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
oos.close(); // Deserialize ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); ObjectInputStream ois = new ObjectInputStream(bais); DictionaryExpiredException deserialized = (DictionaryExpiredException) ois.readObject(); ois.close(); // Verify assertNotNull(deserialized); assertNull(deserialized.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
* * @author Chris Povirk */ @GwtCompatible @NullMarked final class Platform { /** Serializes and deserializes the specified object. */ @SuppressWarnings("unchecked") static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.7K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java
/** * Methods factored out so that they can be emulated differently in GWT. * * @author Chris Povirk */ final class Platform { /** Serializes and deserializes the specified object (a no-op under GWT). */ @SuppressWarnings("unchecked") static <T> T reserialize(T object) { return checkNotNull(object); } private Platform() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
assertEquals(exception.getMessage(), deserialized.getMessage()); assertEquals(exception.getContext().get("key1"), deserialized.getContext().get("key1")); assertEquals(exception.getContext().get("key2"), deserialized.getContext().get("key2")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0)