Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,032 for maps (0.02 sec)

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

      }
    
      public void testCopyOf_map_empty() {
        Map<Class<?>, Object> in = emptyMap();
        ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
        assertTrue(map.isEmpty());
        assertSame(map, ImmutableClassToInstanceMap.of());
        assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
      }
    
      public void testOf_zero() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    final Map<String, Object> map = new HashMap<>();
                    final Item item = result.get();
                    final String objectName = item.objectName();
                    map.put("id", encodeId(objectName));
                    map.put("path", prefix);
                    map.put("name", getName(objectName));
                    map.put("hashCode", item.hashCode());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  3. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java

        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        map.remove(4);
        testHasMapEntriesInOrder(map, 1, "a", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterRemoveLastEntry() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         * @param callback The function to resolve variable values not found in the map.
         * @param defaultsToEmpty If true, unresolved placeholders are replaced with empty strings. If false, they are left unchanged.
         */
        default void interpolate(
                @Nonnull Map<String, String> map, @Nullable UnaryOperator<String> callback, boolean defaultsToEmpty) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

      }
    
      public void testCreateFromMap() {
        /* Test with non-empty Map. */
        Map<Currency, String> map =
            ImmutableMap.of(
                Currency.DOLLAR, "dollar",
                Currency.PESO, "peso",
                Currency.FRANC, "franc");
        EnumHashBiMap<Currency, String> bimap = EnumHashBiMap.create(map);
        assertEquals("dollar", bimap.get(Currency.DOLLAR));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/CompactHashMap.java

      @VisibleForTesting
      @Nullable Map<K, V> delegateOrNull() {
        if (table instanceof Map) {
          return (Map<K, V>) table;
        }
        return null;
      }
    
      Map<K, V> createHashFloodingResistantDelegate(int tableSize) {
        return new LinkedHashMap<>(tableSize, 1.0f);
      }
    
      @CanIgnoreReturnValue
      Map<K, V> convertToHashFloodingResistantImplementation() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/TypeResolver.java

        private final ImmutableMap<TypeVariableKey, Type> map;
    
        TypeTable() {
          this.map = ImmutableMap.of();
        }
    
        private TypeTable(ImmutableMap<TypeVariableKey, Type> map) {
          this.map = map;
        }
    
        /** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */
        final TypeTable where(Map<TypeVariableKey, ? extends Type> mappings) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            int written = trans2QueryFSInfo.writeParametersWireFormat(buffer, 0);
    
            // Should write 2 bytes: information level
            assertEquals(2, written);
    
            // Check information level (SMB_INFO_ALLOCATION maps to 0x0001)
            int actualInfoLevel = SMBUtil.readInt2(buffer, 0);
            assertEquals(0x0001, actualInfoLevel);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat with FS_SIZE_INFO")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

            assertEquals(6, written);
    
            // Check FID
            int actualFid = SMBUtil.readInt2(buffer, 0);
            assertEquals(TEST_FID, actualFid);
    
            // Check information level (FILE_BASIC_INFO maps to 0x0101)
            int actualInfoLevel = SMBUtil.readInt2(buffer, 2);
            assertEquals(0x0101, actualInfoLevel);
    
            // Check reserved bytes (should be 0)
            int reserved = SMBUtil.readInt2(buffer, 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top