Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 1,412 for across (0.1 seconds)

  1. docs/zh-hant/docs/tutorial/security/get-current-user.md

    而且你可以為安全需求使用任意模型或資料(本例中是 Pydantic 模型 `User`)。
    
    但你不受限於某個特定的資料模型、類別或型別。
    
    想在模型中只有 `id` 與 `email` 而沒有任何 `username`?當然可以。你可以用同樣的工具達成。
    
    想只用一個 `str`?或只用一個 `dict`?或直接使用資料庫類別的模型實例?都可以,一樣運作。
    
    你的應用其實沒有真人使用者登入,而是機器人、bot,或其他系統,只持有 access token?同樣沒有問題。
    
    只要用任何你的應用需要的模型、類別或資料庫即可。**FastAPI** 的依賴注入系統都支援。
    
    ## 程式碼大小 { #code-size }
    
    這個範例看起來可能有點冗長。記住我們把安全、資料模型、工具函式與*路徑操作*混在同一個檔案中。
    
    但重點在這裡。
    
    安全與依賴注入相關的內容只需要寫一次。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                    }
                    return null;
                }).filter(file -> file != null).toArray(n -> new DictionaryFile<?>[n]);
            } catch (final IOException e) {
                throw new DictionaryException("Failed to access dictionaries", e);
            }
        }
    
        /**
         * Retrieves a specific dictionary file by its ID.
         *
         * @param id the unique identifier of the dictionary file to retrieve
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. CLAUDE.md

    - **StorageClient**: MinIO SDK, `storage://bucket/path`
    
    ### Services
    
    - **UrlQueueService**: URL queue management (FIFO), duplicate detection
    - **DataService**: Access result persistence, iteration
    - Implementations: `UrlQueueServiceImpl`, `DataServiceImpl` (in-memory), `OpenSearchDataService` (persistent)
    
    ### Processing Pipeline
    
    ```
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  4. tensorflow/api_template.__init__.py

    this file with a file generated from [`api_template.__init__.py`](https://www.github.com/tensorflow/tensorflow/blob/master/tensorflow/api_template.__init__.py)
    """
    # pylint: disable=g-bad-import-order,protected-access,g-import-not-at-top
    
    import sysconfig as _sysconfig
    import importlib
    import inspect as _inspect
    import os as _os
    import site as _site
    import sys as _sys
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

     * This SAX-based parser reads GSA XML configuration files and converts them into
     * Fess configuration objects including web crawling configurations, file crawling
     * configurations, and label types for access control.
     *
     * <p>The parser handles the following GSA configuration elements:
     * <ul>
     * <li>Collections with good/bad URL patterns</li>
     * <li>Global parameters including start URLs and filtering rules</li>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Then
            assertNotNull(address, "Should return address for localhost");
        }
    
        @Test
        @DisplayName("Should validate context configuration access")
        void testContextAccess() {
            // When
            NameServiceClientImpl client = new NameServiceClientImpl(mockContext);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

                    "          frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" \n" +
                    "          referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen> \n" +
                    "        </iframe> \n" +
                    "    </div> \n" +
                    "  </div> \n" +
                    "</details>");
    
            // Same for the Wistia-hosted videos
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Mar 03 01:59:51 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final List<Map<String, Object>> fileList = new ArrayList<>();
    
            try (final StorageClient client = StorageClientFactory.createClient(fessConfig)) {
                // Ensure bucket exists on first access
                client.ensureBucketExists();
    
                final List<StorageItem> items = client.listObjects(prefix, fessConfig.getStorageMaxItemsInPageAsInteger());
    
                for (final StorageItem item : items) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                                return Files.getLastModifiedTime(path).toMillis();
                            }
                        } catch (final Exception e) {
                            logger.debug("Failed to access resource file: path={}", key, e);
                        }
                        return 0L;
                    }
                });
    
        /**
         * Private constructor to prevent instantiation of this utility class.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 25.4K bytes
    - Click Count (1)
  10. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *       add overloads that accept start and end indexes.
     *   <li>Can be streamed without "breaking the chain": {@code foo.getBarLongs().stream()...}.
     *   <li>Access to all collection-based utilities via {@link #asList} (though at the cost of
     *       allocating garbage).
     * </ul>
     *
     * <p>Disadvantages compared to {@code long[]}:
     *
     * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
Back to Top