Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 318 for containsKey (0.06 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                Map<String, Server> serversById = new HashMap<>();
    
                if (servers != null) {
                    for (Server server : servers) {
                        if (!serversById.containsKey(server.getId())) {
                            serversById.put(server.getId(), server);
                        }
                    }
                }
    
                for (ArtifactRepository repository : repositories) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 31.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

                // Before blocking, confirm that the stream we're writing is still open. It's possible
                // that the stream has since been closed (such as if this write timed out.)
                if (!streams.containsKey(streamId)) {
                  throw IOException("stream closed")
                }
                wait() // Wait until we receive a WINDOW_UPDATE.
              }
            } catch (e: InterruptedException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                        // Calculate RRF score: 1 / (rank_constant + rank)
                        final float rrfScore = 1.0f / (rankConstant + docRank);
                        if (documentsByIdMap.containsKey(id)) {
                            final Map<String, Object> existingDoc = documentsByIdMap.get(id);
                            final float currentScore = toFloat(existingDoc.get(scoreField));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Splitter.java

            Iterator<String> entryFields = entrySplitter.splittingIterator(entry);
    
            checkArgument(entryFields.hasNext(), INVALID_ENTRY_MESSAGE, entry);
            String key = entryFields.next();
            checkArgument(!map.containsKey(key), "Duplicate key [%s] found.", key);
    
            checkArgument(entryFields.hasNext(), INVALID_ENTRY_MESSAGE, entry);
            String value = entryFields.next();
            map.put(key, value);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                            docMap.put(fessConfig.getResponseFieldSitePath(), viewHelper.getSitePath(docMap));
                        }
    
                        if (!docMap.containsKey(Constants.SCORE)) {
                            final float score = hit.getScore();
                            if (Float.isFinite(score)) {
                                docMap.put(Constants.SCORE, score);
                            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/ClassPath.java

          entries.putAll(getClassPathEntries(parent));
        }
        for (URL url : getClassLoaderUrls(classloader)) {
          if (url.getProtocol().equals("file")) {
            File file = toFile(url);
            if (!entries.containsKey(file)) {
              entries.put(file, classloader);
            }
          }
        }
        return ImmutableMap.copyOf(entries);
      }
    
      private static ImmutableList<URL> getClassLoaderUrls(ClassLoader classloader) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          Array.set(array, 0, generate(componentType));
          return array;
        }
        Method emptyGenerate = EMPTY_GENERATORS.get(rawType);
        if (emptyGenerate != null) {
          if (emptyInstanceGenerated.containsKey(type.getType())) {
            // empty instance already generated
            if (emptyInstanceGenerated.get(type.getType()) == freshness.get()) {
              // same freshness, generate again.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/GenericsUtil.java

            case ParameterizedType paramType -> getActualClass(paramType.getRawType(), map);
            case WildcardType wildcard -> getActualClass(wildcard.getUpperBounds()[0], map);
            case TypeVariable<?> typeVar -> map.containsKey(typeVar) ? getActualClass(map.get(typeVar), map)
                    : getActualClass(typeVar.getBounds()[0], map);
            case GenericArrayType arrayType -> {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 23.4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          Array.set(array, 0, generate(componentType));
          return array;
        }
        Method emptyGenerate = EMPTY_GENERATORS.get(rawType);
        if (emptyGenerate != null) {
          if (emptyInstanceGenerated.containsKey(type.getType())) {
            // empty instance already generated
            if (emptyInstanceGenerated.get(type.getType()) == freshness.get()) {
              // same freshness, generate again.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        tester.testAllPublicInstanceMethods(MinMaxPriorityQueue.<String>create());
      }
    
      private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) {
        if (replica.containsKey(newValue)) {
          replica.get(newValue).incrementAndGet();
        } else {
          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
Back to Top