Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 295 for flagMap (0.18 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveIncrementalCachingStateStep.java

            this.delegate = delegate;
        }
    
        @Override
        protected Optional<HashCode> getPreviousCacheKeyIfApplicable(C context) {
            return context.getChanges()
                .flatMap(changes -> context.getPreviousExecutionState()
                    .filter(__ -> changes.getChangeDescriptions().isEmpty())
                    .map(PreviousExecutionState::getCacheKey));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 08:29:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt

        private val buckets: Map<TestCoverage, List<BuildTypeBucket>> by lazy {
            val uuidToTestCoverage = model.stages.flatMap { it.functionalTests }.associateBy { it.uuid }
            val testCoverageAndBuckets = JSON.parseArray(testBucketsJson.readText()) as JSONArray
            testCoverageAndBuckets.associate { testCoverageAndBucket ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 05:14:09 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. maven-di/src/main/java/org/apache/maven/di/impl/BindingInitializer.java

        public static <T> BindingInitializer<T> combine(List<BindingInitializer<T>> bindingInitializers) {
            Set<Key<?>> deps = bindingInitializers.stream()
                    .map(BindingInitializer::getDependencies)
                    .flatMap(Collection::stream)
                    .collect(toSet());
            return new BindingInitializer<T>(deps) {
                @Override
                public Consumer<T> compile(Function<Key<?>, Supplier<?>> compiler) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 05 09:45:47 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/flag/flag_test.go

    // Declare a user-defined flag type.
    type flagVar []string
    
    func (f *flagVar) String() string {
    	return fmt.Sprint([]string(*f))
    }
    
    func (f *flagVar) Set(value string) error {
    	*f = append(*f, value)
    	return nil
    }
    
    func TestUserDefined(t *testing.T) {
    	var flags FlagSet
    	flags.Init("test", ContinueOnError)
    	flags.SetOutput(io.Discard)
    	var v flagVar
    	flags.Var(&v, "v", "usage")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

            val pairs = durations.flatMap { it ->
                val scenarioDurations = it as JSONObject
                val scenario = Scenario.fromTestId(scenarioDurations["scenario"] as String)
                (scenarioDurations["durations"] as JSONArray).flatMap {
                    val duration = it as JSONObject
                    val testProject = duration["testProject"] as String
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/transaction/CompileTransaction.java

        }
    
        private PatternSet getNewGeneratedClasses(ApiCompilerResult result) {
            PatternSet filesToDelete = fileOperations.patternSet();
            result.getSourceClassesMapping().values().stream()
                .flatMap(Collection::stream)
                .forEach(className -> {
                    filesToDelete.include(className.replace(".", "/").concat(".class"));
                    filesToDelete.include(className.replaceAll("[.$]", "_").concat(".h"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  7. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

        isTransitive = false
        extendsFrom(manifestClasspath.get())
        configureAsRuntimeJarClasspath(objects)
    }
    
    tasks.jar.configure {
        val classpath = resolveManifestClasspath.flatMap { configuration ->
            configuration.elements.map { classpathDependency ->
                classpathDependency.joinToString(" ") { it.asFile.name }
            }
        }
        manifest.attributes("Class-Path" to classpath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 11:35:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/functional/src/main/java/org/gradle/internal/Try.java

         * the {@code Try} representing the original failure.
         *
         * Exceptions thrown by the given function are propagated.
         */
        public abstract <U> Try<U> flatMap(Function<? super T, Try<U>> f);
    
        /**
         * If the represented operation was successful, returns the result of applying the given
         * mapping function to the value, otherwise returns
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            def transformer = Mock(Transformer)
    
            given:
            def provider = providerWithValue(someValue())
    
            when:
            def mapped = provider.flatMap(transformer)
    
            then:
            0 * _
    
            when:
            def present = mapped.present
    
            then:
            present
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    // Maps from a FunctionDef's name to FunctionDef, for a given FunctionDefLibrary
    using FunctionDefMap = gtl::FlatMap<StringPiece, const tensorflow::FunctionDef*,
                                        StringPieceHasher>;
    
    // Maps from a functiondef's name to the corresponding "TFConcreteFunction"
    using FlatTensorFunctionMap =
        gtl::FlatMap<std::string, std::unique_ptr<FlatTensorFunction>>;
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top