- Sort Score
- Result 10 results
- Languages All
Results 1531 - 1540 of 2,410 for Mirror (0.03 sec)
-
docs_src/dependencies/tutorial008b_an_py39.py
} class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id not in data: raise HTTPException(status_code=404, detail="Item not found")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 26 20:37:34 UTC 2023 - 775 bytes - Viewed (0) -
src/bufio/export_test.go
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Nov 02 17:17:44 UTC 2017 - 597 bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
assertThrows(ClassCastException.class, () -> sid.unwrap(String.class)); } /** * Test the resolve method. * * @throws IOException if an I/O error occurs */ @Test void testResolve() throws IOException { CIFSContext mockContext = mock(CIFSContext.class); SidResolver mockResolver = mock(SidResolver.class);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
cmd/erasure-encode_test.go
return errFaultyDisk } func (a badDisk) ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error) { return nil, errFaultyDisk } func (a badDisk) CreateFile(ctx context.Context, origvolume, volume, path string, size int64, reader io.Reader) error { return errFaultyDisk } func (badDisk) Hostname() string {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
internal/s3select/csv/reader_contrib_test.go
}) } } type errReader struct { err error } func (e errReader) Read(p []byte) (n int, err error) { return 0, e.err } func TestReadFailures(t *testing.T) { customErr := errors.New("unable to read file :(") cases := []struct { file string recordDelimiter string fieldDelimiter string sendErr error header bool wantColumns []stringRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.4K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
return this.verifyFailed; } @Override public boolean isError() { return this.error; } @Override public void error() { this.error = true; } // Setter methods for testing public void setGrantedCredits(int grantedCredits) { this.grantedCredits = grantedCredits;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p3/golden.txt
pkg p3, func BadHop(int, int, int) (bool, bool, *ThirdBase, *ThirdBase, error) pkg p3, method (*ThirdBase) GoodPlayer() (int, int, int)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Jan 29 00:45:45 UTC 2013 - 166 bytes - Viewed (0) -
callbacks/create_test.go
Name string Email string `gorm:"default:(-)"` Age int `gorm:"default:(-)"` } s, err := schema.Parse(&user{}, schemaCache, schema.NamingStrategy{}) if err != nil { t.Errorf("parse schema error: %v, is not expected", err) return } dest := []*user{ { ID: 1, Name: "alice", Email: "email", Age: 18, }, { ID: 2, Name: "bob", Email: "email",
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Mar 18 05:48:42 UTC 2024 - 1.4K bytes - Viewed (0) -
internal/mountinfo/mountinfo_others.go
package mountinfo // CheckCrossDevice - check if any input path has multiple sub-mounts. // this is a dummy function and returns nil for now. func CheckCrossDevice(paths []string) error { return nil } // IsLikelyMountPoint determines if a directory is a mountpoint. func IsLikelyMountPoint(file string) bool { return false
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.1K bytes - Viewed (0)