- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 2,459 for Mirror (0.08 seconds)
-
tests/create_test.go
t.Fatalf("failed to create from map, got error %v", err) } if err := DB.Model(&User{}).Create(map[string]interface{}{"name": "create_from_map_1", "age": 18}).Error; err != nil { t.Fatalf("failed to create data from map, got error: %v", err) } var result1 User if err := DB.Where("name = ?", "create_from_map_1").First(&result1).Error; err != nil || result1.Age != 18 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 09:55:20 GMT 2025 - 26.8K bytes - Click Count (0) -
docs/sts/web-identity.py
"scope": "openid"} url = authorize_url + "?" + urllib.parse.urlencode(params) return url @app.route('/oauth2/callback') def callback(): error = request.args.get('error', '') if error: return "Error: " + error authorization_code = request.args.get('code') data = {'grant_type': 'authorization_code', 'code': authorization_code, 'redirect_uri': callback_uri}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Click Count (0) -
cmd/object_api_suite_test.go
if err == nil { t.Fatal("Expected error but found nil") } if err.Error() != "Bucket not found: bucket1" { t.Errorf("%s: Expected the error msg to be `%s`, but instead found `%s`", instanceType, "Bucket not found: bucket1", err.Error()) } } // Wrapper for calling testBucketRecreateFails for both Erasure and FS.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 34.5K bytes - Click Count (0) -
tests/scanner_valuer_test.go
} if tx.Error != nil { t.Errorf("Should not raise any error, but got %v", tx.Error) } AssertObjEqual(t, result, data, "Name", "Gender", "Age") if err := DB.Where(data).Assign(ScannerValuerStruct{Age: sql.NullInt64{Int64: 18, Valid: true}}).FirstOrCreate(&result).Error; err != nil { t.Errorf("Should not raise any error, but got %v", err) } if result.Age.Int64 != 18 {Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
src/bytes/buffer_test.go
switch err := recover().(type) { case nil: t.Fatal("bytes.Buffer.ReadFrom didn't panic") case error: // this is the error string of errNegativeRead wantError := "bytes.Buffer: reader returned negative count from Read" if err.Error() != wantError { t.Fatalf("recovered panic: got %v, want %v", err.Error(), wantError) } default: t.Fatalf("unexpected panic value: %#v", err) } }()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
tests/main_test.go
if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } var count1, count2 int64
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Mar 24 01:31:58 GMT 2022 - 1.4K bytes - Click Count (0) -
tests/test_starlette_exception.py
@app.get("/items/{item_id}") async def read_item(item_id: str): if item_id not in items: raise HTTPException( status_code=404, detail="Item not found", headers={"X-Error": "Some custom header"}, ) return {"item": items[item_id]} @app.get("/http-no-body-statuscode-exception") async def no_body_status_code_exception(): raise HTTPException(status_code=204)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 7.4K bytes - Click Count (0) -
api/go1.4.txt
pkg syscall (windows-386), func CreateHardLink(*uint16, *uint16, uintptr) error pkg syscall (windows-386), func CreateSymbolicLink(*uint16, *uint16, uint32) error pkg syscall (windows-386), func DeviceIoControl(Handle, uint32, *uint8, uint32, *uint8, uint32, *uint32, *Overlapped) error pkg syscall (windows-386), func LoadCreateSymbolicLink() error pkg syscall (windows-amd64), const FILE_ATTRIBUTE_REPARSE_POINT = 1024
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Dec 12 03:01:01 GMT 2014 - 34K bytes - Click Count (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/Log.java
* The error's stacktrace will be output when this error level is enabled. * * @param content * @param error */ void error(CharSequence content, Throwable error); /** * Send an exception to the user in the <b>error</b> error level.<br> * The stack trace for this exception will be output when this error level is enabled. *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.6K bytes - Click Count (0) -
api/go1.9.txt
pkg database/sql, method (*Conn) BeginTx(context.Context, *TxOptions) (*Tx, error) pkg database/sql, method (*Conn) Close() error pkg database/sql, method (*Conn) ExecContext(context.Context, string, ...interface{}) (Result, error) pkg database/sql, method (*Conn) PingContext(context.Context) error pkg database/sql, method (*Conn) PrepareContext(context.Context, string) (*Stmt, error)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Oct 04 20:20:20 GMT 2021 - 10.7K bytes - Click Count (0)