Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for Diff (0.02 sec)

  1. guava-tests/test/com/google/common/cache/CacheStatsTest.java

        CacheStats diff = two.minus(one);
        assertEquals(76, diff.requestCount());
        assertEquals(42, diff.hitCount());
        assertThat(diff.hitRate()).isEqualTo(42.0 / 76);
        assertEquals(34, diff.missCount());
        assertThat(diff.missRate()).isEqualTo(34.0 / 76);
        assertEquals(26, diff.loadSuccessCount());
        assertEquals(22, diff.loadExceptionCount());
        assertThat(diff.loadExceptionRate()).isEqualTo(22.0 / 48);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

            # To get the as-merged branch during the CI tests
            git diff --diff-filter ACMRT --name-only pull_branch^ pull_branch > $BATS_FILE_TMPDIR/changed_files
        else
            # If the branch is not present, then diff against origin/master
            git diff --diff-filter ACMRT --name-only origin/master > $BATS_FILE_TMPDIR/changed_files
        fi
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. ci/official/utilities/code_check_changed_files.bats

            # To get the as-merged branch during the CI tests
            git diff --diff-filter ACMRT --name-only pull_branch^ pull_branch > $BATS_FILE_TMPDIR/changed_files
        else
            # If the branch is not present, then diff against origin/master
            git diff --diff-filter ACMRT --name-only origin/master > $BATS_FILE_TMPDIR/changed_files
        fi
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jan 10 19:39:41 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. docs/bucket/replication/setup_2site_existing_replication.sh

    ./mc ls -r --versions sitea/bucket >/tmp/sitea.txt
    ./mc ls -r --versions siteb/bucket >/tmp/siteb.txt
    
    out=$(diff -qpruN /tmp/sitea.txt /tmp/siteb.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no 'diff' after replication: $out"
    	exit 1
    fi
    
    ./mc rm -r --force --versions sitea/bucket/marker
    sleep 14s ## sleep for 14s idea is that we give 100ms per object.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/compare/cluster.go

    		if err != nil {
    			return err
    		}
    		istiodBytes.WriteString(istiod)
    	}
    	diff := difflib.UnifiedDiff{
    		FromFile: "Istiod Clusters",
    		A:        difflib.SplitLines(istiodBytes.String()),
    		ToFile:   "Envoy Clusters",
    		B:        difflib.SplitLines(envoyBytes.String()),
    		Context:  c.context,
    	}
    	text, err := difflib.GetUnifiedDiffString(diff)
    	if err != nil {
    		return err
    	}
    	if text != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. common/scripts/check_clean_repo.sh

    #   limitations under the License.
    
    function write_patch_file() {
        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
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 27 16:44:16 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/compare/listener.go

    		if err != nil {
    			return err
    		}
    		istiodBytes.WriteString(istiod)
    	}
    	diff := difflib.UnifiedDiff{
    		FromFile: "Istiod Listeners",
    		A:        difflib.SplitLines(istiodBytes.String()),
    		ToFile:   "Envoy Listeners",
    		B:        difflib.SplitLines(envoyBytes.String()),
    		Context:  c.context,
    	}
    	text, err := difflib.GetUnifiedDiffString(diff)
    	if err != nil {
    		return err
    	}
    	if text != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Apr 04 20:29:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    diff --git a/iconv/gconv.h b/iconv/gconv.h
    index 3f9112e..8e60197 100644
    --- a/iconv/gconv.h
    +++ b/iconv/gconv.h
    @@ -174,7 +174,7 @@ typedef struct __gconv_info
     {
       size_t __nsteps;
       struct __gconv_step *__steps;
    -  __extension__ struct __gconv_step_data __data __flexarr;
    +  __extension__ struct __gconv_step_data __data[0];
     } *__gconv_t;
     
     #endif /* gconv.h */
    diff --git a/include/libc-symbols.h b/include/libc-symbols.h
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/comparator_test.go

    	comparator, err := NewComparator(&outputBuffer, map[string][]byte{"default": cfg}, cfg)
    	if err != nil {
    		t.Fatalf("Failed to create Comparator: %v", err)
    	}
    	err = comparator.Diff()
    	if err != nil {
    		t.Errorf("Unexpected error during diff: %v", err)
    	}
    
    	expected := []string{"Clusters Match", "Listeners Match", "Routes Match"}
    	for _, exp := range expected {
    		if !bytes.Contains(outputBuffer.Bytes(), []byte(exp)) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. 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)
Back to top