Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for typehash (0.1 sec)

  1. src/cmd/compile/internal/ssa/rewrite.go

    		}
    	}
    	return false
    }
    func fixed32(c *Config, sym Sym, off int64) int32 {
    	lsym := sym.(*obj.LSym)
    	if ti, ok := (*lsym.Extra).(*obj.TypeInfo); ok {
    		if off == 2*c.PtrSize {
    			return int32(types.TypeHash(ti.Type.(*types.Type)))
    		}
    	}
    	base.Fatalf("fixed32 data not known for %s:%d", sym, off)
    	return 0
    }
    
    // isFixedSym returns true if the contents of sym at the given offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    	}
    	if path := lockPath(pass.Pkg, typ, nil); path != nil {
    		pass.Reportf(e.Pos(), "range var %s copies lock: %v", analysisutil.Format(pass.Fset, e), path)
    	}
    }
    
    type typePath []string
    
    // String pretty-prints a typePath.
    func (path typePath) String() string {
    	n := len(path)
    	var buf bytes.Buffer
    	for i := range path {
    		if i > 0 {
    			fmt.Fprint(&buf, " contains ")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top