Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for consolidateMultiples (0.17 sec)

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

    	multiples bool  // if set, typ appears multiple times at this depth
    }
    
    // consolidateMultiples collects multiple list entries with the same type
    // into a single entry marked as containing multiples. The result is the
    // consolidated list.
    func consolidateMultiples(list []embeddedType) []embeddedType {
    	if len(list) <= 1 {
    		return list // at most one entry - nothing to do
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. src/go/types/lookup.go

    	multiples bool  // if set, typ appears multiple times at this depth
    }
    
    // consolidateMultiples collects multiple list entries with the same type
    // into a single entry marked as containing multiples. The result is the
    // consolidated list.
    func consolidateMultiples(list []embeddedType) []embeddedType {
    	if len(list) <= 1 {
    		return list // at most one entry - nothing to do
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. src/go/types/methodset.go

    		for k := range fset {
    			if _, found := base[k]; !found {
    				if base == nil {
    					base = make(methodSet)
    				}
    				base[k] = nil // collision
    			}
    		}
    
    		current = consolidateMultiples(next)
    	}
    
    	if len(base) == 0 {
    		return &emptyMethodSet
    	}
    
    	// collect methods
    	var list []*Selection
    	for _, m := range base {
    		if m != nil {
    			m.recv = T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top