Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 60 for resultCh (0.8 sec)

  1. staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go

    		if err != nil {
    			evalErrors = append(evalErrors, fmt.Errorf("cel evaluation error: expression '%v' resulted in error: %w", compilationResult.ExpressionAccessor.GetExpression(), err))
    			continue
    		}
    		if evalResult.Type() != celgo.BoolType {
    			evalErrors = append(evalErrors, fmt.Errorf("cel evaluation error: expression '%v' eval result type should be bool but got %W", compilationResult.ExpressionAccessor.GetExpression(), evalResult.Type()))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 22:41:27 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/nilfunc/nilfunc.go

    	URL:      "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/nilfunc",
    	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),
    	}
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		e := n.(*ast.BinaryExpr)
    
    		// Only want == or != comparisons.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/policy_decision.go

    	// published with the audit event.
    	AuditAnnotationActionPublish PolicyAuditAnnotationAction = "publish"
    	// AuditAnnotationActionError indicates that the valueExpression resulted
    	// in an error.
    	AuditAnnotationActionError PolicyAuditAnnotationAction = "error"
    	// AuditAnnotationActionExclude indicates that the audit annotation should be excluded
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/ifaceassert/ifaceassert.go

    		return nil
    	}
    	if f, wrongType := types.MissingMethod(V, T, false); wrongType {
    		return f
    	}
    	return nil
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    	nodeFilter := []ast.Node{
    		(*ast.TypeAssertExpr)(nil),
    		(*ast.TypeSwitchStmt)(nil),
    	}
    	var free typeparams.Free
    	inspect.Preorder(nodeFilter, func(n ast.Node) {
    		var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

      /**
       * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
       * returns the expected data.
       *
       * @throws Throwable if the listener isn't called or if it resulted in a throwable or if the
       *     result doesn't match the expected value.
       */
      public void assertSuccess(Object expectedData) throws Throwable {
        // Verify that the listener executed in a reasonable amount of time.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic/atomic.go

    	Run:              run,
    }
    
    func run(pass *analysis.Pass) (interface{}, error) {
    	if !analysisutil.Imports(pass.Pkg, "sync/atomic") {
    		return nil, nil // doesn't directly import sync/atomic
    	}
    
    	inspect := pass.ResultOf[inspect.Analyzer].(*inspector.Inspector)
    
    	nodeFilter := []ast.Node{
    		(*ast.AssignStmt)(nil),
    	}
    	inspect.Preorder(nodeFilter, func(node ast.Node) {
    		n := node.(*ast.AssignStmt)
    		if len(n.Lhs) != len(n.Rhs) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/cel/mapper.go

    	results, err := m.eval(ctx, map[string]interface{}{claimsVarName: claims.Object})
    	if err != nil {
    		return EvaluationResult{}, err
    	}
    	if len(results) != 1 {
    		return EvaluationResult{}, fmt.Errorf("expected 1 evaluation result, got %d", len(results))
    	}
    	return results[0], nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 20:16:09 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc

    // This pass converts mlir functions consisting of mlir ops into a tf_executor
    // dialect as a single island.
    // Result like so:
    //   func @my_fn(%argi...) -> (result_t) {
    //     %results:[[n_args]] = tf_executor.graph {
    //        %island_results:[[nargs + 1]] = tf_executor.island {
    //          ... original ops ...
    //          tf_executor.yield %results...
    //        }
    //        tf_executor.fetch %island_results#...
    //      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/lostcancel/lostcancel.go

    					}
    				case *ast.ReturnStmt:
    					// A naked return statement counts as a use
    					// of the named result variables.
    					if n.Results == nil && vIsNamedResult {
    						found = true
    					}
    				}
    				return !found
    			})
    		}
    		return found
    	}
    
    	// blockUses computes "uses" for each block, caching the result.
    	memo := make(map[*cfg.Block]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top