Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 115 for set7 (0.04 sec)

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

                  }
                });
      }
    
      public void testEquals() {
        SortedMultiset<String> set1 = ImmutableSortedMultiset.of("one");
        SortedMultiset<String> set2 = ImmutableSortedMultiset.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 12:56:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
        SortedSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> SortedSet<T> wrap(final SortedSet<T> delegate) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

                  }
                });
      }
    
      public void testEquals() {
        NavigableSet<String> set1 = ImmutableSortedSet.of("one");
        NavigableSet<String> set2 = ImmutableSortedSet.of("two");
        new EqualsTester()
            .addEqualityGroup(set1, wrap(set1), wrap(set1))
            .addEqualityGroup(set2, wrap(set2))
            .testEquals();
      }
    
      private static <T> NavigableSet<T> wrap(final NavigableSet<T> delegate) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    ((SETNE|SETL|SETG|SETB|SETA)     (FlagEQ))     => (MOVLconst [0])
    ((SETNE|SETL|SETLE|SETB|SETBE)   (FlagLT_ULT)) => (MOVLconst [1])
    ((SETEQ|SETG|SETGE|SETA|SETAE)   (FlagLT_ULT)) => (MOVLconst [0])
    ((SETNE|SETL|SETLE|SETA|SETAE)   (FlagLT_UGT)) => (MOVLconst [1])
    ((SETEQ|SETG|SETGE|SETB|SETBE)   (FlagLT_UGT)) => (MOVLconst [0])
    ((SETNE|SETG|SETGE|SETB|SETBE)   (FlagGT_ULT)) => (MOVLconst [1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  5. pkg/util/sets/set_test.go

    		if _, exist := set[e]; !exist {
    			t.Errorf("%s is not in set %v", e, set)
    		}
    	}
    }
    
    func TestUnion(t *testing.T) {
    	elements := []string{"a", "b", "c", "d"}
    	elements2 := []string{"a", "b", "e"}
    	want := New("a", "b", "c", "d", "e")
    	for _, sets := range [][]Set[string]{
    		{New(elements...), New(elements2...)},
    		{New(elements2...), New(elements...)},
    	} {
    		s1, s2 := sets[0], sets[1]
    		if got := s1.Union(s2); !got.Equals(want) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            "getCppCompiler" | "isCppCompiler" | "setCppCompiler" | "cppCompiler"
            "getCPPCompiler" | "isCPPCompiler" | "setCPPCompiler" | "CPPCompiler"
            "getA"           | "isA"           | "setA"           | "a"
            "getb"           | "isb"           | "setb"           | "b"
        }
    
        static class Bean {
            private String myurl, myURL, mycCompiler, myCCompilerField, mycppCompilerField, myCPPCompilerField, mya, myb
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

              source);
        }
      }
    
      /** Construct a new {@link java.util.Set} that is the intersection of the given sets. */
      public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) {
        Set<T> result = Helpers.<T>copyToSet(set1);
        result.retainAll(set2);
        return result;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

              source);
        }
      }
    
      /** Construct a new {@link java.util.Set} that is the intersection of the given sets. */
      public static <T> Set<T> intersection(Set<? extends T> set1, Set<? extends T> set2) {
        Set<T> result = Helpers.<T>copyToSet(set1);
        result.retainAll(set2);
        return result;
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        Set<String> set1 = Sets.newHashSet(elements);
                        set1.add(samples().e3());
                        Set<String> set2 = Sets.newHashSet(elements);
                        set2.add(samples().e4());
                        return Sets.intersection(set1, set2);
                      }
                    })
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 49.2K bytes
    - Viewed (0)
  10. test/typeparam/sets.go

    	}
    	return true
    }
    
    // A _Set is a set of elements of some type.
    type _Set[Elem comparable] struct {
    	m map[Elem]struct{}
    }
    
    // _Make makes a new set.
    func _Make[Elem comparable]() _Set[Elem] {
    	return _Set[Elem]{m: make(map[Elem]struct{})}
    }
    
    // Add adds an element to a set.
    func (s _Set[Elem]) Add(v Elem) {
    	s.m[v] = struct{}{}
    }
    
    // Delete removes an element from a set. If the element is not present
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 5.7K bytes
    - Viewed (0)
Back to top