Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 387 for ctx_ (0.02 seconds)

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

  1. cmd/metrics-v3-bucket-replication.go

    // such as latency and sent bytes.
    func loadBucketReplicationMetrics(ctx context.Context, m MetricValues, c *metricsCache, buckets []string) error {
    	if globalSiteReplicationSys.isEnabled() {
    		return nil
    	}
    
    	dataUsageInfo, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jun 04 20:45:31 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. tests/test_put_no_body.py

                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
                                "ctx": {"title": "Context", "type": "object"},
                            },
                        },
                        "HTTPValidationError": {
                            "title": "HTTPValidationError",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. cmd/metacache-entries.go

    // otherwise the function will return nil.
    func mergeEntryChannels(ctx context.Context, in []chan metaCacheEntry, out chan<- metaCacheEntry, readQuorum int) error {
    	defer xioutil.SafeClose(out)
    	top := make([]*metaCacheEntry, len(in))
    	nDone := 0
    	ctxDone := ctx.Done()
    
    	// Use simpler forwarder.
    	if len(in) == 1 {
    		for {
    			select {
    			case <-ctxDone:
    				return ctx.Err()
    			case v, ok := <-in[0]:
    				if !ok {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 08 15:29:58 GMT 2024
    - 24.1K bytes
    - Click Count (0)
  4. cmd/metrics-realtime.go

    			}
    		}
    
    		metrics[d.Endpoint] = dm
    	}
    	return metrics
    }
    
    func collectRemoteMetrics(ctx context.Context, types madmin.MetricType, opts collectMetricsOpts) (m madmin.RealtimeMetrics) {
    	if !globalIsDistErasure {
    		return m
    	}
    	all := globalNotificationSys.GetMetrics(ctx, types, opts)
    	for _, remote := range all {
    		m.Merge(&remote)
    	}
    	return m
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_additional_responses/test_tutorial002.py

                                "type": {"title": "Error Type", "type": "string"},
                                "input": {"title": "Input"},
                                "ctx": {"title": "Context", "type": "object"},
                            },
                        },
                        "HTTPValidationError": {
                            "title": "HTTPValidationError",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 10:53:47 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  6. finisher_api.go

    	)
    
    	if len(opts) > 0 {
    		opt = opts[0]
    	}
    
    	ctx := tx.Statement.Context
    	if db.DefaultTransactionTimeout > 0 {
    		if _, ok := ctx.Deadline(); !ok {
    			ctx, _ = context.WithTimeout(ctx, db.DefaultTransactionTimeout)
    		}
    	}
    
    	switch beginner := tx.Statement.ConnPool.(type) {
    	case TxBeginner:
    		tx.Statement.ConnPool, err = beginner.BeginTx(ctx, opt)
    	case ConnPoolBeginner:
    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)
  7. cmd/config-migrate.go

    }
    
    // Load config from backend
    func Load(configFile string, data any) (quick.Config, error) {
    	return quick.LoadConfig(configFile, globalEtcdClient, data)
    }
    
    func readConfigWithoutMigrate(ctx context.Context, objAPI ObjectLayer) (config.Config, error) {
    	// Construct path to config.json for the given bucket.
    	configFile := path.Join(minioConfigPrefix, minioConfigFile)
    
    	configFiles := []string{
    		getConfigFile(),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_body/test_tutorial001.py

            "detail": [
                {
                    "type": "json_invalid",
                    "loc": ["body", 1],
                    "msg": "JSON decode error",
                    "input": {},
                    "ctx": {"error": "Expecting property name enclosed in double quotes"},
                }
            ]
        }
    
    
    def test_post_form_for_json(client: TestClient):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  9. internal/http/transports.go

    // communicating with client cert authentication.
    func (s ConnSettings) NewHTTPTransportWithClientCerts(ctx context.Context, clientCert, clientKey string) (*http.Transport, error) {
    	transport := s.NewHTTPTransportWithTimeout(1 * time.Minute)
    	if clientCert != "" && clientKey != "" {
    		c, err := certs.NewManager(ctx, clientCert, clientKey, tls.LoadX509KeyPair)
    		if err != nil {
    			return nil, err
    		}
    		if c != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 17:51:53 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. internal/kms/config.go

    		go func() {
    			timer := time.NewTicker(10 * time.Second)
    			defer timer.Stop()
    			defaultKey := env.Get(EnvKESDefaultKey, "")
    			for {
    				select {
    				case <-ctx.Done():
    					return
    				case <-timer.C:
    					client.DescribeKey(ctx, defaultKey)
    				}
    			}
    		}()
    
    		return &KMS{
    			Type:       MinKES,
    			DefaultKey: env.Get(EnvKESDefaultKey, ""),
    			conn: &kesConn{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15K bytes
    - Click Count (0)
Back to Top