- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 141 for onStop (0.11 sec)
-
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/ExecutorPolicy.java
* * This is called after the underlying Executor has been stopped. */ void onStop(); /** * Runs the Runnable, catches all Throwables and logs them. * * The first exception caught during onExecute(), will be rethrown in onStop(). */ class CatchAndRecordFailures implements ExecutorPolicy {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 3.3K bytes - Viewed (0) -
test-site/app/Global.java
Suggest.createContent(); Logger.info("Create suggest index."); Suggest.createSuggestFromContent(); Logger.info("Finished setup suggest."); } @Override public void onStop(Application var1) { ComponentsUtil.runner.close(); ComponentsUtil.runner.clean(); } private void esRun() { ElasticsearchClusterRunner runner = new ElasticsearchClusterRunner();
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Sat Feb 23 14:02:03 UTC 2019 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/main/java/org/gradle/internal/concurrent/AbstractManagedExecutor.java
} } catch (InterruptedException e) { delegate.shutdownNow(); throw UncheckedException.throwAsUncheckedException(e); } executorPolicy.onStop(); } @Override public void setKeepAlive(int timeout, TimeUnit timeUnit) { if (delegate instanceof ThreadPoolExecutor) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/ExclusiveCacheAccessingWorker.java
addToQueue(flushOperationsCommand); flushOperationsCommand.await(); } rethrowFailure(); } private void rethrowFailure() { failureHandler.onStop(); } private static class FlushOperationsCommand implements Runnable { private CountDownLatch latch = new CountDownLatch(1); @Override public void run() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 8.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size_test.cc
MLIRContext ctx_; }; TF::ConstOp ParseConstOp(const absl::string_view const_op_str, Block& block, MLIRContext& ctx) { const LogicalResult parse_result = parseSourceString(const_op_str, &block, ParserConfig(&ctx)); EXPECT_TRUE(succeeded(parse_result)); auto const_op = dyn_cast_or_null<TF::ConstOp>(block.front()); EXPECT_TRUE(const_op); return const_op; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:37:13 UTC 2022 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc
var_handle_op && isa<TF::ConstOp>(assigned_value_operand.getDefiningOp())) { var_handle_ops.emplace_back(var_handle_op); } } return var_handle_ops; } // Creates a `ConstOp` of 1-dimensional TF::StringType out of `str_values`. TF::ConstOp Create1DStringConst(const ArrayRef<std::string> str_values,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Mar 12 06:02:20 UTC 2023 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc
auto const_op = dyn_cast<TF::ConstOp>(assigned_value_operand.getDefiningOp()); if (!const_op) continue; var_handle_ops.emplace_back(var_handle_op); } return var_handle_ops; } // Creates a `ConstOp` of 1-dimensional TF::StringType out of `str_values`. TF::ConstOp Create1DStringConst(const ArrayRef<std::string> str_values,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size.cc
int64_t GetSizeOfIntOrFloatConst(TF::ConstOp const_op) { const Type dtype = const_op.getDtype(); const ElementsAttr const_value = const_op.getValue(); const auto bytes_per_elem = static_cast<int64_t>(dtype.getIntOrFloatBitWidth() / CHAR_BIT); return bytes_per_elem * const_value.getNumElements(); } int64_t GetSizeOfStringConst(TF::ConstOp const_op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:37:13 UTC 2022 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_op_device_assignment.cc
ConstantOpDeviceAssignmentPass> { void runOnOperation() override; }; void ConstantOpDeviceAssignmentPass::runOnOperation() { ModuleOp module = getOperation(); module.walk([&](TF::ConstOp op) { // Keep the ConstOp if the op already have the device attribute. if (StringAttr device_attr = op->getAttrOfType<StringAttr>(kDeviceAttr)) { return WalkResult::advance(); } OpBuilder builder(op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc
.replaceAllUsesWith(cloned_const_op->getResult(0)); } bool IsConstOrQConstInt(Operation* op) { if (!llvm::isa<TFL::ConstOp, TFL::QConstOp, arith::ConstantOp>(op)) return false; if (auto arith_const_op = dyn_cast_or_null<arith::ConstantOp>(op)) { // arith ConstOp path. auto type = mlir::cast<ShapedType>(arith_const_op.getType()).getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0)