Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for chardata (0.13 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. 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)
  8. istioctl/pkg/multicluster/remote_secret_test.go

    	sa := makeServiceAccount("saSecret")
    	sa2 := makeServiceAccount("saSecret", "saSecret2")
    	saSecret := makeSecret("saSecret", "caData", "token")
    	saSecret2 := makeSecret("saSecret2", "caData", "token")
    	saSecretMissingToken := makeSecret("saSecret", "caData", "")
    
    	tokenWaitBackoff = 10 * time.Millisecond
    
    	cases := []struct {
    		testName string
    
    		objs       []runtime.Object
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParser.java

                return pos < value.length() && value.charAt(pos) == c;
            }
    
            /**
             * Is one of the given character available? Does not consume the character.
             */
            public boolean hasAny(String chars) {
                if (pos >= value.length()) {
                    return false;
                }
                char ch = value.charAt(pos);
                for (int i = 0; i < chars.length(); i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                return idx < expression.length() ? expression.charAt(idx) : EOF;
            }
    
            public int skipChar() {
                return idx < expression.length() ? expression.charAt(idx++) : EOF;
            }
    
            public String nextToken(char delimiter) {
                int start = idx;
    
                while (idx < expression.length() && delimiter != expression.charAt(idx)) {
                    idx++;
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 08:11:33 UTC 2023
    - 10.7K bytes
    - Viewed (0)
Back to top