Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for mkCall (0.1 sec)

  1. pilot/pkg/networking/core/peer_authentication_simulation_test.go

    					Call:   mkCall(8000, simulation.Plaintext),
    					Result: simulation.Result{ClusterMatched: "InboundPassthroughCluster"},
    				},
    				{
    					Name:   "mtls on port 8000",
    					Call:   mkCall(8000, simulation.MTLS),
    					Result: simulation.Result{ClusterMatched: "InboundPassthroughCluster"},
    				},
    				{
    					Name:   "plaintext port 9000",
    					Call:   mkCall(9000, simulation.Plaintext),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/builtin.go

    		niflen := ir.NewIfStmt(base.Pos, ir.NewBinaryExpr(base.Pos, ir.OLT, l, ir.NewInt(base.Pos, 0)), nil, nil)
    		niflen.Body = []ir.Node{mkcall("panicmakeslicelen", nil, init)}
    		nif.Body.Append(niflen, mkcall("panicmakeslicecap", nil, init))
    		init.Append(typecheck.Stmt(nif))
    
    		t = types.NewArray(t.Elem(), i) // [r]T
    		var_ := typecheck.TempAt(base.Pos, ir.CurFunc, t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/convert.go

    	}
    	if n.Op() == ir.ORUNES2STR {
    		// slicerunetostring(*[32]byte, []rune) string
    		return mkcall("slicerunetostring", n.Type(), init, a, n.X)
    	}
    	// slicebytetostring(*[32]byte, ptr *byte, n int) string
    	n.X = cheapExpr(n.X, init)
    	ptr, len := backingArrayPtrLen(n.X)
    	return mkcall("slicebytetostring", n.Type(), init, a, ptr, len)
    }
    
    // walkBytesToStringTemp walks an OBYTES2STRTMP 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)
  4. src/cmd/compile/internal/walk/walk.go

    	types.CalcSize(n.Y.Type())
    
    	return n
    }
    
    func vmkcall(fn ir.Node, t *types.Type, init *ir.Nodes, va []ir.Node) *ir.CallExpr {
    	if init == nil {
    		base.Fatalf("mkcall with nil init: %v", fn)
    	}
    	if fn.Type() == nil || fn.Type().Kind() != types.TFUNC {
    		base.Fatalf("mkcall %v %v", fn, fn.Type())
    	}
    
    	n := fn.Type().NumParams()
    	if n != len(va) {
    		base.Fatalf("vmkcall %v needs %v args got %v", fn, n, len(va))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/sidecar_simulation_test.go

    					},
    				},
    				{
    					Name: "plaintext",
    					Call: mkCall(9080, simulation.HTTP, simulation.Plaintext, nil, ""),
    					Result: simulation.Result{
    						Error: simulation.ErrNoFilterChain,
    					},
    				},
    				{
    					Name: "http over mTLS",
    					Call: mkCall(9080, simulation.HTTP, simulation.MTLS, nil, "file-cert:httpbin.pem~httpbinkey.pem"),
    					Result: simulation.Result{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/compare.go

    				if constcmp {
    					fn = "libfuzzerTraceConstCmp8"
    				}
    				paramType = types.Types[types.TUINT64]
    			default:
    				base.Fatalf("unexpected integer size %d for %v", t.Size(), t)
    			}
    			init.Append(mkcall(fn, nil, init, tracecmpArg(l, paramType, init), tracecmpArg(r, paramType, init), fakePC(n)))
    		}
    		return n
    	case types.TARRAY:
    		// We can compare several elements at once with 2/4/8 byte integer compares
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/expr.go

    		n := n.(*ir.LogicalExpr)
    		return walkLogical(n, init)
    
    	case ir.OPRINT, ir.OPRINTLN:
    		return walkPrint(n.(*ir.CallExpr), init)
    
    	case ir.OPANIC:
    		n := n.(*ir.UnaryExpr)
    		return mkcall("gopanic", nil, init, n.X)
    
    	case ir.ORECOVERFP:
    		return walkRecoverFP(n.(*ir.CallExpr), init)
    
    	case ir.OCFUNC:
    		return n
    
    	case ir.OCALLINTER, ir.OCALLFUNC:
    		n := n.(*ir.CallExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/walk/assign.go

    	var call *ir.CallExpr
    	if w := t.Elem().Size(); w <= abi.ZeroValSize {
    		fn := mapfn(mapaccess2[fast], t, false)
    		call = mkcall1(fn, fn.Type().ResultsTuple(), init, reflectdata.IndexMapRType(base.Pos, r), r.X, key)
    	} else {
    		fn := mapfn("mapaccess2_fat", t, true)
    		z := reflectdata.ZeroAddr(w)
    		call = mkcall1(fn, fn.Type().ResultsTuple(), init, reflectdata.IndexMapRType(base.Pos, r), r.X, key, z)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/plan9/mkall.sh

    	do
    		sed 1q $i | sed 's;^// ;;' | sh > _$i && gofmt < _$i > $i
    		rm _$i
    	done
    	exit 0
    	;;
    -n)
    	run="cat"
    	shift
    esac
    
    case "$#" in
    0)
    	;;
    *)
    	echo 'usage: mkall.sh [-n]' 1>&2
    	exit 2
    esac
    
    case "$GOOSARCH" in
    _* | *_ | _)
    	echo 'undefined $GOOS_$GOARCH:' "$GOOSARCH" 1>&2
    	exit 1
    	;;
    plan9_386)
    	mkerrors=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/mkall.sh

    		sed 1q $i | sed 's;^// ;;' | sh > _$i && gofmt < _$i > $i
    		rm _$i
    	done
    	exit 0
    	;;
    -n)
    	run="cat"
    	cmd="echo"
    	shift
    esac
    
    case "$#" in
    0)
    	;;
    *)
    	echo 'usage: mkall.sh [-n]' 1>&2
    	exit 2
    esac
    
    if [[ "$GOOS" = "linux" ]]; then
    	# Use the Docker-based build system
    	# Files generated through docker (use $cmd so you can Ctl-C the build or run)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top