Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for K2 (0.02 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java

      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2));
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) {
        return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2, k3, v3));
      }
    
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. ChangeLog.md

    - [`KT-65345`](https://youtrack.jetbrains.com/issue/KT-65345) K2: unify FirDesignation and LLFirResolveTarget
    - [`KT-61757`](https://youtrack.jetbrains.com/issue/KT-61757) K2 IDE: resolution to buitlins does not work for from common module
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            [k2: "2"]           | { }                       | { it.put("k1", notDefined()) ; it.insert("k2", "2") } | "put missing then append"
            [k2: "2"]           | { }                       | { it.insert("k1", notDefined()) ; it.put("k2", "2") } | "insert missing then add"
            [k2: "2"]           | { it.set([k0: "0"]) }     | { it.put("k1", notDefined()) ; it.insert("k2", "2") } | "put missing to non-empty then append"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  4. src/crypto/ecdsa/boring.go

    	b.key = key
    	privCache.Put(priv, b)
    	return key, nil
    }
    
    func publicKeyEqual(k1, k2 *PublicKey) bool {
    	return k1.X != nil &&
    		k1.Curve.Params() == k2.Curve.Params() &&
    		k1.X.Cmp(k2.X) == 0 &&
    		k1.Y.Cmp(k2.Y) == 0
    }
    
    func privateKeyEqual(k1, k2 *PrivateKey) bool {
    	return publicKeyEqual(&k1.PublicKey, &k2.PublicKey) &&
    		k1.D.Cmp(k2.D) == 0
    }
    
    func copyPublicKey(k *PublicKey) PublicKey {
    	return PublicKey{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *
       * @throws IllegalArgumentException if duplicate keys or values are added
       */
      public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2) {
        checkEntryNotNull(k1, v1);
        checkEntryNotNull(k2, v2);
        return new RegularImmutableBiMap<K, V>(new Object[] {k1, v1, k2, v2}, 2);
      }
    
      /**
       * Returns an immutable map containing the given entries, in order.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) {
        return new RegularImmutableMap<K, V>(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) {
        return new RegularImmutableMap<K, V>(entryOf(k1, v1), entryOf(k2, v2), entryOf(k3, v3));
      }
    
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. src/crypto/rsa/boring.go

    	return key, nil
    }
    
    func publicKeyEqual(k1, k2 *PublicKey) bool {
    	return k1.N != nil &&
    		k1.N.Cmp(k2.N) == 0 &&
    		k1.E == k2.E
    }
    
    func copyPublicKey(k *PublicKey) PublicKey {
    	return PublicKey{
    		N: new(big.Int).Set(k.N),
    		E: k.E,
    	}
    }
    
    func privateKeyEqual(k1, k2 *PrivateKey) bool {
    	return publicKeyEqual(&k1.PublicKey, &k2.PublicKey) &&
    		k1.D.Cmp(k2.D) == 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 00:30:19 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/openapi/maplist_test.go

    					extListType:    listTypeMap,
    					extListMapKeys: []any{"k1", "k2"},
    				}}},
    			items: []interface{}{
    				map[string]interface{}{
    					"k1": "a",
    					"k2": "b",
    					"v1": "a",
    				},
    				map[string]interface{}{
    					"k1": "a",
    					"k2": "b",
    					"v1": "b",
    				},
    				map[string]interface{}{
    					"k1": "x",
    					"k2": "y",
    					"v1": "z",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 18:08:11 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/maplist_test.go

    					XListType:    &listTypeMap,
    					XListMapKeys: []string{"k1", "k2"},
    				},
    			},
    			items: []interface{}{
    				map[string]interface{}{
    					"k1": "a",
    					"k2": "b",
    					"v1": "a",
    				},
    				map[string]interface{}{
    					"k1": "a",
    					"k2": "b",
    					"v1": "b",
    				},
    				map[string]interface{}{
    					"k1": "x",
    					"k2": "y",
    					"v1": "z",
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 18:08:11 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. src/internal/types/testdata/fixedbugs/issue51229.go

    // test case from issue
    
    func equal[M1 ~map[K1]V1, M2 ~map[K2]V2, K1, K2 ~uint32, V1, V2 ~string](m1 M1, m2 M2) bool {
    	if len(m1) != len(m2) {
    		return false
    	}
    	for k, v1 := range m1 {
    		if v2, ok := m2[K2(k)]; !ok || V2(v1) != v2 {
    			return false
    		}
    	}
    	return true
    }
    
    func equalFixed[K1, K2 ~uint32, V1, V2 ~string](m1 map[K1]V1, m2 map[K2]V2) bool {
    	if len(m1) != len(m2) {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top