Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 1,122 for contextos (0.08 sec)

  1. okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt

    class OkHttpClientTestRuleTest {
      lateinit var extensionContext: ExtensionContext
    
      @RegisterExtension @JvmField
      val beforeEachCallback =
        BeforeEachCallback { context ->
          ******@****.***ionContext = context
        }
    
      @Test fun uncaughtException() {
        val testRule = OkHttpClientTestRule()
        testRule.beforeEach(extensionContext)
    
        val thread =
          object : Thread() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/templates.md

    * 在返回模板的*路径操作*中声明 `Request` 参数
    * 使用 `templates` 渲染并返回 `TemplateResponse`, 传递模板的名称、request对象以及一个包含多个键值对(用于Jinja2模板)的"context"字典,
    
    ```Python hl_lines="4  11  15-16"
    {!../../docs_src/templates/tutorial001.py!}
    ```
    
    /// note | "笔记"
    
    在FastAPI 0.108.0,Starlette 0.29.0之前,`name`是第一个参数。
    并且,在此之前,`request`对象是作为context的一部分以键值对的形式传递的。
    
    ///
    
    /// tip | "提示"
    
    通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。
    
    ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. docs/debugging/s3-verify/main.go

    		Prefix:    sourcePrefix,
    	}
    
    	topts := minio.ListObjectsOptions{
    		Recursive: true,
    		Prefix:    targetPrefix,
    	}
    
    	srcCh := sclnt.ListObjects(context.Background(), sourceBucket, sopts)
    	tgtCh := tclnt.ListObjects(context.Background(), targetBucket, topts)
    
    	srcCtnt, srcOk := nextObject(srcCh)
    	tgtCtnt, tgtOk := nextObject(tgtCh)
    
    	var srcEOF, tgtEOF bool
    
    	srcSha256 := sha256.New()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 22 15:12:47 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/BaseContext.java

        private final SmbTransportPool transportPool;
        private final CredentialsInternal defaultCredentials;
    
    
        /**
         * Construct a context
         * 
         * @param config
         *            configuration for the context
         * 
         */
        public BaseContext ( Configuration config ) {
            this.config = config;
            this.dfs = new DfsImpl(this);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  5. internal/http/check_port_linux.go

    					// the specified interface if any.
    					_ = syscall.SetsockoptString(int(fdPtr), syscall.SOL_SOCKET, syscall.SO_BINDTODEVICE, opts.Interface)
    				}
    			})
    			return nil
    		},
    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    	l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port))
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. cmd/sftp-server.go

    	switch tag {
    	case xsftp.AcceptNetworkError:
    		sftpLogOnceIf(context.Background(), err, "accept-limit-sftp")
    	case xsftp.AcceptChannelError:
    		sftpLogOnceIf(context.Background(), err, "accept-channel-sftp")
    	case xsftp.SSHKeyExchangeError:
    		sftpLogOnceIf(context.Background(), err, "key-exchange-sftp")
    	default:
    		sftpLogOnceIf(context.Background(), err, "unknown-error-sftp")
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. internal/rest/client.go

    	return
    }
    
    // ErrClientClosed returned when *Client is closed.
    var ErrClientClosed = errors.New("rest client is closed")
    
    // CallWithHTTPMethod - make a REST call with context, using a custom HTTP method.
    func (c *Client) CallWithHTTPMethod(ctx context.Context, httpMethod, rpcMethod string, values url.Values, body io.Reader, length int64) (reply io.ReadCloser, err error) {
    	switch atomic.LoadInt32(&c.connected) {
    	case closed:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 26 12:55:01 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. doc/README.md

    Atomically (as close to it as possible) add that file to `_content/doc` directory
    of the website repository and remove the `doc/next` directory in this repository.
    
    To begin the next release development cycle, populate the contents of `next`
    with those of `initial`. From the repo root:
    
        > cd doc
        > cp -R initial/ next
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jul 22 17:55:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

        private byte[] mic = null;
        private boolean micRequired;
    
    
        /**
         * Creates a Type-3 message using default values from the current
         * environment.
         * 
         * @param tc
         *            context to use
         */
        public Type3Message ( CIFSContext tc ) {
            setFlags(getDefaultFlags(tc));
            setDomain(tc.getConfig().getDefaultDomain());
            setUser(tc.getConfig().getDefaultUsername());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  10. scripts/deploy_docs_status.py

                description="No Docs Changes",
                context="deploy-docs",
                target_url=run_url,
            )
            logging.info("No docs changes found")
            return
        if not settings.deploy_url:
            current_commit.create_status(
                state="pending",
                description="Deploying Docs",
                context="deploy-docs",
                target_url=run_url,
            )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 09 15:52:41 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top