Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 274 for Nname (1.49 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. releasenotes/notes/external-name.yaml

          that points to `example.com`. This is implemented by a DNS `CNAME` redirect.
          
          In Istio, the implementation of `ExternalName`, historically, was substantially different. Each `ExternalName` represented its own
          service, and traffic matching the service was sent to the configured DNS name.
          
          This caused a few issues:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 27 03:08:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. releasenotes/notes/external-name-on.yaml

          that points to `example.com`. This is implemented by a DNS `CNAME` redirect.
    
          In Istio, the implementation of `ExternalName`, historically, was substantially different. Each `ExternalName` represented its own
          service, and traffic matching the service was sent to the configured DNS name.
    
          This caused a few issues:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 02 18:58:52 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/fix/main_test.go

    					out, out2)
    				tdiff(t, "first", out, "second", out2)
    			}
    		})
    	}
    }
    
    func tdiff(t *testing.T, aname, a, bname, b string) {
    	t.Errorf("%s", diff.Diff(aname, []byte(a), bname, []byte(b)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top