- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for Diff (0.03 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
istioctl/pkg/multicluster/remote_secret_test.go
users: - name: 54643f96-eca0-11e9-bb97-42010a80000a user: token: token --- `, clusterNameAnnotationKey, secretName, key) if diff := cmp.Diff(got, wantOutput); diff != "" { tt.Errorf("got\n%v\nwant\n%vdiff %v", got, c.want, diff) } } }) } } func TestGetServiceAccountSecretToken(t *testing.T) { secret := makeSecret("secret", "caData", "token")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
istioctl/pkg/writer/compare/route.go
if err != nil { return err } istiodBytes.WriteString(istiod) } diff := difflib.UnifiedDiff{ FromFile: "Istiod Routes", A: difflib.SplitLines(istiodBytes.String()), ToFile: "Envoy Routes", B: difflib.SplitLines(envoyBytes.String()), Context: c.context, } text, err := difflib.GetUnifiedDiffString(diff) if err != nil { return err } lastUpdatedStr := ""
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Mar 12 10:02:09 UTC 2024 - 2.3K bytes - Viewed (0)