Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for keys (0.28 sec)

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

                Entry<K, V> entry = requireNonNull(entryArray[i]);
                K key = entry.getKey();
                V value = entry.getValue();
                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
                checkNoConflict(comparator.compare(prevKey, key) != 0, "key", prevEntry, entry);
                prevKey = key;
              }
            }
            return new ImmutableSortedMap<>(
    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

                Entry<K, V> entry = requireNonNull(entryArray[i]);
                K key = entry.getKey();
                V value = entry.getValue();
                checkEntryNotNull(key, value);
                keys[i] = key;
                values[i] = value;
                checkNoConflict(comparator.compare(prevKey, key) != 0, "key", prevEntry, entry);
                prevKey = key;
              }
            }
            return new ImmutableSortedMap<>(
    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

      E getEntry(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).getEntry(key, hash);
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
    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

        }
    
        @Override
        public Collection<V> get(@ParametricNullness K key) {
          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
    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. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.hitCount());
    
        Object key = new Object();
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(1, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        key = new Object();
        assertSame(key, cache.getUnchecked(key));
        stats = cache.stats();
    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)
  6. guava/src/com/google/common/cache/CacheBuilder.java

     *
     * <pre>{@code
     * LoadingCache<Key, Graph> graphs = CacheBuilder.newBuilder()
     *     .maximumSize(10000)
     *     .expireAfterWrite(Duration.ofMinutes(10))
     *     .removalListener(MY_LISTENER)
     *     .build(
     *         new CacheLoader<Key, Graph>() {
     *           public Graph load(Key key) throws AnyException {
     *             return createExpensiveGraph(key);
     *           }
     *         });
     * }</pre>
     *
    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)
  7. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(0, stats.hitCount());
    
        Object key = new Object();
        assertSame(key, cache.get(key));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(1, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        key = new Object();
        assertSame(key, cache.getUnchecked(key));
        stats = cache.stats();
    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

      /// 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
      ///   * Might use any other error value for `status` to signal other errors.
      ///
      /// DEFAULT IMPLEMENTATION: return `TF_OK` and `num_keys`=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