Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for createKeys (0.06 sec)

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

              return removeEntriesIf(Maps.<Collection<V>>valuePredicateOnEntries(not(in(c))));
            }
          }
          return new ValuesImpl();
        }
      }
    
      @Override
      Multiset<K> createKeys() {
        return new Keys();
      }
    
      @WeakOuter
      class Keys extends Multimaps.Keys<K, V> {
        Keys() {
          super(FilteredEntryMultimap.this);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredEntryMultimap.java

              return removeEntriesIf(Maps.<Collection<V>>valuePredicateOnEntries(not(in(c))));
            }
          }
          return new ValuesImpl();
        }
      }
    
      @Override
      Multiset<K> createKeys() {
        return new Keys();
      }
    
      @WeakOuter
      class Keys extends Multimaps.Keys<K, V> {
        Keys() {
          super(FilteredEntryMultimap.this);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/LinkedListMultimap.java

            return !LinkedListMultimap.this.removeAll(o).isEmpty();
          }
        }
        return new KeySetImpl();
      }
    
      @Override
      Multiset<K> createKeys() {
        return new Multimaps.Keys<K, V>(this);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>The iterator generated by the returned collection traverses the values in the order they
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

       * each key, use {@link #keySet}.
       */
      @Override
      public ImmutableMultiset<K> keys() {
        return (ImmutableMultiset<K>) super.keys();
      }
    
      @Override
      ImmutableMultiset<K> createKeys() {
        return new Keys();
      }
    
      @SuppressWarnings("serial") // Uses writeReplace, not default serialization
      @WeakOuter
      class Keys extends ImmutableMultiset<K> {
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  5. internal/kms/kms.go

    		DefaultKeyID: k.DefaultKey,
    		Endpoints:    endpoints,
    	}, nil
    }
    
    // CreateKey creates the master key req.Name. It returns
    // ErrKeyExists if the key already exists.
    func (k *KMS) CreateKey(ctx context.Context, req *CreateKeyRequest) error {
    	start := time.Now()
    	err := k.conn.CreateKey(ctx, req)
    	k.updateMetrics(err, time.Since(start))
    
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. cmd/kms-handlers.go

    		return
    	}
    	if !checkKMSActionAllowed(r, owner, cred, policy.KMSCreateKeyAction, keyID) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL)
    		return
    	}
    
    	if err := GlobalKMS.CreateKey(ctx, &kms.CreateKeyRequest{Name: keyID}); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	writeSuccessResponseHeadersOnly(w)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. cmd/common-main.go

    	})
    	if err != nil {
    		logger.Fatal(err, "Failed to connect to KMS")
    	}
    
    	if _, err = KMS.GenerateKey(GlobalContext, &kms.GenerateKeyRequest{}); errors.Is(err, kms.ErrKeyNotFound) {
    		err = KMS.CreateKey(GlobalContext, &kms.CreateKeyRequest{Name: KMS.DefaultKey})
    	}
    	if err != nil && !errors.Is(err, kms.ErrKeyExists) && !errors.Is(err, kms.ErrPermission) {
    		logger.Fatal(err, "Failed to connect to KMS")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
Back to top