- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 91 for DEF (0.01 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java
return doGet(userProperties != null ? userProperties.get(key) : null, def); } private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) { return doGet(userProperties != null ? userProperties.get(key) : null, def); } private static boolean doGet(Object val, boolean def) { if (val instanceof Boolean bool) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java
final Map<String, String> headerMap = new HashMap<>(); provider.adjustActionResponseHeaders("application/xml", (k, v) -> headerMap.put(k, v)); assertEquals(2, headerMap.size()); assertEquals("def", headerMap.get("X-Def")); assertEquals("def2", headerMap.get("X-Def2")); } public void test_write_defaultAndSpecificHtml() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue May 06 09:19:22 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
* @param key the property key to look up * @param def the default value to return if key is not found or cannot be parsed * @return the integer value of the property or the default value */ public static int getInt(final Properties props, final String key, int def) { final String s = props.getProperty(key); if (s != null) { try { def = Integer.parseInt(s);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (0) -
docs/es/docs/advanced/async-tests.md
## HTTPX Incluso si tu aplicación de **FastAPI** usa funciones `def` normales en lugar de `async def`, sigue siendo una aplicación `async` por debajo.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 18:26:57 UTC 2024 - 4K bytes - Viewed (0) -
docs/em/docs/advanced/dataclasses.md
7️⃣. 📥 `response_model` ⚙️ 🆎 ✍ 📇 `Author` 🎻. 🔄, 👆 💪 🌀 `dataclasses` ⏮️ 🐩 🆎 ✍. 8️⃣. 👀 👈 👉 *➡ 🛠️ 🔢* ⚙️ 🥔 `def` ↩️ `async def`. 🕧, FastAPI 👆 💪 🌀 `def` & `async def` 💪. 🚥 👆 💪 ↗️ 🔃 🕐❔ ⚙️ ❔, ✅ 👅 📄 _"🏃 ❓" _ 🩺 🔃 <a href="https://fastapi.tiangolo.com/async/#in-a-hurry" target="_blank" class="internal-link">`async` & `await`</a>.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.4K bytes - Viewed (0) -
docs/zh/docs/advanced/async-tests.md
让我们看看如何才能实现这一点。 ## pytest.mark.anyio 如果我们想在测试中调用异步函数,那么我们的测试函数必须是异步的。 AnyIO 为此提供了一个简洁的插件,它允许我们指定一些测试函数要异步调用。 ## HTTPX 即使您的 **FastAPI** 应用程序使用普通的 `def` 函数而不是 `async def` ,它本质上仍是一个 `async` 异步应用程序。 `TestClient` 在内部通过一些“魔法”操作,使得您可以在普通的 `def` 测试函数中调用异步的 FastAPI 应用程序,并使用标准的 pytest。但当我们在异步函数中使用它时,这种“魔法”就不再生效了。由于测试以异步方式运行,我们无法在测试函数中继续使用 `TestClient`。
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Tue Dec 17 21:49:06 UTC 2024 - 3.9K bytes - Viewed (0) -
docs/pt/docs/advanced/async-tests.md
## HTTPX Mesmo que a sua aplicação **FastAPI** utilize funções normais com `def` no lugar de `async def`, ela ainda é uma aplicação `async` por baixo dos panos.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapGetOrDefaultTester.java
assertEquals( "getOrDefault(null, def) should return the default value", v3(), getMap().getOrDefault(null, v3())); } @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES) public void testGetOrDefault_nullAbsentAndUnsupported() { try { assertEquals( "getOrDefault(null, def) should return default or throw", v3(),
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
You can use `async def` or normal `def`. And you can declare dependencies with `async def` inside of normal `def` *path operation functions*, or `def` dependencies inside of `async def` *path operation functions*, etc. It doesn't matter. **FastAPI** will know what to do. /// note
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/sts/client_grants/sts_element.py
cElementTree.Element instance. Provides STS namespace aware parsing functions. """ def __init__(self, root_name, element): self.root_name = root_name self.element = element @classmethod def fromstring(cls, root_name, data): """Initialize STSElement from name and XML string data. :param name: Name for XML data. Used in XML errors.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 2.5K bytes - Viewed (0)