Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for serialized (0.06 sec)

  1. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

         * Supported types are Kryo and JavaBin serialization.
         * </p>
         *
         * @param obj the object to serialize
         * @return the serialized object as a byte array
         * @throws IllegalArgumentException if an unsupported serializer type is configured
         * @throws IORuntimeException if an I/O error occurs during serialization
         */
        public byte[] fromObjectToBinary(final Object obj) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/SerializeUtil.java

        }
    
        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);
    
            final byte[] binary = fromObjectToBinary(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)
  3. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import java.util.ArrayDeque;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableMapValues.java

      /*
       * The mainline copy of ImmutableMapValues doesn't produce this serialized form anymore, though
       * the backport does. For now, we're keeping the class declaration in *both* flavors so that both
       * flavors can read old data or data from the other flavor. However, we strongly discourage
       * relying on this, as we have made incompatible changes to serialized forms in the past and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Suppliers.java

       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
       * form does not contain the cached value, which will be recalculated when {@code get()} is called
       * on the deserialized instance.
       *
       * <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)
  6. guava/src/com/google/common/base/Suppliers.java

       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
       * form does not contain the cached value, which will be recalculated when {@code get()} is called
       * on the deserialized instance.
       *
       * <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)
  7. README.md

        `com.google.guava:failureaccess:1.0.3`. It also has
        [some annotation-only dependencies][guava-deps], which we discuss in more
        detail at that link.
    
    4.  Serialized forms of ALL objects are subject to change unless noted
        otherwise. Do not persist these and assume they can be read by a future
        version of the library.
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 05 15:30:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return new SerializedForm<>(delegate());
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
      private static final class SerializedForm<B extends @Nullable Object> implements Serializable {
        private final Map<Class<? extends @NonNull B>, B> backingMap;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/BloomFilter.java

     * {@link #writeTo} and {@link #readFrom} methods. Both serialized forms will continue to be
     * supported by future versions of this library. However, serial forms generated by newer versions
     * of the code may not be readable by older versions of the code (e.g., a serialized Bloom filter
     * generated today may <i>not</i> be readable by a binary that was compiled 6 months ago).
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            assertFalse(user.refresh());
            assertEquals(1, user.getRefreshCount());
        }
    
        public void test_serialization() {
            // Test that implementations can be serialized
            FessUser user = new TestFessUser("testuser", new String[] { "role1", "role2" }, new String[] { "group1", "group2" },
                    new String[] { "perm1", "perm2" });
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top