Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for overheads (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
      //   spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for
      //   similar purposes.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      // There are a few design constraints to consider
      // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I
      //   have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the
      //   timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of
      //   spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for
      //   similar purposes.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     * </ul>
     *
     * <p>Disadvantages compared to {@code long[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
     *   <li><i>Some</i> construction use cases force the data to be copied (though several construction
     *       APIs are offered that don't).
     *   <li>Can't be passed directly to methods that expect {@code long[]} (though the most common
     *       utilities do have replacements here).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/ImmutableIntArray.java

     * </ul>
     *
     * <p>Disadvantages compared to {@code int[]}:
     *
     * <ul>
     *   <li>Memory footprint has a fixed overhead (about 24 bytes per instance).
     *   <li><i>Some</i> construction use cases force the data to be copied (though several construction
     *       APIs are offered that don't).
     *   <li>Can't be passed directly to methods that expect {@code int[]} (though the most common
     *       utilities do have replacements here).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      }
    
      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
      // but essentially each line will be a call to a Preconditions method that, but for a documented
      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PreconditionsTest.java

      }
    
      // 'test' to demonstrate some potentially ambiguous overloads.  This 'test' is kind of strange,
      // but essentially each line will be a call to a Preconditions method that, but for a documented
      // change would be a compiler error.
      // See http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.12.2 for the spec on
      // how javac selects overloads
      @SuppressWarnings("null")
      public void overloadSelection() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  7. README.md

    - **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications
    - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
    
    ## 🧪 Building and Testing
    
    ### Development Setup
    ```bash
    # Clone the repository
    git clone https://github.com/codelibs/corelib.git
    cd corelib
    
    # Compile the project
    mvn clean compile
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for CacheBuilder. */
    @GwtCompatible
    // We are intentionally testing the TimeUnit overloads, too.
    @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds")
    @NullUnmarked
    public class CacheBuilderTest extends TestCase {
    
      public void testNewBuilder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for CacheBuilder. */
    @GwtCompatible
    // We are intentionally testing the TimeUnit overloads, too.
    @SuppressWarnings("LongTimeUnit_ExpireAfterWrite_Seconds")
    @NullUnmarked
    public class CacheBuilderTest extends TestCase {
    
      public void testNewBuilder() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25K bytes
    - Viewed (0)
Back to top