Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 104 for recvq (1.11 sec)

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

    		return OpNames[o]
    	}
    	return o.String()
    }
    
    // Format implements formatting for an Op.
    // The valid formats are:
    //
    //	%v	Go syntax ("+", "<-", "print")
    //	%+v	Debug syntax ("ADD", "RECV", "PRINT")
    func (o Op) Format(s fmt.State, verb rune) {
    	switch verb {
    	default:
    		fmt.Fprintf(s, "%%!%c(Op=%d)", verb, int(o))
    	case 'v':
    		if s.Flag('+') {
    			// %+v is OMUL instead of "*"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	ctxt.SFTP = ctx.StringSlice("sftp")
    	ctxt.Interface = ctx.String("interface")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.SendBufSize = ctx.Int("send-buf-size")
    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    	ctxt.IdleTimeout = ctx.Duration("idle-timeout")
    	ctxt.UserTimeout = ctx.Duration("conn-user-timeout")
    	ctxt.ShutdownTimeout = ctx.Duration("shutdown-timeout")
    
    	if conf := ctx.String("config"); len(conf) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/func.go

    		// information further down the call chain to know if we
    		// were testing a method receiver for unexported fields.
    		// It isn't necessary, so just do a sanity check.
    		tp := t.Recv().Type
    
    		if l.X == nil || !types.Identical(l.X.Type(), tp) {
    			base.Fatalf("method receiver")
    		}
    
    	default:
    		n.SetOp(ir.OCALLFUNC)
    		if t.Kind() != types.TFUNC {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/test.go

    	if err != nil {
    		return err
    	}
    	for _, d := range f.Decls {
    		n, ok := d.(*ast.FuncDecl)
    		if !ok {
    			continue
    		}
    		if n.Recv != nil {
    			continue
    		}
    		name := n.Name.String()
    		switch {
    		case name == "TestMain":
    			if isTestFunc(n, "T") {
    				t.Tests = append(t.Tests, testFunc{pkg, name, "", false})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. cmd/server-main.go

    		Hidden: true,
    		EnvVar: "MINIO_MEMLIMIT",
    	},
    	cli.IntFlag{
    		Name:   "send-buf-size",
    		Value:  4 * humanize.MiByte,
    		EnvVar: "MINIO_SEND_BUF_SIZE",
    		Hidden: true,
    	},
    	cli.IntFlag{
    		Name:   "recv-buf-size",
    		Value:  4 * humanize.MiByte,
    		EnvVar: "MINIO_RECV_BUF_SIZE",
    		Hidden: true,
    	},
    	cli.StringFlag{
    		Name:   "log-dir",
    		Usage:  "specify the directory to save the server log",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (1)
  6. pkg/adsc/adsc.go

    	}
    }
    
    func (a *ADSC) handleRecv() {
    	// We connected, so reset the backoff
    	if a.cfg.BackoffPolicy != nil {
    		a.cfg.BackoffPolicy.Reset()
    	}
    	for {
    		var err error
    		msg, err := a.stream.Recv()
    		if err != nil {
    			adscLog.Infof("Connection closed for node %v with err: %v", a.nodeID, err)
    			select {
    			case a.errChan <- err:
    			default:
    			}
    			// if 'reconnect' enabled - schedule a new Run
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    	}
    
    	// Is it the receiver r, or &r?
    	if u, ok := e.(*ast.UnaryExpr); ok && u.Op == token.AND {
    		e = u.X // strip off & from &r
    	}
    	if id, ok := e.(*ast.Ident); ok {
    		if pass.TypesInfo.Uses[id] == sig.Recv() {
    			return method.FullName(), true
    		}
    	}
    	return "", false
    }
    
    // isStringer reports whether the method signature matches the String() definition in fmt.Stringer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. src/cmd/cover/cover.go

    		// written in Go). See #57445 for more details.
    		if atomicOnAtomic() && (fname == "AddUint32" || fname == "StoreUint32") {
    			return nil
    		}
    		// Determine proper function or method name.
    		if r := n.Recv; r != nil && len(r.List) == 1 {
    			t := r.List[0].Type
    			star := ""
    			if p, _ := t.(*ast.StarExpr); p != nil {
    				t = p.X
    				star = "*"
    			}
    			if p, _ := t.(*ast.Ident); p != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/builtin.go

    	}
    	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)
    
    	// replace len(*[10]int) with 10.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. src/text/template/exec.go

    		if val.IsNil() {
    			break
    		}
    		if val.Type().ChanDir() == reflect.SendDir {
    			s.errorf("range over send-only channel %v", val)
    			break
    		}
    		i := 0
    		for ; ; i++ {
    			elem, ok := val.Recv()
    			if !ok {
    				break
    			}
    			oneIteration(reflect.ValueOf(i), elem)
    		}
    		if i == 0 {
    			break
    		}
    		return
    	case reflect.Invalid:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top