- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 231 for reserialized (0.11 sec)
-
android/guava-tests/test/com/google/common/base/SuppliersTest.java
assertEquals(Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get()); assertEquals( Integer.valueOf(5), reserialize(Suppliers.compose(Functions.identity(), Suppliers.ofInstance(5))).get()); assertEquals(Integer.valueOf(5), reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get()); assertEquals( Integer.valueOf(5),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
assertEquals(Integer.valueOf(5), reserialize(Suppliers.ofInstance(5)).get()); assertEquals( Integer.valueOf(5), reserialize(Suppliers.compose(Functions.identity(), Suppliers.ofInstance(5))).get()); assertEquals(Integer.valueOf(5), reserialize(Suppliers.memoize(Suppliers.ofInstance(5))).get()); assertEquals( Integer.valueOf(5),
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 17.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <ul> * <li>If {@code C} explicitly implements {@link Object#equals}, the deserialized instance will * be checked to be equal to the instance before serialization. * <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a * superclass, no equality check is done on the deserialized instance because it's not clear
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
EXPECT_EQ(tensorflow::unwrap(var_handle0)->DeviceName(&status2), dev0_name); // Rename local device // This server def has the task index set to 0. string serialized = server_def.SerializeAsString(); TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); const string dev1_name =
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
map.put("one", 1); map.put("two", 2); map.put("three", 3); return SerializableTester.reserialize(map); } @Override protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException { NavigableMap<String, Integer> map = new SafeTreeMap<>(); return SerializableTester.reserialize(map); } @Override protected String getKeyNotInPopulatedMap() { return "minus one"; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 1.7K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java
map.put("one", 1); map.put("two", 2); map.put("three", 3); return SerializableTester.reserialize(map); } @Override protected SortedMap<String, Integer> makeEmptyMap() throws UnsupportedOperationException { NavigableMap<String, Integer> map = new SafeTreeMap<>(); return SerializableTester.reserialize(map); } @Override protected String getKeyNotInPopulatedMap() { return "minus one"; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 18 18:06:40 UTC 2022 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
} public void testEqualsAndHashCode() { new EqualsTester() .addEqualityGroup(Optional.absent(), reserialize(Optional.absent())) .addEqualityGroup(Optional.of(Long.valueOf(5)), reserialize(Optional.of(Long.valueOf(5)))) .addEqualityGroup(Optional.of(Long.valueOf(42)), reserialize(Optional.of(Long.valueOf(42)))) .testEquals(); } public void testToString_absent() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java
Set<Multiset.Entry<E>> expected = getMultiset().entrySet(); assertEquals(expected, SerializableTester.reserialize(expected)); } @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS) public void testElementSetSerialization() { Set<E> expected = getMultiset().elementSet(); assertEquals(expected, SerializableTester.reserialize(expected)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
TFE_Context* ctx = TFE_NewContext(opts, status); EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); TFE_DeleteContextOptions(opts); TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status); EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); const char task0_name[] = "/job:localhost/replica:0/task:0/device:CPU:0";
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 23.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
public void testSerializationContainingSelf() { Multiset<Multiset<?>> multiset = HashMultiset.create(); multiset.add(multiset, 2); Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset); assertEquals(2, copy.size()); assertSame(copy, copy.iterator().next()); } @J2ktIncompatible @GwtIncompatible // Only used by @GwtIncompatible code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.4K bytes - Viewed (0)