Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 150 for retval (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                            if (subResult != null) {
                                retVal += subResult;
                            } else {
                                retVal += "$" + expr.substring(index + 1, lastIndex + 1);
                            }
                        }
    
                        retVal += evaluate(expr.substring(lastIndex + 1));
                        return retVal;
                    }
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/eager/c_api_test.cc

      TF_SetStatus(status, TF_OK, "");
      if (retvals[0] != nullptr) {
        TFE_DeleteTensorHandle(retvals[0]);
      }
      retvals[0] = nullptr;
      TFE_Execute(matmul2, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status));
      TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
      EXPECT_EQ(TF_OK, TF_GetCode(status));
      TF_DeleteTensor(t);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

      for (auto sharding_and_retval :
           llvm::zip(sharding_for_rets, terminator->getOpOperands())) {
        const auto& sharding = std::get<0>(sharding_and_retval);
        OpOperand& retval = std::get<1>(sharding_and_retval);
        if (failed(VerifySharding(retval.get().getType(), sharding)))
          return mlir::failure();
      }
      return mlir::success();
    }
    
    // Assign the logical device if an op has an attribute `TPU_REPLICATED_CORE:n`,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    		if dst != nil && srcPatch != nil {
    			retVal, errMerge := util.MergeAnyWithAny(dst, srcPatch)
    			if errMerge != nil {
    				return false, fmt.Errorf("function MergeAnyWithAny failed for ApplyClusterMerge: %v", errMerge)
    			}
    
    			// Merge the above result with the whole cluster
    			merge.Merge(dst, retVal)
    		}
    	}
    	return true, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_compile_util.h

      kAsync,
    };
    
    enum class DeviceCompileState {
      kUncompiled,
      kCompiling,
      kCompiled,
    };
    
    // Creates a single-node graph using the specified `node_def` as the only op
    // apart from the arg and retval nodes corresponding to `args` and
    // `result_types` respectively.
    absl::StatusOr<std::unique_ptr<Graph>> CreateSingleOpGraph(
        const NodeDef& node_def, absl::Span<const XlaArgument> args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. pkg/apis/certificates/validation/validation.go

    	var retval []certificates.CertificateSigningRequestCondition
    	for i, c := range csr.Status.Conditions {
    		if c.Type == conditionType {
    			retval = append(retval, csr.Status.Conditions[i])
    		}
    	}
    	return retval
    }
    
    // getValidationOptions returns the validation options to be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

          auto metadata_arg = metadata_proto.add_args();
          metadata_arg->set_kind(
              tensorflow::tpu::TPUCompileMetadataProto::Arg::PARAMETER);
          metadata_arg->set_dtype(dtype);
        }
        // Set up one dummy retval.
        metadata_proto.add_retvals();
        bool use_tuple_args = true;
        std::vector<tensorflow::tpu::ShardingAndIndex> arg_core_mapping;
        std::vector<std::vector<xla::Shape>> per_core_arg_shapes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @SuppressWarnings("unchecked")
      @Benchmark
      boolean getIfPresent(int repetitions) {
        boolean retVal = false;
        for (int i = 0; i < repetitions; ++i) {
          retVal &= Enums.getIfPresent(enumType, sampleData[i & 255]).isPresent();
        }
        return retVal;
      }
    
      private enum SmallEnum {
        X0,
        X1,
        X2
      }
    
      private enum MediumEnum {
        X0,
        X1,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
Back to top