Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for Fset (0.02 sec)

  1. cmd/iam.go

    type cleanEntitiesQuery struct {
    	Users    map[string]set.StringSet
    	Groups   set.StringSet
    	Policies set.StringSet
    }
    
    // createCleanEntitiesQuery - maps users to their groups and normalizes user or group DNs if ldap.
    func (sys *IAMSys) createCleanEntitiesQuery(q madmin.PolicyEntitiesQuery, ldap bool) cleanEntitiesQuery {
    	cleanQ := cleanEntitiesQuery{
    		Users:    make(map[string]set.StringSet),
    		Groups:   set.CreateStringSet(q.Groups...),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          if (set.isEmpty()) {
            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * 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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        for (int i = 0; i < inputSize; i++) {
          builder.add(i % setSize);
        }
        ImmutableSet<Integer> set = builder.build();
        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
            ((RegularImmutableSet<Integer>) set).table.length);
      }
    
      public void testCopyOf_copiesImmutableSortedSet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
      public Set<Entry<K, V>> entries() {
        return (Set<Entry<K, V>>) super.entries();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/AbstractSetMultimap.java

       * {@link Set}, instead of the {@link Collection} specified in the {@link Multimap} interface.
       */
      @Override
      public Set<Entry<K, V>> entries() {
        return (Set<Entry<K, V>>) super.entries();
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>Because a {@code SetMultimap} has unique values for a given key, this method returns a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                  @Override
                  public SortedSet<String> create(String[] elements) {
                    SortedSet<String> set = new TreeSet<>(arbitraryNullFriendlyComparator());
                    Collections.addAll(set, elements);
                    return set;
                  }
                })
            .named("TreeSet, with comparator")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java

        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)
  8. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

          NavigableSet<E> set = (NavigableSet<E>) sortedSet;
          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return set.headSet(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
            return set.tailSet(firstExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return set.subSet(firstExclusive, false, lastExclusive, false);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      @BeforeExperiment
      void setUp() {
        checkArgument(size > 0, "empty collection not supported");
        Set<Integer> set = new LinkedHashSet<>(size);
    
        Random random = new Random();
        while (set.size() < size) {
          set.add(random.nextInt());
        }
        List<Integer> list = new ArrayList<>(set);
        inputOrder.arrange(list);
        input = ImmutableList.copyOf(list);
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      @BeforeExperiment
      void setUp() {
        checkArgument(size > 0, "empty collection not supported");
        Set<Integer> set = new LinkedHashSet<>(size);
    
        Random random = new Random();
        while (set.size() < size) {
          set.add(random.nextInt());
        }
        List<Integer> list = new ArrayList<>(set);
        inputOrder.arrange(list);
        input = ImmutableList.copyOf(list);
      }
    
      @Benchmark
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top