Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 1,385 for putA (0.07 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      }
    
      private void putAll(Iterable<Entry<K, V>> entries) {
        Map<K, V> map = new LinkedHashMap<>();
        for (Entry<K, V> entry : entries) {
          map.put(entry.getKey(), entry.getValue());
        }
        getMap().putAll(map);
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testPutAll_nullKeyUnsupported()} so that tests
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        GcFinalization.awaitClear(ref);
        assertNull(ref.get());
      }
    
      public void testAwaitDone_finalizationPredicate() {
        final WeakHashMap<Object, Object> map = new WeakHashMap<>();
        map.put(new Object(), Boolean.TRUE);
        GcFinalization.awaitDone(
            new FinalizationPredicate() {
              @Override
              public boolean isDone() {
                return map.isEmpty();
              }
            });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Interners.java

                @SuppressWarnings("unchecked")
                E result = (E) canonical;
                return result;
              }
            }
    
            // didn't see it, trying to put it instead...
            Dummy sneaky = map.putIfAbsent(sample, Dummy.VALUE);
            if (sneaky == null) {
              return sample;
            } else {
              /* Someone beat us to it! Trying again...
               *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlExtractor.java

                xpathAPI.set(cachedXPathAPI);
            }
            return cachedXPathAPI;
        }
    
        public void addMetadata(final String name, final String xpath) {
            metadataXpathMap.put(name, xpath);
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.extractor.impl.AbstractXmlExtractor#getEncodingPattern()
         */
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

        if (from.equals(to)) {
          return;
        }
        new TypeVisitor() {
          @Override
          void visitTypeVariable(TypeVariable<?> typeVariable) {
            mappings.put(new TypeVariableKey(typeVariable), to);
          }
    
          @Override
          void visitWildcardType(WildcardType fromWildcardType) {
            if (!(to instanceof WildcardType)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

                    }
                }
    
                if (!docIdList.isEmpty()) {
                    final Map<String, String[]> resultDocIdsCache = getResultDocIdsCache(session);
                    resultDocIdsCache.put(queryId, docIdList.toArray(new String[docIdList.size()]));
                }
            });
        }
    
        public String[] getResultDocIds(final String queryId) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * Changes to the returned map, such as element removal, will update the underlying multimap. The
       * map does not support {@code setValue()} on its entries, {@code put}, or {@code putAll}.
       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
       * behavior as {@link #get}, returning a live collection. When passed a key that is not present,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    # (6)!
    CMD ["fastapi", "run", "app/main.py", "--port", "80"]
    ```
    
    1. Start from the official Python base image.
    
    2. Set the current working directory to `/code`.
    
        This is where we'll put the `requirements.txt` file and the `app` directory.
    
    3. Copy the file with the requirements to the `/code` directory.
    
        Copy **only** the file with the requirements first, not the rest of the code.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/bsentity/BsSearchLog.java

            }
            return sourceMap;
        }
    
        protected void addFieldToSource(Map<String, Object> sourceMap, String field, Object value) {
            sourceMap.put(field, value);
        }
    
        // ===================================================================================
        //                                                                      Basic Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      public void testBulkGetReturnsSorted() {
        for (Striped<?> striped : allImplementations()) {
          Map<Object, Integer> indexByLock = Maps.newHashMap();
          for (int i = 0; i < striped.size(); i++) {
            indexByLock.put(striped.getAt(i), i);
          }
    
          // ensure that bulkGet returns locks in monotonically increasing order
          for (int objectsNum = 1; objectsNum <= striped.size() * 2; objectsNum++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top