Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 124 for permutation (0.29 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ModuleSelectorsTest.groovy

            }
            indexes.each {
                selectors.remove(candidateSelectors[it])
            }
    
            then:
            verifyEmpty(selectors)
    
            where:
            indexes << [0, 1, 2, 3].permutations()
    
        }
    
        def "sorts selectors for faster selection"() {
            given:
            def dynamic1 = dynamicSelector()
            def dynamic2 = dynamicSelector()
            def latest = latestSelector()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy

                                       new GradleDependency('Tooling API', 'implementation', "'org.gradle:gradle-tooling-api'")].permutations()
        }
    
        static void writeClassesInZipFileToTextFile(File zipFile, File txtFile) {
            IoActions.withResource(new ZipInputStream(new FileInputStream(zipFile)), new ErroringAction<ZipInputStream>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarCollectionNodeInitializerExtractionStrategy.java

                this.delegate = delegate;
                this.state = state;
                this.elementType = elementType;
            }
    
            public C getDelegate(boolean forMutation) {
                if (forMutation) {
                    state.assertCanMutate();
                }
                return delegate;
            }
    
            protected void validateElementType(Object o) {
                if (o != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:15:09 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/crypto/cipher/gcm_test.go

    	asm, generic, err := newAESGCM(key[:])
    	if err != nil {
    		t.Fatal(err)
    	}
    	if reflect.TypeOf(asm) == reflect.TypeOf(generic) {
    		t.Skipf("no assembly implementation of GCM")
    	}
    
    	// generate permutations
    	type pair struct{ align, length int }
    	lengths := []int{0, 156, 8192, 8193, 8208}
    	keySizes := []int{16, 24, 32}
    	alignments := []int{0, 1, 2, 3}
    	if testing.Short() {
    		keySizes = []int{16}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 15:27:49 UTC 2023
    - 35K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataProcessorTest.groovy

            then:
            TestComponentMetadataRule.instanceCount == 2
            rule1Executed
            rule2Executed
    
            where:
            rules << [rule1, rule2, "classRule1", "classRule2"].permutations()
    
        }
    
        private SpecConfigurableRule addRuleForModule(String notation) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCompositeBuildsIntegrationTest.groovy

            configurationCache.assertStateLoaded()
    
            and:
            result.assertTaskOrder(':lib:compileJava', ':util:compileJava', ':compileJava')
    
            where:
            order << ['lib', 'util'].permutations()
        }
    
        private static withDevelocityPlugin(TestFile settingsDir) {
            ApplyDevelocityPluginFixture.applyDevelocityPlugin(
                settingsDir.file('settings.gradle')
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

            succeeds taskName
    
            then:
            file("build/test.${fileExtension}").md5Hash == expectedHash
    
            where:
            input << [
                ['DIR1/FILE11.txt', 'dir2/file22.txt', 'DIR3/file33.txt'].permutations(),
                ['zip', 'tar']
            ].combinations()
            files = input[0]
            taskName = input[1]
            taskType = taskName.capitalize()
            fileExtension = taskName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryInteractionDependencyResolveIntegrationTest.groovy

                                }
                            }
                        }
                    }
                }
            }
    
            where:
            [chain, testVariant] << [REPO_TYPES.permutations(), TEST_VARIANTS.keySet()].combinations()
        }
    
        def "explicit compile configuration selection works for a chain of pure maven dependencies"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/ConsumerProvidedVariantFinderTest.groovy

            1 * attributeMatcher.isMatching(compatible, requested) >> true
    
            0 * attributeMatcher._
    
            where:
            registrationsIndex << (0..3).permutations()
        }
    
        @Issue("gradle/gradle#7061")
        def "selects chain of transforms that only all the attributes are satisfied"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  10. src/sort/sort.go

    //    V. Raman in Algorithmica (1996) 16, 115-160:
    //    This algorithm either needs additional 2n bits or works only if there
    //    are enough different elements available to encode some permutations
    //    which have to be undone later (so not stable on any input).
    //  - All the optimal in-place sorting/merging algorithms I found are either
    //    unstable or rely on enough different elements in each step to encode the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 16:40:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top