Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 891 for difference (0.11 sec)

  1. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> enemies = newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
        assertEquals(2, goodFriends.size());
    
        ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Dave");
        assertEquals(1, goodFriends.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetOperationsTest.java

        Set<String> enemies = newHashSet("Dick", "Harry", "Tom");
    
        Set<String> goodFriends = Sets.difference(friends, enemies);
        assertEquals(2, goodFriends.size());
    
        ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy();
        HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>());
    
        enemies.add("Dave");
        assertEquals(1, goodFriends.size());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. 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>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Sep 26 04:40:32 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. 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
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. .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)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 20 17:37:40 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  8. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. 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++ {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Nov 30 20:05:58 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top