Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 1,832 for context_ (0.26 seconds)

  1. cmd/metrics-v3-system-memory.go

    	memAvailableMD = NewGaugeMD(memAvailable, "Available memory on the node")
    )
    
    // loadMemoryMetrics - `MetricsLoaderFn` for node memory metrics.
    func loadMemoryMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	memMetrics, err := c.memoryMetrics.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return err
    	}
    
    	m.Set(memTotal, float64(memMetrics.Total))
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/templates.md

    * 在返回模板的*路径操作*中声明 `Request` 参数
    * 使用 `templates` 渲染并返回 `TemplateResponse`,传递模板的名称、request 对象以及一个包含多个键值对(用于 Jinja2 模板)的 "context" 字典。
    
    {* ../../docs_src/templates/tutorial001_py310.py hl[4,11,15:18] *}
    
    /// note | 注意
    
    在 FastAPI 0.108.0,Starlette 0.29.0 之前,`name` 是第一个参数。
    并且,在此之前,`request` 对象是作为 context 的一部分以键值对的形式传递的。
    
    ///
    
    /// tip | 提示
    
    通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. internal/http/listener.go

    // httpListener is capable to
    // * listen to multiple addresses
    // * controls incoming connections only doing HTTP protocol
    func newHTTPListener(ctx context.Context, serverAddrs []string, opts TCPOptions) (listener *httpListener, listenErrs []error) {
    	listeners := make([]net.Listener, 0, len(serverAddrs))
    	listenErrs = make([]error, len(serverAddrs))
    
    	if opts.Trace == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

                RequestTrace trace,
                String context,
                ArtifactResolver resolver,
                VersionRangeResolver versionRangeResolver,
                RemoteRepositoryManager remoteRepositoryManager,
                List<RemoteRepository> repositories) {
            this.session = session;
            this.trace = trace;
            this.context = context;
            this.resolver = resolver;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  5. cmd/bucket-listobjects-handlers.go

    	api.listObjectsV2Handler(ctx, w, r, false)
    }
    
    // listObjectsV2Handler performs listing either with or without extra metadata.
    func (api objectAPIHandlers) listObjectsV2Handler(ctx context.Context, w http.ResponseWriter, r *http.Request, metadata bool) {
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. cmd/event-notification.go

    	}
    
    	// Add deployment as part of response elements.
    	respElements["x-minio-deployment-id"] = globalDeploymentID()
    	if args.RespElements["content-length"] != "" {
    		respElements["content-length"] = args.RespElements["content-length"]
    	}
    
    	keyName := args.Object.Name
    	if escape {
    		keyName = url.QueryEscape(args.Object.Name)
    	}
    
    	newEvent := event.Event{
    		EventVersion:      "2.0",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 21 22:22:24 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  7. docs/smb3-features/03-multi-channel-design.md

        // Requires multi-NIC test environment
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useMultiChannel", "true");
        context.getConfig().setProperty("jcifs.smb.client.maxChannels", "4");
        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
        // Measure single channel throughput
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *          If the server or workgroup of the {@code context} file cannot be determined
         */
    
        public SmbFile(final SmbFile context, final String name) throws MalformedURLException, UnknownHostException {
            this(context.isWorkgroup0() ? new URL(null, "smb1://" + name, Handler.SMB_HANDLER)
                    : new URL(context.url, name, Handler.SMB_HANDLER), context.auth);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

         * @param sessionKey
         * @param label
         * @param context
         */
        private static byte[] derive(final byte[] sessionKey, final byte[] label, final byte[] context) {
            final KDFCounterBytesGenerator gen = new KDFCounterBytesGenerator(new HMac(new SHA256Digest()));
    
            final int r = 32;
            final byte[] suffix = new byte[label.length + context.length + 5];
            // per bouncycastle
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. tensorflow/c/eager/c_api_unified_experimental.h

    // Creates a new TensorFlow function. A Function is an execution context, and as
    // such it can trace operations through TF_ExecuteOperation. After completing
    // tracing, a function can be obtained by TF_FinalizeFunction.
    TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* status);
    
    // Creates a context for eager execution of operations.
    TF_ExecutionContext* TF_NewEagerExecutionContext(TFE_ContextOptions*,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Click Count (0)
Back to Top