Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 632 for Decoders (0.17 sec)

  1. internal/bucket/lifecycle/noncurrentversion.go

    	}
    	type noncurrentVersionExpirationWrapper NoncurrentVersionExpiration
    	return e.EncodeElement(noncurrentVersionExpirationWrapper(n), start)
    }
    
    // UnmarshalXML decodes NoncurrentVersionExpiration
    func (n *NoncurrentVersionExpiration) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	// To handle xml with MaxNoncurrentVersions from older MinIO releases.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/prefix.go

    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // UnmarshalXML - decodes XML data.
    func (p *Prefix) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	var s string
    	if err = d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    	*p = Prefix{string: s, set: true}
    	return nil
    }
    
    // MarshalXML - decodes XML data.
    func (p Prefix) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 14:45:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/encoding/gob/example_interface_test.go

    	// See the blog post, "The Laws of Reflection" for background.
    	err := enc.Encode(&p)
    	if err != nil {
    		log.Fatal("encode:", err)
    	}
    }
    
    // interfaceDecode decodes the next interface value from the stream and returns it.
    func interfaceDecode(dec *gob.Decoder) Pythagoras {
    	// The decode will fail unless the concrete type on the wire has been
    	// registered. We registered it in the calling function.
    	var p Pythagoras
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 02 00:13:47 UTC 2016
    - 2.1K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/remote-repo-1/maven-test/jars/maven-test-b-1.0.jar

    org.apache.commons.codec; public abstract interface BinaryDecoder extends Decoder { public abstract byte[] decode(byte[]) throws DecoderException; } org/apache/commons/codec/BinaryEncoder.class package org.apache.commons.codec; public abstract interface BinaryEncoder extends Encoder { public abstract byte[] encode(byte[]) throws EncoderException; } org/apache/commons/codec/Decoder.class package org.apache.commons.codec; public abstract interface Decoder { public abstract Object decode(Object) throws DecoderException;...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Aug 09 19:02:31 UTC 2004
    - 18.4K bytes
    - Viewed (0)
  5. src/image/gif/reader.go

    // LZW decoder, which is thus immune to the blocking. After the LZW decoder
    // completes, there will be a 0-byte block remaining (0, ()), which is
    // consumed when checking that the blockReader is exhausted.
    //
    // To avoid the allocation of a bufio.Reader for the lzw Reader, blockReader
    // implements io.ByteReader and buffers blocks into the decoder's "tmp" buffer.
    type blockReader struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:15:54 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/image/jpeg/huffman.go

    const maxCodeLength = 16
    
    // maxNCodes is the maximum (inclusive) number of codes in a Huffman tree.
    const maxNCodes = 256
    
    // lutSize is the log-2 size of the Huffman decoder's look-up table.
    const lutSize = 8
    
    // huffman is a Huffman decoder, specified in section C.
    type huffman struct {
    	// length is the number of codes in the tree.
    	nCodes int32
    	// lut is the look-up table for the next lutSize bits in the bit-stream.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. internal/s3select/csv/args.go

    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	args.FileHeaderInfo = none
    	args.RecordDelimiter = defaultRecordDelimiter
    	args.FieldDelimiter = defaultFieldDelimiter
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/expiration.go

    	if !b.set {
    		return nil
    	}
    	return e.EncodeElement(b.val, startElement)
    }
    
    // UnmarshalXML decodes delete marker boolean from the XML form.
    func (b *Boolean) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var exp bool
    	err := d.DecodeElement(&exp, &startElement)
    	if err != nil {
    		return err
    	}
    	b.val = exp
    	b.set = true
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. internal/s3select/parquet/args.go

    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subReaderArgs ReaderArgs
    	parsedArgs := subReaderArgs{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/tag.go

    	errDuplicatedXMLTag = Errorf("duplicated XML Tag")
    	errUnknownXMLTag    = Errorf("unknown XML Tag")
    )
    
    // UnmarshalXML - decodes XML data.
    func (tag *Tag) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	var keyAlreadyParsed, valueAlreadyParsed bool
    	for {
    		// Read tokens from the XML document in a stream.
    		t, err := d.Token()
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top