Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 847 for features (0.05 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       * @return the implied set of features
       */
      public static Set<Feature<?>> impliedFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> impliedSet = new LinkedHashSet<>();
        Queue<Feature<?>> queue = new ArrayDeque<>(features);
        while (!queue.isEmpty()) {
          Feature<?> feature = queue.remove();
          for (Feature<?> implied : feature.getImpliedFeatures()) {
            if (!features.contains(implied) && impliedSet.add(implied)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    	sort.Strings(required)
    
    	take := func(sl *[]string) string {
    		s := (*sl)[0]
    		*sl = (*sl)[1:]
    		return s
    	}
    
    	for len(features) > 0 || len(required) > 0 {
    		switch {
    		case len(features) == 0 || (len(required) > 0 && required[0] < features[0]):
    			feature := take(&required)
    			if exceptionSet[feature] {
    				// An "unfortunate" case: the feature was once
    				// included in the API (e.g. go1.txt), but was
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

    import static com.google.common.collect.testing.features.FeatureUtil.getTesterAnnotations;
    import static com.google.common.collect.testing.features.FeatureUtil.impliedFeatures;
    import static com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.BAR;
    import static com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.FOO;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

              parentBuilder) {
        TestSetGenerator<E> delegate =
            (TestSetGenerator<E>) parentBuilder.getSubjectGenerator().getInnerGenerator();
    
        List<Feature<?>> features = new ArrayList<>();
        features.add(DESCENDING_VIEW);
        features.addAll(parentBuilder.getFeatures());
    
        return NavigableSetTestSuiteBuilder.using(
                new TestSetGenerator<E>() {
    
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
      private static Set<Feature<?>> computeReserializedCollectionFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> derivedFeatures = new HashSet<>(features);
        derivedFeatures.remove(SERIALIZABLE);
        derivedFeatures.remove(SERIALIZABLE_INCLUDING_VIEWS);
        return derivedFeatures;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    import com.google.common.collect.Multiset;
    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.TesterAnnotation;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

    import static com.google.common.collect.testing.features.FeatureUtil.addImpliedFeatures;
    import static java.util.Arrays.asList;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.Feature;
    import java.lang.reflect.Method;
    import java.util.ArrayList;
    import java.util.List;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsEntryTester.java

    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEYS;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_KEY_QUERIES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.MapFeature.ALLOWS_NULL_VALUE_QUERIES;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top