Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for Fanger (0.2 sec)

  1. android/guava/src/com/google/common/collect/AbstractBiMap.java

          checkState(entrySet().contains(this), "entry no longer in map");
          // similar to putInBothMaps, but set via entry
          if (Objects.equal(value, getValue())) {
            return value;
          }
          checkArgument(!containsValue(value), "value already present: %s", value);
          V oldValue = delegate.setValue(value);
          checkState(Objects.equal(value, get(getKey())), "entry no longer in map");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       Guava while continuing to run it internally, as we do with many other tests. This would
     *       suffice because we our Android users and tests are using the open-source version, which
     *       would no longer have the problematic test. But why bother when we can instead strip it with
     *       a more precisely named annotation?
     *   <li>While a dependency on Android ought to be easy if it's for annotations only, it will
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

      /*
       * TODO(cpovirk): make "too small" and "too large" elements available for better navigation
       * testing. At that point, we may be able to eliminate the "hole" tests, which would mean that
       * ContiguousSet's tests would no longer need to suppress them.
       */
      @CollectionSize.Require(SEVERAL)
      public void testLower() {
        assertEquals(null, navigableSet.lower(a));
        assertEquals(a, navigableSet.lower(b));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

    import org.apache.maven.api.services.ProjectBuilder;
    import org.apache.maven.api.services.ProjectBuilderRequest;
    import org.apache.maven.api.services.SettingsBuilder;
    import org.apache.maven.artifact.handler.manager.ArtifactHandlerManager;
    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.execution.DefaultMavenExecutionRequest;
    import org.apache.maven.execution.DefaultMavenExecutionResult;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  5. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        /*
         * TODO(cpovirk): Clear interrupt status here? We currently don't, which means that an interrupt
         * before, during, or after runInterruptibly() (unless it produced an InterruptedException
         * caught above) can linger and affect listeners.
         */
      }
    
      /**
       * Called before runInterruptibly - if true, runInterruptibly and afterRanInterruptibly will not
       * be called.
       */
      abstract boolean isDone();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteStreams.java

        // Starting with an 8k buffer, double the size of each successive buffer. Smaller buffers
        // quadruple in size until they reach 8k, to minimize the number of small reads for longer
        // streams. Buffers are retained in a deque so that there's no copying between buffers while
        // reading and so all of the bytes in each new allocated buffer are available for reading from
        // the stream.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Bytes.java

        return (array.length < minLength) ? Arrays.copyOf(array, minLength + padding) : array;
      }
    
      /**
       * Returns an array containing each value of {@code collection}, converted to a {@code byte} value
       * in the manner of {@link Number#byteValue}.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      final int concurrencyLevel;
    
      /** Strategy for comparing keys. */
      final Equivalence<Object> keyEquivalence;
    
      /** Strategy for handling entries and segments in a type-safe and efficient manner. */
      final transient InternalEntryHelper<K, V, E, S> entryHelper;
    
      /**
       * Creates a new, empty map with the specified strategy, initial capacity and concurrency level.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/RangeTest.java

        Range<Integer> range = Range.open(2, 5);
        assertTrue(range.encloses(range));
        assertTrue(range.encloses(Range.open(2, 4)));
        assertTrue(range.encloses(Range.open(3, 5)));
        assertTrue(range.encloses(Range.closed(3, 4)));
    
        assertFalse(range.encloses(Range.openClosed(2, 5)));
        assertFalse(range.encloses(Range.closedOpen(2, 5)));
        assertFalse(range.encloses(Range.closed(1, 4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 24.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

     *
     * <p>Unlike {@code java.util.HashSet}, iteration is only proportional to the actual {@code size()},
     * which is optimal, and <i>not</i> the size of the internal hashtable, which could be much larger
     * than {@code size()}. Furthermore, this structure only depends on a fixed number of arrays; {@code
     * add(x)} operations <i>do not</i> create objects for the garbage collector to deal with, and for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24K bytes
    - Viewed (0)
Back to top