Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,297 for expectGet (0.22 sec)

  1. security/pkg/nodeagent/sds/sdsservice_test.go

    		s.Verify(s.Connect().RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{testResourceName}}), expectCert)
    	})
    	t.Run("unsubscribe", func(t *testing.T) {
    		s := setupSDS(t)
    		c := s.Connect()
    		res := c.RequestResponseAck(t, &discovery.DiscoveryRequest{ResourceNames: []string{testResourceName}})
    		s.Verify(res, expectCert)
    		c.Request(t, &discovery.DiscoveryRequest{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 20:12:58 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   // Only asserts in dbg.
    //   EXPECT_DEBUG_DEATH(DieInDebugOr12(&sideeffect), "death");
    //
    // #ifdef NDEBUG
    //   // opt-mode has sideeffect visible.
    //   EXPECT_EQ(12, sideeffect);
    // #else
    //   // dbg-mode no visible sideeffect.
    //   EXPECT_EQ(0, sideeffect);
    // #endif
    // }
    //
    // This will assert that DieInDebugReturn12InOpt() crashes in debug
    // mode, usually due to a DCHECK or LOG(DFATAL), but returns the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/shape_inference_test.cc

                               &shape_info));
      auto iter = shape_info.find("sink");
      EXPECT_NE(iter, shape_info.end());
      EXPECT_EQ(iter->second.size(), 1);
      EXPECT_EQ(iter->second.at(0).handle_type, DT_FLOAT);
      TensorShape resource_shape;
      EXPECT_TRUE(iter->second.at(0).handle_shape.AsTensorShape(&resource_shape));
      EXPECT_EQ(resource_shape, TensorShape({2, 3}));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/lex/input.go

    	tok := in.Stack.Next()
    	if tok != scanner.Int {
    		in.expectText("expected line number after #line")
    	}
    	line, err := strconv.Atoi(in.Stack.Text())
    	if err != nil {
    		in.Error("error parsing #line (cannot happen):", err)
    	}
    	tok = in.Stack.Next()
    	if tok != scanner.String {
    		in.expectText("expected file name in #line")
    	}
    	file, err := strconv.Unquote(in.Stack.Text())
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_cluster_util_test.cc

                              GetNodesRelatedToRefVarsSorted(root, &flib_def));
    
      std::vector<string> expected({
          "RefFloat",
          "add_ref",
          "constant_ref",
          "constant_ref_pco",
          "negate_ref",
          "read_ref_var",
          "variable",
      });
    
      EXPECT_EQ(names, expected);
    }
    
    Status MakeLoop(Scope s, Output init_value, absl::string_view loop_name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_pod_control_test.go

    		claimStates []string
    		expected    bool
    		skipPodUID  bool
    	}{
    		{
    			name:        "all missing",
    			claimStates: []string{missing, missing},
    			expected:    false,
    		},
    		{
    			name:        "no claims",
    			claimStates: []string{},
    			expected:    false,
    		},
    		{
    			name:        "exists",
    			claimStates: []string{missing, exists},
    			expected:    false,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util_test.cc

          /*num_missing_prefix_ctx_inputs=*/0, inputs, {}, *result,
          /*use_pjrt_tensor_buffer=*/false, execute_outputs, context_.get()));
      // The expected output is indices of non-zero inputs.
      Tensor* expected = CreateHostTensor<int64>(TensorShape({2, 2}), {0, 1, 0, 2});
      test::ExpectTensorEqual<int64>(*expected, *GetOutput(0));
    }
    
    TEST_F(PjRtExecutionUtilTest, PopulateCtxOutputsVariableInputs) {
      XlaOpRegistry::RegisterCompilationKernels();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/debug_test.go

    }
    
    // writeReadExpect writes ss, then reads stdout and stderr until something
    // that matches expectRE appears.  expectRE should not be ""
    func (s *ioState) writeReadExpect(ss, expectRE string) tstring {
    	if *verbose {
    		fmt.Printf("=> %s", ss)
    	}
    	if expectRE == "" {
    		panic("expectRE should not be empty; use .* instead")
    	}
    	_, err := io.WriteString(s.stdin, ss)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      EXPECT_TRUE(result.ok());
      EXPECT_EQ(compilation_status.Delta(kMlirCombinedMlirSuccess), 1);
      EXPECT_EQ(compilation_status.Delta(kMlirCombinedMlirFailure), 0);
      EXPECT_EQ(compilation_status.Delta(kMlirCombinedOldSuccess), 1);
      EXPECT_EQ(compilation_status.Delta(kMlirCombinedOldFailure), 0);
      // Old bridge should never be called at all.
      EXPECT_EQ(compilation_status.Delta(kOldBridgeMlirFilteredFailure), 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

            if (kUseUpdatedHybridSchemeDefault) {
              EXPECT_EQ(quant_tensor->quantization()->scale()->size(), shape[0]);
            } else {
              EXPECT_EQ(quant_tensor->quantization()->scale()->size(), 1);
            }
          } else {
            EXPECT_EQ(quant_tensor->type(), TensorType_FLOAT32);
          }
        }
        EXPECT_EQ(used_tensors.size(), quantized_graph->tensors()->size());
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top