Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 130 for K2 (0.02 sec)

  1. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/K2IntegrationTest.kt

            assertCanConsumeK2BuildLogic()
        }
    
        @Test
        @Requires(IntegTestPreconditions.NotEmbeddedExecutor::class)
        fun `can try k2 with included build for build logic using kotlin-dsl plugin`() {
    
            // This test doesn't use a .gradle.kts precompiled script because K2 doesn't support scripts yet
    
            withDefaultSettingsIn("build-logic")
            withBuildScriptIn("build-logic", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 06:52:58 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableMap.java

       *
       * @throws IllegalArgumentException if duplicate keys are provided
       */
      public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2) {
        checkEntryNotNull(k1, v1);
        checkEntryNotNull(k2, v2);
        return RegularImmutableMap.create(2, new Object[] {k1, v1, k2, v2});
      }
    
      /**
       * 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
    - 41.6K bytes
    - Viewed (0)
  3. test/typeparam/metrics.go

    	m2.Add(2, 2)
    	m2.Add(3, 3)
    	m2.Add(3, 3)
    	k1, k2 := m2.Metrics()
    
    	sort.Ints(k1)
    	w1 := []int{1, 2, 3}
    	if !_SlicesEqual(k1, w1) {
    		panic(fmt.Sprintf("_Metric2.Metrics first slice = %v, want %v", k1, w1))
    	}
    
    	sort.Float64s(k2)
    	w2 := []float64{1, 2, 3}
    	if !_SlicesEqual(k2, w2) {
    		panic(fmt.Sprintf("_Metric2.Metrics first slice = %v, want %v", k2, w2))
    	}
    
    	m3 := _Metric3[string, S, S]{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  4. tests/test_serialize_response_model.py

        ]
    
    
    @app.get("/items/validdict", response_model=Dict[str, Item])
    def get_validdict():
        return {
            "k1": Item(aliased_name="foo"),
            "k2": Item(aliased_name="bar", price=1.0),
            "k3": Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]),
        }
    
    
    @app.get(
        "/items/valid-exclude-unset", response_model=Item, response_model_exclude_unset=True
    )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/DocMap.java

                    if (LANG_KEY.equals(k1)) {
                        return -1;
                    }
                    final String k2 = o2.getKey();
                    if (LANG_KEY.equals(k2)) {
                        return -1;
                    }
                    return k1.compareTo(k2);
                });
                return new LinkedHashSet<>(list);
            }
            return parent.entrySet();
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. 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)
  7. android/guava/src/com/google/common/hash/Fingerprint2011.java

        c += rotateRight(a, 7);
        a += load64(bytes, offset + length - 16);
        long wf = a + z;
        long ws = b + rotateRight(a, 31) + c;
        long r = shiftMix((vf + ws) * K2 + (wf + vs) * K0);
        return shiftMix(r * K0 + vs) * K2;
      }
    
      @VisibleForTesting
      static long murmurHash64WithSeed(byte[] bytes, int offset, int length, long seed) {
        long mul = K3;
        int topBit = 0x7;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Dec 28 17:50:25 UTC 2021
    - 6.5K bytes
    - Viewed (0)
  8. src/text/template/funcs.go

    	for _, arg := range arg2 {
    		arg = indirectInterface(arg)
    		k2, _ := basicKind(arg)
    		truth := false
    		if k1 != k2 {
    			// Special case: Can compare integer values regardless of type's sign.
    			switch {
    			case k1 == intKind && k2 == uintKind:
    				truth = arg1.Int() >= 0 && uint64(arg1.Int()) == arg.Uint()
    			case k1 == uintKind && k2 == intKind:
    				truth = arg.Int() >= 0 && arg1.Uint() == uint64(arg.Int())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/os/exec/env_test.go

    	t.Parallel()
    
    	tests := []struct {
    		noCase  bool
    		nulOK   bool
    		in      []string
    		want    []string
    		wantErr bool
    	}{
    		{
    			noCase: true,
    			in:     []string{"k1=v1", "k2=v2", "K1=v3"},
    			want:   []string{"k2=v2", "K1=v3"},
    		},
    		{
    			noCase: false,
    			in:     []string{"k1=v1", "K1=V2", "k1=v3"},
    			want:   []string{"K1=V2", "k1=v3"},
    		},
    		{
    			in:   []string{"=a", "=b", "foo", "bar"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 01:23:16 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/classLiteralExpressionLHSParenthesizedUsed.kt

    fun test() {
        val string = <expr>(String)</expr>::class
    }
    
    // IGNORE_FE10
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 159 bytes
    - Viewed (0)
Back to top