- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 346 for ages (0.07 seconds)
-
tests/scan_test.go
t.Errorf("Should find expected results, got %+v", results) } var ages int if err := DB.Table("users").Where("name = ? or name = ?", user2.Name, user3.Name).Select("SUM(age)").Scan(&ages).Error; err != nil || ages != 30 { t.Fatalf("failed to scan ages, got error %v, ages: %v", err, ages) } var name string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:57:36 GMT 2024 - 10.9K bytes - Click Count (0) -
finisher_api.go
}, tx.Error) tx.Logger = currentLogger return } // Pluck queries a single column from a model, returning in the slice dest. E.g.: // // var ages []int64 // db.Model(&users).Pluck("age", &ages) func (db *DB) Pluck(column string, dest interface{}) (tx *DB) { tx = db.getInstance() if tx.Statement.Model != nil { if tx.Statement.Parse(tx.Statement.Model) == nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 22.9K bytes - Click Count (0) -
CONTRIBUTING.md
> **NOTE:** Do **NOT** run `gradle build` on the local development environment, > even if you have Gradle or Develocity build caching enabled for the project. > The Gradle Build Tool repository is massive, and it will take ages to build on > a local machine without necessary parallelization and caching. > The full test suites are executed on the CI instance for multiple configurations,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 18:43:39 GMT 2026 - 19.1K bytes - Click Count (0) -
tests/soft_delete_test.go
t.Errorf("Count soft deleted record, expects: %v, got: %v", 1, count) } var pages uint if DB.Model(&SoftDeleteBook{}).Select("pages").Where("name = ?", book.Name).Scan(&pages).Error != nil || pages != book.Pages { t.Errorf("Pages soft deleted record, expects: %v, got: %v", 0, pages) } if err := DB.Delete(&book).Error; err != nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 5.7K bytes - Click Count (0) -
schema/field_test.go
checkField(t, userSchema, reflectValue, newValues) // test valuer and other type age2 := myint(10) newValues2 := map[string]interface{}{ "name": sql.NullString{String: "valuer_and_setter_3", Valid: true}, "id": &sql.NullInt64{Int64: 3, Valid: true}, "created_at": tests.Now(), "deleted_at": time.Now(), "age": &age2, "birthday": mytime(time.Now()), "active": mybool(true), }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Feb 19 09:02:53 GMT 2022 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/util/SecureKeyManagerTest.java
String sessionId = "age-test"; keyManager.storeSessionKey(sessionId, testKey, "AES"); long initialAge = keyManager.getKeyAge(sessionId); assertTrue(initialAge >= 0 && initialAge < 100, "Initial age should be small"); Thread.sleep(200); long laterAge = keyManager.getKeyAge(sessionId); assertTrue(laterAge >= 200, "Age should increase after delay"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/CartesianList.java
} CartesianList(ImmutableList<List<E>> axes) { this.axes = axes; int[] axesSizeProduct = new int[axes.size() + 1]; axesSizeProduct[axes.size()] = 1; try { for (int i = axes.size() - 1; i >= 0; i--) { axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size()); } } catch (ArithmeticException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CartesianList.java
} CartesianList(ImmutableList<List<E>> axes) { this.axes = axes; int[] axesSizeProduct = new int[axes.size() + 1]; axesSizeProduct[axes.size()] = 1; try { for (int i = axes.size() - 1; i >= 0; i--) { axesSizeProduct[i] = Math.multiplyExact(axesSizeProduct[i + 1], axes.get(i).size()); } } catch (ArithmeticException e) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 31 13:15:26 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/KuromojiPager.java
} /** * Returns the total number of pages. * * @return The total number of pages. */ public int getAllPageCount() { return allPageCount; } /** * Sets the total number of pages. * * @param allPageCount The total number of pages. */ public void setAllPageCount(final int allPageCount) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/pager/GroupPager.java
/** Default current page number when pagination starts. */ public static final int DEFAULT_CURRENT_PAGE_NUMBER = 1; /** Total number of records available across all pages. */ private int allRecordCount; /** Total number of pages available for pagination. */ private int allPageCount; /** Flag indicating whether a previous page exists. */ private boolean existPrePage;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 7K bytes - Click Count (0)