Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 508 for maps (0.02 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      @SuppressWarnings("unchecked")
      public static <K, V> ImmutableSortedMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        return copyOfInternal((Map<K, V>) map, (Ordering<K>) Ordering.natural());
      }
    
      public static <K, V> ImmutableSortedMap<K, V> copyOf(
          Map<? extends K, ? extends V> map, Comparator<? super K> comparator) {
        return copyOfInternal(map, checkNotNull(comparator));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Queues.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this
     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    )
    
    var (
    	resourceCollector *minioResourceCollector
    	// resourceMetricsMap is a map of subsystem to its metrics
    	resourceMetricsMap   map[MetricSubsystem]ResourceMetrics
    	resourceMetricsMapMu sync.RWMutex
    	// resourceMetricsHelpMap maps metric name to its help string
    	resourceMetricsHelpMap map[MetricName]string
    	resourceMetricsGroups  []*MetricsGroupV2
    	// initial values for drives (at the time  of server startup)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
        map.put("bar", 4);
        assertEquals("[1, 2, 3, 4]", map.values().toString());
        map.values().remove(2);
        assertEquals("{bar=[1, 3, 4]}", map.toString());
      }
    
      public void testLinkedEntries() {
        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/LinkedListMultimap.java

    import java.util.Collection;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.List;
    import java.util.ListIterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
      public static void assertEmpty(Map<?, ?> map) {
        if (!map.isEmpty()) {
          fail("Not true that " + map + " is empty");
        }
      }
    
      public static void assertEqualInOrder(Iterable<?> expected, Iterable<?> actual) {
        Iterator<?> expectedIter = expected.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. architecture/ambient/ztunnel.md

    In addition, they are more clear and strictly typed; using Envoy types would require us to put a lot of information in untyped `metadata` maps.
    
    With this in mind, Ztunnel supports two xDS resources: `Address` and `Authorization`.
    
    ### Address Type
    
    The primary configuration consumed by Ztunnel is the [`Address` resource](../../pkg/workloadapi/workload.proto).
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Jul 17 23:10:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. 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)
  9. android/guava/src/com/google/common/collect/Queues.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Static utility methods pertaining to {@link Queue} and {@link Deque} instances. Also see this
     * class's counterparts {@link Lists}, {@link Sets}, and {@link Maps}.
     *
     * @author Kurt Alfred Kluever
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Queues {
      private Queues() {}
    
      // ArrayBlockingQueue
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. src/archive/tar/reader_test.go

    func TestParsePAX(t *testing.T) {
    	vectors := []struct {
    		in   string
    		want map[string]string
    		ok   bool
    	}{
    		{"", nil, true},
    		{"6 k=1\n", map[string]string{"k": "1"}, true},
    		{"10 a=name\n", map[string]string{"a": "name"}, true},
    		{"9 a=name\n", map[string]string{"a": "name"}, true},
    		{"30 mtime=1350244992.023960108\n", map[string]string{"mtime": "1350244992.023960108"}, true},
    		{"3 somelongkey=\n", nil, false},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
Back to top