Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 891 for sale (0.04 sec)

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

            // TODO(b/139735208): Figure out what to do when the factory returns null.
            requireNonNull(thread);
            if (nameFormat != null) {
              // requireNonNull is safe because we create `count` if (and only if) we have a nameFormat.
              thread.setName(format(nameFormat, requireNonNull(count).getAndIncrement()));
            }
            if (daemon != null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

     * Cache} interfaces. The {@code asMap} view (and its collection views) have <i>weakly consistent
     * iterators</i>. This means that they are safe for concurrent use, but if other threads modify the
     * cache after the iterator is created, it is undefined which of these changes, if any, are
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  3. CITATION.cff

    cff-version: 1.2.0
    message: "If you use TensorFlow in your research, please cite it using these metadata. Software is available from tensorflow.org."
    title: TensorFlow, Large-scale machine learning on heterogeneous systems
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Sep 06 15:26:23 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/eventbus/outside/OutsideEventBusTest.java

    import junit.framework.TestCase;
    
    /**
     * Test cases for {@code EventBus} that must not be in the same package.
     *
     * @author Louis Wasserman
     */
    public class OutsideEventBusTest extends TestCase {
    
      /*
       * If you do this test from common.eventbus.EventBusTest, it doesn't actually test the behavior.
       * That is, even if exactly the same method works from inside the common.eventbus package tests,
       * it can fail here.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeTest.java

            assertNotNull(result, "Unwrapped tree should not be null");
            assertSame(customTree, result, "Should return the same custom tree instance");
            verify(smbTree).unwrap(CustomSmbTree.class);
        }
    
        /**
         * Test for unwrap() method with the same type.
         * Verifies that unwrap can return itself when the type matches.
         */
        @Test
        void testUnwrap_withSameType() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Queues.java

       *
       * <p><b>Note:</b> If the specified iterable is a {@code SortedSet} or a {@code PriorityQueue},
       * this priority queue will be ordered according to the same ordering.
       *
       * @since 11.0 (but the bound of {@code E} was changed from {@code Object} to {@code Comparable}
       *     in 15.0)
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. internal/lru/lru.go

    import (
    	"sync"
    	"time"
    )
    
    // EvictCallback is used to get a callback when a cache entry is evicted
    type EvictCallback[K comparable, V any] func(key K, value V)
    
    // LRU implements a thread-safe LRU with expirable entries.
    type LRU[K comparable, V any] struct {
    	size      int
    	evictList *LruList[K, V]
    	items     map[K]*Entry[K, V]
    	onEvict   EvictCallback[K, V]
    
    	// expirable options
    	mu   sync.Mutex
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 25 08:22:26 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

            CacheBuilder.newBuilder()
                .expireAfterAccess(500000, MILLISECONDS)
                .maximumSize(count)
                .build();
      }
    
      public void testComputeIfAbsent() {
        // simultaneous insertion for same key, expect 1 winner
        doParallelCacheOp(
            count,
            n -> {
              cache.asMap().computeIfAbsent(key, k -> "value" + n);
            });
        assertEquals(1, cache.size());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/BiMap.java

    /**
     * A bimap (or "bidirectional map") is a map that preserves the uniqueness of its values as well as
     * that of its keys. This constraint enables bimaps to support an "inverse view", which is another
     * bimap containing the same entries as this bimap but with reversed keys and values.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableBiMap}
     *   <li>{@link HashBiMap}
     *   <li>{@link EnumBiMap}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 17:32:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

          response("https://example.com/", EMPTY) {
            header("Content-Encoding", "zstd")
            code(204)
            message("NO CONTENT")
          }
    
        val same = zstdInterceptor.decompress(response)
    
        val responseString = same.body.string()
        assertThat(responseString).isEmpty()
      }
    
      private fun ByteString.zstdCompress(): ByteString {
        val result = Buffer()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top