Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 147 for Flatten (0.2 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

            }
        }
    
        private def findLaunchables(Collection<GradleProject> gradleProjects, String taskName) {
            collectGradleProjects(gradleProjects).collect { it.tasks }.flatten().findAll { GradleTask task -> task.path.contains(taskName) }
        }
    
        private def collectGradleProjects(Collection<GradleProject> projects, Collection<GradleProject> acc = []) {
            acc.addAll(projects)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

                elementIfNoFailures {
                    fun PropertyAccess.flatten(): List<String> =
                        buildList {
                            if (receiver is PropertyAccess) {
                                addAll(receiver.flatten())
                            }
                            add(name)
                        }
    
                    val nameParts = checked(content!!).flatten()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasherTest.groovy

            hash1 == hash2
    
            where:
            [context, fooPattern] << [SnapshotContext.values(), ['**/foo.properties', '**/f*.properties', 'some/**/f*.properties', 'some/path/to/foo.properties']].combinations()*.flatten()
        }
    
        def "can filter multiple files selectively based on pattern (pattern: #fPattern, context: #context)"() {
            given:
            filters = [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                // TODO: This doesn't allow adoc files to be generated?
                task.from(extension.getUserManual().getRoot(), sub -> {
                    sub.include("**/*.adoc");
                    // Flatten adocs into a single directory
                    sub.eachFile(fcd -> fcd.setRelativePath(RelativePath.parse(true, fcd.getName())));
                });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/CustomComponentIntegrationTest.groovy

                    void createValidateTask(ModelMap<Task> tasks, ComponentSpecContainer components) {
                        tasks.create("validate") {
                            assert components*.binaries*.values().flatten()*.name == ["jar"]
                        }
                    }
                }
                apply plugin: ValidateTaskRules
            """
    
            expect:
            succeeds "validate"
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 25.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

          rhs,
          DenseIntElementsAttr::get(
              RankedTensorType::get({rhs_rank}, rewriter.getI64Type()),
              rhs_permutation));
      // Reshapes lhs to flatten out_dimensions and contracting_dimensions.
      llvm::SmallVector<int64_t, 4> lhs_flattened_shape = Concat<int64_t>(
          lhs_dot_dimensions_info.batch_dimensions().SizesArray(),
          llvm::ArrayRef<int64_t>{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. platforms/software/signing/src/integTest/groovy/org/gradle/plugins/signing/SigningSamplesSpec.groovy

            module.assertArtifactsPublished(expectedFileNames.collect { [it, "${it}.asc"] }.flatten())
    
            and:
            module.parsedPom.name == "My Library"
            module.parsedPom.description == "A concise description of my library"
            module.parsedPom.url == "http://www.example.com/library"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  8. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <type>String</type>
              <description>pathScope used to flatten dependencies</description>
            </field>
            <field>
              <name>requestType</name>
              <required>false</required>
              <version>2.0.0+</version>
              <type>String</type>
              <description>either {@code collect}, {@code flatten}, or {@code resolve}</description>
            </field>
          </fields>
        </class>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. cmd/erasure.go

    					// updates-collector goroutine still
    					// holds a reference to this.
    					wg.Wait()
    					continue
    				}
    
    				wg.Wait()
    				// Flatten for upstream, but save full state.
    				var root dataUsageEntry
    				if r := cache.root(); r != nil {
    					root = cache.flatten(*r)
    					if root.ReplicationStats.empty() {
    						root.ReplicationStats = nil
    					}
    				}
    				select {
    				case <-ctx.Done():
    					return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

                        def walker = services.get(PropertyWalker)
                        TaskPropertyUtils.visitProperties(walker, this, visitor)
                        def inputFiles = visitor.fileProperties*.propertyFiles*.files.flatten()
                        assert inputFiles.empty
                    }
                }
    
                task customTask(type: CustomTask) {
                    input = null
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top