Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for strategies (0.18 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     *
     * <p>On different platforms AggregateFutureState uses different strategies for its core
     * synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and
     * the strategy is selected in the static initializer of AggregateFutureState. This is convenient
     * and performant but introduces some testing difficulties. This test exercises the two fallback
     * strategies.
     *
     * <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

     *
     * <p>On different platforms AggregateFutureState uses different strategies for its core
     * synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and
     * the strategy is selected in the static initializer of AggregateFutureState. This is convenient
     * and performant but introduces some testing difficulties. This test exercises the two fallback
     * strategies.
     *
     * <ul>
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Collections of strategies of generating the k * log(M) bits required for an element to be mapped
     * to a BloomFilter of M bits and k hash functions. These strategies are part of the serialized form
     * of the Bloom filters that use them, thus they must be preserved as is (no updates allowed, only
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/collector/ProjectCollectionStrategy.java

    import java.util.List;
    
    import org.apache.maven.execution.MavenExecutionRequest;
    import org.apache.maven.project.MavenProject;
    import org.apache.maven.project.ProjectBuildingException;
    
    /**
     * Describes strategies for finding projects that Maven could build.
     */
    public interface ProjectCollectionStrategy {
        /**
         *
         * @param request
         * @return
         * @throws ProjectBuildingException
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          }
        };
    
        abstract <E extends @Nullable Object> void forEach(
            GeneralSpliterator<E> spliterator, Consumer<? super E> consumer);
    
        static final Set<SpliteratorDecompositionStrategy> ALL_STRATEGIES =
            unmodifiableSet(new LinkedHashSet<>(asList(values())));
      }
    
      private static <E extends @Nullable Object> @Nullable GeneralSpliterator<E> trySplitTestingSize(
          GeneralSpliterator<E> spliterator) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleMappingDelegate.java

     * lifecycle phase. Standard lifecycles use plugin execution {@code <phase>} or mojo default lifecycle phase to
     * calculate the execution plan, but custom lifecycles can use alternative mapping strategies.
     */
    @Named(DefaultLifecycleMappingDelegate.HINT)
    @Singleton
    public class DefaultLifecycleMappingDelegate implements LifecycleMappingDelegate {
        public static final String HINT = "default";
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleMappingDelegate.java

     * lifecycle phase. Standard lifecycles use plugin execution {@code <phase>} or mojo default lifecycle phase to
     * calculate the execution plan, but custom lifecycles can use alternative mapping strategies.
     * <p>
     * Implementations of this interface must be annotated with either {@code @Named("lifecycle-id")} or equivalent plexus
     * {@code @Component} annotations.
     *
     * @since 3.2.0
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilter.java

            this.bitSize(),
            that.bitSize());
        checkArgument(
            this.strategy.equals(that.strategy),
            "BloomFilters must have equal strategies (%s != %s)",
            this.strategy,
            that.strategy);
        checkArgument(
            this.funnel.equals(that.funnel),
            "BloomFilters must have equal funnels (%s != %s)",
            this.funnel,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            VersionRange range2 = VersionRange.createFromVersionSpec("1.1");
            VersionRange mergedRange = range1.restrict(range2);
            // TODO current policy is to retain the original version - is this correct, do we need strategies or is that
            // handled elsewhere?
            //        assertEquals( "1.1", mergedRange.getRecommendedVersion().toString(), CHECK_VERSION_RECOMMENDATION );
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 44.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

          return count == 0 ? EMPTY : new ImmutableIntArray(array, 0, count);
        }
      }
    
      // Instance stuff here
    
      // The array is never mutated after storing in this field and the construction strategies ensure
      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final int[] array;
    
      /*
       * TODO(kevinb): evaluate the trade-offs of going bimorphic to save these two fields from most
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 16:34:24 GMT 2023
    - 18.9K bytes
    - Viewed (0)
Back to top