Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 156 for yielded (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/sql_databases/tutorial002_an_py39.py

    engine = create_engine(sqlite_url, connect_args=connect_args)
    
    
    def create_db_and_tables():
        SQLModel.metadata.create_all(engine)
    
    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

        @DisplayName("available() on SMB1 returns 0 and marks closed on disconnected statuses")
        void available_smb1_disconnectedStatuses(int status) throws Exception {
            // Verify SMB1 path: disconnected/server-closed statuses yield 0 and mark fd closed
            SmbPipeInputStream stream = newStreamWithInit(false);
    
            when(handle.ensureOpen()).thenReturn(fd);
            when(fd.getTree()).thenReturn(tree);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  3. 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`).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/SuppliersTest.java

                            "timed out waiting for other threads to block"
                                + " synchronizing on supplier"));
                    break;
                  }
                  Thread.yield();
                }
                count.getAndIncrement();
                return Boolean.TRUE;
              }
            };
    
        Supplier<Boolean> memoizedSupplier = memoizer.apply(supplier);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                            "timed out waiting for other threads to block"
                                + " synchronizing on supplier"));
                    break;
                  }
                  Thread.yield();
                }
                count.getAndIncrement();
                return Boolean.TRUE;
              }
            };
    
        Supplier<Boolean> memoizedSupplier = memoizer.apply(supplier);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/middleware.md

    * Отримує **відповідь**, сформовану застосунком (*операцією шляху*).
    * Може змінити цю **відповідь** або виконати додатковий код.
    * Повертає **відповідь** клієнту.
    
    /// note | Технічні деталі
    
    Якщо у Вас є залежності з `yield`, код виходу виконається *після* middleware.
    
    Якщо були заплановані фонові задачі (background tasks - розглянуто далі), вони виконаються *після* всіх middleware.
    
    ///
    
    ## Створення middleware
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            // Act
            itr.remove();
    
            // Assert
            verify(delegate, times(1)).remove();
        }
    
        @Test
        @DisplayName("Edge: empty delegate yields no elements")
        void emptyDelegate_hasNoNext() {
            // Arrange - no parent setup needed since no URLs are created
            when(delegate.hasNext()).thenReturn(false);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  8. 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):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  9. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. 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>
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
Back to Top