Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 652 for reserialized (0.19 sec)

  1. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       *
       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       */
      @CanIgnoreReturnValue
      public static <T> T reserialize(T object) {
        return Platform.reserialize(object);
      }
    
      /**
       * Serializes and deserializes the specified object and verifies that the re-serialized object is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/cmd/internal/pgo/deserialize.go

    package pgo
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    	"strings"
    	"strconv"
    )
    
    // IsSerialized returns true if r is a serialized Profile.
    //
    // IsSerialized only peeks at r, so seeking back after calling is not
    // necessary.
    func IsSerialized(r *bufio.Reader) (bool, error) {
    	hdr, err := r.Peek(len(serializationHeader))
    	if err == io.EOF {
    		// Empty file.
    		return false, nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java

         *
         * @param input The file to deserialize the settings from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized settings, never {@code null}.
         * @throws IOException If the settings could not be deserialized.
         * @throws SettingsParseException If the input format could not be parsed.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java

         *
         * @param input The file to deserialize the toolchains from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized toolchains, never {@code null}.
         * @throws IOException If the toolchains could not be deserialized.
         * @throws ToolchainsParseException If the input format could not be parsed.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

         *
         * @param input The file to deserialize the metadata from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized metadata, never {@code null}.
         * @throws IOException If the metadata could not be deserialized.
         * @throws MetadataParseException If the input format could not be parsed.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

         * Reads the model from the specified file.
         *
         * @param input The file to deserialize the model from, must not be {@code null}.
         * @param options The options to use for deserialization, may be {@code null} to use the default values.
         * @return The deserialized model, never {@code null}.
         * @throws IOException If the model could not be deserialized.
         * @throws ModelParseException If the input format could not be parsed.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/PhasedActionEventConsumer.java

    import org.gradle.tooling.internal.protocol.PhasedActionResultListener;
    import org.gradle.tooling.internal.provider.serialization.PayloadSerializer;
    
    /**
     * Consumer of events from phased actions. This consumer deserializes the results and forward them to the correct listener.
     */
    public class PhasedActionEventConsumer implements BuildEventConsumer {
        private final PhasedActionResultListener phasedActionResultListener;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top