- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for ObjectOutputStream (0.34 sec)
-
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt
} class MultiWriteObjectBean(var stringValue: String? = null) : BaseWriteObjectBean() { private fun writeObject(objectOutputStream: ObjectOutputStream) { writeOrder.add("subclass") objectOutputStream.writeUTF("42") objectOutputStream.writeObject(writeOrder) } private fun readObject(objectInputStream: ObjectInputStream) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 16.1K bytes - Viewed (0) -
maven-model/src/test/java/org/apache/maven/model/SerializationTest.java
Build build = model.getBuild(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (ObjectOutputStream oos = new ObjectOutputStream(baos)) { oos.writeObject(build); } Build build2; ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Mar 01 16:30:18 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt
override fun reset() = unsupported("ObjectOutputStream.reset") override fun writeFields() = unsupported("ObjectOutputStream.writeFields") override fun putFields(): PutField = unsupported("ObjectOutputStream.putFields") override fun writeChars(str: String) = unsupported("ObjectOutputStream.writeChars") override fun writeBytes(str: String) = unsupported("ObjectOutputStream.writeBytes")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
} @SuppressWarnings("unchecked") static <T> T reserialize(T object) { try { ByteArrayOutputStream bytes = new ByteArrayOutputStream(); ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) in.readObject();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
* a map serialized by {@link #writeMap(Map, ObjectOutputStream)}, the number of distinct elements * in a multiset serialized by {@link #writeMultiset(Multiset, ObjectOutputStream)}, or the number * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap, * ObjectOutputStream)}. */ static int readCount(ObjectInputStream stream) throws IOException {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Serialization.java
* a map serialized by {@link #writeMap(Map, ObjectOutputStream)}, the number of distinct elements * in a multiset serialized by {@link #writeMultiset(Multiset, ObjectOutputStream)}, or the number * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap, * ObjectOutputStream)}. */ static int readCount(ObjectInputStream stream) throws IOException {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/Platform.java
@SuppressWarnings("unchecked") static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 23 12:13:11 UTC 2023 - 1.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/Platform.java
@SuppressWarnings("unchecked") static <T> T reserialize(T object) { checkNotNull(object); ByteArrayOutputStream bytes = new ByteArrayOutputStream(); try { ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) requireNonNull(in.readObject());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Aug 23 12:13:11 UTC 2023 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashMultiset.java
} /** * @serialData the number of distinct elements, the first element, its count, the second element, * its count, and so on */ @GwtIncompatible // java.io.ObjectOutputStream @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMultiset(this, stream); } @GwtIncompatible // java.io.ObjectInputStream
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
} @SuppressWarnings("unchecked") static <T> T reserialize(T object) { try { ByteArrayOutputStream bytes = new ByteArrayOutputStream(); ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) in.readObject();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0)