Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 186 for KEY (0.02 seconds)

  1. internal/store/store.go

    type Target interface {
    	Name() string
    	SendFromStore(key Key) error
    }
    
    // Store - Used to persist items.
    type Store[I any] interface {
    	Put(item I) (Key, error)
    	PutMultiple(item []I) (Key, error)
    	Get(key Key) (I, error)
    	GetMultiple(key Key) ([]I, error)
    	GetRaw(key Key) ([]byte, error)
    	PutRaw(b []byte) (Key, error)
    	Len() int
    	List() []Key
    	Del(key Key) error
    	Open() error
    	Delete() error
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. internal/store/queuestore.go

    	}
    	key := Key{
    		Name:      uid.String(),
    		Extension: store.fileExt,
    		ItemCount: 1,
    	}
    	return key, store.write(key, item)
    }
    
    // PutRaw - puts the raw bytes to the store
    func (store *QueueStore[I]) PutRaw(b []byte) (Key, error) {
    	store.Lock()
    	defer store.Unlock()
    	if uint64(len(store.entries)) >= store.entryLimit {
    		return Key{}, errLimitExceeded
    	}
    	// Generate a new UUID for the key.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. KEYS.md

    # Signing key for Gradle artifacts
    
    Below is the public PGP key used to sign all Gradle artifacts.
    
    The key ID is `E2F38302C8075E3D` and its fingerprint is `1BD97A6A154E7810EE0BC832E2F38302C8075E3D`.
    You can also find the key in the [Gradle website](https://gradle.org/keys/) and on [public key servers](https://keys.openpgp.org/search?q=maven-publishing%40gradle.com).
    
    ## Verification instructions
    
    ### Importing the key
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 04 14:29:13 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  4. internal/config/config.go

    func (kvs *KVS) Set(key, value string) {
    	for i, kv := range *kvs {
    		if kv.Key == key {
    			(*kvs)[i] = KV{
    				Key:   key,
    				Value: value,
    			}
    			return
    		}
    	}
    	*kvs = append(*kvs, KV{
    		Key:   key,
    		Value: value,
    	})
    }
    
    // Get - returns the value of a key, if not found returns empty.
    func (kvs KVS) Get(key string) string {
    	v, ok := kvs.Lookup(key)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 37.7K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java

         * Searches for the property with the specified key in this property list.
         *
         * @param key the property key.
         * @return the value in this property list with the specified key value.
         */
        public String getProperty(String key) {
            return this.get(key);
        }
    
        /**
         * Searches for the property with the specified key in this property list. If the key is not found in this property
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 09:03:48 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. internal/crypto/sse-c.go

    		return key, ErrCustomerKeyMD5Mismatch
    	}
    	copy(key[:], clientKey)
    	return key, nil
    }
    
    // UnsealObjectKey extracts and decrypts the sealed object key
    // from the metadata using the SSE-C client key of the HTTP headers
    // and returns the decrypted object key.
    func (s3 ssec) UnsealObjectKey(h http.Header, metadata map[string]string, bucket, object string) (key ObjectKey, err error) {
    	clientKey, err := s3.ParseHTTP(h)
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. internal/crypto/sse.go

    // unsealObjectKey decrypts and returns the sealed object key
    // from the metadata using the SSE-C client key.
    func unsealObjectKey(clientKey []byte, metadata map[string]string, bucket, object string) (key ObjectKey, err error) {
    	sealedKey, err := SSEC.ParseMetadata(metadata)
    	if err != nil {
    		return key, err
    	}
    	err = key.Unseal(clientKey, sealedKey, SSEC.String(), bucket, object)
    	return key, err
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial012.py

            "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Key header invalid"}
    
    
    def test_get_invalid_second_header_users(client: TestClient):
        response = client.get(
            "/users/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"}
        )
        assert response.status_code == 400, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            Key key = new CacheKey(
                    project,
                    project.getRemoteProjectRepositories(),
                    scopesToCollect,
                    scopesToResolve,
                    aggregating,
                    session);
            return keys.computeIfAbsent(key, k -> k);
        }
    
        @Override
        public CacheRecord get(Key key) throws LifecycleExecutionException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. 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)
Back to Top