Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for createKeys (0.13 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/AbstractModuleMetadataCache.java

            final ModuleComponentAtRepositoryKey key = createKey(repository, id);
            return get(key);
        }
    
        @Override
        public CachedMetadata cacheMissing(ModuleComponentRepository<?> repository, ModuleComponentIdentifier id) {
            LOGGER.debug("Recording absence of module descriptor in cache: {} [changing = {}]", id, false);
            ModuleComponentAtRepositoryKey key = createKey(repository, id);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/dynamicversions/AbstractModuleVersionsCache.java

            ModuleAtRepositoryKey key = createKey(repository, moduleId);
            ModuleVersionsCacheEntry entry = createEntry(listedVersions);
            store(key, entry);
        }
    
        @Override
        public CachedModuleVersionList getCachedModuleResolution(ModuleComponentRepository<?> repository, ModuleIdentifier moduleId) {
            ModuleAtRepositoryKey key = createKey(repository, moduleId);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. internal/kms/kes.go

    	return c.client.ListKeys(ctx, req.Prefix, req.Limit)
    }
    
    // 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/internal/syscall/windows/registry/key.go

    		names = append(names, syscall.UTF16ToString(buf[:l]))
    	}
    	return names, nil
    }
    
    // CreateKey creates a key named path under open key k.
    // CreateKey returns the new key and a boolean flag that reports
    // whether the key already existed.
    // The access parameter specifies the access rights for the key
    // to be created.
    func CreateKey(k Key, path string, access uint32) (newk Key, openedExisting bool, err error) {
    	var h syscall.Handle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 16:42:41 UTC 2023
    - 5.4K 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. 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
    
    	ListKeyNames(context.Context, *ListRequest) ([]string, string, error)
    
    	// GenerateKey generates a new data encryption key using the
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorCache.java

        interface PluginDescriptorSupplier {
            PluginDescriptor load()
                    throws PluginResolutionException, PluginDescriptorParsingException, InvalidPluginDescriptorException;
        }
    
        Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session);
    
        void put(Key key, PluginDescriptor pluginDescriptor);
    
        PluginDescriptor get(Key key);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/internal/syscall/windows/registry/registry_test.go

    	defer k.Close()
    
    	testKName := randKeyName("TestCreateOpenDeleteKey_")
    
    	testK, exist, err := registry.CreateKey(k, testKName, registry.CREATE_SUB_KEY)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer testK.Close()
    
    	if exist {
    		t.Fatalf("key %q already exists", testKName)
    	}
    
    	testKAgain, exist, err := registry.CreateKey(k, testKName, registry.CREATE_SUB_KEY)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer testKAgain.Close()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:19:00 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java

            // marker interface for cache keys
        }
    
        @FunctionalInterface
        interface PluginRealmSupplier {
            CacheRecord load() throws PluginResolutionException, PluginContainerException;
        }
    
        Key createKey(
                Plugin plugin,
                ClassLoader parentRealm,
                Map<String, ClassLoader> foreignImports,
                DependencyFilter dependencyFilter,
                List<RemoteRepository> repositories,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. internal/kms/secret-key.go

    		return []string{s.keyID}, "", nil
    	}
    	return []string{}, "", nil
    }
    
    // CreateKey returns ErrKeyExists unless req.Name is equal to the secretKey name.
    // The builtin KMS does not support creating multiple keys.
    func (s secretKey) CreateKey(_ context.Context, req *CreateKeyRequest) error {
    	if req.Name != s.keyID {
    		return ErrNotSupported
    	}
    	return ErrKeyExists
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top