Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for key_2 (0.04 sec)

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

        String key1 = "QED";
        String key2 = "R&D";
        assertThat(key1.hashCode()).isEqualTo(key2.hashCode());
        ImmutableMap<String, Integer> map =
            ImmutableMap.<String, Integer>builder()
                .put(key1, 1)
                .put(key2, 2)
                .put(key1, 3)
                .put(key2, 4)
                .buildKeepingLast();
        assertMapEquals(map, key1, 3, key2, 4);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/LinkedListMultimap.java

     *
     * <pre>{@code
     * Multimap<K, V> multimap = LinkedListMultimap.create();
     * multimap.put(key1, foo);
     * multimap.put(key2, bar);
     * multimap.put(key1, baz);
     * }</pre>
     *
     * ... the iteration order for {@link #keys()} is {@code [key1, key2, key1]}, and similarly for
     * {@link #entries()}. Unlike {@link LinkedHashMultimap}, the iteration order is kept consistent
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        String key1 = "QED";
        String key2 = "R&D";
        assertThat(key1.hashCode()).isEqualTo(key2.hashCode());
        ImmutableMap<String, Integer> map =
            ImmutableMap.<String, Integer>builder()
                .put(key1, 1)
                .put(key2, 2)
                .put(key1, 3)
                .put(key2, 4)
                .buildKeepingLast();
        assertMapEquals(map, key1, 3, key2, 4);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(Double.parseDouble(expected), DocumentUtil.getValue(doc, "key1", Double.class).doubleValue());
    
            assertNull(DocumentUtil.getValue(doc, "key2", String.class));
        }
    
        public void test_strings() {
            Map<String, Object> doc = new HashMap<>();
            doc.put("key1", new String[] { "aaa", "bbb" });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. src/archive/tar/reader_test.go

    		{"3 somelongkey=\n", nil, false},
    		{"50 tooshort=\n", nil, false},
    		{"13 key1=haha\n13 key2=nana\n13 key3=kaka\n",
    			map[string]string{"key1": "haha", "key2": "nana", "key3": "kaka"}, true},
    		{"13 key1=val1\n13 key2=val2\n8 key1=\n",
    			map[string]string{"key1": "", "key2": "val2"}, true},
    		{"22 GNU.sparse.size=10\n26 GNU.sparse.numblocks=2\n" +
    			"23 GNU.sparse.offset=1\n25 GNU.sparse.numbytes=2\n" +
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 03 15:48:09 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  6. cmd/sftp-server.go

    		if len(attribValue) != 1 {
    			continue
    		}
    
    		if attribKey == "sshPublicKey" && key != nil {
    			key2, _, _, _, err := ssh.ParseAuthorizedKey([]byte(attribValue[0]))
    			if err != nil {
    				return nil, errSFTPPublicKeyBadFormat
    			}
    
    			if subtle.ConstantTimeCompare(key2.Marshal(), key.Marshal()) != 1 {
    				return nil, errAuthentication
    			}
    		}
    		claims[ldapAttribPrefix+attribKey] = attribValue[0]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 20 20:00:29 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        )
      }
    
      @Test
      fun dynamicTableEvictionWhenSizeLowered() {
        val headerBlock =
          headerEntries(
            "custom-key1",
            "custom-header",
            "custom-key2",
            "custom-header",
          )
        hpackWriter!!.writeHeaders(headerBlock)
        assertThat(hpackWriter!!.headerCount).isEqualTo(2)
        hpackWriter!!.resizeHeaderTable(56)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        String key1 = "key1";
        String key2 = "key2";
    
        assertEquals(
            key2,
            cache.get(
                key1,
                new CacheLoader<String, String>() {
                  @Override
                  public String load(String key) throws Exception {
                    return cache.get(key2, identityLoader()); // loads a different key, should work
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        String key1 = "key1";
        String key2 = "key2";
    
        assertEquals(
            key2,
            cache.get(
                key1,
                new CacheLoader<String, String>() {
                  @Override
                  public String load(String key) throws Exception {
                    return cache.get(key2, identityLoader()); // loads a different key, should work
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  10. docs/security/README.md

                       |          |                        |          |
                   +---+---+      |                    +---+---+      |
                   | KEK_1 |      |                    | KEK_2 |      |
                   +---+---+      |                    +---+---+      |
                       |          |                        |          |
                       |          |                        |          |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
Back to top