Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for expensive (0.08 sec)

  1. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      }
    
      /**
       * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
       * long} values are boxed into {@link Long} instances on demand, which can be very expensive. The
       * returned list should be used once and discarded. For any usages beyond that, pass the returned
       * list to {@link com.google.common.collect.ImmutableList#copyOf(Collection) ImmutableList.copyOf}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/ImmutableIntArray.java

      }
    
      /**
       * Returns an immutable <i>view</i> of this array's values as a {@code List}; note that {@code
       * int} values are boxed into {@link Integer} instances on demand, which can be very expensive.
       * The returned list should be used once and discarded. For any usages beyond that, pass the
       * returned list to {@link com.google.common.collect.ImmutableList#copyOf(Collection)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  5. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteSource.java

        return Optional.absent();
      }
    
      /**
       * Returns the size of this source in bytes, even if doing so requires opening and traversing an
       * entire stream. To avoid a potentially expensive operation, see {@link #sizeIfKnown}.
       *
       * <p>The default implementation calls {@link #sizeIfKnown} and returns the value if present. If
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Mar 20 20:55:20 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/CacheBuilder.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.
       *
       * @return this {@code CacheBuilder} instance (for chaining)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

     *   double d = sqrt(-1.0);
     * }
     * }
     *
     * <p>would be flagged as having called {@code sqrt()} with an illegal argument.
     *
     * <h3>Performance</h3>
     *
     * <p>Avoid passing message arguments that are expensive to compute; your code will always compute
     * them, even though they usually won't be needed. If you have such arguments, use the conventional
     * if/throw idiom instead.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.17.md

    `PersistentVolumes` with topology labels, now does not overwrite existing labels on PVs that were dynamically provisioned. It trusts the  dynamic provisioning that it provided the correct labels to the `PersistentVolume`, saving one potentially expensive cloud API call. `PersistentVolumes` created manually by users are labelled by the admission plugin in the same way as before. ([#82830](https://github.com/kubernetes/kubernetes/pull/82830), [@jsafrane](https://github.com/jsafrane))
    
    -...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
  10. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

        }
    
        /**
         * Test validation of excessive negotiate context count.
         */
        @Test
        public void testExcessiveNegotiateContextCount() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
            // Set SMB 3.1.1 dialect
            SMBUtil.writeInt2(0x0311, buffer, 4);
            // Set excessive negotiate context count (should be limited to 100)
            SMBUtil.writeInt2(1000, buffer, 6);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top