Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 248 for deserialize (0.19 sec)

  1. 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.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  2. 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.
         */
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableBiMap.java

     * limitations under the License.
     */
    package com.google.common.collect;
    
    
    /**
     * GWT emulation of {@link JdkBackedImmutableBiMap}. Never used, but must exist so that the client
     * is willing to deserialize maps that were this type on the server.
     */
    @ElementTypesAreNonnullByDefault
    class JdkBackedImmutableBiMap<K, V> extends RegularImmutableBiMap<K, V> {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1K bytes
    - Viewed (0)
  4. cmd/data-usage_test.go

    	var got dataUsageCache
    	err = got.deserialize(&buf)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if got.Info.LastUpdate.IsZero() {
    		t.Error("lastupdate not set")
    	}
    
    	if !want.Info.LastUpdate.Equal(got.Info.LastUpdate) {
    		t.Fatalf("deserialize LastUpdate mismatch\nwant: %+v\ngot:  %+v", want, got)
    	}
    	if len(want.Cache) != len(got.Cache) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/JdkBackedImmutableMap.java

     */
    
    package com.google.common.collect;
    
    import java.util.Map;
    
    /**
     * GWT emulation of {@link JdkBackedImmutableMap}. Never used, but must exist so that the client is
     * willing to deserialize maps that were this type on the server.
     */
    @ElementTypesAreNonnullByDefault
    final class JdkBackedImmutableMap<K, V> extends ForwardingImmutableMap<K, V> {
      JdkBackedImmutableMap(Map<? extends K, ? extends V> delegate) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 1K bytes
    - Viewed (0)
  6. 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.
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  7. istioctl/pkg/admin/istiodconfig.go

    	if err != nil {
    		return nil, fmt.Errorf("cannot deserialize response %s", err)
    	}
    	return scopeInfos, nil
    }
    
    func (c *ControlzClient) PutScope(scope *ScopeInfo) error {
    	var jsonScopeInfo bytes.Buffer
    	err := json.NewEncoder(&jsonScopeInfo).Encode(scope)
    	if err != nil {
    		return fmt.Errorf("cannot serialize scope %+v", *scope)
    	}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. cmd/data-usage-cache.go

    						return true, nil
    					}
    					return false, err
    				}
    				err = d.deserialize(r)
    				r.Close()
    				return err != nil, nil
    			case InsufficientReadQuorum, StorageErr:
    				return true, nil
    			}
    			return false, err
    		}
    		err = d.deserialize(r)
    		r.Close()
    		return err != nil, nil
    	}
    
    	// Caches are read+written without locks,
    	retries := 0
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  9. 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':
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat May 06 02:53:12 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  10. cmd/streaming-signature-v4.go

    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    		if err != nil {
    			cr.err = err
    			return n, cr.err
    		}
    		if b == ';' { // separating character
    			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':
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
Back to top