Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 770 for Seys (0.16 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. android/guava-tests/benchmark/com/google/common/collect/MapBenchmark.java

              map.put(element, element);
            }
            return map;
          }
        },
        UnmodHM {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            return Collections.unmodifiableMap(Hash.create(keys));
          }
        },
        SyncHM {
          @Override
          Map<Element, Element> create(Collection<Element> keys) {
            return Collections.synchronizedMap(Hash.create(keys));
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        List<? extends Entry<?, ?>> entries = Lists.newArrayList(map.entrySet());
        List<Object> keys = Lists.newArrayList(map.keySet());
        List<Object> values = Lists.newArrayList(map.values());
        assertEquals(2 * entries.size(), alternatingKeysAndValues.length);
        assertEquals(2 * keys.size(), alternatingKeysAndValues.length);
        assertEquals(2 * values.size(), alternatingKeysAndValues.length);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 21 14:41:51 GMT 2020
    - 6.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableBiMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableBiMap} in encounter order.
       *
       * <p>If the mapped keys or values contain duplicates (according to {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheLoader.java

      /**
       * Computes or retrieves the values corresponding to {@code keys}. This method is called by {@link
       * LoadingCache#getAll}.
       *
       * <p>If the returned map doesn't contain all requested {@code keys} then the entries it does
       * contain will be cached, but {@code getAll} will throw an exception. If the returned map
       * contains extra keys not present in {@code keys} then all returned entries will be cached, but
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

                            keys ->
                                path.create(
                                    Lists.transform(
                                        keys, key -> Maps.immutableEntry(key, new Object()))),
                            keys ->
                                path.create(
                                    Lists.transform(
                                        keys, key -> Maps.immutableEntry(new Object(), key))),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 03 21:01:39 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            int minIndex = 0;
            for (int i = 1; i < keys.size(); i++) {
              if (keys.get(i) < keys.get(minIndex)) {
                minIndex = i;
              }
            }
            Optional<BinaryNode> leftChild = createTreap(keys.subList(0, minIndex));
            Optional<BinaryNode> rightChild = createTreap(keys.subList(minIndex + 1, keys.size()));
            return Optional.of(new BinaryNode(keys.get(minIndex), leftChild, rightChild));
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  8. internal/config/config.go

    	}
    	return v
    }
    
    // Keys returns the list of keys for the current KVS
    func (kvs KVS) Keys() []string {
    	keys := make([]string, len(kvs))
    	var foundComment bool
    	for i := range kvs {
    		if kvs[i].Key == madmin.CommentKey {
    			foundComment = true
    		}
    		keys[i] = kvs[i].Key
    	}
    	// Comment KV not found, add it explicitly.
    	if !foundComment {
    		keys = append(keys, madmin.CommentKey)
    	}
    	return keys
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Table.java

      /**
       * Associates the specified value with the specified keys. If the table already contained a
       * mapping for those keys, the old value is replaced with the specified value.
       *
       * @param rowKey row key that the value should be associated with
       * @param columnKey column key that the value should be associated with
       * @param value value to be associated with the specified keys
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/AbstractCache.java

       * {@inheritDoc}
       *
       * <p>This implementation of {@code getAllPresent} lacks any insight into the internal cache data
       * structure, and is thus forced to return the query keys instead of the cached keys. This is only
       * possible with an unsafe cast which requires {@code keys} to actually be of type {@code K}.
       *
       * @since 11.0
       */
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 9.1K bytes
    - Viewed (0)
Back to top