Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 933 for Parses (0.29 sec)

  1. src/cmd/vendor/golang.org/x/text/language/parse.go

    // The resulting tag is canonicalized using the default canonicalization type.
    func Parse(s string) (t Tag, err error) {
    	return Default.Parse(s)
    }
    
    // Parse parses the given BCP 47 string and returns a valid Tag. If parsing
    // failed it returns an error and any part of the tag that could be parsed.
    // If parsing succeeded but an unknown value was found, it returns
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/MapNotationConverterTest.groovy

        final NotationParser parser = NotationParserBuilder.toType(TargetObject).converter(new DummyConverter()).toComposite()
    
        def "parses map with required keys"() {
            expect:
            def object = parser.parseNotation([name: 'name', version: 'version'])
            object.key1 == 'name'
            object.key2 == 'version'
            object.prop1 == null
        }
    
        def "parses map with required and optional keys"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:58:37 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  3. test/fixedbugs/issue8017.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issues 8017 and 8058: walk modifies nodes generated
    // by slicelit and causes an internal error afterwards
    // when gen_as_init parses it back.
    
    package main
    
    func F() {
    	var ch chan int
    	select {
    	case <-ch:
    	case <-make(chan int, len([2][]int{([][]int{})[len(ch)], []int{}})):
    	}
    }
    
    func G() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 540 bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/sys/cpu/parse.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cpu
    
    import "strconv"
    
    // parseRelease parses a dot-separated version number. It follows the semver
    // syntax, but allows the minor and patch versions to be elided.
    //
    // This is a copy of the Go runtime's parseRelease from
    // https://golang.org/cl/209597.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 17:48:21 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser.go

    }
    
    // preSignValues data type represents structured form of AWS Signature V4 query string.
    type preSignValues struct {
    	signValues
    	Date    time.Time
    	Expires time.Duration
    }
    
    // Parses signature version '4' query string of the following form.
    //
    //	querystring = X-Amz-Algorithm=algorithm
    //	querystring += &X-Amz-Credential= urlencode(accessKey + '/' + credential_scope)
    //	querystring += &X-Amz-Date=date
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/net/port_range.go

    }
    
    // String converts the PortRange to a string representation, which can be
    // parsed by PortRange.Set or ParsePortRange.
    func (pr PortRange) String() string {
    	if pr.Size == 0 {
    		return ""
    	}
    	return fmt.Sprintf("%d-%d", pr.Base, pr.Base+pr.Size-1)
    }
    
    // Set parses a string of the form "value", "min-max", or "min+offset", inclusive at both ends, and
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 10 01:27:56 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/crypto/x509/66249.md

    The new [ParseOID] function parses a dot-encoded ASN.1 Object Identifier string.
    The [OID] type now implements the [encoding.BinaryMarshaler],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:53:51 UTC 2024
    - 238 bytes
    - Viewed (0)
  8. tools/docker-builder/dockerfile/parse.go

    	Value     []string // The contents of the command (ex: `ubuntu:xenial`)
    }
    
    // parseFile parses a Dockerfile from a filename.
    func parseFile(filename string) ([]Command, error) {
    	file, err := os.Open(filename)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    
    	res, err := parser.Parse(file)
    	if err != nil {
    		return nil, err
    	}
    
    	var ret []Command
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_location_roundtrip.mlir

    // This file should be written in the generic form with debug locations.
    // (that is, as if printed with `-mlir-print-debuginfo -mlir-print-op-generic`).
    // The test parses the file, prints it in the pretty form with debug locations,
    // then parses it back, then prints it in the generic form again.
    // This should be an exact roundtrip.
    // This is a rare example of a test where exact output checking makes
    // sense.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 05 14:24:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h

                                                bool report_error = true);
    
    // Parses the sharding attr. This sharding attr can be binary (serialized)
    // or human readable.
    void EncodeSharding(mlir::Operation* op, llvm::StringRef shard_str);
    
    // Parses "input_sharding_configuration" attribute and returns a list where i-th
    // element is a list of mlir::Value's which represent inputs for the TPU
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:18:34 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top