Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 333 for Memory (0.07 seconds)

  1. android/guava/src/com/google/common/base/Suppliers.java

          // Another variant of Double Checked Locking.
          //
          // 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) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

                // Optimization: Use larger block sizes for better performance
                final int optimizedBlockSize = Math.min(blockSize * 2, 64 * 1024); // Cap at 64KB for memory efficiency
                final int effectiveBlockSize = Math.max(blockSize, optimizedBlockSize);
    
                SmbComReadAndXResponse response = null;
                if (!th.isSMB2()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.33.md

    - InPlacePodVerticalScaling: Memory limits cannot be decreased unless the memory resize restart policy is set to `RestartContainer`. Container resizePolicy is no longer mutable. ([#130183](https://github.com/kubernetes/kubernetes/pull/130183), [@tallclair](https://github.com/tallclair)) [SIG Apps and Node]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:17:58 GMT 2026
    - 369K bytes
    - Click Count (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      // this doc comment is a modified copy of the inherited doc comment,
      // without the reference to unlimited queues.
      /**
       * Returns the number of additional elements that this queue can ideally (in the absence of memory
       * or resource constraints) accept without blocking. This is always equal to the initial capacity
       * of this queue less the current {@code size} of this queue.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

       * user-created objects that aren't accessible via this range set's methods. This is generally
       * used to determine whether {@code copyOf} implementations should make an explicit copy to avoid
       * memory leaks.
       */
      boolean isPartialView() {
        return ranges.isPartialView();
      }
    
      /** Returns a new builder for an immutable range set. */
      public static <C extends Comparable<?>> Builder<C> builder() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/audit/SecurityAuditLogger.java

            }
    
            return currentCount <= maxEventsPerWindow;
        }
    
        private void cleanupOldRateLimitCounters(long currentWindow) {
            // Clean up counters from previous windows to prevent memory leaks
            rateLimitCounters.entrySet().removeIf(entry -> {
                String key = entry.getKey();
                int lastUnderscore = key.lastIndexOf('_');
                if (lastUnderscore > 0) {
                    try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 26.6K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/SmbSessionImpl.java

                if (isConnected() && this.usageCount.get() != 0) {
                    log.warn("Session was not properly released, performing emergency cleanup: " + this);
                    // Perform emergency cleanup to prevent memory leaks
                    emergencyCleanup();
                }
            } catch (Exception e) {
                log.error("Error during session finalization", e);
            } finally {
                super.finalize();
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

       * 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)
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
       * @throws IllegalStateException if an initial capacity was already set
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/primitives/CharsTest.java

        assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2));
    
        char[][] arrays = new char[arraysDim1][];
        // it's shared to avoid using too much memory in tests
        char[] sharedArray = new char[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Chars.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 26K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.28.md

      Burstable QoS pods. For Best-Effort/Guaranteed QoS pods, swap would be disabled.
      
      Containers with memory requests equal to their memory limits also won't have
      swap access, and it is a way to opt-out of swap for a single container.
      
      The formula for the swap limit for Burstable QoS pods is:
      `(<memory-request>/<node-memory-capacity>)*<node-swap-capacity>`.
      
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Fri Sep 05 03:47:18 GMT 2025
    - 456.9K bytes
    - Click Count (1)
Back to Top