Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

      @LazyInit @CheckForNull private transient Multiset<K> keys;
    
      @Override
      public Multiset<K> keys() {
        Multiset<K> result = keys;
        return (result == null) ? keys = createKeys() : result;
      }
    
      abstract Multiset<K> createKeys();
    
      @LazyInit @CheckForNull private transient Collection<V> values;
    
      @Override
      public Collection<V> values() {
        Collection<V> result = values;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractMultimap.java

      @LazyInit @CheckForNull private transient Multiset<K> keys;
    
      @Override
      public Multiset<K> keys() {
        Multiset<K> result = keys;
        return (result == null) ? keys = createKeys() : result;
      }
    
      abstract Multiset<K> createKeys();
    
      @LazyInit @CheckForNull private transient Collection<V> values;
    
      @Override
      public Collection<V> values() {
        Collection<V> result = values;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top