Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 1,430 for kValues (0.1 sec)

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

        map.put("foo", 2);
        map.put("bar", 3);
        List<Integer> foos = map.get("foo");
        Collection<Integer> values = map.values();
        assertEquals(asList(1, 2), foos);
        assertThat(values).containsExactly(1, 2, 3).inOrder();
        map.clear();
        assertEquals(emptyList(), foos);
        assertThat(values).isEmpty();
        assertEquals("[]", map.entries().toString());
        assertEquals("{}", map.toString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals(24, mmHeap.size());
        assertTrue("Heap is not intact after remove()", mmHeap.isIntact());
        values.removeAll(Lists.newArrayList(2));
        assertEquals(values.size(), mmHeap.size());
        assertTrue(values.containsAll(mmHeap));
        assertTrue(mmHeap.containsAll(values));
      }
    
      public void testIteratorInvalidatingIteratorRemove() {
        MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  3. cmd/storagemetric_string.go

    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[storageMetricMakeVolBulk-0]
    	_ = x[storageMetricMakeVol-1]
    	_ = x[storageMetricListVols-2]
    	_ = x[storageMetricStatVol-3]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/hash/crc32/62384.md

    The values returned by [New] and [NewIEEE] now also implement the [encoding.BinaryAppender] interface....
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:23:15 UTC 2024
    - 103 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/MathBenchmarking.java

     * Utilities for benchmarks.
     *
     * <p>In many cases, we wish to vary the order of magnitude of the input as much as we want to vary
     * the input itself, so most methods which generate values use an exponential distribution varying
     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.1K bytes
    - Viewed (0)
  6. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

              if (started) it.start()
            }
          }
        }
    
        fun startAll() {
          started = true
          for (server in servers.values) {
            server.start()
          }
        }
    
        fun shutdownAll() {
          try {
            val toClear = servers.values.toList()
            servers.clear()
            for (server in toClear) {
              server.shutdown()
            }
          } catch (e: IOException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 11 12:12:36 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            entries.add(mapEntry(k, v));
          }
          Iterable<Entry<K, V>> orderedEntries = multimapGenerator.order(entries);
          List<V> values = new ArrayList<>();
          for (Entry<K, V> entry : orderedEntries) {
            values.add(entry.getValue());
          }
          return values;
        }
    
        @Override
        public Collection<V> create(Object... elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

        assertEquals("[" + JOINER.join(map.entrySet()) + "]", map.entrySet().toString());
        assertEquals("[" + JOINER.join(map.keySet()) + "]", map.keySet().toString());
        assertEquals("[" + JOINER.join(map.values()) + "]", map.values().toString());
    
        assertEquals(MinimalSet.from(map.entrySet()), map.entrySet());
        assertEquals(newHashSet(map.keySet()), map.keySet());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/AbstractImmutableSortedMapMapInterfaceTest.java

        assertEquals("[" + joiner.join(map.entrySet()) + "]", map.entrySet().toString());
        assertEquals("[" + joiner.join(map.keySet()) + "]", map.keySet().toString());
        assertEquals("[" + joiner.join(map.values()) + "]", map.values().toString());
    
        assertEquals(newHashSet(map.entrySet()), map.entrySet());
        assertEquals(newHashSet(map.keySet()), map.keySet());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/CompactHashing.java

        do {
          int entryIndex = next - 1;
          int entry = entries[entryIndex];
          if (getHashPrefix(entry, mask) == hashPrefix
              && Objects.equal(key, keys[entryIndex])
              && (values == null || Objects.equal(value, values[entryIndex]))) {
            int newNext = getNext(entry, mask);
            if (lastEntryIndex == -1) {
              // we need to update the root link from table[]
              tableSet(table, tableIndex, newNext);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top