- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for Serialize (0.06 sec)
-
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
* its class information. The serialized data is written to a byte array * output stream. * </p> * * @param obj the object to serialize * @return the serialized object as a byte array * @throws IORuntimeException if an I/O error occurs during serialization */ protected byte[] serializeWithKryo(final Object obj) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Wed Nov 19 07:09:17 UTC 2025 - 6.5K bytes - Viewed (3) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
return ObjectInputFilter.Status.REJECTED; }; /** * 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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 9K bytes - Viewed (0) -
internal/hash/checksum_test.go
// Set WantParts to indicate 3 parts finalChecksum.WantParts = 3 // Test AppendTo serialization var serialized []byte serialized = finalChecksum.AppendTo(serialized, checksumCombined) // Use ChecksumFromBytes to deserialize the final checksum chksmOut := ChecksumFromBytes(serialized) if chksmOut == nil { t.Fatal("ChecksumFromBytes returned nil") } // Assert they are exactly equal
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 22 14:15:21 UTC 2025 - 7.1K bytes - Viewed (0) -
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) -
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) -
android/guava/src/com/google/common/collect/ImmutableEnumMap.java
private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use EnumSerializedForm"); } /* * This class is used to serialize ImmutableEnumMap instances. */ @J2ktIncompatible // serialization private static final class EnumSerializedForm<K extends Enum<K>, V> implements Serializable { final EnumMap<K, V> delegate;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.7K bytes - Viewed (0) -
cmd/xl-storage-format-utils_test.go
} else { versions = append(versions, fi) allVersionIDs = append(allVersionIDs, fi.VersionID) } } buf, err := xl.AppendTo(nil) if err != nil { t.Fatalf("Failed to serialize xlmeta %v", err) } fivs, err := getFileInfoVersions(buf, basefi.Volume, basefi.Name, false) if err != nil { t.Fatalf("getFileInfoVersions failed: %v", err) } chkNumVersions := func(fis []FileInfo) bool {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 7.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } /* * This class is used to serialize ImmutableEnumSet instances. */ @J2ktIncompatible // serialization private static final class EnumSerializedForm<E extends Enum<E>> implements Serializable { final EnumSet<E> delegate;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0)