- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 77 for _retval (0.36 sec)
-
pkg/registry/core/componentstatus/rest.go
c := &api.ComponentCondition{ Type: api.ComponentHealthy, Status: ToConditionStatus(status), Message: msg, Error: errorMsg, } retVal := &api.ComponentStatus{ Conditions: []api.ComponentCondition{*c}, } retVal.Name = name return retVal } // Implement ShortNamesProvider var _ rest.ShortNamesProvider = &REST{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 13 08:10:29 UTC 2023 - 5.1K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/tsan2.go
int run() { val = 1; GoRun(); return val; } void setVal(int) __attribute__ ((weak)); void setVal(int i) { val = i; } */ import "C" import "runtime" //export GoRun func GoRun() { runtime.LockOSThread() c := make(chan bool) go func() { runtime.LockOSThread() C.setVal(2) c <- true }() <-c } func main() { if v := C.run(); v != 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 940 bytes - Viewed (0) -
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) -
tensorflow/c/eager/c_api_remote_test.cc
EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_TensorHandle* retvals[1]; int num_retvals = 1; TFE_Execute(matmul, &retvals[0], &num_retvals, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); float product[4] = {0};
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 12 00:14:22 UTC 2020 - 5.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_test_util.cc
// The input handles should never change since they have been mirrored. ASSERT_FALSE(remote_arg->HasLocalMirror(nullptr)); } TFE_TensorHandle* retvals[1]; int num_retvals = 1; TFE_Execute(matmul, &retvals[0], &num_retvals, status); EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); // TODO(gjn): Add support for waiting on async local mirrors
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 11 22:56:03 UTC 2020 - 9.1K 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) -
test/abi/idata.go
func newFloat() *big.Float { return new(big.Float).SetPrec(prec) } //go:noinline //go:registerparams func itor(x intVal) ratVal { return ratVal{nil} } //go:noinline //go:registerparams func itof(x intVal) floatVal { return floatVal{nil} } func rtof(x ratVal) floatVal { return floatVal{newFloat().SetRat(x.val)} } type Value interface { String() string } //go:noinline //go:registerparams
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 05 20:11:08 UTC 2021 - 2.1K 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/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/compiler/mlir/tensorflow/tests/graphdef2mlir/empty-input-shapes.pbtxt
input: "input" } library { function { signature { name: "func_name" input_arg { name: "arg0" type: DT_BOOL } } ret { key: "retval0" value: "arg0" } attr: { key: "_input_shapes" value: { } } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 01 22:43:47 UTC 2021 - 491 bytes - Viewed (0)