Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 556 for share3 (0.04 seconds)

  1. docs/zh/docs/tutorial/dependencies/index.md

    ```
    
    这样,你只需编写一次共享代码,**FastAPI** 会在你的*路径操作*中为你调用它。
    
    /// check | 检查
    
    注意,无需创建专门的类并传给 **FastAPI** 去“注册”之类的操作。
    
    只要把它传给 `Depends`,**FastAPI** 就知道该怎么做了。
    
    ///
    
    ## 共享 `Annotated` 依赖项 { #share-annotated-dependencies }
    
    在上面的示例中,你会发现这里有一点点**代码重复**。
    
    当你需要使用 `common_parameters()` 这个依赖时,你必须写出完整的带类型注解和 `Depends()` 的参数:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. LICENSES/vendor/cel.dev/expr/LICENSE

          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
          "You" (or "Your") shall mean an individual or Legal Entity
          exercising permissions granted by this License.
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Nov 06 20:53:17 GMT 2024
    - 11.2K bytes
    - Click Count (0)
  3. LICENSE

          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
          "You" (or "Your") shall mean an individual or Legal Entity
          exercising permissions granted by this License.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                } else {
                    repoMetadata.setMetadata(metadata);
                    setRepository = true;
                }
            }
            return setRepository;
        }
    
        /*
         * TODO share with DefaultPluginMappingManager.
         */
        protected Metadata readMetadata(File mappingFile) throws RepositoryMetadataReadException {
    
            try (InputStream in = Files.newInputStream(mappingFile.toPath())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/TestingConventionsTasks.java

            try {
                return Class.forName(
                    name,
                    // Don't initialize the class to save time. Not needed for this test and this doesn't share a VM with any other tests.
                    false,
                    isolatedClassLoader
                );
            } catch (ClassNotFoundException e) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 17.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

            final Path baseDir = Files.createDirectories(tempDir.resolve("vardata"));
            System.setProperty("fess.var.path", baseDir.toString());
    
            // A directory that does NOT share the prefix
            final Path otherDir = Files.createDirectories(tempDir.resolve("other"));
            final File fileInOther = new File(otherDir.toFile(), "test.txt");
            fileInOther.createNewFile();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/dependencies/index.md

    ```
    
    如此一來,你只需撰寫一次共用程式碼,**FastAPI** 會替你的各個「路徑操作」呼叫它。
    
    /// check | 檢查
    
    注意,你不必建立特殊的類別並把它傳到 **FastAPI** 去「註冊」或做類似的事。
    
    只要把它傳給 `Depends`,**FastAPI** 就知道該怎麼處理其餘的部分。
    
    ///
    
    ## 共用 `Annotated` 依賴 { #share-annotated-dependencies }
    
    在上面的範例中,可以看到有一點點的「重複程式碼」。
    
    當你要使用 `common_parameters()` 這個依賴時,你得寫出完整的型別註解搭配 `Depends()`:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        byte[][] arrays = new byte[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        byte[] sharedArray = new byte[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Bytes.concat(arrays);
          fail();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/DerivedGoogleCollectionGenerators.java

          return samples;
        }
    
        @Override
        public Set<V> create(Object... elements) {
          @SuppressWarnings("unchecked")
          V[] valuesArray = (V[]) elements;
    
          // Start with a suitably shaped collection of entries
          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each value
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  10. LICENSE

          "control" means (i) the power, direct or indirect, to cause the
          direction or management of such entity, whether by contract or
          otherwise, or (ii) ownership of fifty percent (50%) or more of the
          outstanding shares, or (iii) beneficial ownership of such entity.
    
          "You" (or "Your") shall mean an individual or Legal Entity
          exercising permissions granted by this License.
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 16:29:02 GMT 2026
    - 9.9K bytes
    - Click Count (0)
Back to Top