Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for Parsing (0.74 sec)

  1. src/cmd/compile/internal/types2/predicates.go

    			c.identical(x.params, yparams, p) &&
    			c.identical(x.results, yresults, p)
    
    	case *Union:
    		if y, _ := y.(*Union); y != nil {
    			// TODO(rfindley): can this be reached during type checking? If so,
    			// consider passing a type set map.
    			unionSets := make(map[*Union]*_TypeSet)
    			xset := computeUnionTypeSet(nil, unionSets, nopos, x)
    			yset := computeUnionTypeSet(nil, unionSets, nopos, y)
    			return xset.terms.equal(yset.terms)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/unify.go

    // equivalent, they may be Go identical or at least assignable, or
    // they may be in the type set of a constraint.
    // Whether they indeed are identical or assignable is determined
    // upon instantiation and function argument passing.
    
    package types2
    
    import (
    	"bytes"
    	"fmt"
    	"sort"
    	"strings"
    )
    
    const (
    	// Upper limit for recursion depth. Used to catch infinite recursions
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/rangefunc/rewrite.go

    	setPos(bl, x.Pos())
    	return bl
    }
    
    // perLoopStep is part of the encoding of loop-spanning control flow
    // for function range iterators.  Each multiple of two encodes a "return false"
    // passing control to an enclosing iterator; a terminal value of 1 encodes
    // "return true" (i.e., local continue) from the body function, and a terminal
    // value of 0 encodes executing the remainder of the body function.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ppc64/ssa.go

    		}
    
    		pp := s.Call(v)
    
    		// Convert the call into a blrl with hint this is not a subroutine return.
    		// The full bclrl opcode must be specified when passing a hint.
    		pp.As = ppc64.ABCL
    		pp.From.Type = obj.TYPE_CONST
    		pp.From.Offset = ppc64.BO_ALWAYS
    		pp.Reg = ppc64.REG_CR0LT // The preferred value if BI is ignored.
    		pp.To.Reg = ppc64.REG_LR
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. src/cmd/covdata/covdata.go

    	if *verbflag >= vlevel {
    		fmt.Printf(s, a...)
    		fmt.Printf("\n")
    	}
    }
    
    func warn(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "warning: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    	fmt.Fprintf(os.Stderr, "\n")
    	if *hwflag {
    		panic("unexpected warning")
    	}
    }
    
    func fatal(s string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, "error: ")
    	fmt.Fprintf(os.Stderr, s, a...)
    	fmt.Fprintf(os.Stderr, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/dist/build.go

    	flag.BoolVar(&noBanner, "no-banner", noBanner, "do not print banner")
    	flag.BoolVar(&noClean, "no-clean", noClean, "print deprecation warning")
    
    	xflagparse(0)
    
    	if noClean {
    		xprintf("warning: --no-clean is deprecated and has no effect; use 'go install std cmd' instead\n")
    	}
    
    	// Don't build broken ports by default.
    	if broken[goos+"/"+goarch] && !force {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/stdlib_test.go

    		dirFiles[dir] = filenames
    	}, t.Error)
    
    	c := &stdlibChecker{
    		dirFiles: dirFiles,
    		pkgs:     make(map[string]*futurePackage),
    	}
    
    	start := time.Now()
    
    	// Though we read files while parsing, type-checking is otherwise CPU bound.
    	//
    	// This doesn't achieve great CPU utilization as many packages may block
    	// waiting for a common import, but in combination with the non-deterministic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/api_test.go

    			[]testInst{{`g`, []string{`int`, `string`}, `func(int, string)`}},
    		},
    		// reverse3a not possible (cannot assign to generic function outside of argument passing)
    		{`package reverse3b; func f[R any](func(int) R) {}; func g[P any](P) string { return "" }; func _() { f(g) }`,
    			[]testInst{
    				{`f`, []string{`string`}, `func(func(int) string)`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssagen/ssa.go

    	return ssaConfig.ABI0.Copy() // No idea what races will result, be safe
    }
    
    // abiForFunc implements ABI policy for a function, but does not return a copy of the ABI.
    // Passing a nil function returns the default ABI based on experiment configuration.
    func abiForFunc(fn *ir.Func, abi0, abi1 *abi.ABIConfig) *abi.ABIConfig {
    	if buildcfg.Experiment.RegabiArgs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  10. src/archive/tar/common.go

    	// This package transparently handles these types.
    	TypeXHeader = 'x'
    
    	// Type 'g' is used by the PAX format to store key-value records that
    	// are relevant to all subsequent files.
    	// This package only supports parsing and composing such headers,
    	// but does not currently support persisting the global state across files.
    	TypeXGlobalHeader = 'g'
    
    	// Type 'S' indicates a sparse file in the GNU format.
    	TypeGNUSparse = 'S'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top