Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 323 for onStop (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

    // ReadVariableOp patterns. The ConstOps are not erased. Returns the ConstOp ->
    // shared_name mapping. The shared_name is the shared name of the corresponding
    // VarHandleOp.
    llvm::MapVector<TF::ConstOp, std::string> ReplaceConstOpUsesWithVariableReads(
        llvm::ArrayRef<TF::ConstOp> target_const_ops) {
      llvm::MapVector<TF::ConstOp, std::string> const_op_name_map{};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

          loc, mlir::RankedTensorType::get({}, getElementTypeOrSelf(shape)), shape,
          /*begin=*/
          builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({idx})),
          /*end=*/
          builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({idx + 1})),
          /*strides=*/
          builder->create<TF::ConstOp>(loc, builder->getI32TensorAttr({1})),
          /*begin_mask=*/0, /*end_mask=*/0, /*ellipsis_mask=*/0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold.cc

      builder.setInsertionPointAfter(op);
      for (const auto& result_value : result_values) {
        results.push_back(builder.create<TF::ConstOp>(op->getLoc(), result_value));
      }
      return success();
    }
    
    bool IsOperationFoldable(Operation* op) {
      if (isa<TF::ConstOp>(op)) return true;
    
      if (op->getDialect()->getNamespace() != "tf" || !TF::CanBeFolded(op)) {
        return false;
      }
    
      // Check if the operands are foldable as well.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/regexp/syntax/prog.go

    type Prog struct {
    	Inst   []Inst
    	Start  int // index of start instruction
    	NumCap int // number of InstCapture insts in re
    }
    
    // An InstOp is an instruction opcode.
    type InstOp uint8
    
    const (
    	InstAlt InstOp = iota
    	InstAltMatch
    	InstCapture
    	InstEmptyWidth
    	InstMatch
    	InstFail
    	InstNop
    	InstRune
    	InstRune1
    	InstRuneAny
    	InstRuneAnyNotNL
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

    class QuantizeConstWeights : public OpRewritePattern<TF::ConstOp> {
     public:
      explicit QuantizeConstWeights(
          MLIRContext* context,
          const tensorflow::quantization::QuantizationOptions& quantization_options)
          : OpRewritePattern<TF::ConstOp>(context),
            quant_options_(quantization_options) {}
    
      LogicalResult matchAndRewrite(TF::ConstOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top