Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1171 - 1180 of 2,582 for map (0.02 seconds)

  1. src/main/java/org/codelibs/fess/storage/GcsStorageClient.java

            return items;
        }
    
        @Override
        public Map<String, String> getObjectTags(final String objectName) {
            try {
                final Blob blob = storage.get(BlobId.of(bucket, objectName));
                if (blob == null) {
                    return Collections.emptyMap();
                }
                // GCS uses metadata instead of tags
                final Map<String, String> metadata = blob.getMetadata();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.Map.Entry;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code remove} operations on a map. Can't be invoked directly;
     * please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java

        multimap.put("a", -1);
        multimap.put("a", -3);
        multimap.put("z", -2);
        return multimap;
      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        return createMultimap().asMap().subMap("e", "p");
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        TreeMultimap<String, Integer> multimap = createMultimap();
        multimap.put("f", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/util/SettingsResourceLoaderTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.suggest.util;
    
    import static org.junit.Assert.*;
    
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.junit.Test;
    
    /**
     * Unit tests for SettingsResourceLoader.
     */
    public class SettingsResourceLoaderTest {
    
        @Test
        public void testLoadJsonResource_existingResource() throws IOException {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Sets.java

       * in the following code fragment:
       *
       * {@snippet :
       * Set<Object> identityHashSet = Sets.newSetFromMap(new IdentityHashMap<Object, Boolean>());
       * }
       *
       * <p>The returned set is serializable if the backing map is.
       *
       * @param map the backing map
       * @return the set backed by the map
       * @throws IllegalArgumentException if {@code map} is not empty
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.artifact.repository.metadata.Snapshot;
    import org.apache.maven.artifact.repository.metadata.SnapshotVersion;
    import org.apache.maven.artifact.repository.metadata.Versioning;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                return null;
            }
    
            Map<Plugin, Plugin> plugins = new LinkedHashMap<>();
    
            for (Lifecycle lifecycle : defaultLifeCycles.getLifeCycles()) {
                org.apache.maven.lifecycle.mapping.Lifecycle lifecycleConfiguration =
                        lifecycleMappingForPackaging.getLifecycles().get(lifecycle.getId());
    
                Map<String, LifecyclePhase> phaseToGoalMapping = null;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableEnumMap.java

      static <K extends Enum<K>, V> ImmutableMap<K, V> asImmutable(EnumMap<K, V> map) {
        switch (map.size()) {
          case 0:
            return ImmutableMap.of();
          case 1:
            Entry<K, V> entry = getOnlyElement(map.entrySet());
            return ImmutableMap.of(entry.getKey(), entry.getValue());
          default:
            return new ImmutableEnumMap<>(map);
        }
      }
    
      private final transient EnumMap<K, V> delegate;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/app/web/admin/user/AdminUserActionTest.java

            final Map<String, String> item = adminUserAction.createItem("Label", "value");
    
            assertNotNull(item);
            assertEquals(2, item.size());
            assertEquals("Label", item.get(Constants.ITEM_LABEL));
            assertEquals("value", item.get(Constants.ITEM_VALUE));
        }
    
        @Test
        public void test_createItem_emptyValues() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

    import okhttp3.internal.http.promisesBody
    import okio.BufferedSource
    import okio.Source
    import okio.buffer
    
    /**
     * Transparent Compressed response support.
     *
     * The algorithm map will be turned into a heading such as "Accept-Encoding: br, gzip"
     *
     * If [algorithms] is empty this interceptor has no effect. To disable compression set
     * a specific "Accept-Encoding: identity" or similar.
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 15:15:28 GMT 2025
    - 2.9K bytes
    - Click Count (1)
Back to Top