Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 1,656 for Key (0.03 sec)

  1. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            if (versioning != null) {
                for (SnapshotVersion sv : versioning.getSnapshotVersions()) {
                    String key = getKey(sv.getClassifier(), sv.getExtension());
                    if (!versions.containsKey(key)) {
                        versions.put(key, sv);
                    }
                }
            }
    
            metadata.getVersioning().setSnapshotVersions(new ArrayList<>(versions.values()));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CollectPreconditions.java

    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class CollectPreconditions {
    
      static void checkEntryNotNull(Object key, Object value) {
        if (key == null) {
          throw new NullPointerException("null key in entry: null=" + value);
        } else if (value == null) {
          throw new NullPointerException("null value in entry: " + key + "=null");
        }
      }
    
      @CanIgnoreReturnValue
      static int checkNonnegative(int value, String name) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 30 10:33:07 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. helm/minio/templates/_helpers.tpl

    {{- if .Values.tls.enabled }}
    - name: cert-secret-volume
      secret:
        secretName: {{ tpl .Values.tls.certSecret $ }}
        items:
        - key: {{ .Values.tls.publicCrt }}
          path: public.crt
        - key: {{ .Values.tls.privateKey }}
          path: private.key
    {{- end }}
    {{- if or .Values.tls.enabled (ne .Values.trustedCertsSecret "") }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

                    final String value = filetypeField + ":" + fileType;
                    if (!values.contains(value)) {
                        final String key = "labels.facet_filetype_" + fileType;
                        if (resources.containsKey(key)) {
                            queryMap.put(key, value);
                        } else {
                            queryMap.put(fileType.toUpperCase(Locale.ROOT), value);
                        }
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      // for GWT compatibility
      static class SimpleEntry<K, V> extends AbstractMapEntry<K, V> {
        public K key;
        public V value;
    
        SimpleEntry(K key, V value) {
          this.key = key;
          this.value = value;
        }
    
        @Override
        public K getKey() {
          return key;
        }
    
        @Override
        public V getValue() {
          return value;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    	// If there is no filename on multipart, get the filename from the key.
    	key := objectName
    	if noFilename {
    		key += "/upload.txt"
    	} else {
    		key += "/${filename}"
    	}
    
    	formData := map[string]string{
    		"bucket":           bucketName,
    		"key":              key,
    		"x-amz-credential": credStr,
    		"policy":           encodedPolicy,
    		"x-amz-signature":  signature,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/ListMultimapPutTester.java

      public void testPutAddsValueAtEnd() {
        for (K key : sampleKeys()) {
          for (V value : sampleValues()) {
            resetContainer();
    
            List<V> values = multimap().get(key);
            List<V> expectedValues = copyToList(values);
    
            assertTrue(multimap().put(key, value));
            expectedValues.add(value);
    
            assertGet(key, expectedValues);
            assertEquals(value, values.get(values.size() - 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    // Is returns if c is all of t.
    func (c ChecksumType) Is(t ChecksumType) bool {
    	if t == ChecksumNone {
    		return c == ChecksumNone
    	}
    	return c&t == t
    }
    
    // Key returns the header key.
    // returns empty string if invalid or none.
    func (c ChecksumType) Key() string {
    	switch {
    	case c.Is(ChecksumCRC32):
    		return xhttp.AmzChecksumCRC32
    	case c.Is(ChecksumCRC32C):
    		return xhttp.AmzChecksumCRC32C
    	case c.Is(ChecksumSHA1):
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

        }
    
        @Override
        public boolean containsKey(Object key) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsKey(key);
        }
    
        @Override
        public boolean containsValue(Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return super.containsValue(value);
        }
    
        @Override
        public @Nullable V get(Object key) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. tests/test_security_api_key_cookie.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyCookie
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyCookie(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top