- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 93 for getUnit (0.23 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/TestPageGenerator.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 14K bytes - Viewed (0) -
pkg/volume/csi/csi_client_test.go
metrics.Abnormal, metrics.Message = &abnormal, &message } for _, usage := range usages { if usage == nil { continue } unit := usage.GetUnit() switch unit { case csipbv1.VolumeUsage_BYTES: metrics.Available = resource.NewQuantity(usage.GetAvailable(), resource.BinarySI) metrics.Capacity = resource.NewQuantity(usage.GetTotal(), resource.BinarySI)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 33.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/validators.cc
if (mlir::cast<IntegerAttr>(elements.front()).getInt() != 1 || mlir::cast<IntegerAttr>(elements.back()).getInt() != 1) return false; Builder b(op->getContext()); *x = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[1]).getInt()); *y = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[2]).getInt()); *z = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[3]).getInt()); return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
int andRecordCount = JsonPath.from(andResponse).getInt("record_count"); Map<String, String> params = new HashMap<>(); params.put("q", query); params.put("num", "100"); String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString(); assertTrue(JsonPath.from(response).getInt("record_count") > andRecordCount);
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
for (int i = 0; i < low_pads.size(); ++i) { new_low_pads[i] = low_pads[i].getInt() + parent_low_pads[i].getInt(); new_high_pads[i] = high_pads[i].getInt() + parent_high_pads[i].getInt(); new_interior_pads[i] = interior_pads[i].getInt() + parent_interior_pads[i].getInt(); } // Replace pad_op with a new pad having new attributes, taking the
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/tensorflow/utils/translate_utils.cc
if (!producer) return mlir::failure(); versions->set_producer(producer.getInt()); auto min_consumer = mlir::dyn_cast_or_null<mlir::IntegerAttr>( version_attr.get("min_consumer")); if (min_consumer) versions->set_min_consumer(min_consumer.getInt()); auto bad_consumers = mlir::dyn_cast_or_null<mlir::ArrayAttr>( version_attr.get("bad_consumers"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc
for (int i : llvm::seq<int>(1, num_dims - 1)) { Value input_size_i = GetDimValue(builder, loc, input_shape_value, i); const int stride_i = mlir::cast<IntegerAttr>(strides[i]).getInt(); const int dilation_i = mlir::cast<IntegerAttr>(dilations[i]).getInt(); const int filter_i = filter_shape.getDimSize(i - 1); Value pad_i_low, pad_i_high; GetSamePaddingValues(builder, loc, input_size_i, filter_i, dilation_i,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java
String response = checkGetMethod(searchBody, "").asString(); final int total = JsonPath.from(response).getInt("response.total"); final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings"); final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, dicts.size()); assertEquals(0, status); } @Override
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/fuzz/config_validation_fuzzer.go
"istio.io/istio/pkg/config/validation" "istio.io/istio/pkg/config/validation/envoyfilter" "istio.io/istio/pkg/kube" ) func FuzzConfigValidation(data []byte) int { f := fuzz.NewConsumer(data) configIndex, err := f.GetInt() if err != nil { return -1 } r := collections.Pilot.All()[configIndex%len(collections.Pilot.All())] gvk := r.GroupVersionKind() kgvk := schema.GroupVersionKind{ Group: gvk.Group,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java
String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString(); final int total = JsonPath.from(response).getInt("response.total"); final List<Map<String, String>> items = JsonPath.from(response).getList("response.settings"); final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, items.size()); assertEquals(0, status); }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0)