Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 385 for atol (0.37 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/api-resources.go

    	errCode = ErrNone
    
    	if values.Get("max-parts") != "" {
    		if maxParts, err = strconv.Atoi(values.Get("max-parts")); err != nil {
    			errCode = ErrInvalidMaxParts
    			return
    		}
    	} else {
    		maxParts = maxPartsList
    	}
    
    	if values.Get("part-number-marker") != "" {
    		if partNumberMarker, err = strconv.Atoi(values.Get("part-number-marker")); err != nil {
    			errCode = ErrInvalidPartNumberMarker
    			return
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. 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)
  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. 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)
  8. 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)
  9. staging/src/k8s.io/apimachinery/pkg/util/net/port_range.go

    		var port int
    		port, err = strconv.Atoi(value)
    		if err != nil {
    			return err
    		}
    		low = port
    		high = port
    	case HyphenNotation:
    		low, err = strconv.Atoi(value[:hyphenIndex])
    		if err != nil {
    			return err
    		}
    		high, err = strconv.Atoi(value[hyphenIndex+1:])
    		if err != nil {
    			return err
    		}
    	case PlusNotation:
    		var offset int
    		low, err = strconv.Atoi(value[:plusIndex])
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 10 01:27:56 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/swig/swig_test.go

    		return
    	}
    
    	var parseError error
    	atoi := func(s string) int {
    		x, err := strconv.Atoi(s)
    		if err != nil && parseError == nil {
    			parseError = err
    		}
    		return x
    	}
    	var major, minor, patch int
    	major = atoi(string(matches[1]))
    	if len(matches[2]) > 0 {
    		minor = atoi(string(matches[2][1:]))
    	}
    	if len(matches[3]) > 0 {
    		patch = atoi(string(matches[3][1:]))
    	}
    	if parseError != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top