Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for deserialize (2.38 sec)

  1. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 6.5K bytes
    - Viewed (3)
  2. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      public void testSerialization() {
        assertThat(reserialize(ImmutableLongArray.of())).isSameInstanceAs(ImmutableLongArray.of());
        assertThat(reserialize(ImmutableLongArray.of(0, 1).subArray(1, 1)))
            .isSameInstanceAs(ImmutableLongArray.of());
    
        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3, 6).subArray(1, 3);
        ImmutableLongArray iia2 = reserialize(iia);
        assertThat(iia2).isEqualTo(iia);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(localCacheTwo.ticker).isEqualTo(localCacheOne.ticker);
    
        // serialize the reconstituted version to be sure we haven't lost the ability to reserialize
        LocalLoadingCache<Object, Object> three = SerializableTester.reserialize(two);
        LocalCache<Object, Object> localCacheThree = three.localCache;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        assertThat(localCacheTwo.ticker).isEqualTo(localCacheOne.ticker);
    
        // serialize the reconstituted version to be sure we haven't lost the ability to reserialize
        LocalLoadingCache<Object, Object> three = SerializableTester.reserialize(two);
        LocalCache<Object, Object> localCacheThree = three.localCache;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

        ContainsBothWithMultisetFirst reMultisetFirst = reserialize(multisetFirst);
        assertThat(reMultisetFirst.a.isEmpty()).isFalse();
        // The following NPE is a side effect of our changes to avoid mutating `final` fields.
        assertThrows(NullPointerException.class, () -> reMultisetFirst.z.multiset.isEmpty());
    
        ContainsBothWithContainsMultisetFirst reContainsMultisetFirst =
            reserialize(containsMultisetFirst);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        Helpers.testComparator(comparator, ordered);
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
    
        // The Java implementation.
        Comparator<byte[]> javaImpl = UnsignedBytes.lexicographicalComparatorJavaImpl();
        Helpers.testComparator(javaImpl, ordered);
        assertThat(SerializableTester.reserialize(javaImpl)).isSameInstanceAs(javaImpl);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  9. tests/test_request_params/test_cookie/test_list.py

    # Currently, there is no way to pass multiple cookies with the same name.
    # The only way to pass multiple values for cookie params is to serialize them using
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 16:15:36 UTC 2025
    - 234 bytes
    - Viewed (0)
  10. tests/test_request_params/test_cookie/test_optional_list.py

    # Currently, there is no way to pass multiple cookies with the same name.
    # The only way to pass multiple values for cookie params is to serialize them using
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Dec 11 16:15:36 UTC 2025
    - 234 bytes
    - Viewed (0)
Back to top