Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for saker (0.24 sec)

  1. 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)
  2. 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 Apr 26 12:43:10 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/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 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

        /**
         * Adds the environment variables in the form of properties whose keys are prefixed with {@code env.}, e.g. {@code
         * env.PATH}. Unlike native environment variables, properties are always case-sensitive. For the sake of
         * determinism, the environment variable names will be normalized to upper case on platforms with case-insensitive
         * variable lookup.
         *
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertBasicInvariants(striped);
        }
      }
    
      private static void assertBasicInvariants(Striped<?> striped) {
        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertNotNull(object);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  6. 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)
  7. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  8. 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)
  9. 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 Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          assertBasicInvariants(striped);
        }
      }
    
      private static void assertBasicInvariants(Striped<?> striped) {
        Set<Object> observed = Sets.newIdentityHashSet(); // for the sake of weakly referenced locks.
        // this gets the stripes with #getAt(index)
        for (int i = 0; i < striped.size(); i++) {
          Object object = striped.getAt(i);
          assertNotNull(object);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
Back to top