- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 1,631 for PATH (0.03 seconds)
-
cmd/namespace-lock.go
lockMap map[string]*nsLock lockMapMutex sync.Mutex } // Lock the namespace resource. func (n *nsLockMap) lock(ctx context.Context, volume string, path string, lockSource, opsID string, readLock bool, timeout time.Duration) (locked bool) { resource := pathJoin(volume, path) n.lockMapMutex.Lock() nsLk, found := n.lockMap[resource] if !found { nsLk = &nsLock{ LRWMutex: lsync.NewLRWMutex(), }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
docs/es/docs/tutorial/cookie-params.md
Puedes definir parámetros de Cookie de la misma manera que defines los parámetros `Query` y `Path`. ## Importar `Cookie` { #import-cookie } Primero importa `Cookie`: {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *} ## Declarar parámetros de `Cookie` { #declare-cookie-parameters } Luego declara los parámetros de cookie usando la misma estructura que con `Path` y `Query`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/en/docs/tutorial/cookie-params.md
You can define Cookie parameters the same way you define `Query` and `Path` parameters. ## Import `Cookie` { #import-cookie } First import `Cookie`: {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *} ## Declare `Cookie` parameters { #declare-cookie-parameters } Then declare the cookie parameters using the same structure as with `Path` and `Query`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 17:49:27 GMT 2025 - 1.6K bytes - Click Count (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py
) return TestClient(mod.app) @pytest.mark.parametrize( "path,expected_response", [ ("/items/1?q=", {"item_id": 1}), ("/items/1000?q=somequery", {"item_id": 1000, "q": "somequery"}), ], ) def test_read_items(client: TestClient, path, expected_response): response = client.get(path) assert response.status_code == 200, response.textCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 6.6K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/index.md
It is just a function that can take all the same parameters that a *path operation function* can take: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *} That's it. **2 lines**. And it has the same shape and structure that all your *path operation functions* have. You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`). And it can return anything you want.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 9.6K bytes - Click Count (0) -
docs/uk/docs/tutorial/cookie-params.md
Ви можете визначити параметри Cookie таким же чином, як визначаються параметри `Query` і `Path`. ## Імпорт `Cookie` Спочатку імпортуйте `Cookie`: {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *} ## Визначення параметрів `Cookie` Потім визначте параметри cookie, використовуючи таку ж конструкцію як для `Path` і `Query`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 1.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/cookie-params.md
# Cookie 参数 定义 `Cookie` 参数与定义 `Query` 和 `Path` 参数一样。 ## 导入 `Cookie` 首先,导入 `Cookie`: {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *} ## 声明 `Cookie` 参数 声明 `Cookie` 参数的方式与声明 `Query` 和 `Path` 参数相同。 第一个值是默认值,还可以传递所有验证参数或注释参数: {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *} /// note | 技术细节 `Cookie` 、`Path` 、`Query` 是**兄弟类**,都继承自共用的 `Param` 类。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 888 bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt
import java.io.FileDescriptor import java.io.FileInputStream import java.io.IOException import java.nio.file.Path import okhttp3.MediaType.Companion.toMediaType import okhttp3.RequestBody.Companion.asRequestBody import okhttp3.RequestBody.Companion.toRequestBody import okio.Buffer import okio.FileSystem import okio.Path.Companion.toOkioPath import org.junit.jupiter.api.Assertions.assertThrows import org.junit.jupiter.api.BeforeEach
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 14:16:29 GMT 2025 - 3.8K bytes - Click Count (1) -
tests/test_modules_same_name_body/test_main.py
client = TestClient(app) @pytest.mark.parametrize( "path", ["/a/compute", "/a/compute/", "/b/compute", "/b/compute/"] ) def test_post(path): data = {"a": 2, "b": "foo"} response = client.post(path, json=data) assert response.status_code == 200, response.text assert data == response.json() @pytest.mark.parametrize( "path", ["/a/compute", "/a/compute/", "/b/compute", "/b/compute/"] )
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Feb 27 14:42:41 GMT 2025 - 5.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
.build(); Files.writeString(parentPom, parentPomContent); // Create module directory and POM Path moduleDir = tempDir.resolve("module1"); Files.createDirectories(moduleDir); Path modulePom = moduleDir.resolve("pom.xml"); String modulePomContent = PomBuilder.create() .parent("com.example", "parent-project", "1.0.0")
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.3K bytes - Click Count (0)