- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for Serialize (0.05 sec)
-
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) -
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) -
cmd/xl-storage-meta-inline.go
if err != nil { return keys, err } } return keys, nil } // serialize will serialize the provided keys and values. // The function will panic if keys/value slices aren't of equal length. // Payload size can give an indication of expected payload size. // If plSize is <= 0 it will be calculated. func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) { if len(keys) != len(vals) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
start = System.currentTimeMillis(); SerializeUtil.serialize(hmap); System.out.println("HashMap serialize:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); SerializeUtil.serialize(amap); System.out.println("ArrayMap serialize:" + (System.currentTimeMillis() - start)); } private static class MyKey {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
} /** * Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve * POM expressions, then re-parse into the resolved Model instance. * <p> * <b>NOTE:</b> This will result in a different instance of Model being returned!!! * * @param model The inbound Model instance, to serialize and reference for expression resolution
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 13.6K bytes - Viewed (0) -
kotlin-js-store/yarn.lock
ajv-keywords "^3.5.2" serialize-javascript@6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.0.tgz#efae5d88f45d7924141da8b5c3a7a7e663fefeb8" integrity sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag== dependencies: randombytes "^2.1.0" serialize-javascript@^6.0.1: version "6.0.1"
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 22 12:28:51 UTC 2023 - 87.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/SerializeUtilTest.java
/** * @throws Exception */ public void testSerialize() throws Exception { final String[] a = new String[] { "1", "2" }; final String[] b = (String[]) SerializeUtil.serialize(a); assertEquals("1", b.length, a.length); assertEquals("2", "1", b[0]); assertEquals("3", "2", b[1]); } /** * @throws Exception */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.3K 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/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
} } public void test_serialization() throws Exception { // Test that the exception is serializable DictionaryExpiredException original = new DictionaryExpiredException(); // Serialize ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(baos); oos.writeObject(original); oos.close(); // Deserialize
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0)