Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 102 for Parses (0.12 sec)

  1. cmd/kubelet/app/server.go

    		DisableFlagParsing: true,
    		SilenceUsage:       true,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			// initial flag parse, since we disable cobra's flag parsing
    			if err := cleanFlagSet.Parse(args); err != nil {
    				return fmt.Errorf("failed to parse kubelet flag: %w", err)
    			}
    
    			// check if there are non-flag arguments in the command line
    			cmds := cleanFlagSet.Args()
    			if len(cmds) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  2. 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)
  3. src/go/parser/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.
    //
    // The parser accepts a larger language than is syntactically permitted by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    		parsed := apiextensionsv1.CustomResourceDefinition{}
    		if err := runtime.DefaultUnstructuredConverter.FromUnstructured(crd.Object, &parsed); err != nil {
    			b.Fatalf("Failed to parse CRD %v", err)
    			return
    		}
    
    		for _, v := range parsed.Spec.Versions {
    			gvk := schema.GroupVersionKind{
    				Group:   parsed.Spec.Group,
    				Version: v.Name,
    				Kind:    parsed.Spec.Names.Kind,
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modload/init.go

    			return nil, nil, fmt.Errorf("error loading go.work:\n%s:%d: %w", base.ShortPath(path), g.Syntax.Start.Line, err)
    		}
    	}
    
    	return wf, modRoots, nil
    }
    
    // ReadWorkFile reads and parses the go.work file at the given path.
    func ReadWorkFile(path string) (*modfile.WorkFile, error) {
    	path = base.ShortPath(path) // use short path in any errors
    	workData, err := fsys.ReadFile(path)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  6. src/crypto/tls/common.go

    	SignedCertificateTimestamps [][]byte
    	// Leaf is the parsed form of the leaf certificate, which may be initialized
    	// using x509.ParseCertificate to reduce per-handshake processing. If nil,
    	// the leaf certificate will be parsed as needed.
    	Leaf *x509.Certificate
    }
    
    // leaf returns the parsed leaf certificate, either from c.Leaf or by parsing
    // the corresponding c.Certificate[0].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  7. src/go/build/build.go

    		if info.parseErr != nil {
    			badGoFile(name, info.parseErr)
    			// Fall through: we might still have a partial AST in info.parsed,
    			// and we want to list files with parse errors anyway.
    		}
    
    		var pkg string
    		if info.parsed != nil {
    			pkg = info.parsed.Name.Name
    			if pkg == "documentation" {
    				p.IgnoredGoFiles = append(p.IgnoredGoFiles, name)
    				continue
    			}
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/dist/build.go

    func isGitRepo() bool {
    	// NB: simply checking the exit code of `git rev-parse --git-dir` would
    	// suffice here, but that requires deviating from the infrastructure
    	// provided by `run`.
    	gitDir := chomp(run(goroot, 0, "git", "rev-parse", "--git-dir"))
    	if !filepath.IsAbs(gitDir) {
    		gitDir = filepath.Join(goroot, gitDir)
    	}
    	return isdir(gitDir)
    }
    
    /*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(parse("http:\\/host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:/\\host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:\\\\host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:///host/path"))
          .isEqualTo(parse("http://host/path"))
        assertThat(parse("http:\\//host/path"))
          .isEqualTo(parse("http://host/path"))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
Back to top