Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for scanf (0.23 sec)

  1. scan.go

    		field.NewValuePool.Put(values[idx])
    	}
    }
    
    // ScanMode scan data mode
    type ScanMode uint8
    
    // scan modes
    const (
    	ScanInitialized         ScanMode = 1 << 0 // 1
    	ScanUpdate              ScanMode = 1 << 1 // 2
    	ScanOnConflictDoNothing ScanMode = 1 << 2 // 4
    )
    
    // Scan scan rows into db statement
    func Scan(rows Rows, db *DB, mode ScanMode) {
    	var (
    		columns, _          = rows.Columns()
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

          description: What version of Gradle are you running?
        validations:
          required: true
      - type: input
        id: build-scan-url
        attributes:
          label: Build scan URL (optional)
          description: |
            You can run your build command with `--scan` to publish a Build Scan to [scans.gradle.com](https://scans.gradle.com/).
        validations:
          required: false
      - type: textarea
        id: environment
        attributes:
    Others
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 16 07:49:32 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/30_contributor_regression.yml

        validations:
          required: true
      - type: input
        id: build-scan-url
        attributes:
          label: Build scan URL (optional)
          description: |
            You can run your build command with `--scan` to publish a Build Scan to [scans.gradle.com](https://scans.gradle.com/).
        validations:
          required: false
      - type: textarea
        id: environment
        attributes:
    Others
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 16 07:49:32 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. .github/workflows/codeql-analysis.yml

        - name: Compile with Gradle with Build Scan
          if: ${{ matrix.language == 'java' && github.repository_owner == 'gradle' }}
          run: ./gradlew --no-configuration-cache --init-script .github/workflows/codeql-analysis.init.gradle -DcacheNode=us -S testClasses -Dhttp.keepAlive=false
          env:
            # Set the DEVELOCITY_ACCESS_KEY so that Gradle Build Scans are generated
    Others
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  5. cmd/global-heal.go

    func healObject(bucket, object, versionID string, scan madmin.HealScanMode) error {
    	// Get background heal sequence to send elements to heal
    	bgSeq, ok := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if ok {
    		return bgSeq.healObject(bucket, object, versionID, scan)
    	}
    	return nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  6. README.md

    * [Building Swift Libraries](https://docs.gradle.org/current/samples/sample_building_swift_libraries.html)
    * [Creating Build Scans](https://scans.gradle.com/)
    
    ## Stay in Flow
    Enjoy first-class Gradle support in your IDE of choice.
    
    * [Android Studio](https://developer.android.com/studio/build/index.html)
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sun Mar 24 20:49:08 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. schema/serializer.go

    	return string(result), err
    }
    
    // UnixSecondSerializer json serializer
    type UnixSecondSerializer struct{}
    
    // Scan implements serializer interface
    func (UnixSecondSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) {
    	t := sql.NullTime{}
    	if err = t.Scan(dbValue); err == nil && t.Valid {
    		err = field.Set(ctx, dst, t.Time.Unix())
    	}
    
    	return
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 08:28:46 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. finisher_api.go

    	rows, ok := tx.Statement.Dest.(*sql.Rows)
    	if !ok && tx.DryRun && tx.Error == nil {
    		tx.Error = ErrDryRunModeUnsupported
    	}
    	return rows, tx.Error
    }
    
    // Scan scans selected value to the struct dest
    func (db *DB) Scan(dest interface{}) (tx *DB) {
    	config := *db.Config
    	currentLogger, newLogger := config.Logger, logger.Recorder.New()
    	config.Logger = newLogger
    
    	tx = db.getInstance()
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  9. cmd/mrf.go

    			scan := madmin.HealNormalScan
    			if u.scanMode != 0 {
    				scan = u.scanMode
    			}
    			if u.object == "" {
    				healBucket(u.bucket, scan)
    			} else {
    				if len(u.versions) > 0 {
    					vers := len(u.versions) / 16
    					if vers > 0 {
    						for i := 0; i < vers; i++ {
    							healObject(u.bucket, u.object, uuid.UUID(u.versions[16*i:]).String(), scan)
    						}
    					}
    				} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. tests/sql_builder_test.go

    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    	row := DB.Table("users").Where("name = ?", user2.Name).Select("age").Row()
    
    	var age int64
    	if err := row.Scan(&age); err != nil {
    		t.Fatalf("Failed to scan age, got %v", err)
    	}
    
    	if age != 10 {
    		t.Errorf("Scan with Row, age expects: %v, got %v", user2.Age, age)
    	}
    
    	table := "gorm.users"
    	if DB.Dialector.Name() != "mysql" || isTiDB() {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 16.7K bytes
    - Viewed (0)
Back to top