Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 327 for chardata (0.15 sec)

  1. src/encoding/xml/xml_test.go

    	CharData("\n    "),
    	StartElement{Name{"", "inner"}, []Attr{}},
    	EndElement{Name{"", "inner"}},
    	CharData("\n  "),
    	EndElement{Name{"", "outer"}},
    	CharData("\n  "),
    	StartElement{Name{"tag", "name"}, []Attr{}},
    	CharData("\n    "),
    	CharData("Some text here."),
    	CharData("\n  "),
    	EndElement{Name{"tag", "name"}},
    	CharData("\n"),
    	EndElement{Name{"", "body"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  2. src/encoding/xml/marshal_test.go

    	T2      T2
    }
    
    type IndirChardata struct {
    	T1       T1
    	Chardata *string `xml:",chardata"`
    	T2       T2
    }
    
    type DirectChardata struct {
    	T1       T1
    	Chardata string `xml:",chardata"`
    	T2       T2
    }
    
    type IfaceChardata struct {
    	T1       T1
    	Chardata any `xml:",chardata"`
    	T2       T2
    }
    
    type IndirCDATA struct {
    	T1    T1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  3. src/encoding/xml/read.go

    // The chardata contained in the element (but not its children)
    // is passed to the text unmarshaler.
    func (d *Decoder) unmarshalTextInterface(val encoding.TextUnmarshaler) error {
    	var buf []byte
    	depth := 1
    	for depth > 0 {
    		t, err := d.Token()
    		if err != nil {
    			return err
    		}
    		switch t := t.(type) {
    		case CharData:
    			if depth == 1 {
    				buf = append(buf, t...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  4. src/encoding/xml/xml.go

    // An EndElement represents an XML end element.
    type EndElement struct {
    	Name Name
    }
    
    // A CharData represents XML character data (raw text),
    // in which XML escape sequences have been replaced by
    // the characters they represent.
    type CharData []byte
    
    // Copy creates a new copy of CharData.
    func (c CharData) Copy() CharData { return CharData(bytes.Clone(c)) }
    
    // A Comment represents an XML comment of the form <!--comment-->.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  5. src/encoding/xml/typeinfo.go

    	} else {
    		tag = tokens[0]
    		for _, flag := range tokens[1:] {
    			switch flag {
    			case "attr":
    				finfo.flags |= fAttr
    			case "cdata":
    				finfo.flags |= fCDATA
    			case "chardata":
    				finfo.flags |= fCharData
    			case "innerxml":
    				finfo.flags |= fInnerXML
    			case "comment":
    				finfo.flags |= fComment
    			case "any":
    				finfo.flags |= fAny
    			case "omitempty":
    				finfo.flags |= fOmitEmpty
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:23:29 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. src/encoding/xml/read_test.go

    var _ Unmarshaler = (*MyCharData)(nil)
    
    func (m *MyCharData) UnmarshalXMLAttr(attr Attr) error {
    	panic("must not call")
    }
    
    type MyAttr struct {
    	attr string
    }
    
    func (m *MyAttr) UnmarshalXMLAttr(attr Attr) error {
    	m.attr = attr.Value
    	return nil
    }
    
    var _ UnmarshalerAttr = (*MyAttr)(nil)
    
    type MyStruct struct {
    	Data *MyCharData
    	Attr *MyAttr `xml:",attr"`
    
    	Data2 MyCharData
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. cmd/api-response.go

    )
    
    // LocationResponse - format for location response.
    type LocationResponse struct {
    	XMLName  xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ LocationConstraint" json:"-"`
    	Location string   `xml:",chardata"`
    }
    
    // PolicyStatus captures information returned by GetBucketPolicyStatusHandler
    type PolicyStatus struct {
    	XMLName  xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ PolicyStatus" json:"-"`
    	IsPublic string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. src/encoding/xml/marshal.go

    //   - a field with tag "name,attr" becomes an attribute with
    //     the given name in the XML element.
    //   - a field with tag ",attr" becomes an attribute with the
    //     field name in the XML element.
    //   - a field with tag ",chardata" is written as character data,
    //     not as an XML element.
    //   - a field with tag ",cdata" is written as character data
    //     wrapped in one or more <![CDATA[ ... ]]> tags, not as an XML element.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  9. pkg/kubelet/certificate/bootstrap/bootstrap.go

    func writeKubeconfigFromBootstrapping(bootstrapClientConfig *restclient.Config, kubeconfigPath, pemPath string) error {
    	// Get the CA data from the bootstrap client config.
    	caFile, caData := bootstrapClientConfig.CAFile, []byte{}
    	if len(caFile) == 0 {
    		caData = bootstrapClientConfig.CAData
    	}
    
    	// Build resulting kubeconfig.
    	kubeconfigData := clientcmdapi.Config{
    		// Define a cluster stanza based on the bootstrap kubeconfig.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/Base64.java

                buffer.append(ALPHABET.charAt(block >>> 6));
                buffer.append(ALPHABET.charAt(block & 0x3f));
                buffer.append("==");
                return buffer.toString();
            }
            block = (((bytes[i++] & 0xff) << 8) | ((bytes[i]) & 0xff)) << 2;
            buffer.append(ALPHABET.charAt(block >>> 12));
            buffer.append(ALPHABET.charAt((block >>> 6) & 0x3f));
            buffer.append(ALPHABET.charAt(block & 0x3f));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.7K bytes
    - Viewed (0)
Back to top