Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,039 for subSet (0.2 sec)

  1. guava/src/com/google/common/collect/ForwardingNavigableSet.java

       * boolean, Object, boolean)} method. If you override {@link #subSet(Object, boolean, Object,
       * boolean)}, you may wish to override {@link #subSet(Object, Object)} to forward to this
       * implementation.
       */
      @Override
      protected SortedSet<E> standardSubSet(
          @ParametricNullness E fromElement, @ParametricNullness E toElement) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 12 15:26:39 GMT 2023
    - 9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
       * invokeAny} which are pending serial execution, even the subset of the tasks that have not yet
       * started execution. It is unclear from the {@code ExecutorService} specification if these should
       * be included, and it's much easier to implement the interpretation that they not be. Finally, a
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

        List<Feature<?>> features = new ArrayList<>(parentBuilder.getFeatures());
        features.remove(CollectionFeature.ALLOWS_NULL_VALUES);
        features.add(CollectionFeature.SUBSET_VIEW);
    
        return newBuilderUsing(delegate, to, from)
            .named(parentBuilder.getName() + " subSet " + from + "-" + to)
            .withFeatures(features)
            .suppressing(parentBuilder.getSuppressedTests())
            .withSetUp(parentBuilder.getSetUp())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe.go

    }
    
    // getDestRuleSubsets gets names of subsets that match any pod labels (also, ones that don't match).
    func getDestRuleSubsets(subsets []*v1alpha3.Subset, podsLabels []klabels.Set) ([]string, []string) {
    	matchingSubsets := make([]string, 0, len(subsets))
    	nonmatchingSubsets := make([]string, 0, len(subsets))
    	for _, subset := range subsets {
    		subsetSelector := klabels.SelectorFromSet(subset.Labels)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

        powerSet = Sets.powerSet(set);
      }
    
      @Benchmark
      int iteration(int reps) {
        int sum = 0;
        for (int i = 0; i < reps; i++) {
          for (Set<Integer> subset : powerSet) {
            for (Integer value : subset) {
              sum += value;
            }
          }
        }
        return sum;
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  6. operator/cmd/mesh/test-util_test.go

    			return v
    		}
    	}
    	return nil
    }
    
    // kind returns a subset of o where kind matches the given value.
    func (o *ObjectSet) kind(kind string) *ObjectSet {
    	ret := &ObjectSet{}
    	for k, v := range o.objMap {
    		objKind, _, _ := object.FromHash(k)
    		if objKind == kind {
    			ret.append(v)
    		}
    	}
    	return ret
    }
    
    // labels returns a subset of o where the object's labels match all the given labels.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
          set.add(tooLow);
          return checkedCreate(set).subSet(tooLow + 1, tooHigh);
        }
      }
    
      @GwtIncompatible // NavigableSet
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

      }
    
      @Override
      public NavigableSet<E> subSet(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
        return new SafeTreeSet<>(
            delegate.subSet(
                checkValid(fromElement), fromInclusive, checkValid(toElement), toInclusive));
      }
    
      @Override
      public SortedSet<E> subSet(E fromElement, E toElement) {
        return subSet(fromElement, true, toElement, false);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            for (int i = 0; i < 10; i++) {
              for (int j = i; j < 10; j++) {
                assertEquals(
                    filter((C) createUnfiltered(contents).subSet(i, j), EVEN),
                    filter(createUnfiltered(contents), EVEN).subSet(i, j));
              }
            }
          }
        }
      }
    
      public abstract static class AbstractFilteredNavigableSetTest
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            for (int i = 0; i < 10; i++) {
              for (int j = i; j < 10; j++) {
                assertEquals(
                    filter((C) createUnfiltered(contents).subSet(i, j), EVEN),
                    filter(createUnfiltered(contents), EVEN).subSet(i, j));
              }
            }
          }
        }
      }
    
      public abstract static class AbstractFilteredNavigableSetTest
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.4K bytes
    - Viewed (0)
Back to top