- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 126 for _retval (0.42 sec)
-
pkg/test/framework/components/istio/istio.go
} retVal = thisVal case 3: // match something like aaa[100] thisVal := val[match[1]] // If it is a list and looking for more down the path if thisVal.GetListValue() != nil && len(path) > 1 { index, _ := strconv.Atoi(match[2]) return getConfigValue(path[1:], thisVal.GetListValue().Values[index].GetStructValue().Fields) } retVal = thisVal } } return retVal }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Oct 30 17:47:34 UTC 2023 - 8K bytes - Viewed (0) -
pkg/registry/certificates/certificates/strategy.go
func findConditionIndices(csr *certificates.CertificateSigningRequest, conditionType certificates.RequestConditionType) []int { var retval []int for i, c := range csr.Status.Conditions { if c.Type == conditionType { retval = append(retval, i) } } return retval } // nowFunc allows overriding for unit tests var nowFunc = metav1.Now
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 11.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Oct 17 17:55:08 UTC 2023 - 16.7K bytes - Viewed (0) -
pkg/registry/core/componentstatus/rest_test.go
}, } } func createTestStatus(name string, status api.ConditionStatus, msg string, err string) *api.ComponentStatus { retVal := &api.ComponentStatus{ Conditions: []api.ComponentCondition{ {Type: api.ComponentHealthy, Status: status, Message: msg, Error: err}, }, } retVal.Name = name return retVal } func TestList_NoError(t *testing.T) { r := NewTestREST(testResponse{result: probe.Success, data: "ok"})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 13 08:10:29 UTC 2023 - 5.3K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
for (auto input : inputs) { TF_RETURN_IF_ERROR(fn_op->AddInput(input)); } int retvals = outputs.size() - null_indices.size(); std::vector<AbstractTensorHandle*> fn_outputs(retvals); TF_RETURN_IF_ERROR(fn_op->Execute( absl::Span<AbstractTensorHandle*>(fn_outputs.data(), fn_outputs.size()), &retvals)); int skipped_indices = 0; for (int i = 0; i < outputs.size(); i++) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
TFE_TensorHandle* retvals[1] = {nullptr}; int num_retvals = 1; TFE_Execute(func, &retvals[0], &num_retvals, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); ASSERT_EQ(1, num_retvals); TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteTensorHandle(retvals[0]); float sum = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
PatternRewriter &rewriter) { if (concat.getVal().size() < 2) return rewriter.notifyMatchFailure( concat, "Concatenate op should have at least two operands"); auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>(); auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>(); if (!first || !second)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/rewrite_ifrt_load_variable.mlir
// CHECK-NEXT: "tf.IfrtCall"(%arg0, [[ARRAYKEY]]) <{program_id = 6515870160938153680 : i64, variable_arg_indices = [1 : i32]}> {__tpu_compile_metadata_text = "retvals { sharding { } }"} : (tensor<1x3xf32>, tensor<!tf_type.string>) -> tensor<1x1xf32> // CHECK-NEXT: return // func.func @serving_default(%arg0: tensor<1x3xf32>) -> tensor<1x1xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:35:32 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); TFE_TensorHandle* retvals[1]; int num_retvals = 1; TFE_Execute(shape_op, &retvals[0], &num_retvals, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); device_type = TFE_TensorHandleDeviceType(retvals[0], status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
operator/pkg/verifier/verifier.go
if err != nil { return nil, err } retval := make([]*v1alpha1.IstioOperator, 0) for _, un := range ul.Items { fixTimestampRelatedUnmarshalIssues(&un) by := util.ToYAML(un.Object) iop, err := operator_istio.UnmarshalIstioOperator(by, true) if err != nil { return nil, err } retval = append(retval, iop) } return retval, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 15K bytes - Viewed (0)