Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 662 for gain (0.02 seconds)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ```Python
    commons: CommonQueryParams = Depends()
    ```
    
    ////
    
    You declare the dependency as the type of the parameter, and you use `Depends()` without any parameter, instead of having to write the full class *again* inside of `Depends(CommonQueryParams)`.
    
    The same example would then look like:
    
    {* ../../docs_src/dependencies/tutorial004_an_py310.py hl[19] *}
    
    ...and **FastAPI** will know what to do.
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/websockets.md

    在你的 WebSocket 路由中,你可以 `await` 接收訊息並傳送訊息。
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    你可以接收與傳送二進位、文字與 JSON 資料。
    
    ## 試試看 { #try-it }
    
    如果你的檔案名為 `main.py`,用以下指令執行應用:
    
    <div class="termy">
    
    ```console
    $ fastapi dev
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. ci/official/utilities/setup_macos.sh

      shopt -s expand_aliases
    else
      echo '==TFCI==: Error: Cannot find path to grealpath or gstat'
      echo 'TF CI scripts require GNU core utilties to be installed. Please make'
      echo 'sure they are present on your system and try again.'
      exit 1
    fi
    
    # "TFCI_MACOS_BAZEL_TEST_DIR_PATH" specifies the directory that Bazel should use
    # when running tests. Each test will be executed in a separate subdirectory
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Oct 06 22:42:26 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        return snapshotElementsToList().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
       * either of these would recurse back to us again!
       */
      private List<E> snapshotElementsToList() {
        List<E> list = newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

                .addValue("value1")
                .add("field2", "value2");
        String expected = "TestClass{field1=1, value1, field2=value2}";
    
        assertThat(helper.toString()).isEqualTo(expected);
        // Call toString again
        assertThat(helper.toString()).isEqualTo(expected);
    
        // Make sure the cached value is reset when we modify the helper at all
        String expected2 = "TestClass{field1=1, value1, field2=value2, 2}";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 22K bytes
    - Click Count (0)
  6. lib/wasm/wasm_exec.js

    						this._scheduledTimeouts.set(id, setTimeout(
    							() => {
    								this._resume();
    								while (this._scheduledTimeouts.has(id)) {
    									// for some reason Go failed to register the timeout event, log and try again
    									// (temporary workaround for https://github.com/golang/go/issues/28975)
    									console.warn("scheduleTimeoutEvent: missed timeout event");
    									this._resume();
    								}
    							},
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

            // Commit
            callback.commit();
    
            assertEquals(1, commitCount.get());
            assertEquals(3L, documentsBeforeCommit.get());
    
            // Store more and commit again
            callback.store(params, data);
            callback.store(params, data);
    
            assertEquals(5L, callback.getDocumentSize());
    
            callback.commit();
    
            assertEquals(2, commitCount.get());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            assertNotNull(hash);
    
            // Modify returned hash
            if (hash.length > 0) {
                hash[0] = (byte) 0xFF;
            }
    
            // Get hash again - should be unmodified
            byte[] hash2 = transport.getPreauthIntegrityHash();
            assertNotNull(hash2);
    
            // If original has data, verify it wasn't modified
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/util/HMACT64Test.java

            // Test engineReset()
            HMACT64 hmac = new HMACT64(TEST_KEY);
            hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length);
            hmac.engineReset();
            // After reset, should be able to digest again
            byte[] result = hmac.engineDigest();
            assertNotNull(result);
        }
    
        @Test
        void testEngineGetDigestLength() {
            // Test engineGetDigestLength()
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  10. impl/maven-cli/pom.xml

            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.2.0</version>
              <models>
                <model>../../api/maven-api-cli/src/main/mdo/core-extensions.mdo</model>
              </models>
              <templates>
                <template>reader-stax.vm</template>
                <template>writer-stax.vm</template>
              </templates>
              <params>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 10.2K bytes
    - Click Count (0)
Back to Top