Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for allDescendants (0.47 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy

            } finally {
                zipFile.close()
            }
        }
    
        @Override
        def hasDescendants(String... relativePaths) {
            String[] allDescendants = relativePaths + JarFile.MANIFEST_NAME
            return super.hasDescendants(allDescendants)
        }
    
        JavaVersion getJavaVersion() {
            JarFile jarFile = new JarFile(file)
            try {
                //take the first class file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:13:17 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/api/plugins/ApplicationPluginIntegrationTest.groovy

        compileOnly 'org.gradle.test:compileOnly:1.0'
    }
    """
    
            when:
            run "installDist"
    
            then:
            file('build/install/sample/lib').allDescendants() == ['sample.jar', 'compile-1.0.jar'] as Set
        }
    
        def "executables can be placed at the root of the distribution"() {
            given:
            buildFile << """
    application.executableDir = ''
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildsIntegrationTest.groovy

            def confCacheDir = file("./app/.gradle/configuration-cache")
            confCacheDir.isDirectory()
            def confCacheFiles = confCacheDir.allDescendants().findAll { it != 'configuration-cache.lock' && it != 'gc.properties' }
            confCacheFiles.size() == 5 // header, 2 * fingerprint, root build state file, included build state file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            Bytes.indexOf(contents, toFind) >= 0
        }
    
        private TestFile findRequiredKeystoreFile(boolean required = true) {
            def keyStoreDirFiles = keyStoreDir.allDescendants()
            def keyStorePath = keyStoreDirFiles.find { it.endsWith('gradle.keystore') }
            assert !required || keyStorePath != null
            return keyStorePath?.with { keyStoreDir.file(keyStorePath) }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            return assertContainsDescendants(Arrays.asList(descendants));
        }
    
        public TestFile assertIsEmptyDir() {
            assertHasDescendants();
            return this;
        }
    
        public Set<String> allDescendants() {
            Set<String> names = new TreeSet<>();
            if (isDirectory()) {
                visit(names, "", this, false);
            }
            return names;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      while (!current_layer_descendants.empty()) {
        if (current_depth > 5) {
          all_descendants.clear();
          return false;
        }
        current_depth++;
    
        for (Operation* descendant : current_layer_descendants) {
          if (!IsStablehloOp(descendant) || !ops_to_add.contains(descendant)) {
            all_descendants.clear();
            return false;
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
Back to top