- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 120 for getUnit (0.19 sec)
-
platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/FileDownloadOperationMapper.java
OperationProgressDetails details = (OperationProgressDetails) progressEvent.getDetails(); return new DefaultStatusEvent(progressEvent.getTime(), descriptor, details.getProgress(), details.getTotal(), details.getUnits()); } else { return null; } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.5K bytes - Viewed (0) -
tests/fuzz/pilot_security_fuzzer.go
} _ = matcher.HostMatcher(k, v) return 1 } func FuzzMetadataListMatcher(data []byte) int { f := fuzz.NewConsumer(data) filter, err := f.GetString() if err != nil { return 0 } number, err := f.GetInt() if err != nil { return 0 } maxKeys := number % 100 keys := make([]string, 0, maxKeys) for i := 0; i < maxKeys; i++ { key, err := f.GetString() if err != nil { return 0 }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 20 22:15:12 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
<< partition_dim << "."; } llvm::SmallVector<int64_t, 4> partition_dims(is_replicated ? 0 : rank, 1); if (!is_replicated) { partition_dims[partition_dim] = num_cores_per_replica.getInt(); } if constexpr (is_input) { auto pi = builder.create<TF::TPUPartitionedInputV2Op>( op.getLoc(), op.getType(), op.getOperands(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc
if (mirrored_variable_indices_attr) { for (const auto& mirrored_index : mirrored_variable_indices_attr) { mirrored_replicate_args.insert( mlir::cast<IntegerAttr>(mirrored_index).getInt()); } } auto func = llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc())); for (auto entry : llvm::enumerate(cluster_func.getOperands())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
value->set_b(attr.getValue()); return absl::OkStatus(); } Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) { value->set_i(attr.getInt()); return absl::OkStatus(); } Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) { value->set_f(attr.getValueAsDouble()); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
generator_op, generator_op.getFinalizeFunc()); if (!init_function || !next_function || !finalize_function) { return failure(); } CreateCall(generator_op, init_function, generator_region.getInit(), generator_region.getInitFuncOtherArgs(), /*use_region_args=*/true, /*forward_block_args=*/false); CreateCall(generator_op, next_function, generator_region.getNext(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java
public String toString() { if (cachedToString == null) { cachedToString = value + " " + units.format(value); } return cachedToString; } public Units<Q> getUnits() { return units; } public BigDecimal getValue() { return value; } /** * Returns a human consumable string representation of this amount. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K bytes - Viewed (0) -
tests/fuzz/pki_fuzzer.go
_, _ = util.FindRootCertFromCertificateChainBytes(data) return 1 } func FuzzExtractIDs(data []byte) int { f := fuzz.NewConsumer(data) noOfExts, err := f.GetInt() if err != nil { return 0 } noOfExtensions := noOfExts % 30 if noOfExtensions == 0 { return 0 } extensions := make([]pkix.Extension, 0) for i := 0; i < noOfExtensions; i++ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 05 14:00:25 UTC 2023 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
auto arg_metadata = metadata.mutable_args(arg_index); if (arg_metadata->enable_xla_sharding() == ::tensorflow::tpu::TPUCompileMetadataProto_Arg::ALLOWED) { int64_t ret_index = mlir::cast<IntegerAttr>( execute.getDeviceVarUpdatesIndices().getValue()[entry.index()]) .getInt();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.9K bytes - Viewed (0) -
src/math/big/nat.go
} m := a + (b-a)/2 // avoid overflow return z.mul(nat(nil).mulRange(a, m), nat(nil).mulRange(m+1, b)) } // getNat returns a *nat of len n. The contents may not be zero. // The pool holds *nat to avoid allocation when converting to interface{}. func getNat(n int) *nat { var z *nat if v := natPool.Get(); v != nil { z = v.(*nat) } if z == nil { z = new(nat) } *z = z.make(n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 31.7K bytes - Viewed (0)