Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for parseDir (0.26 sec)

  1. src/go/printer/testdata/parser.go

    // license that can be found in the LICENSE file.
    
    // Package parser implements a parser for Go source files. Input may be
    // provided in a variety of forms (see the various Parse* functions); the
    // output is an abstract syntax tree (AST) representing the Go source. The
    // parser is invoked through one of the Parse* functions.
    
    package parser
    
    import (
    	"fmt"
    	"go/ast"
    	"go/scanner"
    	"go/token"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  2. src/go/parser/parser.go

    	fmt.Println(a...)
    }
    
    func trace(p *parser, msg string) *parser {
    	p.printTrace(msg, "(")
    	p.indent++
    	return p
    }
    
    // Usage pattern: defer un(trace(p, "..."))
    func un(p *parser) {
    	p.indent--
    	p.printTrace(")")
    }
    
    // maxNestLev is the deepest we're willing to recurse during parsing
    const maxNestLev int = 1e5
    
    func incNestLev(p *parser) *parser {
    	p.nestLev++
    	if p.nestLev > maxNestLev {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    // and clears them from the parser state.
    func (p *parser) takePragma() Pragma {
    	prag := p.pragma
    	p.pragma = nil
    	return prag
    }
    
    // clearPragma is called at the end of a statement or
    // other Go form that does NOT accept a pragma.
    // It sends the pragma back to the pragma handler
    // to be reported as unused.
    func (p *parser) clearPragma() {
    	if p.pragma != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

            Parser parser = createParser(parseContext, resource, populateProperties());
            parser.setValidate(validate);
            parser.parse();
    
            DefaultModuleDescriptor moduleDescriptor = parser.getModuleDescriptor();
            postProcess(moduleDescriptor);
    
            return ParseResult.of(parser.getMetaData(), parser.hasGradleMetadataRedirect);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
  5. src/regexp/syntax/parse.go

    	size        map[*Regexp]int64 // regexp compiled size, for size limit check
    }
    
    func (p *parser) newRegexp(op Op) *Regexp {
    	re := p.free
    	if re != nil {
    		p.free = re.Sub0[0]
    		*re = Regexp{}
    	} else {
    		re = new(Regexp)
    		p.numRegexp++
    	}
    	re.Op = op
    	return re
    }
    
    func (p *parser) reuse(re *Regexp) {
    	if p.height != nil {
    		delete(p.height, re)
    	}
    	re.Sub0[0] = p.free
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. src/net/netip/netip_test.go

    			}
    
    			slow, err := parseIPSlow(s)
    			if err == nil {
    				t.Errorf("parseIPSlow(%q) = %#v, want error", s, slow)
    			}
    
    			std := net.ParseIP(s)
    			if std != nil {
    				t.Errorf("net.ParseIP(%q) = %#v, want error", s, std)
    			}
    
    			if s == "" {
    				// Don't test unmarshaling of "" here, do it in
    				// IPMarshalUnmarshal.
    				return
    			}
    			var jsgot Addr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  7. cluster/gce/windows/k8s-node-setup.psm1

        Path             C:\var\log\containers\*.log
        DB               /var/run/google-fluentbit/pos-files/flb_kube.db
    
    [FILTER]
        Name         parser
        Match        kube_*
        Key_Name     log
        Reserve_Data True
        Parser       docker
        Parser       containerd
    
    # Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
    # Example:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		// Validate that IP address is valid.
    		ip := net.ParseIP(svc.AutoAllocatedIPv4Address)
    		if ip == nil {
    			t.Errorf("invalid IP address %s : %s", svc.AutoAllocatedIPv4Address, svc.Hostname.String())
    		}
    		// Validate that IP address is in the expected range.
    		_, subnet, _ := net.ParseCIDR("240.240.0.0/16")
    		if !subnet.Contains(ip) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy

            dependency.selector == moduleId('group-two', 'artifact-two', 'version-two')
            hasDefaultDependencyArtifact(dependency)
    
            parser.typeName == 'POM'
            parser.toString() == 'gradle pom parser'
        }
    
        def "converts timestamp version to SNAPSHOT version"() {
            given:
            pomFile << """
    <project>
        <modelVersion>4.0.0</modelVersion>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 75.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

    address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
Back to top