- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 37 for doDifference (0.07 seconds)
-
internal/config/lambda/event/targetidset.go
func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet { nset := set.Clone() for k := range sset { nset.add(k) } return nset } // Difference - returns difference with given set as new set. func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet { nset := NewTargetIDSet() for k := range set { if _, ok := sset[k]; !ok { nset.add(k) } } return nset }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
Instant monotonic = MonotonicClock.now(); Instant system = Instant.now(); // The difference should be relatively small (allow for 1 second max) Duration difference = Duration.between(monotonic, system).abs(); assertTrue(difference.getSeconds() <= 1, "Monotonic time should be reasonably aligned with system time"); }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
internal/event/rules.go
nrules[pattern] = nrules[pattern].Union(targetIDSet) } return nrules } // Difference - returns difference with given rules as new rules. func (rules Rules) Difference(rules2 Rules) Rules { nrules := make(Rules) for pattern, targetIDSet := range rules { if nv := targetIDSet.Difference(rules2[pattern]); len(nv) > 0 { nrules[pattern] = nv } } return nrules
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapDifference.java
* } */ @Override int hashCode(); /** * A difference between the mappings from two maps with the same key. The {@link #leftValue} and * {@link #rightValue} are not equal, and one but not both of them may be null. * * @since 2.0 */ @DoNotMock("Use Maps.difference") interface ValueDifference<V extends @Nullable Object> {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 3.4K bytes - Click Count (0) -
internal/event/targetidset.go
func (set TargetIDSet) Union(sset TargetIDSet) TargetIDSet { nset := set.Clone() for k := range sset { nset.add(k) } return nset } // Difference - returns difference with given set as new set. func (set TargetIDSet) Difference(sset TargetIDSet) TargetIDSet { nset := NewTargetIDSet() for k := range set { if _, ok := sset[k]; !ok { nset.add(k) } } return nset }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapDifference.java
* } */ @Override int hashCode(); /** * A difference between the mappings from two maps with the same key. The {@link #leftValue} and * {@link #rightValue} are not equal, and one but not both of them may be null. * * @since 2.0 */ @DoNotMock("Use Maps.difference") interface ValueDifference<V extends @Nullable Object> {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Predicates.not; import static com.google.common.collect.Multisets.difference; import static com.google.common.collect.Multisets.intersection; import static com.google.common.collect.Multisets.sum; import static com.google.common.collect.Multisets.union;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.7K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/bug_report.md
## Current Behavior <!--- If describing a bug, tell us what happens instead of the expected behavior --> <!--- If suggesting a change/improvement, explain the difference from current behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> <!--- or ideas how to implement the addition or change --> ## Steps to Reproduce (for bugs)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:29:55 GMT 2025 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java
* limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Predicates.not; import static com.google.common.collect.Multisets.difference; import static com.google.common.collect.Multisets.intersection; import static com.google.common.collect.Multisets.sum; import static com.google.common.collect.Multisets.union;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 9.7K bytes - Click Count (0) -
src/bytes/boundary_test.go
} for j := 1; j < len(q); j++ { q[j-1] = 1 // difference is only found on the last byte for i := range b { idx := Index(b[i:], q[:j]) if idx != -1 { t.Fatalf("Index(b[%d:], q[:%d])=%d, want -1\n", i, j, idx) } } q[j-1] = 0 } // Test differing alignments and sizes of q which always end on a page boundary. q[len(q)-1] = 1 // difference is only found on the last byte for j := 0; j < len(q); j++ {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 30 20:05:58 GMT 2023 - 2.8K bytes - Click Count (0)