Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 933 for Parses (0.13 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/notations/ComponentIdentifierParserTest.groovy

    class ComponentIdentifierParserTest extends Specification {
    
        @Subject
        NotationParser<Object, ComponentIdentifier> parser = new ComponentIdentifierParserFactory().create()
    
        @Unroll("Parses #notation")
        def "can parse a module component identifier"() {
            when:
            def id = parser.parseNotation(notation)
    
            then:
            id instanceof ModuleComponentIdentifier
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/internal/trace/testtrace/format.go

    // license that can be found in the LICENSE file.
    
    package testtrace
    
    import (
    	"bytes"
    	"fmt"
    	"internal/trace/raw"
    	"internal/txtar"
    	"io"
    )
    
    // ParseFile parses a test file generated by the testgen package.
    func ParseFile(testPath string) (io.Reader, *Expectation, error) {
    	ar, err := txtar.ParseFile(testPath)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. internal/event/arn.go

    	if err := d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    
    	parsedARN, err := parseARN(s)
    	if err != nil {
    		return err
    	}
    
    	*arn = *parsedARN
    	return nil
    }
    
    // parseARN - parses string to ARN.
    func parseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:sqs:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:sqs:") {
    		return nil, &ErrInvalidARN{s}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. internal/config/identity/openid/provider/provider.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package provider
    
    import "errors"
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example https://accounts.google.com/.well-known/openid-configuration
    //
    //nolint:unused
    type DiscoveryDoc struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_modinfo.txt

    # Test to ensure runtime/debug.ReadBuildInfo parses
    # the modinfo embedded in a binary by the go tool
    # when module is enabled.
    env GO111MODULE=on
    
    cd x
    go mod edit -require=rsc.io/quote@v1.5.2
    go mod edit -replace=rsc.io/quote@v1.5.2=rsc.io/quote@v1.0.0
    go mod tidy # populate go.sum
    
    # Build a binary and ensure that it can output its own debug info.
    # The debug info should be accessible before main starts (golang.org/issue/29628).
    go build
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 09 19:12:23 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/bootstrap/DaemonGreeterTest.groovy

    import org.gradle.process.ExecResult
    import spock.lang.Specification
    
    class DaemonGreeterTest extends Specification {
    
        def registry = Mock(DocumentationRegistry)
        def args = ["foo", "bar"]
    
        def "parses the process output"() {
            given:
            def address = new MultiChoiceAddress(UUID.randomUUID(), 123, [])
    
            def outputStream = new ByteArrayOutputStream()
            def printStream = new PrintStream(outputStream)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/net/mac.go

    	for i, b := range a {
    		if i > 0 {
    			buf = append(buf, ':')
    		}
    		buf = append(buf, hexDigit[b>>4])
    		buf = append(buf, hexDigit[b&0xF])
    	}
    	return string(buf)
    }
    
    // ParseMAC parses s as an IEEE 802 MAC-48, EUI-48, EUI-64, or a 20-octet
    // IP over InfiniBand link-layer address using one of the following formats:
    //
    //	00:00:5e:00:53:01
    //	02:00:5e:10:00:00:00:01
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. src/cmd/internal/pgo/deserialize.go

    		// Empty file.
    		return false, nil
    	} else if err != nil {
    		return false, fmt.Errorf("error reading profile header: %w", err)
    	}
    
    	return string(hdr) == serializationHeader, nil
    }
    
    // FromSerialized parses a profile from serialization output of Profile.WriteTo.
    func FromSerialized(r io.Reader) (*Profile, error) {
    	d := emptyProfile()
    
    	scanner := bufio.NewScanner(r)
    	scanner.Split(bufio.ScanLines)
    
    	if !scanner.Scan() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/syscall/dirent.go

    	case 4:
    		return uint64(byteorder.LeUint32(b))
    	case 8:
    		return uint64(byteorder.LeUint64(b))
    	default:
    		panic("syscall: readInt with unsupported size")
    	}
    }
    
    // ParseDirent parses up to max directory entries in buf,
    // appending the names to names. It returns the number of
    // bytes consumed from buf, the number of entries added
    // to names, and the new names slice.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/syntax.go

    // current parser position, not the position of the pragma itself.
    // Blank specifies whether the line is blank before the pragma.
    type PragmaHandler func(pos Pos, blank bool, text string, current Pragma) Pragma
    
    // Parse parses a single Go source file from src and returns the corresponding
    // syntax tree. If there are errors, Parse will return the first error found,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top