Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 332 for begins (0.12 sec)

  1. logger/logger.go

    type traceRecorder struct {
    	Interface
    	BeginAt      time.Time
    	SQL          string
    	RowsAffected int64
    	Err          error
    }
    
    // New trace recorder
    func (l *traceRecorder) New() *traceRecorder {
    	return &traceRecorder{Interface: l.Interface, BeginAt: time.Now()}
    }
    
    // Trace implement logger interface
    func (l *traceRecorder) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Nov 07 02:19:41 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

      const auto num_results = std::max(lhs_vals.size(), rhs_vals.size());
      std::vector<ResultType> res;
      res.reserve(num_results);
    
      auto lhs_start = lhs_vals.begin();
      auto rhs_start = rhs_vals.begin();
    
      for (int i = 0; i < num_results; ++i) {
        auto lhs_val = lhs_splat ? *lhs_start : *(lhs_start++);
        auto rhs_val = rhs_splat ? *rhs_start : *(rhs_start++);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. prepare_stmt.go

    	db.PreparedSQL = append(db.PreparedSQL, query)
    	db.Mux.Unlock()
    
    	return cacheStmt, nil
    }
    
    func (db *PreparedStmtDB) BeginTx(ctx context.Context, opt *sql.TxOptions) (ConnPool, error) {
    	if beginner, ok := db.ConnPool.(TxBeginner); ok {
    		tx, err := beginner.BeginTx(ctx, opt)
    		return &PreparedStmtTX{PreparedStmtDB: db, Tx: tx}, err
    	}
    
    	beginner, ok := db.ConnPool.(ConnPoolBeginner)
    	if !ok {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 28 08:47:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/model/util.go

    	var claims []string
    	findEndBracket := func(begin int) int {
    		if begin >= len(s) || s[begin] != '[' {
    			return -1
    		}
    		for i := begin + 1; i < len(s); i++ {
    			if s[i] == '[' {
    				return -1
    			}
    			if s[i] == ']' {
    				return i
    			}
    		}
    		return -1
    	}
    	for begin := 0; begin < len(s); {
    		end := findEndBracket(begin)
    		if end == -1 {
    			ret, err := extractNameInBrackets(s)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/utils/utils.cc

    // Adds `attrs` to all the operations between `begin` and `end`. Does not
    // include `end`. The operations might be across multiple  blocks.
    void AddAttributes(Block::iterator begin, Block::iterator end,
                       const NamedAttrList& attrs) {
      if (begin->getBlock() == end->getBlock()) {
        AddAttributesInSameBlock(begin, end, attrs);
      } else {
        Region::iterator begin_block = Region::iterator(begin->getBlock());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. tests/tracer_test.go

    }
    
    func (S Tracer) Error(ctx context.Context, s string, i ...interface{}) {
    	S.Logger.Error(ctx, s, i...)
    }
    
    func (S Tracer) Trace(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    	S.Logger.Trace(ctx, begin, fc, err)
    	S.Test(ctx, begin, fc, err)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Oct 18 09:28:06 UTC 2022
    - 830 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc

      mlir::Block& body = func.front();
      // Find region of interest and ReturnOp.
      auto copy_range = body.without_terminator();
      if (copy_range.begin() != copy_range.end() &&
          std::next(copy_range.begin()) == copy_range.end() &&
          isa<tf_executor::GraphOp>(*copy_range.begin())) {
        // Already a graph.
        return;
      }
    
      auto return_op = dyn_cast<func::ReturnOp>(body.getTerminator());
      if (!return_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util-generated.h.pump

          : $for j, [[g$(j)_(g$j)]] {}
      virtual ~CartesianProductGenerator$i() {}
    
      virtual ParamIteratorInterface<ParamType>* Begin() const {
        return new Iterator(this, $for j, [[g$(j)_, g$(j)_.begin()]]);
      }
      virtual ParamIteratorInterface<ParamType>* End() const {
        return new Iterator(this, $for j, [[g$(j)_, g$(j)_.end()]]);
      }
    
     private:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    include "mhlo/IR/hlo_ops.td"
    
    
    // See the function doc in the header file.
    def GetPadOpType : NativeCodeCall<
      "GetPadOpType((*$0.begin()).getDefiningOp<mhlo::CompositeOp>())">;
    
    // See the function doc in the header file.
    def GetAvgPoolOpPadAttr: 
      NativeCodeCall<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>())">;
    
    // Returns true if the provided padding in the composite op can *not* be 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/LinePreservingSubstringTest.kt

                // line 2
                buildscript {
                    // line 4
                }
            """.replaceIndent()
            val begin = original.indexOf("buildscript")
            val end = original.indexOf("}")
            assertThat(
                original.linePreservingSubstring(begin..end),
                equalTo(
                    """
    
    
                    buildscript {
                        // line 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top