Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for Parses (0.11 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    		return true
    	default:
    		return false
    	}
    }
    
    // taggedName parses:
    //
    //	<tagged-name> ::= <name> B <source-name>
    func (st *state) taggedName(a AST) AST {
    	for len(st.str) > 0 && st.str[0] == 'B' {
    		st.advance(1)
    		tag := st.sourceName()
    		a = &TaggedName{Name: a, Tag: tag}
    	}
    	return a
    }
    
    // name parses:
    //
    //	<name> ::= <nested-name>
    //	       ::= <unscoped-name>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  2. src/net/http/request.go

    func (r *Request) UserAgent() string {
    	return r.Header.Get("User-Agent")
    }
    
    // Cookies parses and returns the HTTP cookies sent with the request.
    func (r *Request) Cookies() []*Cookie {
    	return readCookies(r.Header, "")
    }
    
    // CookiesNamed parses and returns the named HTTP cookies sent with the request
    // or an empty slice if none matched.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    			// need to parse a full expression. Notably, name <- x
    			// is not a concern because name <- x is a statement and
    			// not an expression.
    			var x Expr = p.name()
    			if p.tok != _Lbrack {
    				// To parse the expression starting with name, expand
    				// the call sequence we would get by passing in name
    				// to parser.expr, and pass in name to parser.pexpr.
    				p.xnest++
    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. src/time/format.go

    func Parse(layout, value string) (Time, error) {
    	// Optimize for RFC3339 as it accounts for over half of all representations.
    	if layout == RFC3339 || layout == RFC3339Nano {
    		if t, ok := parseRFC3339(value, Local); ok {
    			return t, nil
    		}
    	}
    	return parse(layout, value, UTC, Local)
    }
    
    // ParseInLocation is like Parse but differs in two important ways.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. src/crypto/x509/x509.go

    		rest, err := asn1.Unmarshal(rawAttr.FullBytes, &attr)
    		// Ignore attributes that don't parse into pkix.AttributeTypeAndValueSET
    		// (i.e.: challengePassword or unstructuredName).
    		if err == nil && len(rest) == 0 {
    			attributes = append(attributes, attr)
    		}
    	}
    	return attributes
    }
    
    // parseCSRExtensions parses the attributes from a CSR and extracts any
    // requested extensions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top