Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,987 for setI (0.05 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Set;
    
    /**
     * Very simple powerSet iteration benchmark.
     *
     * @author Kevin Bourrillion
     */
    public class PowerSetBenchmark {
      @Param({"2", "4", "8", "16"})
      int elements;
    
      Set<Set<Integer>> powerSet;
    
      @BeforeExperiment
      void setUp() {
        Set<Integer> set = ContiguousSet.create(Range.closed(1, elements), integers());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        }
      }
    
      static <E extends @Nullable Object> Collection<E> filterCollection(
          Collection<E> collection, Predicate<? super E> predicate) {
        if (collection instanceof Set) {
          return Sets.filter((Set<E>) collection, predicate);
        } else {
          return Collections2.filter(collection, predicate);
        }
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

      }
    
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return (Set<V>) super.get(key);
      }
    
      @Override
      public Set<V> removeAll(@CheckForNull Object key) {
        return (Set<V>) super.removeAll(key);
      }
    
      @Override
      public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return (Set<V>) super.replaceValues(key, values);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

        /**
         * Gets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @return The bean to configure, or {@code null} if none.
         */
        Object getBean();
    
        /**
         * Sets the bean to configure. Eventually, a valid request must have a bean set.
         *
         * @param bean The bean to configure, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/setup.sources.sh

    #
    # setup.python.sh: Install a specific Python version and packages for it.
    # Usage: setup.python.sh <pyversion> <requirements.txt>
    
    # Sets up custom apt sources for our TF images.
    
    # Prevent apt install tzinfo from asking our location (assumes UTC)
    export DEBIAN_FRONTEND=noninteractive
    
    # Set up shared custom sources
    apt-get update
    apt-get install -y gnupg ca-certificates
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 10 18:56:24 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. internal/event/config.go

    		return &ErrUnknownRegion{q.ARN.region}
    	}
    
    	if !targetList.Exists(q.ARN.TargetID) {
    		return &ErrARNNotFound{q.ARN}
    	}
    
    	return nil
    }
    
    // SetRegion - sets region value to queue's ARN.
    func (q *Queue) SetRegion(region string) {
    	q.ARN.region = region
    }
    
    // ToRulesMap - converts Queue to RulesMap
    func (q Queue) ToRulesMap() RulesMap {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        Date getStartTime();
    
        // Goals
        MavenExecutionRequest setGoals(List<String> goals);
    
        List<String> getGoals();
    
        // Properties
    
        /**
         * Sets the system properties to use for interpolation and profile activation. The system properties are collected
         * from the runtime environment like {@link System#getProperties()} and environment variables.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * of their natural ordering.
       */
      public static <E extends Comparable<?>> Builder<E> reverseOrder() {
        return new Builder<>(Collections.reverseOrder());
      }
    
      /**
       * Returns a builder that creates immutable sorted sets whose elements are ordered by their
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                awaitUnchecked(barrier);
              }
            };
        final Set<Object> finalResults = Collections.synchronizedSet(Sets.newIdentityHashSet());
        Runnable collectResultsRunnable =
            new Runnable() {
              @Override
              public void run() {
                try {
                  String result = Uninterruptibles.getUninterruptibly(currentFuture.get());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/AbstractMultimap.java

      class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
          return Sets.equalsImpl(this, obj);
        }
      }
    
      abstract Iterator<Entry<K, V>> entryIterator();
    
      @LazyInit @CheckForNull private transient Set<K> keySet;
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
Back to top