- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for reserialized (0.24 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Collection; import java.util.List; /** * Reserializes the sets created by another test set generator. * * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections * * @author Jesse Wilson */ @GwtIncompatible public class ReserializingTestCollectionGenerator<E> implements TestCollectionGenerator<E> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.Collection; import java.util.List; /** * Reserializes the sets created by another test set generator. * * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections * * @author Jesse Wilson */ @GwtIncompatible public class ReserializingTestCollectionGenerator<E> implements TestCollectionGenerator<E> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
"Serialization failed on return value of " + factory, e.getCause()); } catch (AssertionFailedError e) { throw new AssertionError( "Return value of " + factory + " reserialized to an unequal value", e); } } } return this; } private ImmutableList<Invokable<?, ?>> getFactoriesToTest() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
"Serialization failed on return value of " + factory, e.getCause()); } catch (AssertionFailedError e) { throw new AssertionError( "Return value of " + factory + " reserialized to an unequal value", e); } } } return this; } private ImmutableList<Invokable<?, ?>> getFactoriesToTest() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 32.7K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/test/groovy/org/gradle/plugin/devel/tasks/internal/ValidationProblemSerializationTest.groovy
def deserialized = ValidationProblemSerialization.parseMessageList(json) then: deserialized.size() == 1 deserialized[0].definition.id.name == "id" deserialized[0].definition.id.displayName == "label" deserialized[0].locations[0].path == "location" deserialized[0].locations[0].line == 1 deserialized[0].locations[0].column == 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 08:30:15 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt
deserialize(serialize(action)) private fun <T> serialize(action: TestableIsolatedAction<T>) = IsolatedActionSerializer(ownerGradle(), DefaultBeanStateWriterLookup(), isolatedActionCodecsFactory()) .serialize(action) private fun <T> deserialize(serialized: SerializedIsolatedActionGraph<TestableIsolatedAction<T>>) =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializer.kt
import java.util.IdentityHashMap /** * Serialized state of an object graph containing one or more [IsolatedAction]s. * * @param G type of the root object stored in [graph] */ internal class SerializedIsolatedActionGraph<G>( /** * The serialized graph. */ val graph: ByteArray, /** * External references that are not serialized directly as part of the [graph].
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildSrcProblemReportingIntegrationTest.groovy
withProblem("Build file 'build.gradle': line 3: registration of listener on 'Gradle.addListener' is unsupported") withProblem("Task `:broken` of type `org.gradle.api.DefaultTask`: cannot deserialize object of type 'org.gradle.api.Project' as these are not supported with the configuration cache.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.4K bytes - Viewed (0) -
android/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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java
AtomicDouble a = new AtomicDouble(x); double z = a.addAndGet(y); assertBitEquals(x + y, z); assertBitEquals(x + y, a.get()); } } } /** a deserialized serialized atomic holds same value */ public void testSerialization() throws Exception { AtomicDouble a = new AtomicDouble(); AtomicDouble b = serialClone(a); assertNotSame(a, b); a.set(-22.0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 6.9K bytes - Viewed (0)