Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 135 for Age (0.01 seconds)

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

  1. docs/zh-hant/docs/python-types.md

    看這個函式,它已經有型別提示了:
    
    {* ../../docs_src/python_types/tutorial003_py310.py hl[1] *}
    
    因為編輯器知道變數的型別,你不只會得到自動完成,還會得到錯誤檢查:
    
    <img src="/img/python-types/image04.png">
    
    現在你知道要修正它,把 `age` 用 `str(age)` 轉成字串:
    
    {* ../../docs_src/python_types/tutorial004_py310.py hl[2] *}
    
    ## 宣告型別 { #declaring-types }
    
    你剛剛看到宣告型別提示的主要位置:函式參數。
    
    這也是你在 **FastAPI** 中最常使用它們的地方。
    
    ### 簡單型別 { #simple-types }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. finisher_api.go

    //
    //	// assign email regardless of if record is found
    //	db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "jinzhu", Age: 20, Email: "******@****.***"}
    func (db *DB) FirstOrInit(dest interface{}, conds ...interface{}) (tx *DB) {
    	queryTx := db.Limit(1).Order(clause.OrderByColumn{
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 22.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         */
        public boolean isExpired() {
            if (authenticationTTL <= 0) {
                return false; // No expiration
            }
            long age = System.currentTimeMillis() - authenticationTimestamp;
            return age > authenticationTTL;
        }
    
        /**
         * Set the authentication time-to-live in milliseconds
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 30.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/ResourceManagerTest.java

        @Test
        @DisplayName("Test automatic cleanup of old resources")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testAutomaticCleanup() throws InterruptedException {
            // Configure with very short max age for testing
            resourceManager.configure(100, 50, true, true);
    
            TestResource resource = new TestResource("old");
            resourceManager.registerResource(resource);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. CODE_OF_CONDUCT.md

    In the interest of fostering an open and welcoming environment, we as
    contributors and maintainers pledge to make participation in our project and our
    community a harassment-free experience for everyone, regardless of age, body
    size, disability, ethnicity, gender identity and expression, level of
    experience, nationality, personal appearance, race, religion, or sexual identity
    and orientation.
    
    ## Our Standards
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Click Count (0)
  6. docs/zh/docs/python-types.md

    看这个已经带有类型提示的函数:
    
    {* ../../docs_src/python_types/tutorial003_py310.py hl[1] *}
    
    因为编辑器知道变量的类型,你不仅能得到补全,还能获得错误检查:
    
    <img src="/img/python-types/image04.png">
    
    现在你知道需要修复它,用 `str(age)` 把 `age` 转成字符串:
    
    {* ../../docs_src/python_types/tutorial004_py310.py hl[2] *}
    
    ## 声明类型 { #declaring-types }
    
    你刚刚看到的是声明类型提示的主要位置:函数参数。
    
    这也是你在 **FastAPI** 中使用它们的主要场景。
    
    ### 简单类型 { #simple-types }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/util/SecureKeyManager.java

         */
        public int getKeyVersion(String sessionId) {
            return keyVersions.getOrDefault(sessionId, 0);
        }
    
        /**
         * Get key age in milliseconds
         *
         * @param sessionId the session ID
         * @return age in milliseconds, or -1 if unknown
         */
        public long getKeyAge(String sessionId) {
            Long creationTime = keyCreationTimes.get(sessionId);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. docs/features/interceptors.md

      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Response originalResponse = chain.proceed(chain.request());
        return originalResponse.newBuilder()
            .header("Cache-Control", "max-age=60")
            .build();
      }
    };
    ```
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/ExecJob.java

         *
         * @return this ExecJob instance for method chaining
         */
        public ExecJob gcLogging() {
            final StringBuilder buf = new StringBuilder(100);
            buf.append("-Xlog:gc*,gc+age=trace,safepoint:file=");
            if (logFilePath != null) {
                buf.append(logFilePath);
            } else {
                buf.append(ComponentUtil.getSystemHelper().getLogFilePath());
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  10. docs/ja/docs/python-types.md

    この関数を見てください。すでに型ヒントを持っています:
    
    {* ../../docs_src/python_types/tutorial003_py310.py hl[1] *}
    
    エディタは変数の型を知っているので、補完だけでなく、エラーチェックをすることもできます:
    
    <img src="/img/python-types/image04.png">
    
    これで `age` を `str(age)` で文字列に変換して修正する必要があることがわかります:
    
    {* ../../docs_src/python_types/tutorial004_py310.py hl[2] *}
    
    ## 型の宣言 { #declaring-types }
    
    型ヒントを宣言する主な場所を見てきました。関数のパラメータです。
    
    これは **FastAPI** で使用する主な場所でもあります。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.3K bytes
    - Click Count (0)
Back to Top