Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 229 for reserialized (0.59 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/crypto/x509/x509_test.go

    			}
    		} else {
    			if err != nil {
    				t.Errorf("#%d: unexpected failure: %s", i, err)
    				continue
    			}
    			reserialized := MarshalPKCS1PublicKey(pub)
    			if !bytes.Equal(reserialized, test.derBytes) {
    				t.Errorf("#%d: failed to reserialize: got %x, expected %x", i, reserialized, test.derBytes)
    			}
    		}
    	}
    }
    
    type matchHostnamesTest struct {
    	pattern, host string
    	ok            bool
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/HierarchicalNameSerializerTest.groovy

        HierarchicalNameSerializer serializer = new HierarchicalNameSerializer(Interners.newWeakInterner())
        HierarchicalNameSerializer deserializer = new HierarchicalNameSerializer(Interners.newWeakInterner())
    
        def "can deserialize serialized form"() {
            given:
            def out = new ByteArrayOutputStream()
    
            when:
            new KryoBackedEncoder(out).withCloseable { encoder ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. 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)
  8. platforms/core-runtime/daemon-protocol/src/test/groovy/org/gradle/tooling/internal/provider/serialization/PayloadSerializerTest.groovy

            when:
            def received1 = receiver.deserialize(originator.serialize(original))
            def reply1 = originator.deserialize(receiver.serialize(received1))
            def received2 = receiver.deserialize(originator.serialize(original))
            def reply2 = originator.deserialize(receiver.serialize(received2))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelProcessor.java

         * returns.
         *
         * @param request The reader request to deserialize the model, must not be {@code null}.
         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws XmlReaderException If the input format could not be parsed.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/SerializeMap.java

     */
    
    package org.gradle.tooling.internal.provider.serialization;
    
    import java.util.Map;
    
    public interface SerializeMap {
        /**
         * Visits a class to be serialized, returning the id of the deserialize ClassLoader to associate this class with.
         * The id is unique only for this serialization, and is used as the key for the map built by {@link #collectClassLoaderDefinitions(Map)}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top