Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 253 for opacity (0.05 seconds)

  1. internal/lru/lru.go

    func (c *LRU[K, V]) removeFromBucket(e *Entry[K, V]) {
    	delete(c.buckets[e.ExpireBucket].entries, e.Key)
    }
    
    // Cap returns the capacity of the cache
    func (c *LRU[K, V]) Cap() int {
    	return c.size
    }
    
    // Entry is an LRU Entry
    type Entry[K comparable, V any] struct {
    	// Next and previous pointers in the doubly-linked list of elements.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/audit/SecurityAuditLogger.java

            } else {
                sb.setLength(0); // Reset length
            }
            return sb;
        }
    
        private void returnStringBuilder(StringBuilder sb) {
            if (sb != null && sb.capacity() < 2048) { // Avoid keeping very large builders
                stringBuilderPool.offer(sb);
            }
        }
    
        private Map<String, Object> getContextMap() {
            HashMap<String, Object> map = mapPool.poll();
    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)
  3. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

        return new Builder(initialCapacity);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableLongArray} instances, with a default initial
       * capacity. The returned builder is not thread-safe.
       *
       * <p><b>Performance note:</b> The {@link ImmutableLongArray} that is built will very likely
       * occupy more memory than necessary; to trim memory usage, build using {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  4. cmd/metacache-stream.go

    type metacacheBlockWriter struct {
    	wg           sync.WaitGroup
    	streamErr    error
    	blockEntries int
    }
    
    // newMetacacheBlockWriter provides a streaming block writer.
    // Each block is the size of the capacity of the input channel.
    // The caller should close to indicate the stream has ended.
    func newMetacacheBlockWriter(in <-chan metaCacheEntry, nextBlock func(b *metacacheBlock) error) *metacacheBlockWriter {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/util/DES.java

                makeSMBKey(key, key8);
                setKey(key8);
            } else {
                setKey(key);
            }
        }
    
        /**
         * Converts a 7-byte SMB key to an 8-byte DES key with parity bits
         * @param key7 the 7-byte SMB key
         * @param key8 the output 8-byte DES key
         */
        public static void makeSMBKey(final byte[] key7, final byte[] key8) {
    
            int i;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 22.7K bytes
    - Click Count (0)
  6. internal/s3select/select.go

    func init() {
    	parquetSupport = env.Get("MINIO_API_SELECT_PARQUET", config.EnableOff) == config.EnableOn
    }
    
    var bufPool = bpool.Pool[*bytes.Buffer]{
    	New: func() *bytes.Buffer {
    		// make a buffer with a reasonable capacity.
    		return bytes.NewBuffer(make([]byte, 0, maxRecordSize))
    	},
    }
    
    var bufioWriterPool = bpool.Pool[*bufio.Writer]{
    	New: func() *bufio.Writer {
    		// io.Discard is just used to create the writer. Actual destination
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
        assertThat(map.segments).hasLength(4); // concurrency level
        assertThat(map.segments[0].table.length()).isEqualTo(4); // capacity / conc level
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CountDownLatch
      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
        private final AtomicBoolean shouldWait;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        LocalCache<?, ?> map = CacheTesting.toLocalCache(cache);
        assertThat(map.segments).hasLength(4); // concurrency level
        assertThat(map.segments[0].table.length()).isEqualTo(4); // capacity / conc level
      }
    
      @J2ktIncompatible
      @GwtIncompatible // CountDownLatch
      static final class DelayingIdentityLoader<T> extends CacheLoader<T, T> {
        private final AtomicBoolean shouldWait;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableCollection.java

          checkNonnegative(initialCapacity, "initialCapacity");
          this.contents = new @Nullable Object[initialCapacity];
          this.size = 0;
        }
    
        /*
         * Expand the absolute capacity of the builder so it can accept at least the specified number of
         * elements without being resized. Also, if we've already built a collection backed by the
         * current array, create a new array.
         */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/Striped.java

        }
    
        @Override
        Condition delegate() {
          return delegate;
        }
      }
    
      private abstract static class PowerOfTwoStriped<L> extends Striped<L> {
        /** Capacity (power of two) minus one, for fast mod evaluation */
        final int mask;
    
        PowerOfTwoStriped(int stripes) {
          Preconditions.checkArgument(stripes > 0, "Stripes must be positive");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top