Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 609 for Parses (0.13 sec)

  1. src/text/template/parse/parse.go

    	case *WithNode:
    	default:
    		panic("unknown node: " + n.String())
    	}
    	return false
    }
    
    // parse is the top-level parser for a template, essentially the same
    // as itemList except it also parses {{define}} actions.
    // It runs to EOF.
    func (t *Tree) parse() {
    	t.Root = t.newList(t.peek().pos)
    	for t.peek().typ != itemEOF {
    		if t.peek().typ == itemLeftDelim {
    			delim := t.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    // ParseObjectLockConfig parses ObjectLockConfig from xml
    func ParseObjectLockConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxObjectLockConfigSize)).Decode(&config); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    	// tag has variants or extensions.
    	str string
    }
    
    // Make is a convenience wrapper for Parse that omits the error.
    // In case of an error, a sensible default is returned.
    func Make(s string) Tag {
    	t, _ := Parse(s)
    	return t
    }
    
    // Raw returns the raw base language, script and region, without making an
    // attempt to infer their values.
    // TODO: consider removing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/route/address.go

    	}
    	_, a, err := parseKernelLinkAddr(syscall.AF_LINK, b[4:])
    	if err != nil {
    		return nil, err
    	}
    	a.(*LinkAddr).Index = int(nativeEndian.Uint16(b[2:4]))
    	return a, nil
    }
    
    // parseKernelLinkAddr parses b as a link-layer address in
    // conventional BSD kernel form.
    func parseKernelLinkAddr(_ int, b []byte) (int, Addr, error) {
    	// The encoding looks like the following:
    	// +----------------------------+
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlReaderTest.groovy

            e.cause.message == "Invalid dependency verification metadata file: <component> must be found under the <components> tag"
        }
    
        def "parses configuration (metadata=#verifyMetadata, signatures=#verifySignatures)"() {
            when:
            parse """<?xml version="1.0" encoding="UTF-8"?>
    <verification-metadata>
       <configuration>
          <verify-metadata>$verifyMetadata</verify-metadata>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 10:13:31 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/language/language.go

    // Make is a convenience wrapper for Parse that omits the error.
    // In case of an error, a sensible default is returned.
    func Make(s string) Tag {
    	return Default.Make(s)
    }
    
    // Make is a convenience wrapper for c.Parse that omits the error.
    // In case of an error, a sensible default is returned.
    func (c CanonType) Make(s string) Tag {
    	t, _ := c.Parse(s)
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/net/url/url.go

    func (u *URL) IsAbs() bool {
    	return u.Scheme != ""
    }
    
    // Parse parses a [URL] in the context of the receiver. The provided URL
    // may be relative or absolute. Parse returns nil, err on parse
    // failure, otherwise its return value is the same as [URL.ResolveReference].
    func (u *URL) Parse(ref string) (*URL, error) {
    	refURL, err := Parse(ref)
    	if err != nil {
    		return nil, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modcmd/edit.go

    			return nil, errors.New("go.mod changed during editing; not overwriting")
    		}
    		return out, nil
    	})
    	if err != nil {
    		base.Fatal(err)
    	}
    }
    
    // parsePathVersion parses -flag=arg expecting arg to be path@version.
    func parsePathVersion(flag, arg string) (path, version string) {
    	before, after, found := strings.Cut(arg, "@")
    	if !found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/crypto/x509/parser.go

    				return errors.New("x509: SAN uniformResourceIdentifier is malformed")
    			}
    			uri, err := url.Parse(uriStr)
    			if err != nil {
    				return fmt.Errorf("x509: cannot parse URI %q: %s", uriStr, err)
    			}
    			if len(uri.Host) > 0 {
    				if _, ok := domainToReverseLabels(uri.Host); !ok {
    					return fmt.Errorf("x509: cannot parse URI %q: invalid domain", uriStr)
    				}
    			}
    			uris = append(uris, uri)
    		case nameTypeIP:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h

      QDQConversionMode qdq_conversion_mode = QDQConversionMode::kQDQNone;
    };
    
    // Parses the command line flag strings to the CustomOpMap specification.
    void ParseCustomOpSpecs(absl::string_view node_names,
                            const CustomOpUpdateOptions& update_option,
                            CustomOpMap& custom_op_map);
    
    // Parses the command line flag strings to the quantization specification for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 10:16:19 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top