Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  2. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MultisetsTest.java

        Multiset<String> ms2 = HashMultiset.create(asList("a", "b", "b", "b"));
        Multiset<String> diff = difference(ms1, ms2);
        assertThat(diff).contains("a");
        assertEquals(0, diff.count("b"));
        assertEquals(1, diff.count("a"));
        assertFalse(diff.contains("b"));
        assertTrue(diff.contains("a"));
      }
    
      public void testDifferenceEmptyNonempty() {
        Multiset<String> ms1 = HashMultiset.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. ci/official/containers/ml_build_arm64/builder.devtoolset/stringop_trunc.patch

    diff --git a/bits/utmp.h b/bits/utmp.h
    index 775123d..bf28c6d 100644
    --- a/bits/utmp.h
    +++ b/bits/utmp.h
    @@ -1,5 +1,5 @@
    -/* The `struct utmp' type, describing entries in the utmp file.  Generic/BSDish
    -   Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
    +/* The `struct utmp' type, describing entries in the utmp file.
    +   Copyright (C) 1993-2022 Free Software Foundation, Inc.
        This file is part of the GNU C Library.
     
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Nov 11 19:25:56 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  6. internal/lru/lru.go

    	c.mu.Lock()
    	defer c.mu.Unlock()
    	if size <= 0 {
    		c.size = 0
    		return 0
    	}
    	diff := c.evictList.Length() - size
    	if diff < 0 {
    		diff = 0
    	}
    	for i := 0; i < diff; i++ {
    		c.removeOldest()
    	}
    	c.size = size
    	return diff
    }
    
    // Close destroys cleanup goroutine. To clean up the cache, run Purge() before Close().
    // func (c *LRU[K, V]) Close() {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NetworkExplorer.java

            long diff;
    
            if (f1.isDirectory() != f2.isDirectory()) {
                return f1.isDirectory() ? -1 : 1;
            }
            if (f1.isDirectory()) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
            diff = f1.length() - f2.length();
            if (diff == 0) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            long diff;
    
            if (f1.isDirectory() != f2.isDirectory()) {
                return f1.isDirectory() ? -1 : 1;
            }
            if (f1.isDirectory()) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
            diff = f1.length() - f2.length();
            if (diff == 0) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. Makefile

    verifiers: lint check-gen
    
    check-gen: ## check for updated autogenerated files
    	@go generate ./... >/dev/null
    	@go mod tidy -compat=1.21
    	@(! git diff --name-only | grep '_gen.go$$') || (echo "Non-committed changes in auto-generated code is detected, please commit them to proceed." && false)
    	@(! git diff --name-only | grep 'go.sum') || (echo "Non-committed changes in auto-generated go.sum is detected, please commit them to proceed." && false)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Apr 27 00:44:22 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  10. docs/site-replication/run-multi-site-ldap.sh

    if [ "${val}" != "val2" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    
    # Test if bucket created/deleted when minio1 is down healed
    diff -q <(./mc ls minio1) <(./mc ls minio2) 1>/dev/null
    if [ $? -ne 0 ]; then
    	echo "expected 'bucket2' delete and 'newbucket2' creation to have replicated, exiting..."
    	exit_1
    fi
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top