Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 728 for raws (0.05 sec)

  1. logger/logger.go

    		sql, rows := fc()
    		if rows == -1 {
    			l.Printf(l.traceErrStr, utils.FileWithLineNum(), err, float64(elapsed.Nanoseconds())/1e6, "-", sql)
    		} else {
    			l.Printf(l.traceErrStr, utils.FileWithLineNum(), err, float64(elapsed.Nanoseconds())/1e6, rows, sql)
    		}
    	case elapsed > l.SlowThreshold && l.SlowThreshold != 0 && l.LogLevel >= Warn:
    		sql, rows := fc()
    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. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    	tests := []struct {
    		columns  []metav1.TableColumnDefinition
    		rows     []metav1.TableRow
    		options  PrintOptions
    		expected string
    	}{
    		// No columns and no rows means table string is empty.
    		{
    			columns:  []metav1.TableColumnDefinition{},
    			rows:     []metav1.TableRow{},
    			options:  PrintOptions{},
    			expected: "",
    		},
    		// No rows, means table string is empty (columns aren't printed).
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  3. test/typeparam/issue47896.go

    type Repository[T any] struct {
    	db *sql.DB
    }
    
    func (r *Repository[T]) scan(rows *sql.Rows, m Mapper[*T], c Collection[*T]) error {
    	for rows.Next() {
    		t := new(T)
    		if err := m(rows, t); err != nil {
    			return err
    		}
    		c.Add(t)
    	}
    	return rows.Err()
    }
    
    func (r *Repository[T]) query(query string, m Mapper[*T], c Collection[*T]) error {
    	rows, err := r.db.Query(query)
    	if err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  4. docs/bucket/replication/README.md

    ## Highlights
    
    - Supports source and destination buckets to have the same name unlike AWS S3, addresses variety of usecases such as *Splunk*, *Veeam* site to site DR.
    - Supports object locking/retention across source and destination buckets natively out of the box, unlike AWS S3.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/table.go

    	pos.StartLine-- // builder does not count header
    	pos.EndLine = pos.StartLine + 1 + len(b.rows)
    	t := &Table{
    		Position: pos,
    	}
    	width := tableCount(b.hdr)
    	t.Header = b.parseRow(p, b.hdr, pos.StartLine, width)
    	t.Align = b.parseAlign(b.delim, width)
    	t.Rows = make([][]*Text, len(b.rows))
    	for i, row := range b.rows {
    		t.Rows[i] = b.parseRow(p, row, pos.StartLine+2+i, width)
    	}
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/database/sql/convert.go

    	// The driver is returning a cursor the client may iterate over.
    	case driver.Rows:
    		switch d := dest.(type) {
    		case *Rows:
    			if d == nil {
    				return errNilPtr
    			}
    			if rows == nil {
    				return errors.New("invalid context to convert cursor rows, missing parent *Rows")
    			}
    			rows.closemu.Lock()
    			*d = Rows{
    				dc:          rows.dc,
    				releaseConn: func(error) {},
    				rowsi:       s,
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. docs/bucket/notifications/README.md

    To configure this bucket notification, we need the ARN printed by MinIO in the previous step. Additional information about ARN is available [here](http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html).
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/CursorTest.groovy

            where:
            row << ROWS
            col << COLS
        }
    
        def "move cursor to (0,0) when calling bottomLeft"() {
            given:
            Cursor cursor = Cursor.at(row, col)
    
            when:
            cursor.bottomLeft()
    
            then:
            cursor.row == 0
            cursor.col == 0
    
            where:
            row << ROWS
            col << COLS
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. prepare_stmt.go

    	stmt, err := db.prepare(ctx, db.ConnPool, false, query)
    	if err == nil {
    		rows, err = stmt.QueryContext(ctx, args...)
    		if errors.Is(err, driver.ErrBadConn) {
    			db.Mux.Lock()
    			defer db.Mux.Unlock()
    
    			go stmt.Close()
    			delete(db.Stmts, query)
    		}
    	}
    	return rows, err
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 28 08:47:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. callbacks/row.go

    import (
    	"gorm.io/gorm"
    )
    
    func RowQuery(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    		if db.DryRun || db.Error != nil {
    			return
    		}
    
    		if isRows, ok := db.Get("rows"); ok && isRows.(bool) {
    			db.Statement.Settings.Delete("rows")
    			db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		} else {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 08 05:40:41 UTC 2023
    - 581 bytes
    - Viewed (0)
Back to top