Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for unionSets (0.43 sec)

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

    			if check != nil {
    				check.errorf(atPos(pos), InvalidUnion, "cannot handle more than %d union terms (implementation limitation)", maxTermCount)
    			}
    			unionSets[utyp] = &invalidTypeSet
    			return unionSets[utyp]
    		}
    	}
    	unionSets[utyp].terms = allTerms
    
    	return unionSets[utyp]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. src/go/types/typeset.go

    			if check != nil {
    				check.errorf(atPos(pos), InvalidUnion, "cannot handle more than %d union terms (implementation limitation)", maxTermCount)
    			}
    			unionSets[utyp] = &invalidTypeSet
    			return unionSets[utyp]
    		}
    	}
    	unionSets[utyp].terms = allTerms
    
    	return unionSets[utyp]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. src/go/types/predicates.go

    		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)
    		}
    
    	case *Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/predicates.go

    		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)
    		}
    
    	case *Interface:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

            if (prev_resource_and_device != kInvalidResourceAndDevice) {
              // Merge class of current ID with class of previous ID since both
              // resources are accessed by `op`.
              resource_equivalence_classes.unionSets(prev_resource_and_device,
                                                     resource_and_device);
            } else {
              resource_equivalence_classes.insert(resource_and_device);
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
Back to top