Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for parseRule (0.13 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

                    throws MalformedURLException {
                state = State.DEP_ARTIFACT;
                parseRule(tag, attributes);
            }
    
            private void addIncludeRule(String tag, Attributes attributes)
                    throws MalformedURLException {
                state = State.ARTIFACT_INCLUDE;
                parseRule(tag, attributes);
            }
    
            private void addExcludeRule(String tag, Attributes attributes)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. src/net/netip/netip_test.go

    		// IPv4 in class B form
    		"192.168.12345",
    		// IPv4 in class B form, with a small enough number to be
    		// parseable as a regular dotted decimal field.
    		"127.0.1",
    		// IPv4 in class A form
    		"192.1234567",
    		// IPv4 in class A form, with a small enough number to be
    		// parseable as a regular dotted decimal field.
    		"127.1",
    		// IPv4 field has value >255
    		"192.168.300.1",
    		// IPv4 with too many fields
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  3. src/go/printer/testdata/parser.go

    	p.scanner.Init(p.file, src, p, scannerMode(mode))
    
    	p.mode = mode
    	p.trace = mode&Trace != 0 // for convenience (p.trace is used frequently)
    
    	p.next()
    
    	// set up the pkgScope here (as opposed to in parseFile) because
    	// there are other parser entry points (ParseExpr, etc.)
    	p.openScope()
    	p.pkgScope = p.topScope
    
    	// for the same reason, set up a label scope
    	p.openLabelScope()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  4. cmd/iam.go

    	spolicyStr, ok := spolicy.(string)
    	if !ok {
    		// Sub policy if set, should be a string reject
    		// malformed/malicious requests.
    		return
    	}
    
    	// Check if policy is parseable.
    	subPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(spolicyStr)))
    	if err != nil {
    		// Log any error in input session policy config.
    		iamLogIf(GlobalContext, err)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                    }
                }
            } catch (XmlReaderException e) {
                problems.add(
                        Severity.FATAL,
                        ModelProblem.Version.BASE,
                        "Non-parseable POM " + modelSource.getLocation() + ": " + e.getMessage(),
                        e);
                throw problems.newModelBuilderException();
            } catch (IOException e) {
                String msg = e.getMessage();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Jun 07 07:31:02 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    }
                }
            } catch (ModelParseException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.FATAL, ModelProblem.Version.BASE)
                        .setMessage("Non-parseable POM " + modelSource.getLocation() + ": " + e.getMessage())
                        .setException(e));
                throw problems.newModelBuildingException();
            } catch (IOException e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue May 21 09:54:32 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  7. src/time/format.go

    }
    
    // Parse parses a formatted string and returns the time value it represents.
    // See the documentation for the constant called [Layout] to see how to
    // represent the format. The second argument must be parseable using
    // the format string (layout) provided as the first argument.
    //
    // The example for [Time.Format] demonstrates the working of the layout string
    // in detail and is a good reference.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  8. src/go/parser/parser.go

    	}
    
    	return p.parseGenDecl(p.tok, f)
    }
    
    // ----------------------------------------------------------------------------
    // Source files
    
    func (p *parser) parseFile() *ast.File {
    	if p.trace {
    		defer un(trace(p, "File"))
    	}
    
    	// Don't bother parsing the rest if we had errors scanning the first token.
    	// Likely not a Go source file at all.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  9. src/go/types/api_test.go

    	"slices"
    	"strings"
    	"sync"
    	"testing"
    
    	. "go/types"
    )
    
    // nopos indicates an unknown position
    var nopos token.Pos
    
    func mustParse(fset *token.FileSet, src string) *ast.File {
    	f, err := parser.ParseFile(fset, pkgName(src), src, parser.ParseComments)
    	if err != nil {
    		panic(err) // so we don't need to pass *testing.T
    	}
    	return f
    }
    
    func typecheck(src string, conf *Config, info *Info) (*Package, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top