Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 464 for KEYS (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          return;
        }
    
        Set<K> keys = map.keySet();
        K key = keys.iterator().next();
        if (supportsRemove) {
          int initialSize = map.size();
          keys.remove(key);
          assertEquals(initialSize - 1, map.size());
          assertFalse(map.containsKey(key));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> keys.remove(key));
        }
        assertInvariants(map);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/AbstractMultimap.java

      }
    
      abstract Set<K> createKeySet();
    
      @LazyInit private transient @Nullable Multiset<K> keys;
    
      @Override
      public Multiset<K> keys() {
        Multiset<K> result = keys;
        return (result == null) ? keys = createKeys() : result;
      }
    
      abstract Multiset<K> createKeys();
    
      @LazyInit private transient @Nullable Collection<V> values;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        @Test
        @DisplayName("Should accept empty keys")
        void testEmptyKeys() {
            // Given
            byte[] emptyKey = new byte[0];
    
            // When/Then
            assertDoesNotThrow(() -> {
                Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, emptyKey, emptyKey);
                assertNotNull(context, "Context should be created with empty keys");
            }, "Should accept empty keys");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. internal/stmt_store/stmt_store.go

    	//   error: An error if the statement preparation fails.
    	New(ctx context.Context, key string, isTransaction bool, connPool ConnPool, locker sync.Locker) (*Stmt, error)
    
    	// Keys returns a slice of all cache keys in the store.
    	Keys() []string
    
    	// Get retrieves a Stmt object from the store based on the given key.
    	// Parameters:
    	//   key: The key used to look up the Stmt object.
    	// Returns:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapDifference.java

       * equal.
       */
      boolean areEqual();
    
      /**
       * Returns an unmodifiable map containing the entries from the left map whose keys are not present
       * in the right map.
       */
      Map<K, V> entriesOnlyOnLeft();
    
      /**
       * Returns an unmodifiable map containing the entries from the right map whose keys are not
       * present in the left map.
       */
      Map<K, V> entriesOnlyOnRight();
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. ci/official/containers/ml_build/setup.sources.sh

    apt-get update
    apt-get install -y gnupg ca-certificates
    
    # Deadsnakes: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776
    
    # LLVM/Clang: https://apt.llvm.org/
    apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key
    
    # Set up custom sources
    cat >/etc/apt/sources.list.d/custom.list <<SOURCES
    # More Python versions: Deadsnakes
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 03 21:13:05 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMaker.java

     * interface. It does not permit null keys or values.
     *
     * <p><b>Note:</b> by default, the returned map uses equality comparisons (the {@link Object#equals
     * equals} method) to determine equality for keys or values. However, if {@link #weakKeys} was
     * specified, the map uses identity ({@code ==}) comparisons instead for keys. Likewise, if {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayListMultimap.java

       * numbers of keys and values without resizing.
       *
       * <p>You may also consider the equivalent {@code
       * MultimapBuilder.hashKeys(expectedKeys).arrayListValues(expectedValuesPerKey).build()}, which
       * provides more control over the underlying data structure.
       *
       * @param expectedKeys the expected number of distinct keys
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/CompactHashMapTest.java

        assertThat(map.needsAllocArrays()).isTrue();
        assertThat(map.entries).isNull();
        assertThat(map.keys).isNull();
        assertThat(map.values).isNull();
    
        map.put(1, "1");
        assertThat(map.needsAllocArrays()).isFalse();
        assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.keys).hasLength(CompactHashing.DEFAULT_SIZE);
        assertThat(map.values).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testPutPresentKeyPropagatesToGet() {
        List<K> keys = copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().get(key);
          Collection<V> expectedCollection = copyToList(collection);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top