Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 677 for gain (0.02 seconds)

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

  1. internal/lock/lock_test.go

    	if err = rlk.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// Now file should be closed.
    	isClosed = rlk.IsClosed()
    	if !isClosed {
    		t.Fatal("File ref count should be zero")
    	}
    
    	// Closing a file again should result in invalid argument.
    	if err = rlk.Close(); err != os.ErrInvalid {
    		t.Fatal(err)
    	}
    
    	_, err = newRLockedFile(nil)
    	if err != os.ErrInvalid {
    		t.Fatal("Unexpected error", err)
    	}
    }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  2. internal/s3select/errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidScanRangeParameter(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidRequestParameter",
    		message:    "The value of a parameter in ScanRange element is invalid. Check the service API documentation and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Mar 14 16:48:36 GMT 2022
    - 4.3K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/websockets.md

    {* ../../docs_src/websockets/tutorial001_py39.py hl[48:52] *}
    
    You can receive and send binary, text, and JSON data.
    
    ## Try it { #try-it }
    
    If your file is named `main.py`, run your application with:
    
    <div class="termy">
    
    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          }
          throw e
        }
      }
    
      private fun shouldIgnoreAndWaitForRealResponse(code: Int): Boolean =
        when {
          // Server sent a 100-continue even though we did not request one. Try again to read the
          // actual response status.
          code == 100 -> true
    
          // Handle Processing (102) & Early Hints (103) and any new codes without failing
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        checkThreadPoolName(thread2, 2);
        assertEquals(
            thread.getName().substring(0, thread.getName().lastIndexOf('-')),
            thread2.getName().substring(0, thread.getName().lastIndexOf('-')));
    
        // Building again should give us a different pool ID.
        ThreadFactory threadFactory2 = builder.build();
        Thread thread3 = threadFactory2.newThread(monitoredRunnable);
        checkThreadPoolName(thread3, 1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/resources-project-builder/basedir-aligned-interpolation/pom.xml

      <build>
        <!--
        NOTE: Deliberately set all build directories to relative paths to ensure they really need basedir alignment.
        -->
        <sourceDirectory>src/main/java</sourceDirectory>
        <testSourceDirectory>src/test/java</testSourceDirectory>
        <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
        <directory>target</directory>
        <outputDirectory>target/classes</outputDirectory>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. docs/pt/docs/advanced/settings.md

    Por exemplo, você poderia ter um arquivo `config.py` com:
    
    {* ../../docs_src/settings/app01_py39/config.py *}
    
    E então usá-lo em um arquivo `main.py`:
    
    {* ../../docs_src/settings/app01_py39/main.py hl[3,11:13] *}
    
    /// tip | Dica
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. docs/en/docs/help-fastapi.md

    The main tasks that you can do right now are:
    
    * [Help others with questions in GitHub](#help-others-with-questions-in-github){.internal-link target=_blank} (see the section above).
    * [Review Pull Requests](#review-pull-requests){.internal-link target=_blank} (see the section above).
    
    Those two tasks are what **consume time the most**. That's the main work of maintaining FastAPI.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 14K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-clean-plugin/0.1/maven-clean-plugin-0.1.jar

    maven-clean-plugin 0.1 maven-plugin Maven Integration Test Plugin A test plugin to assist testing of Maven core. 2009 maven-core-it file:///${basedir}/repo true true org.apache.maven maven-plugin-api 2.0 . pom.xml src/** src/main/resources src/main/java/org/apache/maven/plugins/coreit/ItMojo.java src/main/java/org/apache/maven/plugins/coreit/ItMojo.java package org.apache.maven.plugin.coreit; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE...
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  10. docs/es/docs/deployment/manually.md

    ```
    
    </div>
    
    /// note | Nota
    
    El comando `uvicorn main:app` se refiere a:
    
    * `main`: el archivo `main.py` (el "módulo" de Python).
    * `app`: el objeto creado dentro de `main.py` con la línea `app = FastAPI()`.
    
    Es equivalente a:
    
    ```Python
    from main import app
    ```
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 7.3K bytes
    - Click Count (0)
Back to Top