Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 252 for containsKey (0.08 sec)

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

        for (int i = MIN_BOUND - 1; i <= MAX_BOUND + 1; i++) {
          assertEquals(model.get(i), test.get(i));
    
          Entry<Range<Integer>, Integer> entry = test.getEntry(i);
          assertEquals(model.containsKey(i), entry != null);
          if (entry != null) {
            assertTrue(test.asMapOfRanges().entrySet().contains(entry));
          }
        }
        for (Range<Integer> range : test.asMapOfRanges().keySet()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheBuilder.java

       * access. Access time is reset by all cache read and write operations (including {@code
       * Cache.asMap().get(Object)} and {@code Cache.asMap().put(K, V)}), but not by {@code
       * containsKey(Object)}, nor by operations on the collection-views of {@link Cache#asMap}}. So,
       * for example, iterating through {@code Cache.asMap().entrySet()} does not reset access time for
       * the entries you retrieve.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals("2", result.get("second"));
        assertEquals("item :   a short  phrase   ", result.get("Third"));
        assertFalse(result.containsKey("not here"));
    
        // Test loading system properties
        result = Maps.fromProperties(System.getProperties());
        assertTrue(result.containsKey("java.version"));
    
        // Test that defaults work, too.
        testProp = new Properties(System.getProperties());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
  4. 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));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

        }
    
        @Override
        void visitWildcardType(WildcardType t) {
          visit(t.getUpperBounds());
        }
    
        private void map(TypeVariableKey var, Type arg) {
          if (mappings.containsKey(var)) {
            // Mapping already established
            // This is possible when following both superClass -> enclosingClass
            // and enclosingclass -> superClass paths.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. 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) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  7. 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()).intValue() == freshness.get()) {
              // same freshness, generate again.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.1K bytes
    - Viewed (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 -> {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. 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);
                            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  10. 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()).intValue() == freshness.get()) {
              // same freshness, generate again.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 28.7K bytes
    - Viewed (0)
Back to top