Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 242 for Parsing (0.73 sec)

  1. src/cmd/go/testdata/script/vet_flags.txt

    # (Maybe someday we'll hard-code the analyzer flags for the default vet
    # tool to make this work, but not right now.)
    env GOFLAGS='-unsafeptr'
    ! go list .
    stderr 'go: parsing \$GOFLAGS: unknown flag -unsafeptr'
    env GOFLAGS=
    
    # "go test" on a user package should by default enable an explicit list of analyzers.
    go test -n -run=none .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/build_cc_cache_issue64423.txt

    # binary that runs the real one as a subprocess.
    
    [!cgo] skip
    [short] skip 'builds and links a fake clang binary'
    [!cc:clang] skip 'test is specific to clang version parsing'
    
    # Save the location of the real clang command for our fake one to use.
    go run ./which clang
    cp stdout $WORK/.realclang
    
    # Build a fake clang and ensure that it is the one in $PATH.
    mkdir $WORK/bin
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:13:29 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. src/crypto/ecdh/ecdh.go

    //
    // These keys can be parsed with [crypto/x509.ParsePKIXPublicKey] and encoded
    // with [crypto/x509.MarshalPKIXPublicKey]. For NIST curves, they then need to
    // be converted with [crypto/ecdsa.PublicKey.ECDH] after parsing.
    type PublicKey struct {
    	curve     Curve
    	publicKey []byte
    	boring    *boring.PublicKeyECDH
    }
    
    // Bytes returns a copy of the encoding of the public key.
    func (k *PublicKey) Bytes() []byte {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/goversion.go

    		log.Fatalf("invalid value %q for -lang: %v", base.Flag.Lang, err)
    	}
    
    	if def := currentLang(); base.Flag.Lang != def {
    		defVers, err := parseLang(def)
    		if err != nil {
    			log.Fatalf("internal error parsing default lang %q: %v", def, err)
    		}
    		if langWant.major > defVers.major || (langWant.major == defVers.major && langWant.minor > defVers.minor) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 21:36:02 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/internal/language/parse.go

    	s.scan()
    	for ; len(s.token) >= min; s.scan() {
    		end = s.end
    	}
    	return end
    }
    
    // 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
    // ValueError. The Tag returned in this case is just stripped of the unknown
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    	if err != nil {
    		return nil, fmt.Errorf("error parsing %s: %v", name, err)
    	}
    	defer of.Close()
    
    	return b.openMachOCommon(name, of, start, limit, offset)
    }
    
    func (b *binrep) openELF(name string, start, limit, offset uint64, relocationSymbol string) (plugin.ObjFile, error) {
    	ef, err := elfOpen(name)
    	if err != nil {
    		return nil, fmt.Errorf("error parsing %s: %v", name, err)
    	}
    	defer ef.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/swig/swig_test.go

    	if len(matches[2]) > 0 {
    		minor = atoi(string(matches[2][1:]))
    	}
    	if len(matches[3]) > 0 {
    		patch = atoi(string(matches[3][1:]))
    	}
    	if parseError != nil {
    		t.Logf("error parsing swig version %q, continuing anyway: %s", string(matches[0]), parseError)
    		return
    	}
    	t.Logf("found swig version %d.%d.%d", major, minor, patch)
    	if major < 3 || (major == 3 && minor == 0 && patch < 6) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. src/cmd/internal/objfile/macho.go

    // Copyright 2013 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.
    
    // Parsing of Mach-O executables (OS X).
    
    package objfile
    
    import (
    	"debug/dwarf"
    	"debug/macho"
    	"fmt"
    	"io"
    	"sort"
    )
    
    const stabTypeMask = 0xe0
    
    type machoFile struct {
    	macho *macho.File
    }
    
    func openMacho(r io.ReaderAt) (rawFile, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/preprofile/main.go

    	if err != nil {
    		return fmt.Errorf("error opening profile: %w", err)
    	}
    	defer f.Close()
    
    	r := bufio.NewReader(f)
    	d, err := pgo.FromPProf(r)
    	if err != nil {
    		return fmt.Errorf("error parsing profile: %w", err)
    	}
    
    	var out *os.File
    	if outputFile == "" {
    		out = os.Stdout
    	} else {
    		out, err = os.Create(outputFile)
    		if err != nil {
    			return fmt.Errorf("error creating output file: %w", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. src/archive/tar/strconv.go

    	binBits := uint(n-1) * 8
    	return n >= 9 || (x >= -1<<binBits && x < 1<<binBits)
    }
    
    // parseNumeric parses the input as being encoded in either base-256 or octal.
    // This function may return negative numbers.
    // If parsing fails or an integer overflow occurs, err will be set.
    func (p *parser) parseNumeric(b []byte) int64 {
    	// Check for base-256 (binary) format first.
    	// If the first bit is set, then all following bits constitute a two's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top