Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 508 for maps (0.02 sec)

  1. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

    import static com.google.common.base.Predicates.equalTo;
    import static com.google.common.collect.Iterables.removeIf;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Maps.immutableEntry;
    import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows;
    import static com.google.common.collect.Sets.newHashSet;
    import static com.google.common.truth.Truth.assertThat;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        IntHolder holderB = new IntHolder(2);
        Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB);
        holderA.value = 3;
        assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3))));
        Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2);
        assertEquals(intMap.hashCode(), map.entrySet().hashCode());
        assertEquals(intMap.hashCode(), map.hashCode());
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

            rawtypeToWildcard(MinMaxPriorityQueue.expectedSize(heapSize)).create();
        /*
         * this map would contain the same exact elements as the MinMaxHeap; the
         * value in the map is the number of occurrences of the key.
         */
        SortedMap<Integer, AtomicInteger> replica = Maps.newTreeMap();
        assertTrue("Empty heap should be OK", mmHeap.isIntact());
        for (int i = 0; i < heapSize; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/Quantiles.java

         * @return an unmodifiable, ordered map of results: the keys will be the specified quantile
         *     indexes, and the values the corresponding quantile values. When iterating, entries in the
         *     map are ordered by quantile index in the same order they were passed to the {@code
         *     indexes} method.
         */
        public Map<Integer, Double> compute(Collection<? extends Number> dataset) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Ordering.java

        return new ByFunctionOrdering<>(function, this);
      }
    
      <T2 extends T> Ordering<Entry<T2, ?>> onKeys() {
        return onResultOf(Maps.<T2>keyFunction());
      }
    
      /**
       * Returns an ordering which first uses the ordering {@code this}, but which in the event of a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Lists.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static utility methods pertaining to {@link List} instances. Also see this class's counterparts
     * {@link Sets}, {@link Maps} and {@link Queues}.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#lists">{@code Lists}</a>.
     *
     * @author Kevin Bourrillion
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    // It verifies the client-provided X.509 certificate, maps the certificate to an S3 policy
    // and returns temp. S3 credentials to the client.
    //
    // API endpoint: https://minio:9000?Action=AssumeRoleWithCertificate&Version=2011-06-15
    func (sts *stsAPIHandlers) AssumeRoleWithCertificate(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "AssumeRoleWithCertificate")
    
    	claims := make(map[string]interface{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  8. cmd/iam-store.go

    	// map of STS access key to policy names
    	iamSTSPolicyMap *xsync.MapOf[string, MappedPolicy]
    
    	// map of group names to group info
    	iamGroupsMap map[string]GroupInfo
    	// map of user names to groups they are a member of
    	iamUserGroupMemberships map[string]set.StringSet
    	// map of group names to policy names
    	iamGroupPolicyMap *xsync.MapOf[string, MappedPolicy]
    }
    
    func newIamCache() *iamCache {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

    // 'f:<name>', where <name> is the name of a field in a struct, or key in a map
    // 'v:<value>', where <value> is the exact json formatted value of a list item
    // 'i:<index>', where <index> is position of a item in a list
    // 'k:<keys>', where <keys> is a map of  a list item's key fields to their unique values
    // If a key maps to an empty Fields value, the field that key represents is part of the set.
    //
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/net/InetAddresses.java

        return hextetsToIPv6String(hextets) + scopeWithDelimiter((Inet6Address) ip);
      }
    
      private static String scopeWithDelimiter(Inet6Address ip) {
        // getHostAddress on android sometimes maps the scope id to an invalid interface name; if the
        // mapped interface isn't present, fallback to use the scope id (which has no validation against
        // present interfaces)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top