Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 2,014 for vscode (0.07 seconds)

  1. docs/iam/access-manager-plugin.go

    	flag.StringVar(&certFile, "cert-file", "", "Path to TLS cert file")
    }
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"error": fmt.Sprintf("%v", err),
    	})
    }
    
    type Result struct {
    	Result bool `json:"result"`
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Feb 08 17:15:20 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. fastapi/dependencies/utils.py

    ) -> SolvedDependency:
        request_astack = request.scope.get("fastapi_inner_astack")
        assert isinstance(request_astack, AsyncExitStack), (
            "fastapi_inner_astack not found in request scope"
        )
        function_astack = request.scope.get("fastapi_function_astack")
        assert isinstance(function_astack, AsyncExitStack), (
            "fastapi_function_astack not found in request scope"
        )
        values: dict[str, Any] = {}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 38.7K bytes
    - Click Count (3)
  3. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                System.arraycopy(buffer, 80, actualFileId, 0, 16);
                assertArrayEquals(testFileId, actualFileId);
    
                // Verify that info.encode was called
                verify(mockInfo, times(1)).encode(any(byte[].class), anyInt());
    
                // Verify total bytes written
                assertTrue(bytesWritten > 32); // At least the fixed part plus some info
            } catch (Exception e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponse.java

         * @return the resumeKey
         */
        public byte[] getResumeKey() {
            return this.resumeKey;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            if (len < 24) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (3)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
        @Override
        public NbtAddress getNbtByName(final String host, final int type, final String scope) throws UnknownHostException {
            return getNbtByName(host, type, scope, null);
        }
    
        @Override
        public NbtAddress getNbtByName(final String host, final int type, final String scope, final InetAddress svr)
                throws UnknownHostException {
    
            if (host == null || host.length() == 0) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. compat/maven-repository-metadata/pom.xml

        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.maven.resolver</groupId>
          <artifactId>maven-resolver-api</artifactId>
          <scope>test</scope>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/security/simple-oauth2.md

    規範也說明 `username` 與 `password` 必須以表單資料傳送(也就是這裡不能用 JSON)。
    
    ### `scope` { #scope }
    
    規範也說用戶端可以再送一個表單欄位「`scope`」。
    
    欄位名稱是單數的 `scope`,但實際上是由多個以空白分隔的「scopes」組成的一長串字串。
    
    每個「scope」就是一個(不含空白的)字串。
    
    它們通常用來宣告特定的權限,例如:
    
    - `users:read` 或 `users:write` 是常見的例子
    - `instagram_basic` 用在 Facebook / Instagram
    - `https://www.googleapis.com/auth/drive` 用在 Google
    
    /// info
    
    在 OAuth2 裡,「scope」只是用來宣告特定所需權限的一個字串。
    
    不論裡面是否包含像 `:` 之類的字元,或是否是一個 URL,都沒差。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  8. docs/iam/identity-manager-plugin.go

    package main
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"log"
    	"net/http"
    )
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"reason": fmt.Sprintf("%v", err),
    	})
    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/net/UrlEscapers.java

      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
       * href="https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set">URL
       * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding.
       * The caller is responsible for <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  10. docs/tr/docs/advanced/advanced-dependencies.md

    ### `yield` ve `scope` ile dependency'ler { #dependencies-with-yield-and-scope }
    
    0.121.0 sürümünde FastAPI, `Depends(scope="function")` desteğini ekledi.
    
    `Depends(scope="function")` kullanıldığında, `yield` sonrasındaki çıkış kodu, *path operation function* biter bitmez, response client'a geri gönderilmeden önce çalıştırılır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10K bytes
    - Click Count (0)
Back to Top