Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 141 for resultCh (0.46 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. pkg/volume/iscsi/iscsi_test.go

    	for _, testcase := range tests {
    		resultName, resultNs, err := getISCSISecretNameAndNamespace(testcase.spec, testcase.defaultNs)
    		if err != testcase.expectedError || resultName != testcase.expectedName || resultNs != testcase.expectedNs {
    			t.Errorf("%s failed: expected err=%v ns=%q name=%q, got %v/%q/%q", testcase.name, testcase.expectedError, testcase.expectedNs, testcase.expectedName,
    				err, resultNs, resultName)
    		}
    	}
    
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/discovery/token/token_test.go

    			}
    
    			// Return if an error is expected
    			if test.expectedError {
    				return
    			}
    
    			// Validate the resulted kubeconfig
    			kubeconfigBytes, err = clientcmd.Write(*kubeconfig)
    			if err != nil {
    				t.Fatalf("cannot marshal resulted kubeconfig %v", err)
    			}
    			if string(kubeconfigBytes) != expectedKubeconfig {
    				t.Error("unexpected kubeconfig")
    				diff := difflib.UnifiedDiff{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top