Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 271 for optall (0.13 sec)

  1. guava/src/com/google/common/collect/TreeBasedTable.java

      public static <R, C, V> TreeBasedTable<R, C, V> create(TreeBasedTable<R, C, ? extends V> table) {
        TreeBasedTable<R, C, V> result =
            new TreeBasedTable<>(table.rowComparator(), table.columnComparator());
        result.putAll(table);
        return result;
      }
    
      TreeBasedTable(Comparator<? super R> rowComparator, Comparator<? super C> columnComparator) {
        super(new TreeMap<R, Map<C, V>>(rowComparator), new Factory<C, V>(columnComparator));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                    request.setRemoteRepositories(req.getRemoteRepositories());
                }
            } else {
                Properties props = new Properties();
                EnvironmentUtils.addEnvVars(props);
                props.putAll(System.getProperties());
                request.setSystemProperties(props);
            }
    
            return request;
        }
    
        @SuppressWarnings("unchecked")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/BloomFilter.java

       *
       * @param that The Bloom filter to combine this Bloom filter with. It is not mutated.
       * @throws IllegalArgumentException if {@code isCompatible(that) == false}
       * @since 15.0
       */
      public void putAll(BloomFilter<T> that) {
        checkNotNull(that);
        checkArgument(this != that, "Cannot combine a BloomFilter with itself.");
        checkArgument(
            this.numHashFunctions == that.numHashFunctions,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        @Override
        public V getUnchecked(K key) {
          return autoDelegate.getUnchecked(key);
        }
    
        @Override
        public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
          return autoDelegate.getAll(keys);
        }
    
        @Override
        public V apply(K key) {
          return autoDelegate.apply(key);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                if (l != null) {
                    l.clearValue();
                }
            }
            return old;
        }
    
        void putAllSubstituted(Map<? extends String, ? extends String> m) {
            storage.putAll(m);
        }
    
        public String put(String key, List<String> commentLines, List<String> valueLines) {
            commentLines = new ArrayList<>(commentLines);
            valueLines = new ArrayList<>(valueLines);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayMap.java

         *
         * @param map
         *            マッピングがこのマップに配置されるマップ
         */
        public ArrayMap(final Map<? extends K, ? extends V> map) {
            this((int) (map.size() / LOAD_FACTOR) + 1);
            putAll(map);
        }
    
        @Override
        public int size() {
            return size;
        }
    
        @Override
        public boolean isEmpty() {
            return size == 0;
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeMultimap.java

      private TreeMultimap(
          Comparator<? super K> keyComparator,
          Comparator<? super V> valueComparator,
          Multimap<? extends K, ? extends V> multimap) {
        this(keyComparator, valueComparator);
        putAll(multimap);
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return createMaybeNavigableAsMap();
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Mar 09 00:21:17 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          // don't let the entries get GCed
          List<Entry<Object, Object>> unused = warmUp(cache);
          Object newKey = new Object();
          Object newValue = new Object();
          cache.asMap().putAll(ImmutableMap.of(newKey, newValue));
          // this getUnchecked() call shouldn't be a cache miss; verified below
          assertEquals(newValue, cache.getUnchecked(newKey));
          assertEquals(WARMUP_SIZE, cache.stats().missCount());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

      fun sleep(durationNanos: Long) {
        taskRunner.lock.withLock {
          val sleepUntil = nanoTime + durationNanos
          yieldUntil { nanoTime >= sleepUntil }
        }
      }
    
      /**
       * Artificially stall until manually resumed by the test thread with [runTasks]. Use this to
       * simulate races in tasks that doesn't have a deterministic sequence.
       */
      fun yield() {
        taskRunner.assertThreadDoesntHoldLock()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        }
      }
    
      public void testDecodeInt() {
        assertThat(UnsignedInts.decode("0xffffffff")).isEqualTo(0xffffffff);
        assertThat(UnsignedInts.decode("01234567")).isEqualTo(01234567); // octal
        assertThat(UnsignedInts.decode("#12345678")).isEqualTo(0x12345678);
        assertThat(UnsignedInts.decode("76543210")).isEqualTo(76543210);
        assertThat(UnsignedInts.decode("0x13579135")).isEqualTo(0x13579135);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top