- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 523 for Page (0.95 sec)
-
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
} } // Test helper class private static class TestUser { public String name; public int age; public TestUser(String name, int age) { this.name = name; this.age = age; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
* Configures the cookie with security settings including domain, path, secure flag, and HTTP-only flag. * * @param userCode the user code to store in the cookie * @param age the maximum age of the cookie in seconds */ protected void updateCookie(final String userCode, final int age) { final Cookie cookie = new Cookie(cookieName, userCode);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
clause/returning_test.go
}, clause.Returning{ []clause.Column{{Name: "name"}, {Name: "age"}}, }}, "SELECT * FROM `users` RETURNING `users`.`id`,`name`,`age`", nil, }, { []clause.Interface{clause.Select{}, clause.From{}, clause.Returning{ []clause.Column{clause.PrimaryColumn}, }, clause.Returning{}, clause.Returning{ []clause.Column{{Name: "name"}, {Name: "age"}}, }}, "SELECT * FROM `users` RETURNING *", nil, }, {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun Jan 12 10:18:04 UTC 2025 - 1.4K bytes - Viewed (0) -
chainable_api.go
// Select accepts both string arguments and arrays. // // // Select name and age of user using multiple arguments // db.Select("name", "age").Find(&users) // // Select name and age of user using an array // db.Select([]string{"name", "age"}).Find(&users) func (db *DB) Select(query interface{}, args ...interface{}) (tx *DB) { tx = db.getInstance() switch v := query.(type) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 14.8K bytes - Viewed (0) -
tests/default_value_test.go
Email string `gorm:"not null;index:,unique"` Name string `gorm:"notNull;default:foo"` Name2 string `gorm:"size:233;not null;default:'foo'"` Name3 string `gorm:"size:233;notNull;default:''"` Age int `gorm:"default:18"` Created time.Time `gorm:"default:2000-01-02"` Enabled bool `gorm:"default:true"` } DB.Migrator().DropTable(&Harumph{}) if err := DB.AutoMigrate(&Harumph{}); err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Apr 08 03:29:55 UTC 2024 - 2.3K bytes - Viewed (0) -
tests/count_test.go
"(CASE WHEN age=18 THEN 1 ELSE 2 END) as age", "name", ).Count(&count8).Find(&users).Error; err != nil || count8 != 3 { t.Fatalf("Count should work, but got err %v", err) } expects = []User{{Name: "count-1", Age: 1}, {Name: "count-2", Age: 1}, {Name: "count-3", Age: 1}} sort.SliceStable(users, func(i, j int) bool {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
clause/benchmarks_test.go
clauses := []clause.Interface{clause.Select{}, clause.From{}, clause.Where{Exprs: []clause.Expression{clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}, clause.Or(clause.Neq{Column: "name", Value: "jinzhu"})}}} for _, clause := range clauses { stmt.AddClause(clause) } stmt.Build("SELECT", "FROM", "WHERE") _ = stmt.SQL.String() } }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Oct 07 12:14:14 UTC 2022 - 1.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
/** The duration past the response's served date that it can be served without validation. */ @get:JvmName("maxAgeSeconds") val maxAgeSeconds: Int, /** * The "s-maxage" directive is the max age for shared caches. Not to be confused with "max-age" * for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache. */ @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int, val isPrivate: Boolean,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
tests/helper_test.go
} else { AssertObjEqual(t, newUser, user, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "Name", "Age", "Birthday", "CompanyID", "ManagerID", "Active") } } AssertObjEqual(t, user, expect, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "Name", "Age", "Birthday", "CompanyID", "ManagerID", "Active") t.Run("Account", func(t *testing.T) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
clause/select_test.go
clause.Expr{ SQL: "? as name", Vars: []interface{}{ clause.Eq{ Column: clause.Column{Name: "age"}, Value: 18, }, }, }, }, }, }, clause.From{}}, "SELECT `age` = ? as name FROM `users`", []interface{}{18}, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sat Feb 18 01:06:43 UTC 2023 - 1.7K bytes - Viewed (0)