- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for paramPath (0.43 sec)
-
src/syscall/exec_freebsd_test.go
"unsafe" ) const ( flagJailCreate = uintptr(0x1) ) func prepareJail(t *testing.T) (int, string) { t.Helper() root := t.TempDir() paramPath := []byte("path\x00") conf := make([]syscall.Iovec, 4) conf[0].Base = ¶mPath[0] conf[0].SetLen(len(paramPath)) p, err := syscall.BytePtrFromString(root) if err != nil { t.Fatal(err) } conf[1].Base = p conf[1].SetLen(len(root) + 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 22 20:38:48 UTC 2023 - 2.4K bytes - Viewed (0) -
tests/test_starlette_urlconvertors.py
@app.get("/int/{param:int}") def int_convertor(param: int = Path()): return {"int": param} @app.get("/float/{param:float}") def float_convertor(param: float = Path()): return {"float": param} @app.get("/path/{param:path}") def path_convertor(param: str = Path()): return {"path": param} @app.get("/query/") def query_convertor(param: str = Query()): return {"query": param} client = TestClient(app)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Nov 27 14:46:06 UTC 2022 - 1.7K bytes - Viewed (0)