Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for chardata (0.16 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          int i = 0;
          int len = 0;
    
          // This loop optimizes for pure ASCII.
          while (i + 4 <= utf16Length) {
            char c0 = input.charAt(i);
            char c1 = input.charAt(i + 1);
            char c2 = input.charAt(i + 2);
            char c3 = input.charAt(i + 3);
            if (c0 < 0x80 && c1 < 0x80 && c2 < 0x80 && c3 < 0x80) {
              int k1 = c0 | (c1 << 8) | (c2 << 16) | (c3 << 24);
              k1 = mixK1(k1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

          int i = 0;
          int len = 0;
    
          // This loop optimizes for pure ASCII.
          while (i + 4 <= utf16Length) {
            char c0 = input.charAt(i);
            char c1 = input.charAt(i + 1);
            char c2 = input.charAt(i + 2);
            char c3 = input.charAt(i + 3);
            if (c0 < 0x80 && c1 < 0x80 && c2 < 0x80 && c3 < 0x80) {
              int k1 = c0 | (c1 << 8) | (c2 << 16) | (c3 << 24);
              k1 = mixK1(k1);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/VfsRelativePath.java

                if (!equalChars(stringEndingInPrefix.charAt(i), stringToCheck.charAt(j), caseSensitivity)) {
                    return false;
                }
            }
            return stringToCheck.length() == endOfPrefixInStringToCheck || isFileSeparator(stringToCheck.charAt(endOfPrefixInStringToCheck));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top