Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for expectAction (0.43 sec)

  1. pkg/api/pod/util_test.go

    						t.Errorf("appArmorAnnotationsInUse does not match expectation: %t != %t", hasAnnotations, test.hasAnnotations)
    					}
    					if hasFields := appArmorFieldsInUse(&newPod.Spec); hasFields != test.hasFields {
    						t.Errorf("appArmorFieldsInUse does not match expectation: %t != %t", hasFields, test.hasFields)
    					}
    
    					DropDisabledPodFields(newPod, newPod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    			}
    
    			if len(compilationResults) != len(tt.expectedResults) {
    				t.Fatalf("one test expectation per rule is required")
    			}
    
    			for i, expectedResult := range tt.expectedResults {
    				if !expectedResult.matches(compilationResults[i]) {
    					t.Errorf("result %d does not match expectation: %v", i+1, expectedResult)
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  3. src/internal/trace/trace_test.go

    		}
    		cmd.Env = append(cmd.Env, "GODEBUG="+godebug)
    
    		// Capture stdout and stderr.
    		//
    		// The protocol for these programs is that stdout contains the trace data
    		// and stderr is an expectation in string format.
    		var traceBuf, errBuf bytes.Buffer
    		cmd.Stdout = &traceBuf
    		cmd.Stderr = &errBuf
    		// Run the program.
    		if err := cmd.Run(); err != nil {
    			if errBuf.Len() != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. src/runtime/race_ppc64le.s

    	JMP	racecall<>(SB)
    
    // Finds g0 and sets its stack
    // Arguments were loaded for call from Go to C
    TEXT	racecall<>(SB), NOSPLIT, $0-0
    	// Set the LR slot for the ppc64 ABI
    	MOVD	LR, R10
    	MOVD	R10, 0(R1)	// Go expectation
    	MOVD	R10, 16(R1)	// C ABI
    	// Get info from the current goroutine
    	MOVD    runtimeĀ·tls_g(SB), R10	// g offset in TLS
    	MOVD    0(R10), g
    	MOVD	g_m(g), R7		// m for g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

          for (AbstractTensorHandle* input : inputs)
            if (arg_def_type != cast<MlirTensor>(input)->getElementType())
              return InvalidArgument(
                  "Invalid input list: type mismatch the op def expectation");
        } else if (!inputs.empty()) {
          if (arg_def.type_attr().empty())
            return FailedPrecondition(
                "Invalid opdef type constraint: either type or type_attr required");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  6. cluster/gce/config-test.sh

    # OIDC discovery flows in Pods in the same cluster. For some providers
    # with configurations that support non-traditional KSA authentication methods,
    # this value may make sense, but if the expectation is traditional OIDC, don't
    # use this value in production. If you do use it, the FQDN is preferred to
    # kubernetes.default.svc, to avoid something outside the cluster attempting
    # to resolve the partially qualified name.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 17:20:24 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    	contentLength    int // of request body
    	chunked          bool
    	expectation      string // e.g. "100-continue"
    	readBody         bool   // whether handler should read the body (if false, sends StatusUnauthorized)
    	expectedResponse string // expected substring in first line of http response
    }
    
    func expectTest(contentLength int, expectation string, readBody bool, expectedResponse string) serverExpectTest {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. pkg/controller/endpoint/endpoints_controller.go

    			// Since this is a headless service we use podIP to identify the family.
    			// This assumes that status.PodIP is assigned correctly (follows pod cidr and
    			// pod cidr list order is same as service cidr list order). The expectation is
    			// this is *most probably* the case.
    
    			// if the family was incorrectly identified then this will be corrected once the
    			// upgrade is completed (controller connects to api-server that correctly defaults services)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. pkg/controller/replicaset/replica_set_test.go

    							},
    						},
    					})
    				}
    				// Don't delete all pods because we confirm that the last pod
    				// has exactly one expectation at the end, to verify that we
    				// don't double delete.
    				for i := range podsToDelete[1:] {
    					informers.Core().V1().Pods().Informer().GetIndexer().Delete(podsToDelete[i])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                                        rewriter.getI64Type()),
                  permutation));
          reverse_filter_in = filter_transposed;
        }
    
        // Lets hard-code the reverse indexes to be {0, 1} as the expectation is
        // that the kernel is always in HWOI format, with the above code.
        mhlo::ReverseOp filter = rewriter.create<mhlo::ReverseOp>(
            conv_op.getLoc(), reverse_filter_in, rewriter.getI64TensorAttr({0, 1}));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top