Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 58 for emptyMap (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

        val commaPrefixed = skipCommasAndWhitespace()
        peek = readToken()
        if (peek == null) {
          if (!exhausted()) return // Expected a token; got something else.
          result.add(Challenge(schemeName, emptyMap()))
          return
        }
    
        var eqCount = skipAll('='.code.toByte())
        val commaSuffixed = skipCommasAndWhitespace()
    
        // It's a token68 because there isn't a value after it.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyMap;
    import static java.util.Collections.emptySet;
    import static java.util.Collections.singleton;
    import static java.util.Collections.singletonMap;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            return resolveTransitively(
                    artifacts,
                    originatingArtifact,
                    Collections.emptyMap(),
                    localRepository,
                    remoteRepositories,
                    source,
                    filter);
        }
    
        @Override
        public ArtifactResolutionResult resolveTransitively(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 25K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

                }
    
                @Override
                public int getLtrWindowSize() {
                    return testWindowSize;
                }
            });
    
            Map<String, Object> params = Collections.emptyMap();
    
            RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params);
            assertNotNull(result);
            assertTrue(result instanceof QueryRescorerBuilder);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/filter/EncodingFilter.java

            final String queryString = request.getQueryString();
            if (StringUtil.isNotBlank(queryString)) {
                return parseQueryString(queryString, enc);
            }
            return Collections.emptyMap();
        }
    
        /**
         * Parses a query string and extracts parameter name-value pairs.
         * Applies URL decoding with the specified character encoding.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                        return null;
                    }
                    return createMockRescorerBuilder();
                }
            };
    
            assertNull(queryRescorer.evaluate(Collections.emptyMap()));
            assertNull(queryRescorer.evaluate(new HashMap<>()));
        }
    
        public void test_evaluate_withParams() {
            // Test implementation that returns a RescorerBuilder
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        /* Map must have at least one entry if not an EnumHashBiMap. */
        assertThrows(
            IllegalArgumentException.class,
            () -> EnumHashBiMap.create(Collections.<Currency, String>emptyMap()));
    
        /* Map can be empty if it's an EnumHashBiMap. */
        Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class);
        bimap = EnumHashBiMap.create(emptyBimap);
        assertTrue(bimap.isEmpty());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

            TestSortedMapGenerator<K, V> delegate, Bound to, Bound from) {
          super(delegate);
          this.to = to;
          this.from = from;
    
          SortedMap<K, V> emptyMap = delegate.create();
          this.entryComparator = entryComparator(emptyMap.comparator());
    
          // derive values for inclusive filtering from the input samples
          SampleElements<Entry<K, V>> samples = delegate.samples();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

            }
    
            final Map<String, String> configMap = configParameterMap.get(name);
            if (configMap == null) {
                return Collections.emptyMap();
            }
            return configMap;
        }
    
        @Override
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            }
        }
    
        public void test_generateId_withDataMap_edgeCases() {
            // Test with empty data map
            Map<String, Object> emptyMap = new HashMap<>();
            try {
                String result = crawlingInfoHelper.generateId(emptyMap);
                // May throw exception or return result - both acceptable
                if (result != null) {
                    assertEquals(128, result.length());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top