- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,917 for const3 (0.17 sec)
-
test/fixedbugs/issue20185.go
// license that can be found in the LICENSE file. // Issue 20185: type switching on untyped values (e.g. nil or consts) // caused an internal compiler error. package p func F() { switch t := nil.(type) { // ERROR "cannot type switch on non-interface value|not an interface" default: _ = t } } const x = 1 func G() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 21:10:19 UTC 2022 - 581 bytes - Viewed (0) -
pkg/kube/kclient/crdwatcher.go
// Setup a filter crd := t.(*metav1.PartialObjectMetadata) mv, f := minimumCRDVersions[crd.Name] if !f { return true } bv, f := crd.Annotations[consts.BundleVersionAnnotation] if !f { log.Errorf("CRD %v expected to have a %v annotation, but none found; ignoring", crd.Name, consts.BundleVersion) return false } fv, err := semver.NewVersion(bv) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 5.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost.go
var cost uint64 if len(args) > 0 { cost += traversalCost(args[0]) // these O(n) operations all cost roughly the cost of a single traversal } return &cost case "url", "lowerAscii", "upperAscii", "substring", "trim": if len(args) >= 1 { cost := uint64(math.Ceil(float64(actualSize(args[0])) * common.StringTraversalCostFactor)) return &cost } case "replace", "split": if len(args) >= 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 20.6K bytes - Viewed (0) -
src/cmd/internal/objabi/stack.go
// stack guard size. Larger multipliers are used for non-optimized // builds that have larger stack frames or for specific targets. func stackGuardMultiplier(race bool) int { // This arithmetic must match that in runtime/internal/sys/consts.go:StackGuardMultiplier. n := 1 // On AIX, a larger stack is needed for syscalls. if buildcfg.GOOS == "aix" { n += 1 } // The race build also needs more stack. if race { n += 1 } return n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:56 UTC 2023 - 904 bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc
} Status ExtractOutsideCompilationTest( const string &xla_cluster_attr_name, const string &outside_compilation_attr_name, const string &xla_cluster_name, const NameAttrList &func_name_attrs, const string &new_func_name, const string &host_graph_func_name, const std::map<string, int> &host_compute_core, FunctionLibraryDefinition *fld,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 41K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/simple.mlir
%0 = "tfl.pseudo_const" () {value = dense<[[1, 2], [3, 4], [5, 6]]> : tensor<3x2xi32>} : () -> tensor<3x2xi32> loc("Const") %1 = "tfl.sub" (%arg0, %0) {fused_activation_function = "RELU6"} : (tensor<3x2xi32>, tensor<3x2xi32>) -> tensor<3x2xi32> loc("sub") %2 = "arith.constant" () {value = dense<10> : tensor<i32>} : () -> tensor<i32> loc("Const2")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis_test.cc
Output const0 = ops::Const(root.WithOpName("const0"), 1); Output const1 = ops::Const(root.WithOpName("const1"), 2); Output add = ops::Add(root.WithOpName("add"), const0, const1); root.graph()->AddControlEdge(id0.node(), const0.node()); root.graph()->AddControlEdge(id1.node(), const1.node()); std::unique_ptr<DeadnessAnalysis> result;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 51.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.h
// Populates a TPUCompileMetadataProto from attributes of a // `tf_device::ClusterFuncOp`. If any necessary attributes are missing from the // op, a failure will be returned. // TODO(lyandy): Support session handle and guaranteed consts. LogicalResult SetMetadataProtoFromClusterFuncOp( tf_device::ClusterFuncOp op, int num_replicas, int num_cores_per_replica, std::optional<xla::DeviceAssignmentProto>&& xla_device_assignment,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 12 04:22:33 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir
%cst = arith.constant dense<0> : tensor<i32> loc("Const") %0 = "tfl.greater"(%arg0, %cst) : (tensor<*xi32>, tensor<i32>) -> tensor<i1> func.return %0 : tensor<i1> } func.func @WhileOp_body(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>) { %cst = arith.constant dense<1> : tensor<i32> loc("Const1")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 7.5K bytes - Viewed (0) -
cmd/format-meta.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd // Format related consts const ( // Format config file carries backend format specific details. formatConfigFile = "format.json" ) const ( // Version of the formatMetaV1 formatMetaVersionV1 = "1" ) // format.json currently has the format: // { // "version": "1",
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 1.7K bytes - Viewed (0)