Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Keys (0.19 sec)

  1. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          this.keys = new @Nullable Object[initialCapacity];
          this.values = new @Nullable Object[initialCapacity];
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > keys.length) {
            int newCapacity = ImmutableCollection.Builder.expandedCapacity(keys.length, minCapacity);
            this.keys = Arrays.copyOf(keys, newCapacity);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

          super.put(entry);
          return this;
        }
    
        /**
         * Associates all of the given map's keys and values in the built map. Duplicate keys, according
         * to the comparator (which might be the keys' natural order), are not allowed, and will cause
         * {@link #build} to fail.
         *
         * @throws NullPointerException if any key or value in {@code map} is null
         */
        @CanIgnoreReturnValue
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

     *
     * <p>This implementation is heavily derived from revision 1.96 of <a
     * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>.
     *
     * @param <K> the type of the keys in the map
     * @param <V> the type of the values in the map
     * @param <E> the type of the {@link InternalEntry} entry implementation used internally
     * @param <S> the type of the {@link Segment} entry implementation used internally
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

          return unmodifiableValueCollection(delegate.get(key));
        }
    
        @Override
        public Multiset<K> keys() {
          Multiset<K> result = keys;
          if (result == null) {
            keys = result = Multisets.unmodifiableMultiset(delegate.keys());
          }
          return result;
        }
    
        @Override
        public Set<K> keySet() {
          Set<K> result = keySet;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <p><b>Note:</b> by default, the returned cache uses equality comparisons (the {@link
     * Object#equals equals} method) to determine equality for keys or values. However, if {@link
     * #weakKeys} was specified, the cache uses identity ({@code ==}) comparisons instead for keys.
     * Likewise, if {@link #weakValues} or {@link #softValues} was specified, the cache uses identity
     * comparisons for values.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
                Map<Object, Object> result = Maps.newHashMap();
                for (Object key : keys) {
                  Object value = new Object();
                  result.put(key, value);
                  // add extra entries
                  result.put(value, key);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
                Map<Object, Object> result = Maps.newHashMap();
                for (Object key : keys) {
                  Object value = new Object();
                  result.put(key, value);
                  // add extra entries
                  result.put(value, key);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// Returns a list of valid configuration keys in `keys` array and number of
      /// keys in `num_keys`. Ownership of the buffers in `keys` are transferred to
      /// caller and needs to be freed using relevant filesystem allocation API.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` on success. If there are no configurable
      ///     keys, `num_keys` should be set to 0
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Synchronized.java

            }
            return asMap;
          }
        }
    
        @Override
        public Multiset<K> keys() {
          synchronized (mutex) {
            if (keys == null) {
              keys = multiset(delegate().keys(), mutex);
            }
            return keys;
          }
        }
    
        @Override
        public boolean equals(@CheckForNull Object o) {
          if (o == this) {
            return true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  10. cmd/iam.go

    		return err
    	}
    
    	// We map keys that correspond to LDAP DNs and validate that they exist in
    	// the LDAP server.
    	var dnValidator func(*libldap.Conn, string) (string, bool, error) = sys.LDAPConfig.GetValidatedUserDN
    	if isGroup {
    		dnValidator = sys.LDAPConfig.GetValidatedGroupDN
    	}
    
    	// map of normalized DN keys to original keys.
    	normalizedDNKeysMap := make(map[string][]string)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top