Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 469 for atom (0.04 sec)

  1. test/ken/rob2.go

    		return nil
    	}
    	if token == '(' {
    		NextToken()
    		slist = ParseList()
    		Expect(')')
    		return slist
    	} else {
    		// Atom
    		switch token {
    		case EOF:
    			return nil
    		case '0':
    			slist = atom(atoi())
    		case '"', 'A':
    			slist = atom(0)
    		default:
    			slist = nil
    			print("unknown token: ", token, "\n")
    		}
    		NextToken()
    		return slist
    	}
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 4.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/typeconverter_test.go

    		{
    			Name: "def0",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def0.1",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def0.2",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def1",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def2",
    			Atom: smdschema.Atom{},
    		},
    		{
    			Name: "def3",
    			Atom: smdschema.Atom{},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2PluginIntegrationTest.groovy

                options {
                    buildAST = true;
                }
    
                expr:   mexpr (PLUS^ mexpr)* SEMI!
                    ;
    
                mexpr
                    :   atom (STAR^ atom)*
                    ;
    
                atom:   INT
                    ;"""
    
            file("grammar-builder/src/main/antlr/AnotherGrammar.g") << """
                header {
                    package org.acme;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/proxy/transport.go

    var atomsToAttrs = map[atom.Atom]sets.String{
    	atom.A:          sets.NewString("href"),
    	atom.Applet:     sets.NewString("codebase"),
    	atom.Area:       sets.NewString("href"),
    	atom.Audio:      sets.NewString("src"),
    	atom.Base:       sets.NewString("href"),
    	atom.Blockquote: sets.NewString("cite"),
    	atom.Body:       sets.NewString("background"),
    	atom.Button:     sets.NewString("formaction"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. platforms/software/antlr/src/test/groovy/org/gradle/api/plugins/antlr/internal/antlr2/MetadataExtracterTest.groovy

            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
                ;
    
            mexpr
                :   atom (STAR^ atom)*
                ;
    
            atom:   INT
                ;"""
            expect:
            "org.acme" == new MetadataExtracter().getPackageName(new StringReader(grammar))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. src/cmd/dist/testjson.go

    		dec.UseNumber()
    		val, err := decodeJSONValue(dec)
    		if err == nil && val.atom == json.Delim('{') {
    			// Rewrite the Package field.
    			found := false
    			for i := 0; i < len(val.seq); i += 2 {
    				if val.seq[i].atom == "Package" {
    					if pkg, ok := val.seq[i+1].atom.(string); ok {
    						val.seq[i+1].atom = pkg + ":" + f.variant
    						found = true
    						break
    					}
    				}
    			}
    			if found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/encoding/xml/atom_test.go

    import "time"
    
    var atomValue = &Feed{
    	XMLName: Name{"http://www.w3.org/2005/Atom", "feed"},
    	Title:   "Example Feed",
    	Link:    []Link{{Href: "http://example.org/"}},
    	Updated: ParseTime("2003-12-13T18:30:02Z"),
    	Author:  Person{Name: "John Doe"},
    	ID:      "urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6",
    
    	Entry: []Entry{
    		{
    			Title:   "Atom-Powered Robots Run Amok",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 00:55:59 UTC 2017
    - 1.6K bytes
    - Viewed (0)
  8. src/net/mail/message.go

    		return "", errors.New("mail: invalid string")
    	}
    	atom, p.s = p.s[:i], p.s[i:]
    	if !permissive {
    		if strings.HasPrefix(atom, ".") {
    			return "", errors.New("mail: leading dot in atom")
    		}
    		if strings.Contains(atom, "..") {
    			return "", errors.New("mail: double dot in atom")
    		}
    		if strings.HasSuffix(atom, ".") {
    			return "", errors.New("mail: trailing dot in atom")
    		}
    	}
    	return atom, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr2RelocationIntegrationTest.groovy

            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
            ;
    
            mexpr
            :   atom (STAR^ atom)*
            ;
    
            atom:   INT
            ;"""
            projectDir.file("build.gradle") << """
                apply plugin: "antlr"
    
                ${mavenCentralRepository()}
            """
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/AntlrPluginIntegrationTest.groovy

            options {
                buildAST = true;
            }
    
            expr:   mexpr (PLUS^ mexpr)* SEMI!
            ;
    
            mexpr
            :   atom (STAR^ atom)*
            ;
    
            atom:   INT
            ;"""
    
            when:
            succeeds("generateGrammarSource")
    
            then:
            file("build/generated-src/antlr/main/TestGrammar.java").exists()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top