Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 238 for Universe (0.31 sec)

  1. src/go/parser/resolver.go

    				ident.Obj = obj
    			}
    			return
    		}
    	}
    	// all local scopes are known, so any unresolved identifier
    	// must be found either in the file scope, package scope
    	// (perhaps in another file), or universe scope --- collect
    	// them so that they can be resolved later
    	if collectUnresolved {
    		ident.Obj = unresolved
    		r.unresolved = append(r.unresolved, ident)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/edit.go

    	// terminates, and the easiest way to prove it is to add this map.
    	//
    	// Then the proof of termination is this:
    	// On every iteration where we mark the roots as dirty, we add some new module
    	// version to the map. The universe of module versions is finite, so we must
    	// eventually reach a state in which we do not add any version to the map.
    	// In that state, we either report a conflict or succeed in the edit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 21:46:32 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  3. src/go/types/predicates.go

    			return u != nil && hasNil(u)
    		})
    	}
    	return false
    }
    
    // samePkg reports whether packages a and b are the same.
    func samePkg(a, b *Package) bool {
    	// package is nil for objects in universe scope
    	if a == nil || b == nil {
    		return a == b
    	}
    	// a != nil && b != nil
    	return a.path == b.path
    }
    
    // An ifacePair is a node in a stack of interface type pairs compared for identity.
    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/go/types/typexpr.go

    			return // avoid follow-on errors
    		}
    	}
    	// Because the representation of any depends on gotypesalias, we don't check
    	// pointer identity here.
    	if obj.Name() == "any" && obj.Parent() == Universe {
    		if !check.verifyVersionf(e, go1_18, "predeclared %s", e.Name) {
    			return // avoid follow-on errors
    		}
    	}
    	check.recordUse(e, obj)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/go/internal/gcimporter/iimport.go

    		p.typCache[uint64(i)] = pt
    	}
    	// Special handling for "any", whose representation may be changed by the
    	// gotypesalias GODEBUG variable.
    	p.typCache[uint64(len(predeclared))] = types.Universe.Lookup("any").Type()
    
    	pkgList := make([]*types.Package, r.uint64())
    	for i := range pkgList {
    		pkgPathOff := r.uint64()
    		pkgPath := p.stringAt(pkgPathOff)
    		pkgName := p.stringAt(r.uint64())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. src/cmd/fix/typecheck.go

    }
    
    func getType(t string) string {
    	if !isType(t) {
    		return ""
    	}
    	return t[len("type "):]
    }
    
    func isType(t string) bool {
    	return strings.HasPrefix(t, "type ")
    }
    
    // TypeConfig describes the universe of relevant types.
    // For ease of creation, the types are all referred to by string
    // name (e.g., "reflect.Value").  TypeByName is the only place
    // where the strings are resolved.
    
    type TypeConfig struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/predicates.go

    			return u != nil && hasNil(u)
    		})
    	}
    	return false
    }
    
    // samePkg reports whether packages a and b are the same.
    func samePkg(a, b *Package) bool {
    	// package is nil for objects in universe scope
    	if a == nil || b == nil {
    		return a == b
    	}
    	// a != nil && b != nil
    	return a.path == b.path
    }
    
    // An ifacePair is a node in a stack of interface type pairs compared for identity.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ArrayTable.java

    /**
     * Fixed-size {@link Table} implementation backed by a two-dimensional array.
     *
     * <p><b>Warning:</b> {@code ArrayTable} is rarely the {@link Table} implementation you want. First,
     * it requires that the complete universe of rows and columns be specified at construction time.
     * Second, it is always backed by an array large enough to hold a value for every possible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ArrayTable.java

    /**
     * Fixed-size {@link Table} implementation backed by a two-dimensional array.
     *
     * <p><b>Warning:</b> {@code ArrayTable} is rarely the {@link Table} implementation you want. First,
     * it requires that the complete universe of rows and columns be specified at construction time.
     * Second, it is always backed by an array large enough to hold a value for every possible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/check.go

    // nopos indicates an unknown position
    var nopos syntax.Pos
    
    // debugging/development support
    const debug = false // leave on during development
    
    // _aliasAny changes the behavior of [Scope.Lookup] for "any" in the
    // [Universe] scope.
    //
    // This is necessary because while Alias creation is controlled by
    // [Config.EnableAlias], the representation of "any" is a global. In
    // [Scope.Lookup], we select this global representation based on the result of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top