Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,224 for key (0.45 sec)

  1. internal/kms/kms.go

    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(ctx context.Context, keyID string) error
    
    	// GenerateKey generates a new data encryption key using the
    	// key referenced by the key ID.
    	//
    	// The KMS may use a default key if the key ID is empty.
    	// GenerateKey returns an error if the referenced key does
    	// not exist.
    	//
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. internal/store/batch.go

    			err = fmt.Errorf("item not found for the key: %v; should not happen;", key)
    			return
    		}
    		orderedItems = append(orderedItems, item)
    		delete(b.items, key)
    	}
    
    	b.keys = b.keys[:0]
    
    	return
    }
    
    // GetByKey will get the batch item by the provided key
    func (b *Batch[K, T]) GetByKey(key K) (T, bool) {
    	b.Lock()
    	defer b.Unlock()
    
    	item, ok := b.items[key]
    	return item, ok
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. internal/config/identity/openid/help.go

    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         DisplayName,
    			Description: "Friendly display name for this Provider/App" + defaultHelpPostfix(DisplayName),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ConfigURL,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

          for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) {
            Object key = warmed.get(i - WARMUP_MIN).getKey();
            Object value = warmed.get(i - WARMUP_MIN).getValue();
            assertFalse(cache.asMap().remove(key, -1));
            assertTrue(cache.asMap().remove(key, value));
            assertFalse(cache.asMap().remove(key, -1));
            assertFalse(cache.asMap().containsKey(key));
          }
          checkEmpty(cache);
        }
      }
    
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/CaseInsensitiveMap.java

         * キーが含まれているかどうかを返します。
         *
         * @param key
         *            キー
         * @return キーが含まれているかどうか
         */
        public boolean containsKey(final String key) {
            return super.containsKey(convertKey(key));
        }
    
        @Override
        public V get(final Object key) {
            return super.get(convertKey(key));
        }
    
        @Override
        public final V put(final String key, final V value) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayMap.java

        @Override
        public boolean containsKey(final Object key) {
            final Entry<K, V>[] tbl = mapTable;
            if (key != null) {
                final int hashCode = key.hashCode();
                final int index = (hashCode & 0x7FFFFFFF) % tbl.length;
                for (Entry<K, V> e = tbl[index]; e != null; e = e.next) {
                    if (e.hashCode == hashCode && key.equals(e.key)) {
                        return true;
                    }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  7. cmd/config-current.go

    		})
    	}
    
    	for _, hkv := range h {
    		key := hkv.Key
    		if envOnly {
    			key = config.EnvPrefix + strings.ToTitle(subSys) + config.EnvWordDelimiter + strings.ToTitle(hkv.Key)
    		}
    		help = append(help, config.HelpKV{
    			Key:         key,
    			Description: hkv.Description,
    			Optional:    hkv.Optional,
    			Type:        hkv.Type,
    		})
    	}
    
    	return Help{
    		SubSys:          subSys,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertFalse(map.containsKey(key));
    
        assertEquals(0L, map.remove(key));
        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertEquals(0L, map.put(key, 0L));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
        assertEquals(0L, map.remove(key));
        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/help.go

    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         ServerAddr,
    			Description: `AD/LDAP server address e.g. "myldap.com" or "myldapserver.com:636"` + defaultHelpPostfix(ServerAddr),
    			Type:        "address",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         SRVRecordName,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * lowerEntry} to forward to this implementation.
       */
      @CheckForNull
      protected Entry<K, V> standardLowerEntry(@ParametricNullness K key) {
        return headMap(key, false).lastEntry();
      }
    
      @Override
      @CheckForNull
      public K lowerKey(@ParametricNullness K key) {
        return delegate().lowerKey(key);
      }
    
      /**
       * A sensible definition of {@link #lowerKey} in terms of {@code lowerEntry}. If you override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Jun 15 18:11:44 GMT 2023
    - 14.5K bytes
    - Viewed (0)
Back to top