Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 167 for diffCh (0.12 sec)

  1. cmd/admin-bucket-handlers.go

    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    	defer keepAliveTicker.Stop()
    
    	diffCh, err := getReplicationDiff(ctx, objectAPI, bucket, opts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	enc := json.NewEncoder(w)
    	for {
    		select {
    		case entry, ok := <-diffCh:
    			if !ok {
    				return
    			}
    			if err := enc.Encode(entry); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    		replLogIf(ctx, err)
    		return nil, err
    	}
    	rcfg := replicationConfig{
    		Config:  cfg,
    		remotes: tgts,
    	}
    	diffCh := make(chan madmin.DiffInfo, 4000)
    	go func() {
    		defer xioutil.SafeClose(diffCh)
    		for res := range objInfoCh {
    			if res.Err != nil {
    				diffCh <- madmin.DiffInfo{Err: res.Err}
    				return
    			}
    			if contextCanceled(ctx) {
    				// Just consume input...
    				continue
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/sds/writer_test.go

    func TestSDSWriterSecretDiff(t *testing.T) {
    	tests := []struct {
    		name       string
    		format     Format
    		diffs      []SecretItemDiff
    		expected   []string
    		unexpected []string
    	}{
    		{
    			name:       "test tabular output with no secret items is equivalent to the header",
    			format:     TABULAR,
    			diffs:      []SecretItemDiff{},
    			expected:   []string{},
    			unexpected: secretDiffColumns,
    		},
    		{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  4. common/scripts/check_clean_repo.sh

        if [ -z "${ARTIFACTS}" ]; then
          return 0
        fi
    
        PATCH_NAME="check-clean-repo-diff.patch"
        PATCH_OUT="${ARTIFACTS}/${PATCH_NAME}"
        git diff > "${PATCH_OUT}"
    
        [ -n "${JOB_NAME}" ] && [ -n "${BUILD_ID}" ]
        # shellcheck disable=SC2319
        IN_PROW="$?"
    
        # Don't persist large diffs (30M+) on CI
        LARGE_FILE="$(find "${ARTIFACTS}" -name "${PATCH_NAME}" -type 'f' -size +30M)"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 27 16:44:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/hash/HashTestUtils.java

              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            assertThat(prob).isWithin(epsilon).of(0.50d);
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/comparator.go

    		return nil, err
    	}
    	c.envoy = envoyDump
    	c.w = w
    	c.context = 7
    	c.location = "Local" // the time.Location for formatting time.Time instances
    	return c, nil
    }
    
    // Diff prints a diff between Istiod and Envoy to the passed writer
    func (c *Comparator) Diff() error {
    	if err := c.ClusterDiff(); err != nil {
    		return err
    	}
    	if err := c.ListenerDiff(); err != nil {
    		return err
    	}
    	return c.RouteDiff()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/sds/writer.go

    }
    
    // sdsWriter is provided concrete implementation of SDSWriter
    type sdsWriter struct {
    	w      io.Writer
    	output Format
    }
    
    // PrintSecretItems uses the user supplied output format to determine how to display the diffed secrets
    func (w *sdsWriter) PrintSecretItems(secrets []SecretItem) error {
    	var err error
    	switch w.output {
    	case JSON:
    		err = w.printSecretItemsJSON(secrets)
    	case TABULAR:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

      + Only use spaces for indentation.
      + Create minimal diffs - disable on save actions like reformat source code or organize imports.
        If you feel the source code should be reformatted, create a separate PR for this change.
      + Check for unnecessary whitespace with `git diff --check` before committing.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sun Oct 10 09:48:27 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  9. .github/ISSUE_TEMPLATE/11-language-change.yml

        id: error-handling-proposal
        attributes:
          label: Does this affect error handling?
          description: If so, how does this differ from previous error handling proposals?
          placeholder: |
           Yes or No
    
           If yes, 
            1.how does this differ from previous error handling proposals?
    
        validations:
          required: true
    
      - type: textarea
        id: generics-proposal
        attributes:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 19:02:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. docs/ftp/README.md

    Valid values: 
    
    ```
    curve25519-sha256
    ******@****.***
    ecdh-sha2-nistp256
    ecdh-sha2-nistp384
    ecdh-sha2-nistp521
    diffie-hellman-group14-sha256
    diffie-hellman-group16-sha512
    diffie-hellman-group14-sha1
    diffie-hellman-group1-sha1
    ```
    
    `--sftp=cipher-algos=...` specifies the allowed cipher algorithms. 
    If unspecified then a sensible default is used.
    
    Valid values: 
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 06:41:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top