Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 622 for key0 (0.06 sec)

  1. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesTest.groovy

            def result = getMapUnderTestToRead().stringPropertyNames().containsAll(Arrays.asList(key1, key2))
    
            then:
            result == expectedResult
            1 * onAccess.accept(key1, reportedValue1)
            1 * onAccess.accept(key2, reportedValue2)
            0 * onAccess._
    
            where:
            key1       | reportedValue1  | key2           | reportedValue2 | expectedResult
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  2. src/context/x_test.go

    	}
    	if e := c.Err(); e != Canceled {
    		t.Errorf("c.Err() == %v want %v", e, Canceled)
    	}
    }
    
    type key1 int
    type key2 int
    
    func (k key2) String() string { return fmt.Sprintf("%[1]T(%[1]d)", k) }
    
    var k1 = key1(1)
    var k2 = key2(1) // same int as k1, different type
    var k3 = key2(3) // same type as k2, different int
    
    func TestValues(t *testing.T) {
    	check := func(c Context, nm, v1, v2, v3 string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_executable_persistor_test.cc

      XlaSerializedCacheEntry entry;
      TF_ASSERT_OK(ReadTextOrBinaryProto(
          Env::Default(), GetFilePath(key1, persistor.persistent_cache_directory()),
          &entry));
      // Change the entry's key to key2.
      *entry.mutable_key() = key2;
      // Write the modified entry to file corresponding to key2.
      TF_ASSERT_OK(WriteBinaryProto(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. src/runtime/map_benchmark_test.go

    	m := make(map[string]bool)
    	key1 := strings.Repeat("X", 1<<20)
    	key2 := strings.Repeat("X", 1<<20) // equal but different instance
    	m[key1] = true
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		_, _ = m[key2]
    	}
    }
    
    func BenchmarkMegEmptyMap(b *testing.B) {
    	m := make(map[string]bool)
    	key := strings.Repeat("X", 1<<20)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		_, _ = m[key]
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 09 16:41:16 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route_internal_test.go

    		},
    		{
    			name: "@request.auth.claims.key1-key2",
    			in:   &networking.StringMatch{MatchType: &networking.StringMatch_Exact{Exact: "exact"}},
    			want: authz.MetadataMatcherForJWTClaims([]string{"key1-key2"}, authzmatcher.StringMatcher("exact"), false),
    		},
    		{
    			name: "@request.auth.claims.prefix",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/jsonmergepatch/patch_test.go

        original:
          simpleMap:
            key1: 1
            key2: 1
        modified:
          simpleMap:
            key1: 1
        current:
          simpleMap:
            key1: a
            key2: 1
            other: a
        threeWay:
          simpleMap:
            key1: 1
            key2: null
        result:
          simpleMap:
            key1: 1
            other: a
      - description: delete all fields from map
        original:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. tests/common/jwt/jwt_token.go

    	//  "iss": "******@****.***",
    	//  "nested": {
    	//    "key2": "valueC",
    	//    "nested-2": {
    	//      "key2": "valueC"
    	//    }
    	//  },
    	//  "sub": "sub-1"
    	// }
    	// Generated by: security/tools/jwt/samples/gen-jwt.py tests/common/jwt/key.pem -jwks=tests/common/jwt/jwks.json
    	// --expire=3153600000 --iss=******@****.*** --sub=sub-1 --nestedclaim key2 valueC
    	// nolint: lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Joiner.java

       *
       * <ul>
       *   <li>To output a separate entry for each key-value pair, pass {@code multimap.entries()} to a
       *       {@code MapJoiner} method that accepts entries as input, and receive output of the form
       *       {@code key1=A&key1=B&key2=C}.
       *   <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  9. pkg/volume/downwardapi/downwardapi_test.go

    	if runtime.GOOS == "windows" {
    		t.Skip("Skipping test that fails on Windows")
    	}
    
    	labels1 := map[string]string{
    		"key1": "value1",
    		"key2": "value2",
    	}
    	labels2 := map[string]string{
    		"key1": "value1",
    		"key2": "value2",
    		"key3": "value3",
    	}
    	annotations := map[string]string{
    		"a1":        "value1",
    		"a2":        "value2",
    		"multiline": "c\nb\na",
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  10. src/text/template/doc.go

    	    $x.Field1.Field2
    	- The name of a key of the data, which must be a map, preceded
    	  by a period, such as
    		.Key
    	  The result is the map element value indexed by the key.
    	  Key invocations may be chained and combined with fields to any
    	  depth:
    	    .Field1.Key1.Field2.Key2
    	  Although the key must be an alphanumeric identifier, unlike with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top