Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 812 for Schack (0.72 sec)

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

    // The provided files must all belong to the same package.
    func (check *Checker) initFiles(files []*syntax.File) {
    	// start with a clean slate (check.Files may be called multiple times)
    	check.files = nil
    	check.imports = nil
    	check.dotImportMap = nil
    
    	check.firstErr = nil
    	check.methods = nil
    	check.untyped = nil
    	check.delayed = nil
    	check.objPath = nil
    	check.cleaners = nil
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/check.go

    }
    
    // isExactFloat32 reports whether x can be exactly represented as a float32.
    func isExactFloat32(x float64) bool {
    	// Check the mantissa is in range.
    	if bits.TrailingZeros64(math.Float64bits(x)) < 52-23 {
    		return false
    	}
    	// Check the exponent is in range. The mantissa check above is sufficient for NaN values.
    	return math.IsNaN(x) || x == float64(float32(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. .github/workflows/check-bad-merge.yml

    # See .github/workflows/CheckBadMerge.groovy for explanation
    name: Check bad merge commit
    on:
      pull_request:
        types:
         - opened
         - synchronize
    
    permissions: {}
    
    jobs:
      check_pr_commits:
        permissions:
          contents: read
        runs-on: ubuntu-latest
    
        steps:
          - name: Checkout code
            uses: actions/checkout@v4
            with:
              fetch-depth: 0
          - name: Set up JDK 11
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/decl.go

    func (check *Checker) objDecl(obj Object, def *TypeName) {
    	if check.conf.Trace && obj.Type() == nil {
    		if check.indent == 0 {
    			fmt.Println() // empty line between top-level objects for readability
    		}
    		check.trace(obj.Pos(), "-- checking %s (%s, objPath = %s)", obj, obj.color(), pathString(check.objPath))
    		check.indent++
    		defer func() {
    			check.indent--
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

       */
      protected ArrayBasedUnicodeEscaper(
          ArrayBasedEscaperMap escaperMap,
          int safeMin,
          int safeMax,
          @Nullable String unsafeReplacement) {
        checkNotNull(escaperMap); // GWT specific check (do not optimize)
        this.replacements = escaperMap.getReplacementArray();
        this.replacementsLength = replacements.length;
        if (safeMax < safeMin) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/typexpr.go

    		}
    	}
    }
    
    func (check *Checker) instantiatedType(x syntax.Expr, xlist []syntax.Expr, def *TypeName) (res Type) {
    	if check.conf.Trace {
    		check.trace(x.Pos(), "-- instantiating type %s with %s", x, xlist)
    		check.indent++
    		defer func() {
    			check.indent--
    			// Don't format the underlying here. It will always be nil.
    			check.trace(x.Pos(), "=> %s", res)
    		}()
    	}
    
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/format.go

    // dump is only needed for debugging
    func (check *Checker) dump(format string, args ...any) {
    	fmt.Println(sprintf(check.qualifier, true, format, args...))
    }
    
    func (check *Checker) qualifier(pkg *Package) string {
    	// Qualify the package unless it's the package being type-checked.
    	if pkg != check.pkg {
    		if check.pkgPathMap == nil {
    			check.pkgPathMap = make(map[string]map[string]bool)
    			check.seenPkgMap = make(map[*Package]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/stmt.go

    	defer func(env environment, indent int) {
    		check.environment = env
    		check.indent = indent
    	}(check.environment, check.indent)
    	check.environment = environment{
    		decl:  decl,
    		scope: sig.scope,
    		iota:  iota,
    		sig:   sig,
    	}
    	check.indent = 0
    
    	check.stmtList(0, body.List)
    
    	if check.hasLabel && !check.conf.IgnoreBranchErrors {
    		check.labels(body)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/interface.go

    	sortMethods(methods)
    
    	typ.methods = methods
    	typ.embeddeds = embeddeds
    	typ.complete = true
    
    	return typ
    }
    
    // check may be nil
    func (check *Checker) newInterface() *Interface {
    	typ := &Interface{check: check}
    	if check != nil {
    		check.needsCleanup(typ)
    	}
    	return typ
    }
    
    // MarkImplicit marks the interface t as implicit, meaning this interface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/assignments.go

    	// Only report a mismatch error if there are no other errors on the rhs.
    	if rhs[0].mode != invalid {
    		check.assignError(orig_rhs, l, r)
    	}
    	check.useLHS(lhs...)
    	// orig_rhs[0] was already evaluated
    }
    
    func (check *Checker) shortVarDecl(pos poser, lhs, rhs []syntax.Expr) {
    	top := len(check.delayed)
    	scope := check.scope
    
    	// collect lhs variables
    	seen := make(map[string]bool, len(lhs))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top