- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for scanf (0.36 sec)
-
tests/scan_test.go
if res.ID != user3.ID || res.Name != user3.Name || res.Age != int(user3.Age) { t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3) } doubleAgeRes := &result{} if err := DB.Table("users").Select("age + age as age").Where("id = ?", user3.ID).Scan(&doubleAgeRes).Error; err != nil { t.Errorf("Scan to pointer of pointer") } if doubleAgeRes.Age != int(res.Age)*2 {
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Sat May 28 14:18:07 GMT 2022 - 8.2K bytes - Viewed (0) -
.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) -
.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) -
.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) -
src/bufio/example_test.go
// There is one final token to be delivered, which may be the empty string. // Returning bufio.ErrFinalToken here tells Scan there are no more tokens after this // but does not trigger an error to be returned from Scan itself. return 0, data, bufio.ErrFinalToken } scanner.Split(onComma) // Scan. for scanner.Scan() { fmt.Printf("%q ", scanner.Text()) } if err := scanner.Err(); err != nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
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) -
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) -
tests/benchmark_test.go
} func BenchmarkScan(b *testing.B) { user := *GetUser("scan", Config{}) DB.Create(&user) var u User b.ResetTimer() for x := 0; x < b.N; x++ { DB.Raw("select * from users where id = ?", user.ID).Scan(&u) } } func BenchmarkScanSlice(b *testing.B) { DB.Exec("delete from users") for i := 0; i < 10_000; i++ { user := *GetUser(fmt.Sprintf("scan-%d", i), Config{}) DB.Create(&user) } var u []User
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Wed Jun 01 03:50:57 GMT 2022 - 1.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixRequest.java
/** * Gets the list of group ids to scan for the plugin prefix. * * @return The list of group ids to scan for the plugin prefix, never {@code null}. */ List<String> getPluginGroups(); /** * Sets the list of group ids to scan for the plugin prefix. * * @param pluginGroups The list of group ids to scan for the plugin prefix, may be {@code null}.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 3.6K bytes - Viewed (0) -
soft_delete.go
"encoding/json" "reflect" "github.com/jinzhu/now" "gorm.io/gorm/clause" "gorm.io/gorm/schema" ) type DeletedAt sql.NullTime // Scan implements the Scanner interface. func (n *DeletedAt) Scan(value interface{}) error { return (*sql.NullTime)(n).Scan(value) } // Value implements the driver Valuer interface. func (n DeletedAt) Value() (driver.Value, error) { if !n.Valid { return nil, nil }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 4.5K bytes - Viewed (0)