Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 316 for atom (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals("text", MediaType.parse("text/plain").type());
        assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
      }
    
      public void testGetSubtype() {
        assertEquals("plain", MediaType.parse("text/plain").subtype());
        assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
      }
    
      private static final ImmutableListMultimap<String, String> PARAMETERS =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/MediaTypeTest.java

        assertEquals("text", MediaType.parse("text/plain").type());
        assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
      }
    
      public void testGetSubtype() {
        assertEquals("plain", MediaType.parse("text/plain").subtype());
        assertEquals("atom+xml", MediaType.parse("application/atom+xml; charset=utf-8").subtype());
      }
    
      private static final ImmutableListMultimap<String, String> PARAMETERS =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Mar 05 13:16:00 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. src/go/build/constraint/expr.go

    			panic(&SyntaxError{Offset: p.pos, Err: "double negation not allowed"})
    		}
    		return not(p.atom())
    	}
    	return p.atom()
    }
    
    // atom parses a tag or a parenthesized expression.
    // On entry, the next input token HAS been lexed.
    // On exit, the next input token has been lexed and is in p.tok.
    func (p *exprParser) atom() Expr {
    	// first token already in p.tok
    	if p.tok == "(" {
    		pos := p.pos
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  10. src/encoding/xml/read_test.go

    the link rel=&amp;quot;self&amp;quot;, but the default value for that drops
    the :port from the URL, and I cannot for the life of me
    figure out how to get the Atom generator deep inside
    django not to do that, or even where it is doing that,
    or even what code is running to generate the Atom feed.
    (I thought I knew but I added some assert False statements
    and it kept running!)
    
    Ignoring that particular problem, I would appreciate
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top