Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for deserialize (0.09 sec)

  1. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. impl/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. compat/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: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

        Request request = new Request.Builder()
            .url(ENDPOINT)
            .build();
    
        // Execute the request and retrieve the response.
        try (Response response = client.newCall(request).execute()) {
          // Deserialize HTTP response to concrete type.
          ResponseBody body = response.body();
          List<Contributor> contributors = CONTRIBUTORS_JSON_ADAPTER.fromJson(body.source());
    
          // Sort list by the most contributions.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. cmd/streaming-v4-unsigned.go

    			return n, cr.err
    		}
    		if b == '\r' { // \r\n denotes end of size.
    			err := mustRead('\n')
    			if err != nil {
    				cr.err = err
    				return n, cr.err
    			}
    			break
    		}
    
    		// Manually deserialize the size since AWS specified
    		// the chunk size to be of variable width. In particular,
    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

        return new ReserializingTestCollectionGenerator<>(delegate);
      }
    
      @Override
      public Collection<E> create(Object... elements) {
        return reserialize(delegate.create(elements));
      }
    
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        try {
          ByteArrayOutputStream bytes = new ByteArrayOutputStream();
          ObjectOutputStream out = new ObjectOutputStream(bytes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java

    public class MapSerializationTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionFeature.Require(SERIALIZABLE)
      public void testReserializeMap() {
        Map<K, V> deserialized = SerializableTester.reserialize(getMap());
        new EqualsTester().addEqualityGroup(getMap(), deserialized).testEquals();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-meta-inline.go

    		if err != nil {
    			return keys, err
    		}
    	}
    	return keys, nil
    }
    
    // serialize will serialize the provided keys and values.
    // The function will panic if keys/value slices aren't of equal length.
    // Payload size can give an indication of expected payload size.
    // If plSize is <= 0 it will be calculated.
    func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) {
    	if len(keys) != len(vals) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top