- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 177 for deserialize (0.07 sec)
-
android/guava-tests/test/com/google/common/primitives/CharsTest.java
@GwtIncompatible // SerializableTester public void testLexicographicalComparatorSerializable() { Comparator<char[]> comparator = Chars.lexicographicalComparator(); assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator); } public void testReverse() { testReverse(new char[] {}, new char[] {}); testReverse(new char[] {'1'}, new char[] {'1'});
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 25.6K bytes - Viewed (0) -
cmd/admin-handlers-pools.go
if objectAPI == nil { return } // NB rebalance-start admin API is always coordinated from first pool's // first node. The following is required to serialize (the effects of) // concurrent rebalance-start commands. if ep := globalEndpoints[0].Endpoints[0]; !ep.IsLocal { for nodeIdx, proxyEp := range globalProxyEndpoints { if proxyEp.Endpoint.Host == ep.Host {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 00:22:30 UTC 2024 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testEmpty_serialization() { SortedSet<String> set = of(); SortedSet<String> copy = SerializableTester.reserialize(set); assertSame(set, copy); } public void testSingle_comparator() { SortedSet<String> set = of("e"); assertSame(Ordering.natural(), set.comparator()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 46.7K bytes - Viewed (0) -
RELEASE.md
`tf.name_scope` and `tf.variable_scope`. The new argument order of `tf.variable_scope` is incompatible with previous versions. * Introducing `core/util/tensor_bundle` module: a module to efficiently serialize/deserialize tensors to disk. Will be used in TF's new checkpoint format. * Added tf.svd for computing the singular value decomposition (SVD) of dense matrices or batches of matrices (CPU only).
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Oct 22 14:33:53 UTC 2024 - 735.3K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.9K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 21.2K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
private final transient ConcurrentMap<E, AtomicInteger> countMap; // This constant allows the deserialization code to set a final field. This holder class // makes sure it is not initialized unless an instance is deserialized. private static class FieldSettersHolder { static final FieldSetter<? super ConcurrentHashMultiset<?>> COUNT_MAP_FIELD_SETTER = Serialization.getFieldSetter(ConcurrentHashMultiset.class, "countMap"); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.1K bytes - Viewed (0) -
internal/hash/checksum.go
if c == nil { return nil } var tmp [binary.MaxVarintLen32]byte n := binary.PutUvarint(tmp[:], uint64(c.Type)) crc := c.Raw if c.Type.Trailing() { // When we serialize we don't care if it was trailing. c.Type ^= ChecksumTrailing } if len(crc) != c.Type.RawByteLen() { return b } b = append(b, tmp[:n]...) b = append(b, crc...) if c.Type.Is(ChecksumMultipart) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 12.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
@GwtIncompatible // SerializableTester public void testLexicographicalComparatorSerializable() { Comparator<double[]> comparator = Doubles.lexicographicalComparator(); assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator); } @J2ktIncompatible @GwtIncompatible // SerializableTester public void testStringConverterSerialization() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0)