Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BasicTypeNames (0.25 sec)

  1. src/cmd/compile/internal/types/fmt.go

    			if len(base) < len(sym.Name) {
    				sym = &Sym{Pkg: sym.Pkg, Name: base}
    			}
    		}
    		sconv2(b, sym, verb, mode)
    		return
    	}
    
    	if int(t.Kind()) < len(BasicTypeNames) && BasicTypeNames[t.Kind()] != "" {
    		var name string
    		switch t {
    		case UntypedBool:
    			name = "untyped bool"
    		case UntypedString:
    			name = "untyped string"
    		case UntypedInt:
    			name = "untyped int"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/convert.go

    			return walkCheckPtrArithmetic(n, init)
    		}
    	}
    	param, result := rtconvfn(n.X.Type(), n.Type())
    	if param == types.Txxx {
    		return n
    	}
    	fn := types.BasicTypeNames[param] + "to" + types.BasicTypeNames[result]
    	return typecheck.Conv(mkcall(fn, types.Types[result], init, typecheck.Conv(n.X, types.Types[param])), n.Type())
    }
    
    // walkConvInterface walks an OCONVIFACE node.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top