- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 193 for reserialized (0.08 sec)
-
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization_empty() { Collection<String> c = ImmutableMultiset.of(); assertSame(c, SerializableTester.reserialize(c)); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization_multiple() { Collection<String> c = ImmutableMultiset.of("a", "b", "a");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
BloomFilter<byte[]> bf = BloomFilter.create(Funnels.byteArrayFunnel(), 100); for (int i = 0; i < 10; i++) { bf.put(Ints.toByteArray(i)); } BloomFilter<byte[]> copy = SerializableTester.reserialize(bf); for (int i = 0; i < 10; i++) { assertTrue(copy.mightContain(Ints.toByteArray(i))); } assertThat(copy.expectedFpp()).isEqualTo(bf.expectedFpp());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMap.java
for (int i = 0; i < keys.length; i++) { builder.put(keys[i], values[i]); } return builder.buildOrThrow(); } /** * Returns a builder that builds the unserialized type. Subclasses should override this method. */ Builder<K, V> makeBuilder(int size) { return new Builder<>(size); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 41.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
BloomFilter<byte[]> bf = BloomFilter.create(Funnels.byteArrayFunnel(), 100); for (int i = 0; i < 10; i++) { bf.put(Ints.toByteArray(i)); } BloomFilter<byte[]> copy = SerializableTester.reserialize(bf); for (int i = 0; i < 10; i++) { assertTrue(copy.mightContain(Ints.toByteArray(i))); } assertThat(copy.expectedFpp()).isEqualTo(bf.expectedFpp());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
@J2ktIncompatible @GwtIncompatible // SerializableTester public void testLexicographicalComparatorSerializable() { Comparator<int[]> comparator = Ints.lexicographicalComparator(); assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator); } public void testReverse() { testReverse(new int[] {}, new int[] {}); testReverse(new int[] {1}, new int[] {1});
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization_empty() { Collection<String> c = ImmutableList.of(); assertSame(c, SerializableTester.reserialize(c)); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization_singleton() { Collection<String> c = ImmutableList.of("a");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 23.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(baos); oos.writeObject(originalRule); oos.close(); // Deserialize ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); ObjectInputStream ois = new ObjectInputStream(bais); TestRule deserializedRule = (TestRule) ois.readObject();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
docs/en/docs/tutorial/sql-databases.md
/// ### Read Heroes with `HeroPublic` { #read-heroes-with-heropublic } We can do the same as before to **read** `Hero`s, again, we use `response_model=list[HeroPublic]` to ensure that the data is validated and serialized correctly. {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[65:72] hl[65] *} ### Read One Hero with `HeroPublic` { #read-one-hero-with-heropublic } We can **read** a single hero:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization_empty() { Collection<String> c = ImmutableList.of(); assertSame(c, SerializableTester.reserialize(c)); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testSerialization_singleton() { Collection<String> c = ImmutableList.of("a");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
SerializableTester.reserializeAndAssert(map.entrySet()); SerializableTester.reserializeAndAssert(map.keySet()); assertEquals( new ArrayList<>(map.values()), new ArrayList<>(SerializableTester.reserialize(map.values()))); } public void testHeadMapInclusive() { Map<String, Integer> map = ImmutableSortedMap.of("one", 1, "two", 2, "three", 3).headMap("three", true); assertThat(map.entrySet())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0)