Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for resultCh (0.88 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/bools/bools.go

    	URL:      "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/bools",
    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.BinaryExpr)(nil),
    	}
    	seen := make(map[*ast.BinaryExpr]bool)
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		e := n.(*ast.BinaryExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go

    				decision.Reason = *validation.Reason
    			}
    			// decide the failure message
    			var message string
    			// attempt to set message with messageExpression result
    			if messageResult != nil && messageResult.Error == nil && messageResult.EvalResult != nil {
    				// also fallback if the eval result is non-string (including null) or
    				// whitespaces.
    				if message, ok = messageResult.EvalResult.Value().(string); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:44 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. pkg/controlplane/reconcilers/endpointsadapter.go

    		if !utilnet.IsIPv6String(address.IP) {
    			return false
    		}
    	}
    
    	return true
    }
    
    // setSkipMirrorTrue sets endpointslice.kubernetes.io/skip-mirror to true. It
    // returns true if this has resulted in a change to the Endpoints resource.
    func setSkipMirrorTrue(e *corev1.Endpoints) bool {
    	skipMirrorVal, ok := e.Labels[discovery.LabelSkipMirror]
    	if !ok || skipMirrorVal != "true" {
    		if e.Labels == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 27 12:46:23 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unreachable/unreachable.go

    	Requires:         []*analysis.Analyzer{inspect.Analyzer},
    	RunDespiteErrors: true,
    	Run:              run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.FuncDecl)(nil),
    		(*ast.FuncLit)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		var body *ast.BlockStmt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. src/net/http/httptest/recorder.go

    //
    // The Response.Body is guaranteed to be non-nil and Body.Read call is
    // guaranteed to not return any error other than [io.EOF].
    //
    // Result must only be called after the handler has finished running.
    func (rw *ResponseRecorder) Result() *http.Response {
    	if rw.result != nil {
    		return rw.result
    	}
    	if rw.snapHeader == nil {
    		rw.snapHeader = rw.HeaderMap.Clone()
    	}
    	res := &http.Response{
    		Proto:      "HTTP/1.1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. pkg/apis/core/annotation_key_constants.go

    	// controller at T1, and the Endpoints object was changed at T2, the
    	// EndpointsLastChangeTriggerTime would be set to T0.
    	//
    	// The "endpoints change trigger" here means any Pod or Service change that resulted in the
    	// Endpoints object change.
    	//
    	// Given the definition of the "endpoints change trigger", please note that this annotation will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/annotation_key_constants.go

    	// controller at T1, and the Endpoints object was changed at T2, the
    	// EndpointsLastChangeTriggerTime would be set to T0.
    	//
    	// The "endpoints change trigger" here means any Pod or Service change that resulted in the
    	// Endpoints object change.
    	//
    	// Given the definition of the "endpoints change trigger", please note that this annotation will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow/ctrlflow.go

    // FuncLit returns the control-flow graph for a literal function.
    func (c *CFGs) FuncLit(lit *ast.FuncLit) *cfg.CFG {
    	return c.funcLits[lit].cfg
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	// Because CFG construction consumes and produces noReturn
    	// facts, CFGs for exported FuncDecls must be built before 'run'
    	// returns; we cannot construct them lazily.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/structtag/structtag.go

    	Requires:         []*analysis.Analyzer{inspect.Analyzer},
    	RunDespiteErrors: true,
    	Run:              run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.StructType)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go

    	Requires: []*analysis.Analyzer{inspect.Analyzer},
    	Run:      run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	if !analysisutil.Imports(pass.Pkg, "testing") {
    		return nil, nil
    	}
    
    	toDecl := localFunctionDecls(pass.TypesInfo, pass.Files)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top