- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,364 for yield (0.02 sec)
-
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
// Set private fields: status on SmbComTransactionResponse and available on TransPeekNamedPipeResponse Field statusField = jcifs.internal.smb1.trans.SmbComTransactionResponse.class.getDeclaredField("status"); statusField.setAccessible(true); statusField.setInt(resp, status); Field availField = TransPeekNamedPipeResponse.class.getDeclaredField("available"); availField.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
tests/test_dependency_yield_except_httpexception.py
initial_state = {"except": False, "finally": False} state = initial_state.copy() app = FastAPI() async def get_database(): temp_database = fake_database.copy() try: yield temp_database fake_database.update(temp_database) except HTTPException: state["except"] = True raise finally: state["finally"] = TrueRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 1.9K bytes - Viewed (0) -
docs/en/docs/advanced/custom-response.md
1. This is the generator function. It's a "generator function" because it contains `yield` statements inside. 2. By using a `with` block, we make sure that the file-like object is closed after the generator function is done. So, after it finishes sending the response. 3. This `yield from` tells the function to iterate over that thing named `file_like`. And then, for each part iterated, yield that part as coming from this generator function (`iterfile`).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.4K bytes - Viewed (0) -
docs/es/docs/advanced/custom-response.md
2. Al usar un bloque `with`, nos aseguramos de que el objeto similar a un archivo se cierre después de que la función generadora termine. Así, después de que termina de enviar el response. 3. Este `yield from` le dice a la función que itere sobre esa cosa llamada `file_like`. Y luego, para cada parte iterada, yield esa parte como proveniente de esta función generadora (`iterfile`).
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SuppliersTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
docs/uk/docs/tutorial/middleware.md
* Отримує **відповідь**, сформовану застосунком (*операцією шляху*). * Може змінити цю **відповідь** або виконати додатковий код. * Повертає **відповідь** клієнту. /// note | Технічні деталі Якщо у Вас є залежності з `yield`, код виходу виконається *після* middleware. Якщо були заплановані фонові задачі (background tasks - розглянуто далі), вони виконаються *після* всіх middleware. /// ## Створення middleware
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 4.9K bytes - Viewed (0) -
scripts/translate.py
Path("docs/en/docs/advanced"), Path("docs/en/docs/about"), Path("docs/en/docs/how-to"), ] first_parent = Path("docs/en/docs") yield from first_parent.glob("*.md") for dir_path in first_dirs: yield from dir_path.rglob("*.md") first_dirs_str = tuple(str(d) for d in first_dirs) for path in Path("docs/en/docs").rglob("*.md"): if str(path).startswith(first_dirs_str):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 19:05:53 UTC 2025 - 34.1K bytes - Viewed (0) -
docs/en/docs/tutorial/middleware.md
* It can do something to that **response** or run any needed code. * Then it returns the **response**. /// note | Technical Details If you have dependencies with `yield`, the exit code will run *after* the middleware.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
* A Windows SID is a numeric identifier used to represent Windows * accounts. SIDs are commonly represented using a textual format such as * {@code S-1-5-21-1496946806-2192648263-3843101252-1029} but they may * also be resolved to yield the name of the associated Windows account * such as {@code Administrators} or {@code MYDOM\alice}. * <p> * Consider the following output of {@code examples/SidLookup.java}: * * <pre>Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0)