Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 901 - 910 of 1,099 for Fsync (0.05 seconds)

  1. docs/es/docs/advanced/custom-response.md

    {* ../../docs_src/custom_response/tutorial006c_py39.py hl[2,7,9] *}
    
    ### `StreamingResponse` { #streamingresponse }
    
    Toma un generador `async` o un generador/iterador normal y transmite el cuerpo del response.
    
    {* ../../docs_src/custom_response/tutorial007_py39.py hl[2,14] *}
    
    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)
  2. docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md

    Код, следующий за оператором `yield`, выполняется после ответа:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip | Подсказка
    
    Можно использовать как `async`, так и обычные функции.
    
    **FastAPI** корректно обработает каждый вариант, так же как и с обычными зависимостями.
    
    ///
    
    ## Зависимость с `yield` и `try` { #a-dependency-with-yield-and-try }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  3. cmd/xl-storage-disk-id-check.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"math/rand"
    	"path"
    	"runtime"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/cachevalue"
    	"github.com/minio/minio/internal/grid"
    	xioutil "github.com/minio/minio/internal/ioutil"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 25 05:41:04 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                assertEquals('a', stream.read());
                assertEquals(-1, stream.read()); // EOF
            }
    
            // File should be deleted after close
            // Note: FileUtil.deleteInBackground() is async, so we can't reliably test this
        }
    
        public void test_available() throws Exception {
            // Create a temporary file with test data
            File tempFile = File.createTempFile("test-", ".tmp");
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Nov 22 13:28:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. internal/logger/target/testlogger/testlogger.go

    //
    //	func TestSomething(t *testing.T) {
    //		defer testlogger.T.SetLogTB(t)()
    //
    // This cannot be used for parallel tests.
    package testlogger
    
    import (
    	"context"
    	"fmt"
    	"os"
    	"strings"
    	"sync/atomic"
    	"testing"
    
    	"github.com/minio/madmin-go/v3/logger/log"
    	"github.com/minio/minio/internal/logger"
    	types "github.com/minio/minio/internal/logger/target/loggertypes"
    )
    
    const (
    	logMessage = iota
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    El código posterior a la declaración `yield` se ejecuta después del response:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip | Consejo
    
    Puedes usar funciones `async` o regulares.
    
    **FastAPI** hará lo correcto con cada una, igual que con dependencias normales.
    
    ///
    
    ## Una dependencia con `yield` y `try` { #a-dependency-with-yield-and-try }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  7. docs/es/llm-prompt.md

    * full stack: full stack (do not translate to "pila completa")
    * full-stack: full-stack (do not translate to "de pila completa")
    * stack: stack (do not translate to "pila")
    * loop (as in async loop): loop (do not translate to "bucle" or "ciclo")
    * hard dependencies: dependencias obligatorias (do not translate to "dependencias duras")
    * locking: locking (do not translate to "bloqueo")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

    import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
    import java.time.Duration
    import java.util.Optional
    
    plugins {
        groovy
        idea // Need to apply the idea plugin, so the extended configuration is taken into account on sync
        id("gradlebuild.module-jar")
        id("gradlebuild.dependency-modules")
        id("gradlebuild.jvm-compile")
    }
    
    tasks.withType<JavaCompile>().configureEach {
        options.release = provider {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    生成的值会注入到 *路由函数* 和其他依赖项中:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[4] *}
    
    `yield` 语句后面的代码会在创建响应后,发送响应前执行:
    
    {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *}
    
    /// tip | 提示
    
    你可以使用 `async` 或普通函数。
    
    **FastAPI** 会像处理普通依赖一样,对每个依赖做正确的处理。
    
    ///
    
    ## 包含 `yield` 和 `try` 的依赖项
    
    如果在包含 `yield` 的依赖中使用 `try` 代码块,你会捕获到使用依赖时抛出的任何异常。
    
    例如,如果某段代码在另一个依赖中或在 *路由函数* 中使数据库事务"回滚"或产生任何其他错误,你将会在依赖中捕获到异常。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  10. docs/de/docs/tutorial/dependencies/dependencies-with-yield.md

    Der auf die `yield`-Anweisung folgende Code wird nach der Response ausgeführt:
    
    {* ../../docs_src/dependencies/tutorial007_py39.py hl[5:6] *}
    
    /// tip | Tipp
    
    Sie können `async`- oder reguläre Funktionen verwenden.
    
    **FastAPI** wird bei jeder das Richtige tun, so wie auch bei normalen Abhängigkeiten.
    
    ///
    
    ## Eine Abhängigkeit mit `yield` und `try` { #a-dependency-with-yield-and-try }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.7K bytes
    - Click Count (0)
Back to Top