- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for diff (0.03 sec)
-
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) -
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) -
.github/workflows/upgrade-to-latest-wrapper.yml
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Aug 21 23:08:02 UTC 2025 - 1.3K bytes - Viewed (0) -
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) -
.teamcity/scripts/update_wrapper_and_create_pr.sh
export WRAPPER_VERSION="$promotedVersion" fi ./gradlew wrapper --gradle-version=$WRAPPER_VERSION ./gradlew wrapper git add gradle && git add gradlew && git add gradlew.bat if git diff --cached --quiet; then echo "No changes to commit" exit 0 fi BRANCH_NAME="devprod/update-wrapper-$(date +%Y%m%d-%H%M%S)" git switch -c $BRANCH_NAME
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Tue Jul 29 03:20:20 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/en/docs/tutorial/extra-data-types.md
* `datetime.timedelta`: * A Python `datetime.timedelta`. * In requests and responses will be represented as a `float` of total seconds. * Pydantic also allows representing it as a "ISO 8601 time diff encoding", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#custom-serializers" class="external-link" target="_blank">see the docs for more info</a>. * `frozenset`:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.7K bytes - Viewed (0) -
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) -
tests/update_test.go
} } func TestUpdateWithDiffSchema(t *testing.T) { user := GetUser("update-diff-schema-1", Config{}) DB.Create(&user) type UserTemp struct { Name string } err := DB.Model(&user).Updates(&UserTemp{Name: "update-diff-schema-2"}).Error AssertEqual(t, err, nil) AssertEqual(t, "update-diff-schema-2", user.Name) } type TokenOwner struct { ID int Name string
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 30.4K bytes - Viewed (0) -
cmd/leak-detect_test.go
var stackDiff []string for _, g := range pickRelevantGoroutines() { // Identify the Go routines those were not present in the initial snapshot. // In other words a stack diff. if !initialSnapShot.relevantRoutines[g] { stackDiff = append(stackDiff, g) } } return stackDiff } // DetectLeak - Creates a snapshot of runtime stack and compares it with the initial stack snapshot.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/erasure-server-pool-rebalance.go
return true } pfi := float64(poolStats.InitFreeSpace+poolStats.Bytes) / float64(poolStats.InitCapacity) // Mark pool rebalance as done if within 5% from PercentFreeGoal. if diff := math.Abs(pfi - r.PercentFreeGoal); diff <= 0.05 { r.PoolStats[poolIdx].Info.Status = rebalCompleted r.PoolStats[poolIdx].Info.EndTime = time.Now() return true } return false }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Sep 04 20:47:24 UTC 2025 - 28.9K bytes - Viewed (0)