- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 195 for Difference (0.29 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
public void testDifference_minSize() { assertMinSize(difference(emptySet(), emptySet()), 0); assertMinSize(difference(setSize(2), setSize(3)), 0); assertMinSize(difference(setSize(3), setSize(2)), 1); assertMinSize(difference(setSizeRange(10, 20), setSizeRange(1, 2)), 8); assertMinSize(difference(setSizeRange(1, 2), setSizeRange(10, 20)), 0); assertMinSize(difference(setSizeRange(10, 20), setSizeRange(11, 12)), 0);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 29.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 Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
pom.xml
</difference> <difference> <className>jcifs/Configuration</className> <differenceType>7012</differenceType> <method>java.lang.String getGuestPassword()</method> </difference> <difference> <className>jcifs/SmbResource</className> <differenceType>7012</differenceType> <method>void setFileTimes(long, long, long)</method> </difference> </ignored>
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 12.1K 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 2.7K 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.8K 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 Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:29:55 GMT 2025 - 2.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapDifference.java
import org.jspecify.annotations.Nullable; /** * An object representing the differences between two maps. * * @author Kevin Bourrillion * @since 2.0 */ @DoNotMock("Use Maps.difference") @GwtCompatible public interface MapDifference<K extends @Nullable Object, V extends @Nullable Object> { /** * Returns {@code true} if there are no differences between the two maps; that is, if the maps are * equal. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 3.4K bytes - Click Count (0) -
internal/s3select/sql/timestampfuncs.go
default: return nil, errNotImplemented } return FromTimestamp(t.Add(duration)), nil } // dateDiff computes the difference between two times in terms of the // `timePart` which can be years, months, days, hours, minutes or // seconds. For difference in years, months or days, the time part, // including timezone is ignored. func dateDiff(timePart string, ts1, ts2 time.Time) (*Value, error) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.8K 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 Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Nov 30 20:05:58 GMT 2023 - 2.8K bytes - Click Count (0)