Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for WithSource (0.11 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/model/ModuleSources.java

        void withSources(Consumer<ModuleSource> consumer);
    
        /**
         * Executes an action on the first source found of the following type, if any.
         */
        default <T extends ModuleSource, R> R withSource(Class<T> sourceType, Function<Optional<T>, R> action) {
            return action.apply(getSource(sourceType));
        }
    
        default <T extends ModuleSource> void withSources(Class<T> sourceType, Consumer<T> consumer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/ComponentMetadataRuleExecutor.java

        }
    
        private static Transformer<Object, ModuleComponentResolveMetadata> getKeyToSnapshotableTransformer() {
            return moduleMetadata -> moduleMetadata.getSources().withSource(ModuleDescriptorHashModuleSource.class, source -> {
                return source.map(metadataFileSource -> metadataFileSource.getDescriptorHash().toString() + moduleMetadata.getVariantDerivationStrategy().getClass().getName())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/fake.go

    	panic("unimplemented")
    }
    
    func (f *recorderResourceManager) ServeHTTP(http.ResponseWriter, *http.Request) {
    	panic("unimplemented")
    }
    
    func (f *recorderResourceManager) WithSource(source Source) ResourceManager {
    	panic("unimplemented")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top