Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,822 for keyA (0.05 sec)

  1. src/runtime/pprof/runtime_test.go

    		t.Errorf("Expected parent goroutine's profile labels to be empty before Do, got %v", gotLabels)
    	}
    
    	Do(context.Background(), Labels("key1", "value1", "key2", "value2"), func(ctx context.Context) {
    		wantLabels := map[string]string{"key1": "value1", "key2": "value2"}
    		if gotLabels := getProfLabel(); !reflect.DeepEqual(gotLabels, wantLabels) {
    			t.Errorf("parent goroutine's profile labels: got %v, want %v", gotLabels, wantLabels)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:29:37 UTC 2017
    - 3K bytes
    - Viewed (0)
  2. pilot/pkg/security/authz/matcher/metadata_test.go

    			Filter: "istio_authn",
    			Path: []*matcher.MetadataMatcher_PathSegment{
    				{
    					Segment: &matcher.MetadataMatcher_PathSegment_Key{
    						Key: "key1",
    					},
    				},
    				{
    					Segment: &matcher.MetadataMatcher_PathSegment_Key{
    						Key: "key2",
    					},
    				},
    			},
    			Value: &matcher.ValueMatcher{
    				MatchPattern: &matcher.ValueMatcher_ListMatch{
    					ListMatch: &matcher.ListMatcher{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 20 22:15:12 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/JavadocOptionFileWriterTest.groovy

            tempFile.text == toPlatformLineSeparators("""-key1 'value1'
    -key2 'value2'
    -key3 'value3'
    """)
            when:
            optionsMap.put("locale", new StringJavadocOptionFileOption("locale", "alocale"));
            and:
            javadocOptionFileWriter.write(tempFile)
            then:
            tempFile.text == toPlatformLineSeparators("""-locale 'alocale'
    -key1 'value1'
    -key2 'value2'
    -key3 'value3'
    """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    						"restricted": map[string]interface{}{
    							"key1": "hi",
    							"key2": "there",
    							"key3": "buddy",
    						},
    					}},
    
    				expectError{applyPatchOperation{
    					"violate new validation by removing keys",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"restricted": map[string]interface{}{
    							"key1": "hi",
    							"key2": nil,
    							"key3": nil,
    						},
    					}}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/typeconversion/MapNotationConverterTest.groovy

        def "parses map with required keys"() {
            expect:
            def object = parser.parseNotation([name: 'name', version: 'version'])
            object.key1 == 'name'
            object.key2 == 'version'
            object.prop1 == null
        }
    
        def "parses map with required and optional keys"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:58:37 UTC 2019
    - 3.5K bytes
    - Viewed (0)
  6. security/tools/jwt/samples/gen-jwt.py

    def main(args):
        """Generates a signed JSON Web Token from local private key."""
        with open(args.key) as f:
            pem_data = f.read()
        f.closed
    
        pem_data_encode = pem_data.encode("utf-8")
        key = jwk.JWK.from_pem(pem_data_encode)
    
        if args.jwks:
            with open(args.jwks, "w+") as fout:
                fout.write("{ \"keys\":[ ")
                fout.write(key.export(private_key=False))
                fout.write("]}")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    				"X-Remote-Group-2":      {"two-a", "two-b"},
    				"X-Remote-extra-1-key1": {"alfa", "bravo"},
    				"X-Remote-Extra-1-Key2": {"charlie", "delta"},
    				"X-Remote-Extra-1-":     {"india", "juliet"},
    				"X-Remote-extra-2-":     {"kilo", "lima"},
    				"X-Remote-extra-2-Key1": {"echo", "foxtrot"},
    				"X-Remote-Extra-2-key2": {"golf", "hotel"},
    			},
    		},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

            "map values"              | ["key1": "Hello", "key2": null]                                         | IllegalStateException | "Null value is not allowed for the nested collection property 'nested.key2'"
            "map keys"                | ["key1": "Hello", (null): "Hello"]                                      | NullPointerException  | "Null keys in nested map 'nested' are not allowed."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashTestUtils.java

          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
            same |= ~(hash1 ^ hash2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    					"key1": "a1",
    					"key2": "a2",
    					"val":  1,
    				},
    				map[string]interface{}{
    					"key1": "b1",
    					"key2": "b2",
    					"val":  2,
    				},
    			}, &multiKeyMapListSchema),
    			rhs: UnstructuredToVal([]interface{}{
    				map[string]interface{}{
    					"key1": "a1",
    					"key2": "a2",
    					"val":  1,
    				},
    				map[string]interface{}{
    					"key1": "b1",
    					"key2": "b2",
    					"val":  3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top