Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,771 for keys2 (0.1 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/listtype/validation.go

    		keyField := s.XListMapKeys[0]
    		keys := make([]interface{}, 0, len(obj))
    		for _, x := range obj {
    			if x == nil {
    				keys = append(keys, unspecifiedKeyValue{}) // nil object means unspecified key
    				continue
    			}
    
    			x := x.(map[string]interface{})
    
    			// undefined key?
    			key, ok := x[keyField]
    			if !ok {
    				keys = append(keys, unspecifiedKeyValue{})
    				continue
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 16 02:47:24 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Table.java

      /**
       * Associates the specified value with the specified keys. If the table already contained a
       * mapping for those keys, the old value is replaced with the specified value.
       *
       * @param rowKey row key that the value should be associated with
       * @param columnKey column key that the value should be associated with
       * @param value value to be associated with the specified keys
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestMergeSpecTest.groovy

            DefaultManifest baseManifest = new DefaultManifest(Mock(FileResolver))
            baseManifest.attributes key1: 'value1', key2: 'value2'
            mergeSpec.from(new DefaultManifest(Mock(FileResolver)))
            mergeSpec.eachEntry {ManifestMergeDetails details ->
                if (details.getKey() == 'key2') {
                    details.exclude()
                }
            }
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/cache/lruexpirecache_test.go

    	c.Add("short-lived", "12345", 1*time.Millisecond)
    	// ensure the entry expired
    	fakeClock.Step(2 * time.Millisecond)
    
    	// Keys() should not return expired keys.
    	assertKeys(t, c.Keys(), []interface{}{})
    
    	expectNotEntry(t, c, "short-lived")
    }
    
    func TestLRUOverflow(t *testing.T) {
    	c := NewLRUExpireCache(4)
    	c.Add("elem1", "1", 10*time.Hour)
    	c.Add("elem2", "2", 10*time.Hour)
    	c.Add("elem3", "3", 10*time.Hour)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

          super.put(entry);
          return this;
        }
    
        /**
         * Associates all of the given map's keys and values in the built map. Duplicate keys, according
         * to the comparator (which might be the keys' natural order), are not allowed, and will cause
         * {@link #build} to fail.
         *
         * @throws NullPointerException if any key or value in {@code map} is null
         */
        @CanIgnoreReturnValue
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  6. pkg/jwt/routing_test.go

    		},
    		{
    			name: "@request.auth.claims[key1][key2]",
    			want: RoutingClaim{Match: true, Separator: Square, Claims: []string{"key1", "key2"}},
    		},
    		{
    			name: "@request.auth.claims[key1][KEY2]",
    			want: RoutingClaim{Match: true, Separator: Square, Claims: []string{"key1", "KEY2"}},
    		},
    		{
    			name: "@request.auth.claims[key1] [key2]",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 16:38:57 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. src/net/http/cgi/cgi_main.go

    	}
    
    	fmt.Printf("test=Hello CGI\r\n")
    
    	keys := make([]string, 0, len(params))
    	for k := range params {
    		keys = append(keys, k)
    	}
    	slices.Sort(keys)
    	for _, key := range keys {
    		fmt.Printf("param-%s=%s\r\n", key, params.Get(key))
    	}
    
    	envs := envMap(os.Environ())
    	keys = make([]string, 0, len(envs))
    	for k := range envs {
    		keys = append(keys, k)
    	}
    	slices.Sort(keys)
    	for _, key := range keys {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. internal/config/identity/openid/jwks_test.go

    		t.Fatal("Unmarshal: ", err)
    	} else if len(jk.Keys) != 2 {
    		t.Fatalf("Expected 2 keys, got %d", len(jk.Keys))
    	}
    
    	keys := make([]crypto.PublicKey, len(jk.Keys))
    	for ii, jks := range jk.Keys {
    		var err error
    		keys[ii], err = jks.DecodePublicKey()
    		if err != nil {
    			t.Fatalf("Failed to decode key %d: %v", ii, err)
    		}
    	}
    
    	//nolint:gocritic
    	if key0, ok := keys[0].(*ecdsa.PublicKey); !ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  9. pkg/serviceaccount/jwt_test.go

    			Token:       rsaToken,
    			Client:      nil,
    			Keys:        []interface{}{getPublicKey(otherPublicKey), getPublicKey(ecdsaPublicKey)},
    			ExpectedErr: true,
    			ExpectedOK:  false,
    		},
    		"invalid keys (ecdsa)": {
    			Token:       ecdsaToken,
    			Client:      nil,
    			Keys:        []interface{}{getPublicKey(otherPublicKey), getPublicKey(rsaPublicKey)},
    			ExpectedErr: true,
    			ExpectedOK:  false,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ArrayTable.java

      }
    
      /**
       * Associates the value {@code null} with the specified keys, assuming both keys are valid. If
       * either key is null or isn't among the keys provided during construction, this method has no
       * effect.
       *
       * <p>This method is equivalent to {@code put(rowKey, columnKey, null)} when both provided keys
       * are valid.
       *
       * @param rowKey row key of mapping to be erased
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top