Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 285 for checkKey (0.06 seconds)

  1. guava/src/com/google/common/collect/AbstractBiMap.java

         */
    
        @Override
        @ParametricNullness
        K checkKey(@ParametricNullness K key) {
          return super.inverse.checkValue(key);
        }
    
        @Override
        @ParametricNullness
        V checkValue(@ParametricNullness V value) {
          return super.inverse.checkKey(value);
        }
    
        /**
         * @serialData the forward bimap
         */
        @GwtIncompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        this.keyTypeOrObjectUnderJ2cl = keyType;
      }
    
      // Overriding these 3 methods to show that values may be null (but not keys)
    
      @Override
      K checkKey(K key) {
        return checkNotNull(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("RedundantOverride") // b/192446478: RedundantOverride ignores some annotations.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      /** Returns the associated value type. */
      @GwtIncompatible
      public Class<V> valueType() {
        return valueTypeOrObjectUnderJ2cl;
      }
    
      @Override
      K checkKey(K key) {
        return checkNotNull(key);
      }
    
      @Override
      V checkValue(V value) {
        return checkNotNull(value);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  4. cmd/signature-v4-utils.go

    			// to retry with 503 errors when server is coming up.
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    
    		// Check if the access key is part of users credentials.
    		u, ok, err := globalIAMSys.CheckKey(r.Context(), accessKey)
    		if err != nil {
    			return auth.Credentials{}, false, ErrIAMNotInitialized
    		}
    		if !ok {
    			// Credentials could be valid but disabled - return a different
    			// error in such a scenario.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
  5. cmd/iam.go

    				iamLogIf(ctx, logErr)
    			}
    		}
    	}
    	return skipped, nil
    }
    
    // CheckKey validates the incoming accessKey
    func (sys *IAMSys) CheckKey(ctx context.Context, accessKey string) (u UserIdentity, ok bool, err error) {
    	if !sys.Initialized() {
    		return u, false, nil
    	}
    
    	if accessKey == globalActiveCred.AccessKey {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  6. internal/hash/checker.go

    )
    
    // Checker allows to verify the checksum of a reader.
    type Checker struct {
    	c io.Closer
    	r io.Reader
    	h hash.Hash
    
    	want []byte
    }
    
    // NewChecker ensures that content with the specified length is read from rc.
    // Calling Close on this will close upstream.
    func NewChecker(rc io.ReadCloser, h hash.Hash, wantSum []byte, length int64) *Checker {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        this.inputFuture = checkNotNull(inputFuture);
        this.function = checkNotNull(function);
      }
    
      @Override
      @SuppressWarnings({
        "CatchingUnchecked", // sneaky checked exception
        "nullness", // TODO(b/147136275): Remove once our checker understands & and |.
      })
      public final void run() {
        @RetainedLocalRef ListenableFuture<? extends I> localInputFuture = inputFuture;
        @RetainedLocalRef F localFunction = function;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

        this.inputFuture = checkNotNull(inputFuture);
        this.function = checkNotNull(function);
      }
    
      @Override
      @SuppressWarnings({
        "CatchingUnchecked", // sneaky checked exception
        "nullness", // TODO(b/147136275): Remove once our checker understands & and |.
      })
      public final void run() {
        @RetainedLocalRef ListenableFuture<? extends I> localInputFuture = inputFuture;
        @RetainedLocalRef F localFunction = function;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 20 18:03:37 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableCollection.java

          checkElementsNotNull(elements, n);
          ensureRoomFor(n);
          /*
           * The following call is not statically checked, since arraycopy accepts plain Object for its
           * parameters. If it were statically checked, the checker would still be OK with it, since
           * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteCheckerTest.java

        @Test
        void testMatchesVersion() {
            MavenPluginJavaPrerequisiteChecker checker = new MavenPluginJavaPrerequisiteChecker(new GenericVersionScheme());
            assertTrue(checker.matchesVersion("1.0", "1.8"));
            assertTrue(checker.matchesVersion("1.8", "9.0.1+11"));
            assertFalse(checker.matchesVersion("[1.0,2],[3,4]", "2.1"));
            assertTrue(checker.matchesVersion("[1.0,2],[3,4]", "3.1"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top