Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 2,070 for mmap (0.03 sec)

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

    import java.util.Arrays;
    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public class MapTestSuiteBuilder<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                            map.compute(name, (n, ob) -> ob == null || ob.getPriority() < b.getPriority() ? b : ob);
                        }
                    }
                    //noinspection unchecked
                    return (Q) map(map, this::getInstance);
                };
            }
    
            private <Q> Q getInstance(Binding<Q> binding) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if ((map instanceof ImmutableMap) && !(map instanceof SortedMap)) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableMap<K, V> kvMap = (ImmutableMap<K, V>) map;
          if (!kvMap.isPartialView()) {
            return kvMap;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

        extends AbstractSetMultimap<K, V> implements SortedSetMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract SortedSet<V> createCollection();
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

         * map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand.
         */
        @Override
        public void testRemove() {
          final Map<String, Map<Integer, Character>> map;
          try {
            map = makePopulatedMap();
          } catch (UnsupportedOperationException e) {
            return;
          }
          final String keyToRemove = map.keySet().iterator().next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/TableCollectionTest.java

         * map.remove(x)} returns the same value which {@code map.get(x)} did immediately beforehand.
         */
        @Override
        public void testRemove() {
          final Map<String, Map<Integer, Character>> map;
          try {
            map = makePopulatedMap();
          } catch (UnsupportedOperationException e) {
            return;
          }
          final String keyToRemove = map.keySet().iterator().next();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. cmd/policy_test.go

    		Action:          policy.GetBucketLocationAction,
    		BucketName:      "mybucket",
    		ConditionValues: map[string][]string{},
    	}
    
    	anonPutObjectActionArgs := policy.BucketPolicyArgs{
    		AccountName: "Q3AM3UQ867SPQQA43P2F",
    		Action:      policy.PutObjectAction,
    		BucketName:  "mybucket",
    		ConditionValues: map[string][]string{
    			"x-amz-copy-source": {"mybucket/myobject"},
    			"SourceIp":          {"192.168.1.10"},
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. internal/crypto/metadata.go

    }
    
    // CreateMultipartMetadata adds the multipart flag entry to metadata
    // and returns modified metadata. It allocates a new metadata map if
    // metadata is nil.
    func CreateMultipartMetadata(metadata map[string]string) map[string]string {
    	if metadata == nil {
    		return map[string]string{MetaMultipart: ""}
    	}
    	metadata[MetaMultipart] = ""
    	return metadata
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 17:40:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SparseImmutableTable.java

          ImmutableList<Cell<R, C, V>> cellList,
          ImmutableSet<R> rowSpace,
          ImmutableSet<C> columnSpace) {
        Map<R, Integer> rowIndex = Maps.indexMap(rowSpace);
        Map<R, Map<C, V>> rows = Maps.newLinkedHashMap();
        for (R row : rowSpace) {
          rows.put(row, new LinkedHashMap<C, V>());
        }
        Map<C, Map<R, V>> columns = Maps.newLinkedHashMap();
        for (C col : columnSpace) {
          columns.put(col, new LinkedHashMap<R, V>());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                    }, (searchResponse, hit) -> {
                        final Map<String, Object> docMap = new HashMap<>();
                        final Map<String, Object> source = hit.getSourceAsMap();
                        if (source != null) {
                            docMap.putAll(source);
                        }
                        final Map<String, DocumentField> fields = hit.getFields();
                        if (fields != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top