Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 632 for Decoders (1.59 sec)

  1. src/encoding/hex/hex.go

    		n += written / 2
    		p = p[chunkSize:]
    	}
    	return n, e.err
    }
    
    type decoder struct {
    	r   io.Reader
    	err error
    	in  []byte           // input buffer (encoded form)
    	arr [bufferSize]byte // backing array for in
    }
    
    // NewDecoder returns an [io.Reader] that decodes hexadecimal characters from r.
    // NewDecoder expects that r contain only an even number of hexadecimal characters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/encoding/ascii85/ascii85.go

    	return
    }
    
    // NewDecoder constructs a new ascii85 stream decoder.
    func NewDecoder(r io.Reader) io.Reader { return &decoder{r: r} }
    
    type decoder struct {
    	err     error
    	readErr error
    	r       io.Reader
    	buf     [1024]byte // leftover input
    	nbuf    int
    	out     []byte // leftover decoded output
    	outbuf  [1024]byte
    }
    
    func (d *decoder) Read(p []byte) (n int, err error) {
    	if len(p) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. src/mime/encodedword.go

    	CharsetReader func(charset string, input io.Reader) (io.Reader, error)
    }
    
    // Decode decodes an RFC 2047 encoded-word.
    func (d *WordDecoder) Decode(word string) (string, error) {
    	// See https://tools.ietf.org/html/rfc2047#section-2 for details.
    	// Our decoder is permissive, we accept empty encoded-text.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. internal/s3select/select.go

    		// writer is set later by Reset() before using it.
    		return bufio.NewWriter(xioutil.Discard)
    	},
    }
    
    // UnmarshalXML - decodes XML data.
    func (c *CompressionType) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	var s string
    	if err := d.DecodeElement(&s, &start); err != nil {
    		return errMalformedXML(err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  5. src/encoding/xml/read.go

    func Unmarshal(data []byte, v any) error {
    	return NewDecoder(bytes.NewReader(data)).Decode(v)
    }
    
    // Decode works like [Unmarshal], except it reads the decoder
    // stream to find the start element.
    func (d *Decoder) Decode(v any) error {
    	return d.DecodeElement(v, nil)
    }
    
    // DecodeElement works like [Unmarshal] except that it takes
    // a pointer to the start XML element to decode into v.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  6. src/cmd/go/internal/doc/doc.go

    	go doc text/template new # Two arguments
    		Show documentation for text/template's New function.
    
    	At least in the current tree, these invocations all print the
    	documentation for json.Decoder's Decode method:
    
    	go doc json.Decoder.Decode
    	go doc json.decoder.decode
    	go doc json.decode
    	cd go/src/encoding/json; go doc decode
    
    Flags:
    	-all
    		Show all the documentation for the package.
    	-c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:52:29 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode.go

    		DefaultMapType: reflect.TypeOf(map[string]interface{}(nil)),
    
    		// A CBOR text string whose content is not a valid UTF-8 sequence is well-formed but
    		// invalid according to the CBOR spec. Reject invalid inputs. Encoders are
    		// responsible for ensuring that all text strings they produce contain valid UTF-8
    		// sequences and may use the byte string major type to encode strings that have not
    		// been validated.
    		UTF8: cbor.UTF8RejectInvalid,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 14:03:36 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. internal/bucket/replication/destination.go

    			return err
    		}
    	}
    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    }
    
    // UnmarshalXML - decodes XML data.
    func (d *Destination) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type destination Destination
    	dest := destination{}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

            public DefaultTestFailure read(Decoder decoder) throws Exception {
                String message = decoder.readNullableString();
                String className = decoder.readString();
                String stacktrace = decoder.readString();
                boolean isAssertionFailure = decoder.readBoolean();
                String expected = decoder.readNullableString();
                String actual = decoder.readNullableString();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. src/encoding/binary/binary.go

    func (d *decoder) int16() int16 { return int16(d.uint16()) }
    
    func (e *encoder) int16(x int16) { e.uint16(uint16(x)) }
    
    func (d *decoder) int32() int32 { return int32(d.uint32()) }
    
    func (e *encoder) int32(x int32) { e.uint32(uint32(x)) }
    
    func (d *decoder) int64() int64 { return int64(d.uint64()) }
    
    func (e *encoder) int64(x int64) { e.uint64(uint64(x)) }
    
    func (d *decoder) value(v reflect.Value) {
    	switch v.Kind() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top