Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 155 for reserialize (0.06 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Set;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

                CrawlerStatus deserialized = (CrawlerStatus) ois.readObject();
                ois.close();
    
                // Verify - enum instances are singletons
                assertSame(original, deserialized);
                assertEquals(original.name(), deserialized.name());
                assertEquals(original.ordinal(), deserialized.ordinal());
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            CrawlerSystemException deserialized = (CrawlerSystemException) ois.readObject();
            ois.close();
    
            // Verify
            assertNotNull(deserialized);
            assertEquals(original.getMessage(), deserialized.getMessage());
            assertNotNull(deserialized.getCause());
            assertEquals(original.getCause().getMessage(), deserialized.getCause().getMessage());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
  4. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            assertTrue(s.contains("hello"));
        }
    
        @Test
        @DisplayName("Should serialize and deserialize preserving message and cause")
        void testJavaSerialization() throws Exception {
            // Given
            SpnegoException original = new SpnegoException("serialize me", new IllegalArgumentException("iaex"));
    
            // When
            byte[] bytes;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/ReserializingTestSetGenerator.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.util.Set;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestSetGenerator<E> extends ReserializingTestCollectionGenerator<E>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/io/SerializeUtil.java

         * @return the deserialized object
         */
        public static Object serialize(final Object obj) {
            assertArgumentNotNull("obj", obj);
    
            final byte[] binary = fromObjectToBinary(obj);
            return fromBinaryToObject(binary);
        }
    
        /**
         * Converts an object to a byte array.
         *
         * @param obj the object to serialize (must not be {@literal null})
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/TransformerTest.java

            @SuppressWarnings("unchecked")
            TestAccessResultData<String> deserialized = (TestAccessResultData<String>) ois.readObject();
            ois.close();
    
            // Verify
            assertEquals("test data", new String(deserialized.getData()));
            assertNotNull(deserialized.getData());
        }
    
        /**
         * Test transformer with large data
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 28K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                                });
                                return result.toArray(n -> new RequestParameter[n]);
                            } catch (final Exception e) {
                                logger.warn("Failed to deserialize search parameters from cookie.", e);
                                return new RequestParameter[0];
                            }
                        }
                    }
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

       *
       * <p>The returned supplier is thread-safe. The supplier's serialized form does not contain the
       * cached value, which will be recalculated when {@code get()} is called on the reserialized
       * instance. The actual memoization does not happen when the underlying delegate throws an
       * exception.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Suppliers.java

       *
       * <p>The returned supplier is thread-safe. The supplier's serialized form does not contain the
       * cached value, which will be recalculated when {@code get()} is called on the reserialized
       * instance. The actual memoization does not happen when the underlying delegate throws an
       * exception.
       *
       * <p>When the underlying delegate throws an exception then this memoizing supplier will keep
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
Back to top