Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,524 for var (0.07 sec)

  1. cmd/sts-handlers_test.go

        }
    }
    `,
    	}
    	exportContent := map[string][]byte{}
    	for k, v := range exportContentStrings {
    		exportContent[k] = []byte(v)
    	}
    
    	var importContent []byte
    	{
    		var b bytes.Buffer
    		zipWriter := zip.NewWriter(&b)
    		rawDataFn := func(r io.Reader, filename string, sz int) error {
    			header, zerr := zip.FileInfoHeader(dummyFileInfo{
    				name:    filename,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  2. architecture/ambient/ztunnel-cni-lifecycle.md

    This includes setting up networking rules within both the pod network namespace and the host network.
    For more information on the rules, see the [CNI README](../../cni/README.md).
    This is done by an HTTP server running on `/var/run/istio-cni/pluginevent.sock`.
    
    An alternative flow is when a pod is enrolled into ambient mode after it starts up.
    In this case, the CNI Agent is watching for Pod events from the API server directly and performing the same setup.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			},
    		},
    	}
    	b, err := xml.MarshalIndent(&lc, "", "\t")
    	if err != nil {
    		t.Fatal(err)
    	}
    	var lc1 Lifecycle
    	err = xml.Unmarshal(b, &lc1)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	ruleSet := make(map[string]struct{})
    	for _, rule := range lc.Rules {
    		ruleBytes, err := xml.Marshal(rule)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. cmd/bucket-replication-metrics.go

    	}
    	if s.idx == s.window-1 {
    		s.filledBuf = true
    	}
    	s.idx = (s.idx + 1) % s.window
    }
    
    func (s *SMA) simpleMovingAvg() float64 {
    	if s.filledBuf {
    		return s.prevSMA
    	}
    	var tot float64
    	for _, r := range s.buf {
    		tot += r
    	}
    	return tot / float64(s.idx+1)
    }
    
    const (
    	defaultWindowSize = 10
    )
    
    type proxyStatsCache struct {
    	srProxyStats ProxyMetric
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. cmd/batch-rotate.go

    		VersionSuspended: versionSuspended,
    		NoLock:           true,
    	}
    	obj, err := api.GetObjectInfo(ctx, r.Bucket, objInfo.Name, opts)
    	if err != nil {
    		return err
    	}
    	oi := obj.Clone()
    	var (
    		newKeyID      string
    		newKeyContext kms.Context
    	)
    	encMetadata := make(map[string]string)
    	for k, v := range oi.UserDefined {
    		if stringsHasPrefixFold(k, ReservedMetadataPrefixLower) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. internal/s3select/sql/funceval.go

    	sqlFnLower           FuncName = "LOWER"
    	sqlFnSubstring       FuncName = "SUBSTRING"
    	sqlFnTrim            FuncName = "TRIM"
    	sqlFnUpper           FuncName = "UPPER"
    )
    
    var (
    	errUnimplementedCast = errors.New("This cast not yet implemented")
    	errNonStringTrimArg  = errors.New("TRIM() received a non-string argument")
    	errNonTimestampArg   = errors.New("Expected a timestamp argument")
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  7. docs/recipes.md

                println(key)
                println(value.content)
              }
            }
          }
    
          @JsonClass(generateAdapter = true)
          data class Gist(var files: Map<String, GistFile>?)
    
          @JsonClass(generateAdapter = true)
          data class GistFile(var content: String?)
        ```
    === ":material-language-java: Java"
        ```java
          private final OkHttpClient client = new OkHttpClient();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  8. internal/config/notify/help.go

    	queueDirComment   = `staging dir for undelivered messages e.g. '/home/events'`
    	queueLimitComment = `maximum limit for undelivered messages, defaults to '100000'`
    )
    
    // Help template inputs for all notification targets
    var (
    	HelpWebhook = config.HelpKVS{
    		config.HelpKV{
    			Key:         target.WebhookEndpoint,
    			Description: "webhook server endpoint e.g. http://localhost:8080/minio/events",
    			Type:        "url",
    			Sensitive:   true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. common/scripts/kind_provisioner.sh

          [ -s "${CLUSTER_KUBECONFIG}" ] && break
          sleep 3
        done
    
        # Enable core dumps
        retry docker exec "${CLUSTER_NAME}"-control-plane bash -c "sysctl -w kernel.core_pattern=/var/lib/istio/data/core.proxy && ulimit -c unlimited"
      }
    
      # Now deploy the specified number of KinD clusters and
      # wait till they are provisioned successfully.
      declare -a DEPLOY_KIND_JOBS
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Aug 21 04:47:23 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. internal/bucket/object/lock/lock_test.go

    			expectErr:   true,
    		},
    	}
    	for _, tt := range tests {
    		d, err := xml.MarshalIndent(&tt.value, "", "\t")
    		if err != nil {
    			t.Fatal(err)
    		}
    		var dr DefaultRetention
    		err = xml.Unmarshal(d, &dr)
    		//nolint:gocritic
    		if tt.expectedErr == nil {
    			if err != nil {
    				t.Fatalf("error: expected = <nil>, got = %v", err)
    			}
    		} else if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
Back to top