Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 652 for reserialized (0.3 sec)

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

     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      /** Serializes and deserializes the specified object. */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        checkNotNull(object);
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        try {
          ObjectOutputStream out = new ObjectOutputStream(bytes);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 23 12:13:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/Platform.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      /** Serializes and deserializes the specified object. */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        checkNotNull(object);
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        try {
          ObjectOutputStream out = new ObjectOutputStream(bytes);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Aug 23 12:13:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderAssertionError.java

    package org.gradle.internal.serialize;
    
    import org.gradle.internal.UncheckedException;
    
    import javax.annotation.Nullable;
    
    /**
     * A {@code PlaceholderException} is used when an assertion error cannot be serialized or deserialized.
     */
    public class PlaceholderAssertionError extends AssertionError implements PlaceholderExceptionSupport {
        private final String exceptionClassName;
        private final Throwable getMessageException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/daemon/DaemonGroovyCompiler.java

             * value is serialized and deserialized, so the correct class is returned. In the latter case, the result
             * is returned directly, which means it is not an instance of the expected class unless we allow that class
             * to leak through here. Should be fixed in the worker API, so that it always serializes/deserializes results.
             */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/IsolatableSerializerRegistryTest.groovy

            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
            newIsolatables[0].isolate() == properties
        }
    
        def "can serialize/deserialize isolated Array"() {
            String[] array = ["foo", "bar"]
    
            when:
            serialize(isolatableFactory.isolate(array))
    
            and:
            Isolatable<?>[] newIsolatables = deserialize()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:36 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/ResolvedGraphComponent.java

    import javax.annotation.Nullable;
    import java.util.List;
    
    /**
     * The final representation of a component in the resolved dependency graph.
     * This is the type that is serialized on resolve and deserialized when we later need to build a `ResolutionResult`.
     */
    public interface ResolvedGraphComponent {
        /**
         * Returns a simple id for this component, unique across components in the same graph.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/ResolvedGraphDependency.java

    import org.gradle.internal.resolve.ModuleVersionResolveException;
    
    import javax.annotation.Nullable;
    
    /**
     * The final representation of a dependency in the resolved dependency graph.
     * This is the type that is serialized on resolve and deserialized when we later need to build a `ResolutionResult`.
     */
    public interface ResolvedGraphDependency {
    
        ComponentSelector getRequested();
    
        @Nullable
        ModuleVersionResolveException getFailure();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/PlaceholderException.java

    import org.gradle.internal.UncheckedException;
    import org.gradle.internal.scan.UsedByScanPlugin;
    
    import javax.annotation.Nullable;
    
    /**
     * A {@code PlaceholderException} is used when an exception cannot be serialized or deserialized.
     */
    @UsedByScanPlugin
    public class PlaceholderException extends RuntimeException implements PlaceholderExceptionSupport {
        private final String exceptionClassName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileCollectionInternal.java

         */
        TreeFormatter describeContents(TreeFormatter formatter);
    
        /**
         * Calculates the execution time value of this file collection. The resulting value is serialized to the configuration cache
         * and deserialized at execution time, utilizing the logic encapsulated within the value.
         */
        default Optional<FileCollectionExecutionTimeValue> calculateExecutionTimeValue() {
            return Optional.empty();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 14:55:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top