Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 365 for Nname (0.29 sec)

  1. src/cmd/compile/internal/walk/assign.go

    			case *ir.SelectorExpr:
    				if ll.Op() == ir.ODOT {
    					l = ll.X
    					continue
    				}
    			}
    			break
    		}
    
    		var name *ir.Name
    		switch l.Op() {
    		default:
    			base.Fatalf("unexpected lvalue %v", l.Op())
    		case ir.ONAME:
    			name = l.(*ir.Name)
    		case ir.OINDEX, ir.OINDEXMAP:
    			l := l.(*ir.IndexExpr)
    			save(&l.X)
    			save(&l.Index)
    		case ir.ODEREF:
    			l := l.(*ir.StarExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/expr.go

    				// package of the generic function.
    				if !(ir.CurFunc != nil && strings.Contains(ir.CurFunc.Nname.Sym().Name, "[")) {
    					if s != nil && !types.IsExported(s.Name) && s.Pkg != types.LocalPkg {
    						base.Errorf("implicit assignment of unexported field '%s' in %v literal", s.Name, t)
    					}
    				}
    				// No pushtype allowed here. Must name fields for that.
    				n1 = AssignConv(n1, f.Type, "field value")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/inline/inlheur/scoring.go

    			ecsj := EncodeCallSiteKey(sl[j])
    			return ecsi < ecsj
    		})
    
    		mkname := func(fn *ir.Func) string {
    			var n string
    			if fn == nil || fn.Nname == nil {
    				return "<nil>"
    			}
    			if fn.Sym().Pkg == types.LocalPkg {
    				n = "ยท" + fn.Sym().Name
    			} else {
    				n = ir.PkgFuncName(fn)
    			}
    			// don't try to print super-long names
    			if len(n) <= 64 {
    				return n
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/func.go

    // (Call typecheck.Func instead.)
    func tcFunc(n *ir.Func) {
    	if base.EnableTrace && base.Flag.LowerT {
    		defer tracePrint("tcFunc", n)(nil)
    	}
    
    	if name := n.Nname; name.Typecheck() == 0 {
    		base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name)
    		name.SetTypecheck(1)
    	}
    }
    
    // tcCall typechecks an OCALL node.
    func tcCall(n *ir.CallExpr, top int) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/expr.go

    	if ir.IsFuncPCIntrinsic(n) {
    		// For internal/abi.FuncPCABIxxx(fn), if fn is a defined function, rewrite
    		// it to the address of the function of the ABI fn is defined.
    		name := n.Fun.(*ir.Name).Sym().Name
    		arg := n.Args[0]
    		var wantABI obj.ABI
    		switch name {
    		case "FuncPCABI0":
    			wantABI = obj.ABI0
    		case "FuncPCABIInternal":
    			wantABI = obj.ABIInternal
    		}
    		if n.Type() != types.Types[types.TUINTPTR] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/builtin.go

    		_, len := backingArrayPtrLen(cheapExpr(conv.X, init))
    		return len
    	}
    	if isChanLenCap(n) {
    		name := "chanlen"
    		if n.Op() == ir.OCAP {
    			name = "chancap"
    		}
    		// cannot use chanfn - closechan takes any, not chan any,
    		// because it accepts both send-only and recv-only channels.
    		fn := typecheck.LookupRuntime(name, n.X.Type())
    		return mkcall1(fn, n.Type(), init, n.X)
    	}
    
    	n.X = walkExpr(n.X, init)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. operator/pkg/name/name.go

    	s := string(n)
    	return ComponentName(strings.ToUpper(s[0:1]) + s[1:])
    }
    
    // UserFacingComponentName returns the name of the given component that should be displayed to the user in high
    // level CLIs (like progress log).
    func UserFacingComponentName(name ComponentName) string {
    	ret, ok := userFacingComponentNames[name]
    	if !ok {
    		return "Unknown"
    	}
    	return ret
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    				n = nn.X
    				continue
    			}
    		}
    		break
    	}
    	if n.Op() != ir.ONAME {
    		return false
    	}
    	return s.canSSAName(n.(*ir.Name)) && ssa.CanSSA(n.Type())
    }
    
    func (s *state) canSSAName(name *ir.Name) bool {
    	if name.Addrtaken() || !name.OnStack() {
    		return false
    	}
    	switch name.Class {
    	case ir.PPARAMOUT:
    		if s.hasdefer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. src/net/http/filetransport_test.go

    	}
    }
    
    func TestFileTransport(t *testing.T) {
    	check := checker(t)
    
    	dname := t.TempDir()
    	fname := filepath.Join(dname, "foo.txt")
    	err := os.WriteFile(fname, []byte("Bar"), 0644)
    	check("WriteFile", err)
    	defer os.Remove(fname)
    
    	tr := &Transport{}
    	tr.RegisterProtocol("file", NewFileTransport(Dir(dname)))
    	c := &Client{Transport: tr}
    
    	fooURLs := []string{"file:///foo.txt", "file://../foo.txt"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 17:07:12 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go

    		name = name[:maxNameLen-len(bad)] + bad
    	}
    	return name
    }
    
    // DecodeStack expands the (compressed) stack encoded in the counter name.
    func DecodeStack(ename string) string {
    	if !strings.Contains(ename, "\n") {
    		return ename // not a stack counter
    	}
    	lines := strings.Split(ename, "\n")
    	var lastPath string // empty or ends with .
    	for i, line := range lines {
    		path, rest := cutLastDot(line)
    		if len(path) == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top