Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Key1 (0.26 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

        for (LoadingCache<Key, String> cache : caches()) {
          Key key1 = new Key(1);
          String value1 = key1.toString();
          Key key2 = new Key(2);
          String value2 = key2.toString();
          assertSame(value1, cache.getUnchecked(key1));
          assertSame(value2, cache.getUnchecked(key2));
          assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheReferencesTest.java

        for (LoadingCache<Key, String> cache : caches()) {
          Key key1 = new Key(1);
          String value1 = key1.toString();
          Key key2 = new Key(2);
          String value2 = key2.toString();
          assertSame(value1, cache.getUnchecked(key1));
          assertSame(value2, cache.getUnchecked(key2));
          assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 6.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

          int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1);
          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
            int key2 = key1 ^ (1 << i);
            // get hashes
            int hash1 = function.hashInt(key1).asInt();
            int hash2 = function.hashInt(key2).asInt();
            // test whether the hash values have same output bits
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

    import jcifs.smb1.util.Hexdump;
    
    public abstract class DcerpcHandle implements DcerpcConstants {
    
        /* Bindings are in the form:
         * proto:\\server[key1=val1,key2=val2]
         * or
         * proto:server[key1=val1,key2=val2]
         * or
         * proto:[key1=val1,key2=val2]
         *
         * If a key is absent it is assumed to be 'endpoint'. Thus the
         * following are equivalent:
         * proto:\\ts0.win.net[endpoint=\pipe\srvsvc]
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            String expected = "1";
            doc.put("key1", expected);
            assertEquals(expected, DocumentUtil.getValue(doc, "key1", String.class));
            assertEquals(Integer.parseInt(expected), DocumentUtil.getValue(doc, "key1", Integer.class).intValue());
            assertEquals(Long.parseLong(expected), DocumentUtil.getValue(doc, "key1", Long.class).longValue());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Striped.java

     * i.e. {@code if (key1.equals(key2))} then {@code striped.get(key1) == striped.get(key2)} (assuming
     * {@link Object#hashCode()} is correctly implemented for the keys). Note that if {@code key1} is
     * <strong>not</strong> equal to {@code key2}, it is <strong>not</strong> guaranteed that {@code
     * striped.get(key1) != striped.get(key2)}; the elements might nevertheless be mapped to the same
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  7. android/guava-tests/test/com/google/common/hash/HashTestUtils.java

          int maxCount = (int) (4 * Math.log(2 * keyBits * hashBits) + 1);
          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
            int key2 = key1 ^ (1 << i);
            // get hashes
            int hash1 = function.hashInt(key1).asInt();
            int hash2 = function.hashInt(key2).asInt();
            // test whether the hash values have same output bits
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 25.3K bytes
    - Viewed (0)
  8. internal/config/identity/openid/jwks_test.go

    		0x69, 0xef, 0x1f, 0xf, 0xc6, 0x5b, 0x66, 0x59, 0x69, 0x5b, 0x6c, 0xce,
    		0x8, 0x17, 0x23,
    	}) {
    		t.Fatalf("Bad key[0].Y, got %v", key0.Y.Bytes())
    	} else if key1.E != 0x10001 {
    		t.Fatalf("Bad key[1].E: %d", key1.E)
    	} else if !bytes.Equal(key1.N.Bytes(), []byte{
    		0xd2, 0xfc, 0x7b, 0x6a, 0xa, 0x1e,
    		0x6c, 0x67, 0x10, 0x4a, 0xeb, 0x8f, 0x88, 0xb2, 0x57, 0x66, 0x9b, 0x4d, 0xf6,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 9.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/LinkedListMultimap.java

     * for the following multimap definition:
     *
     * <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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/filter_test.go

    							<Tag>
    								<Key>key1</Key>
    								<Value>value1</Value>
    							</Tag>
    							<Tag>
    								<Key>key2</Key>
    								<Value>value2</Value>
    							</Tag>
    							</And>
    						</Filter>`,
    			expectedErr: nil,
    		},
    		{ // Filter with And and multiple Tag tags
    			inputXML: ` <Filter>
    							<And>
    							<Prefix></Prefix>
    							<Tag>
    								<Key>key1</Key>
    								<Value>value1</Value>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top