Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 501 for raws (0.08 sec)

  1. 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)
  2. 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)
  3. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/report.js

                })
            }
        });
    
        // Add alternate row styles for tables
        $("table").each(function () {
            var counter = 0;
            var rows = $(this).find("tr");
            if (rows.length != 1) {
                rows.each(function () {
                    var e = $(this);
                    if (e.children("th").length > 0) {
                        counter = 0;
                        return;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            Profile profile = newProfile(ActivationOS.newBuilder().version("6.5.0-1014-aws"));
    
            assertActivation(true, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
            assertActivation(true, profile, newContext(null, newProperties("windows", "6.5.0-1014-aws", "aarch64")));
    
            assertActivation(false, profile, newContext(null, newProperties("linux", "3.1.0", "amd64")));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 05 14:16:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. migrator/migrator.go

    	execErr := m.RunWithValue(value, func(stmt *gorm.Statement) (err error) {
    		rows, err := m.DB.Session(&gorm.Session{}).Table(stmt.Table).Limit(1).Rows()
    		if err != nil {
    			return err
    		}
    
    		defer func() {
    			err = rows.Close()
    		}()
    
    		var rawColumnTypes []*sql.ColumnType
    		rawColumnTypes, err = rows.ColumnTypes()
    		if err != nil {
    			return err
    		}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  6. docs/site-replication/run-replication-with-checksum-header.sh

    export MINIO_ROOT_PASSWORD="minio123"
    
    # Download AWS CLI
    echo -n "Download and install AWS CLI"
    rm -rf /usr/local/aws-cli || sudo rm -rf /usr/local/aws-cli
    curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
    unzip -qq awscliv2.zip
    ./aws/install || sudo ./aws/install
    echo "done"
    
    # Add credentials to ~/.aws/credentials
    if ! [ -d ~/.aws ]; then
    	mkdir -p ~/.aws
    fi
    cat >~/.aws/credentials <<EOF
    [enterprise]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 08 16:24:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. tests/scan_test.go

    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	rows, err := DB.Table("users").Where("name = ? or name = ?", user2.Name, user3.Name).Select("name, age").Rows()
    	if err != nil {
    		t.Errorf("No error should happen, got %v", err)
    	}
    
    	type Result struct {
    		Name string
    		Age  int
    	}
    
    	var results []Result
    	for rows.Next() {
    		var result Result
    		if err := DB.ScanRows(rows, &result); err != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SparseImmutableTable.java

          ImmutableList<Cell<R, C, V>> cellList,
          ImmutableSet<R> rowSpace,
          ImmutableSet<C> columnSpace) {
        Map<R, Integer> rowIndex = Maps.indexMap(rowSpace);
        Map<R, Map<C, V>> rows = Maps.newLinkedHashMap();
        for (R row : rowSpace) {
          rows.put(row, new LinkedHashMap<C, V>());
        }
        Map<C, Map<R, V>> columns = Maps.newLinkedHashMap();
        for (C col : columnSpace) {
          columns.put(col, new LinkedHashMap<R, V>());
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. src/database/sql/convert_test.go

    			}
    		}
    		if !match {
    			t.Fatalf("%s: got %q (len %d); want %q (len %d)", name, buf, len(buf), want, len(want))
    		}
    	}
    
    	n := testing.AllocsPerRun(100, func() {
    		for _, tt := range tests {
    			rows.raw = rows.raw[:0]
    			test(tt.name, tt.in, tt.want)
    		}
    	})
    
    	// The numbers below are only valid for 64-bit interface word sizes,
    	// and gc. With 32-bit words there are more convT2E allocs, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. finisher_api.go

    	tx := db.getInstance().Set("rows", false)
    	tx = tx.callbacks.Row().Execute(tx)
    	row, ok := tx.Statement.Dest.(*sql.Row)
    	if !ok && tx.DryRun {
    		db.Logger.Error(tx.Statement.Context, ErrDryRunModeUnsupported.Error())
    	}
    	return row
    }
    
    func (db *DB) Rows() (*sql.Rows, error) {
    	tx := db.getInstance().Set("rows", true)
    	tx = tx.callbacks.Row().Execute(tx)
    	rows, ok := tx.Statement.Dest.(*sql.Rows)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 22.7K bytes
    - Viewed (0)
Back to top