Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for createKeys (0.07 sec)

  1. android/guava/src/com/google/common/collect/FilteredKeyMultimap.java

        return new FilteredMultimapValues<>(this);
      }
    
      @Override
      Map<K, Collection<V>> createAsMap() {
        return Maps.filterKeys(unfiltered.asMap(), keyPredicate);
      }
    
      @Override
      Multiset<K> createKeys() {
        return Multisets.filter(unfiltered.keys(), keyPredicate);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. 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. 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)
  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. android/guava/src/com/google/common/collect/Multimaps.java

          return map.entrySet();
        }
    
        @Override
        Collection<Entry<K, V>> createEntries() {
          throw new AssertionError("unreachable");
        }
    
        @Override
        Multiset<K> createKeys() {
          return new Multimaps.Keys<K, V>(this);
        }
    
        @Override
        Iterator<Entry<K, V>> entryIterator() {
          return map.entrySet().iterator();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  6. internal/kms/kes.go

    	}
    	return keyInfos, continueAt, nil
    }
    
    // CreateKey tries to create a new key at the KMS with the
    // given key ID.
    //
    // If the a key with the same keyID already exists then
    // CreateKey returns kes.ErrKeyExists.
    func (c *kesConn) CreateKey(ctx context.Context, req *CreateKeyRequest) error {
    	if err := c.client.CreateKey(ctx, req.Name); err != nil {
    		if errors.Is(err, kes.ErrKeyExists) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. 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)
  8. internal/kms/stub.go

    			matches = append(matches, madmin.KMSKeyInfo{Name: keyName, CreatedAt: StubCreatedAt, CreatedBy: StubCreatedBy})
    		}
    	}
    
    	return matches, "", nil
    }
    
    // CreateKey creates a new key with the given name.
    func (s *StubKMS) CreateKey(_ context.Context, req *CreateKeyRequest) error {
    	if s.containsKeyName(req.Name) {
    		return ErrKeyExists
    	}
    	s.KeyNames = append(s.KeyNames, req.Name)
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

    @RunWith(JUnit4.class)
    public final class InvalidatableSetTest {
      Set<Integer> wrappedSet;
      Set<Integer> copyOfWrappedSet;
      InvalidatableSet<Integer> setToTest;
    
      @Before
      public void createSets() {
        wrappedSet = new HashSet<>();
        wrappedSet.add(1);
        wrappedSet.add(2);
        wrappedSet.add(3);
    
        copyOfWrappedSet = ImmutableSet.copyOf(wrappedSet);
        setToTest =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. internal/kms/conn.go

    	APIs(context.Context) ([]madmin.KMSAPI, error)
    
    	// Stat returns the current KMS status.
    	Status(context.Context) (map[string]madmin.ItemState, error)
    
    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(context.Context, *CreateKeyRequest) error
    
    	ListKeys(context.Context, *ListRequest) ([]madmin.KMSKeyInfo, string, error)
    
    	// GenerateKey generates a new data encryption key using the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top