Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for saker (0.12 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        try {
          maker.initialCapacity(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>>
              makeMap(MapMaker maker) {
        return MapMakerInternalMap.create(maker);
      }
    
      private static MapMaker createMapMaker() {
        MapMaker maker = new MapMaker();
        maker.useCustomMap = true;
        return maker;
      }
    
      // constructor tests
    
      public void testDefaults() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          MapMakerInternalMap<K, V, ? extends InternalEntry<K, V, ?>, ? extends Segment<K, V, ?, ?>>
              makeMap(MapMaker maker) {
        return MapMakerInternalMap.create(maker);
      }
    
      private static MapMaker createMapMaker() {
        MapMaker maker = new MapMaker();
        maker.useCustomMap = true;
        return maker;
      }
    
      // constructor tests
    
      public void testDefaults() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 35.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/UnsignedBytes.java

          /** The offset to the first element in a byte array. */
          static final int BYTE_ARRAY_BASE_OFFSET = theUnsafe.arrayBaseOffset(byte[].class);
    
          static {
            // fall back to the safer pure java implementation unless we're in
            // a 64-bit JVM with an 8-byte aligned field offset.
            if (!("64".equals(System.getProperty("sun.arch.data.model"))
                && (BYTE_ARRAY_BASE_OFFSET % 8) == 0
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 18.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      }
    
      /**
       * Each instance of MinMaxPriorityQueue encapsulates two instances of Heap: a min-heap and a
       * max-heap. Conceptually, these might each have their own array for storage, but for efficiency's
       * sake they are stored interleaved on alternate heap levels in the same array (MMPQ.queue).
       */
      @WeakOuter
      class Heap {
        final Ordering<E> ordering;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapMakerTest.java

       */
    
      public void testInitialCapacity_negative() {
        MapMaker maker = new MapMaker();
        try {
          maker.initialCapacity(-1);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      // TODO(cpovirk): enable when ready (apparently after a change to our GWT emulation)
      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultInheritanceAssembler.java

         * point at the POM rather than its base directory if the path ends with ".xml" (ignoring case)</li>
         * <li>The name of the child's base directory matches the artifact id of the child.</li>
         * </ul>
         * Note that for the sake of independence from the user
         * environment, the filesystem is intentionally not used for the calculation.</p>
         *
         * @param child The child model, must not be <code>null</code>.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     *
     * <p>Note that if you don't call {@code closeAsync()}, the captured objects will not be closed. The
     * automatic-closing approach described above is safer.
     *
     * @param <V> the type of the value of this step
     * @since 30.0
     */
    // TODO(dpb): Consider reusing one CloseableList for the entire pipeline, modulo combinations.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Platform.java

        return Arrays.copyOfRange(source, from, to, (Class<? extends T[]>) arrayOfType.getClass());
      }
    
      /**
       * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in
       * GWT). This is sometimes acceptable, when only server-side code could generate enough volume
       * that reclamation becomes important.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top