Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for K2 (0.12 sec)

  1. 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)
  2. guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(
          K k1, V v1, K k2, V v2) {
        return fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable sorted map containing the given entries, sorted by the natural ordering of
       * their keys.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       */
      public static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> of(
          K k1, V v1, K k2, V v2) {
        return fromEntries(entryOf(k1, v1), entryOf(k2, v2));
      }
    
      /**
       * Returns an immutable sorted map containing the given entries, sorted by the natural ordering of
       * their keys.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    			obj:    objs(map[string]interface{}{"k1": "a", "k2": "b"}, map[string]interface{}{"k2": "b", "k1": "a"}),
    			schema: schemas(mapType(&stringType), mapType(&stringType)),
    			expectCost: map[string]int64{
    				"self.val1 == self.val2":              5, // equal even though order is different
    				"'k1' in self.val1":                   3,
    				"!('k3' in self.val1)":                4,
    				"self.val1 == {'k1': 'a', 'k2': 'b'}": 3,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  5. src/runtime/map.go

    				if b.tophash[i] == emptyRest {
    					break search
    				}
    				continue
    			}
    			k := add(unsafe.Pointer(b), dataOffset+i*uintptr(t.KeySize))
    			k2 := k
    			if t.IndirectKey() {
    				k2 = *((*unsafe.Pointer)(k2))
    			}
    			if !t.Key.Equal(key, k2) {
    				continue
    			}
    			// Only clear key if there are pointers in it.
    			if t.IndirectKey() {
    				*(*unsafe.Pointer)(k) = nil
    			} else if t.Key.Pointers() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        k1Creator.setString(1, "C")
        k1Creator.commit()
        val k2Creator = cache.edit("k2")!!
        k2Creator.setString(0, "DEF")
        k2Creator.setString(1, "G")
        k2Creator.commit()
        val k1Snapshot = cache["k1"]!!
        k1Snapshot.close()
        cache.close()
        assertJournalEquals("DIRTY k1", "CLEAN k1 2 1", "DIRTY k2", "CLEAN k2 3 1", "READ k1")
      }
    
      @ParameterizedTest
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  7. src/encoding/json/decode_test.go

    // without UseNumber
    var ifaceNumAsFloat64 = map[string]any{
    	"k1": float64(1),
    	"k2": "s",
    	"k3": []any{float64(1), float64(2.0), float64(3e-3)},
    	"k4": map[string]any{"kk1": "s", "kk2": float64(2)},
    }
    
    var ifaceNumAsNumber = map[string]any{
    	"k1": Number("1"),
    	"k2": "s",
    	"k3": []any{Number("1"), Number("2.0"), Number("3e-3")},
    	"k4": map[string]any{"kk1": "s", "kk2": Number("2")},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

       *
       * <p><b>Warning:</b> This method assumes that for any instance {@code k} of {@code
       * EntryTransformer} key type {@code K}, {@code k.equals(k2)} implies that {@code k2} is also of
       * type {@code K}. Using an {@code EntryTransformer} key type for which this may not hold, such as
       * {@code ArrayList}, may risk a {@code ClassCastException} when calling methods on the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multimaps.java

       *
       * <p><b>Warning:</b> This method assumes that for any instance {@code k} of {@code
       * EntryTransformer} key type {@code K}, {@code k.equals(k2)} implies that {@code k2} is also of
       * type {@code K}. Using an {@code EntryTransformer} key type for which this may not hold, such as
       * {@code ArrayList}, may risk a {@code ClassCastException} when calling methods on the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

                        KaSimpleVariableAccess.Write(rhs)
                    )
                }
                is FirPropertyAccessExpression, is FirCallableReferenceAccess -> {
                    @Suppress("USELESS_IS_CHECK") // K2 warning suppression, TODO: KT-62472
                    require(fir is FirQualifiedAccessExpression)
                    when (unsubstitutedKtSignature.symbol) {
                        is KaVariableLikeSymbol -> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
Back to top