Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for map (0.14 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

        final Map<K, V> map;
    
        MapMultimap(Map<K, V> map) {
          this.map = checkNotNull(map);
        }
    
        @Override
        public int size() {
          return map.size();
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return map.containsKey(key);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	// map of STS access key to policy names
    	iamSTSPolicyMap *xsync.MapOf[string, MappedPolicy]
    
    	// map of group names to group info
    	iamGroupsMap map[string]GroupInfo
    	// map of user names to groups they are a member of
    	iamUserGroupMemberships map[string]set.StringSet
    	// map of group names to policy names
    	iamGroupPolicyMap *xsync.MapOf[string, MappedPolicy]
    }
    
    func newIamCache() *iamCache {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        // Hack around K not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<K> naturalOrder = (Ordering<K>) NATURAL_ORDER;
        return copyOfInternal(map, naturalOrder);
      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}, with keys sorted by the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

            throw (T) t; // rely on vacuous cast
        }
    
        static class LazyMap<K, V> extends AbstractMap<K, V> {
            private final Supplier<Map<K, V>> supplier;
            private volatile Map<K, V> delegate;
    
            LazyMap(Supplier<Map<K, V>> supplier) {
                this.supplier = supplier;
            }
    
            @Override
            public Set<Entry<K, V>> entrySet() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            if (request.getValidationLevel() < ModelBuilderRequest.VALIDATION_LEVEL_MAVEN_2_0) {
                return;
            }
    
            Map<String, Plugin> plugins = new HashMap<>();
            Map<String, String> versions = new HashMap<>();
            Map<String, String> managedVersions = new HashMap<>();
    
            for (int i = lineage.size() - 1; i >= 0; i--) {
                Model model = lineage.get(i);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  6. tests/query_test.go

    	}
    }
    
    func TestSearchWithMap(t *testing.T) {
    	users := []User{
    		*GetUser("map_search_user1", Config{}),
    		*GetUser("map_search_user2", Config{}),
    		*GetUser("map_search_user3", Config{}),
    		*GetUser("map_search_user4", Config{Company: true}),
    	}
    
    	DB.Create(&users)
    
    	var user User
    	DB.First(&user, map[string]interface{}{"name": users[0].Name})
    	CheckUser(t, user, users[0])
    
    	user = User{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  7. cmd/iam.go

    	// List of unique LDAP (parent) user DNs that have active creds
    	var parentUsers []string
    	// Map of LDAP user to list of active credential objects
    	parentUserToCredsMap := make(map[string][]auth.Credentials)
    	// DN to ldap username mapping for each LDAP user
    	parentUserToLDAPUsernameMap := make(map[string]string)
    	for _, cred := range allCreds {
    		// Expired credentials don't need parent user updates.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/collect/Sets.java

       * in the following code fragment:
       *
       * <pre>{@code
       * Set<Object> identityHashSet = Sets.newSetFromMap(
       *     new IdentityHashMap<Object, Boolean>());
       * }</pre>
       *
       * <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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2_gen.go

    		zb0001Len--
    		zb0001Mask |= 0x1
    	}
    	// variable map header, size zb0001Len
    	o = append(o, 0x80|uint8(zb0001Len))
    	if zb0001Len == 0 {
    		return
    	}
    	if (zb0001Mask & 0x1) == 0 { // if not omitted
    		// string "V2Obj"
    		o = append(o, 0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a)
    		if z.ObjectV2 == nil {
    			o = msgp.AppendNil(o)
    		} else {
    			// map header, size 1
    			// string "DDir"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users.go

    				return
    			}
    		case allUsersFile:
    			userIdentities := make(map[string]UserIdentity)
    			err := globalIAMSys.store.loadUsers(ctx, regUser, userIdentities)
    			if err != nil {
    				writeErrorResponse(ctx, w, exportError(ctx, err, iamFile, ""), r.URL)
    				return
    			}
    			userAccounts := make(map[string]madmin.AddOrUpdateUserReq)
    			for u, uid := range userIdentities {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
Back to top