Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,136 for updateFn (0.07 seconds)

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

  1. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

                    Smb2LeaseState.SMB2_LEASE_READ_CACHING | Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING, scope);
    
            // Perform actual directory enumeration
            SmbFile[] files = smbFile.listFiles();
    
            // Update cache if we have a directory lease
            if (leaseKey != null) {
                dirManager.updateDirectoryCache(directoryPath, Arrays.asList(files));
            }
    
            return files;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. internal/deadlineconn/deadlineconn_test.go

    			return
    		}
    
    		// Set a deadline in the past to indicate we want the next read to fail.
    		// Ensure we don't override it on read.
    		deadlineconn.SetReadDeadline(time.Unix(1, 0))
    
    		// Be sure to exceed update interval
    		time.Sleep(updateInterval * 2)
    
    		_, terr = deadlineconn.Read(b)
    		if terr == nil {
    			cerr = fmt.Errorf("could read from client, expected error, got %v", terr)
    			return
    		}
    	}()
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 17:15:17 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *}
    
    ## 更新相依項目 { #update-the-dependencies }
    
    更新 `get_current_user`,讓它仍接收相同的權杖,但這次改用 JWT 權杖。
    
    解碼收到的權杖、驗證它,並回傳目前的使用者。
    
    如果權杖無效,立即回傳一個 HTTP 錯誤。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## 更新 `/token` 路徑操作 { #update-the-token-path-operation }
    
    用權杖有效期建立一個 `timedelta`。
    
    建立真正的 JWT access token 並回傳它。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/security/oauth2-jwt.md

    {* ../../docs_src/security/tutorial004_an_py310.py hl[4,7,13:15,29:31,82:90] *}
    
    ## 更新依赖项 { #update-the-dependencies }
    
    更新 `get_current_user` 以接收与之前相同的令牌,但这次使用的是 JWT 令牌。
    
    解码接收到的令牌,进行校验,并返回当前用户。
    
    如果令牌无效,立即返回一个 HTTP 错误。
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## 更新 `/token` 路径操作 { #update-the-token-path-operation }
    
    用令牌的过期时间创建一个 `timedelta`。
    
    创建一个真正的 JWT 访问令牌并返回它。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. tensorflow/api_template_v1.__init__.py

    # API IMPORTS PLACEHOLDER
    
    # WRAPPER_PLACEHOLDER
    
    if "dev" in __version__:   # pylint: disable=undefined-variable
      _logging.warning("""
    
      TensorFlow's `tf-nightly` package will soon be updated to TensorFlow 2.0.
    
      Please upgrade your code to TensorFlow 2.0:
        * https://www.tensorflow.org/guide/migrate
    
      Or install the latest stable TensorFlow 1.X release:
        * `pip install -U "tensorflow==1.*"`
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 02 22:16:02 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  6. cmd/peer-rest-client.go

    		resp := localMetacacheMgr.getBucket(ctx, o.Bucket).findCache(o)
    		return &resp, nil
    	}
    	return getMetacacheListingRPC.Call(ctx, client.gridConn(), &o)
    }
    
    // UpdateMetacacheListing - update an existing metacache it will unconditionally be updated to the new state.
    func (client *peerRESTClient) UpdateMetacacheListing(ctx context.Context, m metacache) (metacache, error) {
    	if client == nil {
    		return localMetacacheMgr.updateCacheEntry(m)
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

       * to calling it exactly once.
       *
       * @since 10.0 (present in 1.0 as {@code run})
       */
      public void execute() {
        // Lock while we update our state so the add method above will finish adding any listeners
        // before we start to run them.
        RunnableExecutorPair list;
        synchronized (lock) {
          if (executed) {
            return;
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. docs/smb3-features/04-directory-leasing-design.md

        }
        
        public void updateDirectoryCache(String directoryPath, List<SmbFile> files) {
            DirectoryCacheEntry entry = getCacheEntry(directoryPath);
            if (entry == null) return;
            
            // Update cache with new directory listing
            for (SmbFile file : files) {
                SmbFileAttributes attrs = file.getAttributes();
                entry.updateChild(file.getName(), attrs);
            }
            
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 36.2K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/sql-databases.md

    ```
    
    </div>
    
    然后在 `/docs` UI 中,你能够看到 **FastAPI** 会用这些**模型**来**记录** API,并且还会用它们来**序列化**和**验证**数据。
    
    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image01.png">
    </div>
    
    ## 使用多个模型更新应用 { #update-the-app-with-multiple-models }
    
    现在让我们稍微**重构**一下这个应用,以提高**安全性**和**多功能性**。
    
    如果你查看之前的应用程序,你可以在 UI 界面中看到,到目前为止,它允许客户端决定要创建的 `Hero` 的 `id`。😱
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 15.4K bytes
    - Click Count (0)
  10. src/archive/tar/reader.go

    					hdr.Typeflag = TypeDir // Legacy archives use trailing slash for directories
    				} else {
    					hdr.Typeflag = TypeReg
    				}
    			}
    
    			// The extended headers may have updated the size.
    			// Thus, setup the regFileReader again after merging PAX headers.
    			if err := tr.handleRegularFile(hdr); err != nil {
    				return nil, err
    			}
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
Back to Top