Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 460 for Parses (0.67 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/metadata/GccMetadataProviderTest.groovy

        @Requires(UnitTestPreconditions.NotWindows)
        def "parses gcc system includes"() {
            def includes = correctPathSeparators(['/usr/local', '/usr/some/dir'])
            expect:
            def result = output(gcc4, gccVerboseOutput('4.2.1', includes), GCC)
            result.component.systemIncludes*.path == includes
        }
    
        @Requires(UnitTestPreconditions.NotWindows)
        def "parses clang system includes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 16 06:01:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin.go

    }
    
    // parseConfig parses the supplied configuration (and prevResult) from stdin.
    func parseConfig(stdin []byte) (*Config, error) {
    	conf := Config{}
    
    	if err := json.Unmarshal(stdin, &conf); err != nil {
    		return nil, fmt.Errorf("failed to parse network configuration: %v", err)
    	}
    
    	log.Debugf("istio-cni: Config is: %+v", conf)
    	// Parse previous result. Remove this if your plugin is not chained.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. src/crypto/tls/tls.go

    	return c, nil
    }
    
    // LoadX509KeyPair reads and parses a public/private key pair from a pair of
    // files. The files must contain PEM encoded data. The certificate file may
    // contain intermediate certificates following the leaf certificate to form a
    // certificate chain. On successful return, Certificate.Leaf will be populated.
    //
    // Before Go 1.23 Certificate.Leaf was left nil, and the parsed certificate was
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top