Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for creating (0.18 sec)

  1. android/guava/src/com/google/common/cache/Striped64.java

       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java

      public void testCreateWithNull_unsupported() {
        E[] array = createArrayWithNullElement();
    
        try {
          // TODO(kak): remove unused capture
          Object unused = getSubjectGenerator().create(array);
          fail("Creating a collection containing null should fail");
        } catch (NullPointerException expected) {
        }
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testCreateWithNull_unsupported()} so that tests
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      private static final Comparator<Double> VALUE_COMPARATOR =
          Ordering.<Double>natural().reverse().nullsFirst();
    
      /**
       * Test that creating one TreeMultimap from another does not copy the comparators from the source
       * TreeMultimap.
       */
      public void testCreateFromTreeMultimap() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinateFactoryRequest.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.annotations.NotThreadSafe;
    
    import static org.apache.maven.api.services.BaseRequest.nonNull;
    
    /**
     * A request for creating a {@link ArtifactCoordinate} object.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface ArtifactCoordinateFactoryRequest {
    
        @Nonnull
        Session getSession();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 18 10:30:20 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      }
    
      @MapFeature.Require(value = ALLOWS_NULL_KEYS, absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        expectFirstRemoved(getEntriesMultipleNullKeys());
      }
    
      @MapFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapCreationTester.java

      }
    
      @MapFeature.Require(value = ALLOWS_NULL_KEYS, absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nullDuplicatesNotRejected() {
        expectFirstRemoved(getEntriesMultipleNullKeys());
      }
    
      @MapFeature.Require(absent = REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

     * it delegates to other components that potentially encounter problems. Then, the problem reporter can focus on
     * providing a simple error message, leaving the donkey work of creating a nice model problem to this component.
     *
     */
    public interface ModelProblemCollector {
    
        /**
         * The collected problems.
         * @return a list of model problems encountered, never {@code null}
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

    import com.google.common.collect.Sets;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of
     * parameters.
     *
     * @author mike nonemacher
     */
    class CacheBuilderFactory {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/Striped64.java

       * placed adjacent to each other, and so will most often share
       * cache lines (with a huge negative performance impact) without
       * this precaution.
       *
       * In part because Cells are relatively large, we avoid creating
       * them until they are needed.  When there is no contention, all
       * updates are made to the base field.  Upon first contention (a
       * failed CAS on base update), the table is initialized to size 2.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/FileBackedOutputStream.java

     * user or, in the case of Android, the current app. If that is not possible (as is the case under
     * the very old Android Ice Cream Sandwich release), then this stream throws an exception instead of
     * creating a file that would be more accessible. (This behavior is new in Guava 32.0.0. Previous
     * versions would create a file that is more accessible, as discussed in <a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 8.2K bytes
    - Viewed (0)
Back to top