- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 965 for vary (0.08 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
var method: String? = recordedRequest.method var path: String? = recordedRequest.path var headers: Headers = recordedRequest.headers val header: String? = recordedRequest.getHeader("") var chunkSizes: List<Int>? = recordedRequest.chunkSizes var bodySize: Long = recordedRequest.bodySize var body: Buffer = recordedRequest.body var utf8Body: String = recordedRequest.body.readUtf8()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
clause/order_by_test.go
Expression: clause.Expr{SQL: "FIELD(id, ?)", Vars: []interface{}{[]int{1, 2, 3}}, WithoutParentheses: true}, }, }, "SELECT * FROM `users` ORDER BY FIELD(id, ?,?,?)", []interface{}{1, 2, 3}, }, } for idx, result := range results { t.Run(fmt.Sprintf("case #%v", idx), func(t *testing.T) { checkBuildClauses(t, result.Clauses, result.Result, result.Vars) }) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.6K bytes - Viewed (0) -
clause/update_test.go
package clause_test import ( "fmt" "testing" "gorm.io/gorm/clause" ) func TestUpdate(t *testing.T) { results := []struct { Clauses []clause.Interface Result string Vars []interface{} }{ { []clause.Interface{clause.Update{}}, "UPDATE `users`", nil, }, { []clause.Interface{clause.Update{Modifier: "LOW_PRIORITY"}}, "UPDATE LOW_PRIORITY `users`", nil, }, {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jun 02 01:18:01 UTC 2020 - 722 bytes - Viewed (0) -
docs/zh-hant/docs/features.md
my_user: User = User(id=3, name="John Doe", joined="2018-07-19") second_user_data = { "id": 4, "name": "Mary", "joined": "2018-11-30", } my_second_user: User = User(**second_user_data) ``` /// info `**second_user_data` 意思是: 將 `second_user_data` 字典直接作為 key-value 引數傳遞,等同於:`User(id=4, name="Mary", joined="2018-11-30")` /// ### 多種編輯器支援
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 10 10:48:41 UTC 2024 - 9.6K bytes - Viewed (0) -
tests/joins_test.go
*GetUser("slice-joins-3", Config{Company: true, Manager: true, Account: true}), } DB.Create(&users) var userIDs []uint for _, user := range users { userIDs = append(userIDs, user.ID) } var users2 []User if err := DB.Joins("Company").Joins("Manager").Joins("Account").Find(&users2, "users.id IN ?", userIDs).Error; err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 15K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
List<String> list = Lists.newArrayList("mary", "bob"); assertEquals(0, Iterables.indexOf(list, equalTo("mary"))); assertEquals(1, Iterables.indexOf(list, equalTo("bob"))); assertEquals(-1, Iterables.indexOf(list, equalTo("jack"))); } public void testIndexOf_withDuplicates() { List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
cmd/utils.go
func newContext(r *http.Request, w http.ResponseWriter, api string) context.Context { reqID := w.Header().Get(xhttp.AmzRequestID) vars := mux.Vars(r) bucket := vars["bucket"] object := likelyUnescapeGeneric(vars["object"], url.PathUnescape) reqInfo := &logger.ReqInfo{ DeploymentID: globalDeploymentID(), RequestID: reqID, RemoteHost: handlers.GetSourceIP(r),
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 33K bytes - Viewed (0) -
cmd/storage-errors.go
var errCorruptedBackend = StorageErr("corrupted backend") // errUnformattedDisk - unformatted disk found. var errUnformattedDisk = StorageErr("unformatted drive found") // errInconsistentDisk - inconsistent disk found. var errInconsistentDisk = StorageErr("inconsistent drive found") // errUnsupporteDisk - when disk does not support O_DIRECT flag.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.4K bytes - Viewed (0) -
tests/preload_test.go
t.Fatalf("errors happened when create: %v", err) } var user2 User DB.Preload("Pets.Toy").Find(&user2, "id = ?", user.ID) CheckUser(t, user2, user) var user3 User DB.Preload(clause.Associations+"."+clause.Associations).Find(&user3, "id = ?", user.ID) CheckUser(t, user3, user) var user4 *User DB.Preload("Pets.Toy").Find(&user4, "id = ?", user.ID) CheckUser(t, *user4, user) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java
exception.getMessage()); assertNull(exception.getCause()); } public void test_constructor_withLongUrls() { // Test with very long URLs StringBuilder longParentUrl = new StringBuilder("http://example.com/"); StringBuilder longUrl = new StringBuilder("http://example.com/"); for (int i = 0; i < 100; i++) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.8K bytes - Viewed (0)