Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 1,209 for KEY (0.04 seconds)

  1. cmd/etcd.go

    }
    
    func saveKeyEtcd(ctx context.Context, client *etcd.Client, key string, data []byte, opts ...options) error {
    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	if len(opts) > 0 {
    		return saveKeyEtcdWithTTL(ctx, client, key, data, opts[0].ttl)
    	}
    	_, err := client.Put(timeoutCtx, key, string(data))
    	etcdLogIf(ctx, err)
    	return etcdErrToErr(err, client.Endpoints())
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java

        }
    
        static <K, V> Map<K, V> singletonMap(K key, V value) {
            return new Map1<>(key, value);
        }
    
        private static class Map1<K, V> extends AbstractImmutableMap<K, V> {
            private final Entry<K, V> entry;
    
            private Map1(K key, V value) {
                this.entry = new SimpleImmutableEntry<>(key, value);
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 07 11:47:42 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. cmd/encryption-v1.go

    		var key []byte
    		if crypto.SSECopy.IsRequested(h) {
    			sseCopyKey, err := crypto.SSECopy.ParseHTTP(h)
    			if err != nil {
    				return nil, err
    			}
    			key = sseCopyKey[:]
    		} else {
    			if k, err := crypto.SSEC.ParseHTTP(h); err == nil {
    				key = k[:]
    			}
    		}
    		key, err := decryptObjectMeta(key, o.Bucket, o.Name, o.UserDefined)
    		if err != nil {
    			return nil, err
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

      }
    
      /** Given a key, returns the index of the entry in the tables, or ABSENT if not found. */
      private int findEntryByKey(@Nullable Object key) {
        return findEntryByKey(key, Hashing.smearedHash(key));
      }
    
      /**
       * Given a key and its hash, returns the index of the entry in the tables, or ABSENT if not found.
       */
      private int findEntryByKey(@Nullable Object key, int keyHash) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  5. internal/lru/lru.go

    func (c *LRU[K, V]) Contains(key K) (ok bool) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	_, ok = c.items[key]
    	return ok
    }
    
    // Peek returns the key value (or undefined if not found) without updating
    // the "recently used"-ness of the key.
    func (c *LRU[K, V]) Peek(key K) (value V, ok bool) {
    	c.mu.Lock()
    	defer c.mu.Unlock()
    	var ent *Entry[K, V]
    	if ent, ok = c.items[key]; ok {
    		// Expired item check
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. internal/crypto/error.go

    	ErrInvalidCustomerKey = Errorf("The SSE-C client key is invalid")
    
    	// ErrSecretKeyMismatch indicates that the provided secret key (SSE-C client key / SSE-S3 KMS key)
    	// does not match the secret key used during encrypting the object.
    	ErrSecretKeyMismatch = Errorf("The secret key does not match the secret key used during upload")
    
    	// ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifactsCache.java

                return exception;
            }
        }
    
        Key createKey(
                MavenProject project,
                Collection<String> scopesToCollect,
                Collection<String> scopesToResolve,
                boolean aggregating,
                RepositorySystemSession session);
    
        CacheRecord get(Key key) throws LifecycleExecutionException;
    
        CacheRecord put(Key key, Set<Artifact> pluginArtifacts);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java

                RepositorySystemSession session);
    
        CacheRecord get(Key key);
    
        default CacheRecord get(Key key, PluginRealmSupplier supplier)
                throws PluginResolutionException, PluginContainerException {
            CacheRecord cr = get(key);
            if (cr == null) {
                CacheRecord tcr = supplier.load();
                cr = put(key, tcr.getRealm(), tcr.getArtifacts());
            }
            return cr;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectRealmCache.java

            }
        }
    
        protected final Map<Key, CacheRecord> cache = new ConcurrentHashMap<>();
    
        @Override
        public Key createKey(List<? extends ClassRealm> extensionRealms) {
            return new CacheKey(extensionRealms);
        }
    
        @Override
        public CacheRecord get(Key key) {
            return cache.get(key);
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. internal/config/help.go

    	MultipleTargets bool `json:"multipleTargets"`
    }
    
    // HelpKVS - implement order of keys help messages.
    type HelpKVS []HelpKV
    
    // Lookup - lookup a key from help kvs.
    func (hkvs HelpKVS) Lookup(key string) (HelpKV, bool) {
    	for _, hkv := range hkvs {
    		if hkv.Key == key {
    			return hkv, true
    		}
    	}
    	return HelpKV{}, false
    }
    
    // DefaultComment used across all sub-systems.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Click Count (0)
Back to Top