Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 151 for set (0.09 sec)

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

    	}
    	// T is not the empty interface (i.e., the type set of T is restricted)
    
    	// An interface V with an empty type set satisfies any interface.
    	// (The empty set is a subset of any set.)
    	Vi, _ := Vu.(*Interface)
    	if Vi != nil && Vi.typeSet().IsEmpty() {
    		return true
    	}
    	// type set of V is not empty
    
    	// No type with non-empty type set satisfies the empty type set.
    	if Ti.typeSet().IsEmpty() {
    		if cause != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/typeset.go

    // API
    
    // A _TypeSet represents the type set of an interface.
    // Because of existing language restrictions, methods can be "factored out"
    // from the terms. The actual type set is the intersection of the type set
    // implied by the methods and the type set described by the terms and the
    // comparable bit. To test whether a type is included in a type set
    // ("implements" relation), the type must implement all methods _and_ be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/main.go

    	FlagRound         = flag.Int64("R", -1, "set address rounding `quantum`")
    	FlagTextAddr      = flag.Int64("T", -1, "set the start address of text symbols")
    	flagEntrySymbol   = flag.String("E", "", "set `entry` symbol name")
    	flagPruneWeakMap  = flag.Bool("pruneweakmap", true, "prune weak mapinit refs")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/par/work.go

    	"math/rand"
    	"sync"
    	"sync/atomic"
    )
    
    // Work manages a set of work items to be executed in parallel, at most once each.
    // The items in the set must all be valid map keys.
    type Work[T comparable] struct {
    	f       func(T) // function to run for each item
    	running int     // total number of runners
    
    	mu      sync.Mutex
    	added   map[T]bool // items added to set
    	todo    []T        // items yet to be run
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    type RunConfig struct {
    	TelemetryDir string    // if set, overrides the telemetry data directory
    	UploadURL    string    // if set, overrides the telemetry upload endpoint
    	LogWriter    io.Writer // if set, used for detailed logging of the upload process
    	Env          []string  // if set, appended to the config download environment
    	StartTime    time.Time // if set, overrides the upload start time
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/predicates.go

    	_, ok := Unalias(t).(*TypeParam)
    	return ok
    }
    
    // hasEmptyTypeset reports whether t is a type parameter with an empty type set.
    // The function does not force the computation of the type set and so is safe to
    // use anywhere, but it may report a false negative if the type set has not been
    // computed yet.
    func hasEmptyTypeset(t Type) bool {
    	if tpar, _ := Unalias(t).(*TypeParam); tpar != nil && tpar.bound != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ir/func.go

    func (f *Func) SetDupok(b bool)                    { f.flags.set(funcDupok, b) }
    func (f *Func) SetWrapper(b bool)                  { f.flags.set(funcWrapper, b) }
    func (f *Func) SetABIWrapper(b bool)               { f.flags.set(funcABIWrapper, b) }
    func (f *Func) SetNeedctxt(b bool)                 { f.flags.set(funcNeedctxt, b) }
    func (f *Func) SetIsHiddenClosure(b bool)          { f.flags.set(funcIsHiddenClosure, b) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/net/http/66405.md

    For inbound requests, the new [Request.Pattern] field contains the [ServeMux]
    pattern (if any) that matched the request. This field is not set when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 181 bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/env_changed.txt

    [!GOOS:windows] env GOOS=windows
    [GOARCH:amd64] env GOARCH=arm64
    [!GOARCH:amd64] env GOARCH=amd64
    
    go env -changed GOOS
    [GOOS:windows] stdout 'set GOOS=linux'
    [!GOOS:windows] stdout 'GOOS=''windows'''
    go env -changed GOARCH
    [GOARCH:amd64] stdout 'set GOARCH=arm64|GOARCH=''arm64'''
    [!GOARCH:amd64] stdout 'set GOARCH=amd64|GOARCH=''amd64'''
    
    go env -changed -json GOOS
    [GOOS:windows] stdout '"GOOS": "linux"'
    [!GOOS:windows] stdout '"GOOS": "windows"'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:49:03 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/unify.go

    	// If enableCoreTypeUnification is set, unification will consider
    	// the core types, if any, of non-local (unbound) type parameters.
    	enableCoreTypeUnification = true
    
    	// If traceInference is set, unification will print a trace of its operation.
    	// Interpretation of trace:
    	//   x ≡ y    attempt to unify types x and y
    	//   p ➞ y    type parameter p is set to type y (p is inferred to be y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top