Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StreamDecoder (0.35 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/negotiate.go

    			return nil, NegotiateError{ContentType: contentType}
    		}
    		info = mediaTypes[0]
    	}
    	return n.serializer.DecoderToVersion(info.Serializer, n.decode), nil
    }
    
    func (n *clientNegotiator) StreamDecoder(contentType string, params map[string]string) (Decoder, Serializer, Framer, error) {
    	mediaTypes := n.serializer.SupportedMediaTypes()
    	info, ok := SerializerInfoForMediaType(mediaTypes, contentType)
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 29 19:55:06 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java

        // my best guess is that the jdk authors have spent more time optimizing that callpath than this
        // one. (StringCoding$StringDecoder vs. StreamDecoder).  StringCoding has a ton of special cases
        // theoretically we could duplicate all that logic here to try to beat 'new String' or at least
        // come close.
        USING_DECODER_WITH_SIZE_HINT {
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/runtime/interfaces.go

    	// optional modifiers to the contentType and will ignore unrecognized parameters.
    	Decoder(contentType string, params map[string]string) (Decoder, error)
    	// StreamDecoder returns the appropriate stream decoder for the provided contentType (e.g.
    	// application/json) and any optional mediaType parameters (e.g. pretty=1), or an error. If no
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 19K bytes
    - Viewed (0)
Back to top