Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Diff (0.03 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRuleSetup.java

            context.putUserData(CURRENT_ACCESSORS_OF_UPGRADED_PROPERTIES, diff(
                currentAccessorsOfUpgradedProperties(currentUpgradedProperties),
                currentAccessorsOfUpgradedProperties(baselineUpgradedProperties)
            ));
            context.putUserData(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES, diff(
                oldRemovedAccessorsOfUpgradedProperties(currentUpgradedProperties),
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. docs/distributed/decom.sh

    ./mc ls -r myminio/versioned >decommissioned_ns.txt
    ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt
    
    out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after decommission: $out"
    	exit 1
    fi
    
    out=$(diff -qpruN expanded_ns_versions.txt decommissioned_ns_versions.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common.go

    		}
    		nano := t.UnixNano()
    		if group > 0 {
    			for k := range timeOccurrenceMap {
    				if k == nano {
    					// We add to ourself later
    					continue
    				}
    				diff := k - nano
    				if diff < 0 {
    					diff = -diff
    				}
    				// We are within the limit
    				if diff < groupNano {
    					timeOccurrenceMap[k]++
    				}
    			}
    		}
    		// Add ourself...
    		timeOccurrenceMap[nano]++
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. docs/bucket/replication/setup_3site_replication.sh

    sleep 1
    
    echo "Verifying the metadata difference between source and target"
    if diff -pruN <(./mc stat --no-list --json sitea/bucket/hosts | jq .) <(./mc stat --no-list --json siteb/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
    	echo "verified sitea-> COMPLETED, siteb-> REPLICA"
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. docs/bucket/replication/delete-replication.sh

    ./mc ls -r --versions myminio1/testbucket >/tmp/myminio1.txt
    ./mc ls -r --versions myminio2/testbucket >/tmp/myminio2.txt
    
    out=$(diff -qpruN /tmp/myminio1.txt /tmp/myminio2.txt)
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: expected no missing entries after replication: $out"
    	exit 1
    fi
    
    ./mc rm myminio1/testbucket/dir/file
    sleep 1s
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top