Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 117 for expensive (3.48 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

        testBytes(3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT);
      }
    
      /**
       * Tests that round tripping of a sample of four byte permutations work. All permutations are
       * prohibitively expensive to test for automated runs. This method tests specific four-byte cases.
       */
      public void testIsWellFormed_4BytesSamples() {
        // Valid 4 byte.
        assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2);
        // Bad trailing bytes
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/Utf8Test.java

        testBytes(3, EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT);
      }
    
      /**
       * Tests that round tripping of a sample of four byte permutations work. All permutations are
       * prohibitively expensive to test for automated runs. This method tests specific four-byte cases.
       */
      public void testIsWellFormed_4BytesSamples() {
        // Valid 4 byte.
        assertWellFormed(0xF0, 0xA4, 0xAD, 0xA2);
        // Bad trailing bytes
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/MoreObjects.java

         * Holder object for values that cannot be null or empty (will be printed unconditionally). This
         * helps to shortcut most calls to isEmpty(), which is important because the check for emptiness
         * is relatively expensive. Use a subtype so this also doesn't need any extra storage.
         */
        private static final class UnconditionalValueHolder extends ValueHolder {}
      }
    
      private MoreObjects() {}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Suppliers.java

          //
          // We use two volatile reads. We could reduce this to one by
          // putting our fields into a holder class, but (at least on x86)
          // the extra memory consumption and indirection are more
          // expensive than the extra volatile reads.
          long nanos = expirationNanos;
          long now = System.nanoTime();
          if (nanos == 0 || now - nanos >= 0) {
            synchronized (this) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/MoreObjects.java

         * Holder object for values that cannot be null or empty (will be printed unconditionally). This
         * helps to shortcut most calls to isEmpty(), which is important because the check for emptiness
         * is relatively expensive. Use a subtype so this also doesn't need any extra storage.
         */
        private static final class UnconditionalValueHolder extends ValueHolder {}
      }
    
      private MoreObjects() {}
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSource.java

        return Optional.absent();
      }
    
      /**
       * Returns the length of this source in chars, even if doing so requires opening and traversing an
       * entire stream. To avoid a potentially expensive operation, see {@link #lengthIfKnown}.
       *
       * <p>The default implementation calls {@link #lengthIfKnown} and returns the value if present. If
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Monitor.java

       * - Avoid underflow and overflow of timeout values when specified timeouts are close to
       *   Long.MIN_VALUE or Long.MAX_VALUE.
       * - Favor responding to interrupts over timeouts.
       * - System.nanoTime() is expensive enough that we want to call it the minimum required number of
       *   times, typically once before invoking a blocking method. This often requires keeping track of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * canceled. For example, happy-path events like [requestHeadersStart] and [requestHeadersEnd] may
       * occur after a call is canceled. Typically cancellation takes effect when an expensive I/O
       * operation is required.
       *
       * This is invoked at most once, even if [Call.cancel] is invoked multiple times. It may be
       * invoked at any point in a call's life, including before [callStart] and after [callEnd].
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/https.md

    Before Let's Encrypt, these **HTTPS certificates** were sold by trusted third parties.
    
    The process to acquire one of these certificates used to be cumbersome, require quite some paperwork and the certificates were quite expensive.
    
    But then **<a href="https://letsencrypt.org/" class="external-link" target="_blank">Let's Encrypt</a>** was created.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top