Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 819 for combinations (0.17 sec)

  1. testing/internal-testing/src/main/resources/valid-precondition-combinations.csv

    Justin Van Dort <******@****.***> 1717185987 -0400
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. testing/internal-testing/src/test/groovy/org/gradle/test/precondition/PredicateFileTest.groovy

        }
    
        def "throws exception when single values are not found"() {
            when:
            checkValidCombinations(["nonexistent1", "nonexistent2"])
    
            then:
            final ex = thrown(IllegalArgumentException)
            ex.message.startsWith("Requested requirements [nonexistent1, nonexistent2] were not in the list of accepted combinations.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/python/testing_test.py

        """Tests that parameter_combinations returns correct combinations."""
        test_parameters = [{
            'shapes': [
                [3, 3],
                [3, None],
            ],
            'has_bias': [True, False],
        }]
        combinations = testing.parameter_combinations(test_parameters)
    
        self.assertLen(combinations, 4)
        self.assertIn({'shapes': [3, 3], 'has_bias': True}, combinations)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/examples/mnist/mnist_train_test.py

        strategy_combinations.one_device_strategy_gpu,
        strategy_combinations.tpu_strategy,
    ]
    
    
    class MnistTrainTest(test_util.TensorFlowTestCase, parameterized.TestCase):
    
      @combinations.generate(combinations.combine(strategy=strategies))
      def testMnistTrain(self, strategy):
        accuracy = mnist_train.main(strategy)
        self.assertGreater(accuracy, 0.7, 'accuracy sanity check')
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jul 24 03:38:45 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/signatureSubstitution/AbstractAnalysisApiSignatureContractsTest.kt

                }
                val combinations = buildList { combinations(typesToCheckOn, persistentListOf(), typeParameters.size) }
                check(combinations.size == typesToCheckOn.size.toDouble().pow(typeParameters.size).toInt())
                val allSubstitutors = buildList {
                    combinations.forEach { typesPermutation ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

    package org.gradle.integtests.resolve.attributes
    
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    
    class ExclusiveVariantsIntegrationTest extends AbstractIntegrationSpec {
        def "matching attribute combinations and capability #capability fails to resolve"() {
            given:
            buildFile << """
                plugins {
                    id 'java'
                }
    
                configurations {
                    sample1 {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  7. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/PredicatesFile.java

            if (!found) {
                String message = String.format(
                    "Requested requirements [%s] were not in the list of accepted combinations. " +
                        "Add it to 'subprojects/internal-testing/src/main/resources/valid-precondition-combinations.csv' to be accepted. " +
                        "See the documentation of this class to learn more about this feature.",
                    String.join(", ", predicateClassNames)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/test/precondition/RequiresExtension.groovy

     * <p>
     * If you need a new combination of {@link TestPrecondition} classes, go to {@code subprojects/internal-testing/src/main/resources/valid-precondition-combinations.csv} and simply add it.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

                return createCacheBuilder(
                    (Integer) combination.get(0),
                    (Integer) combination.get(1),
                    (Integer) combination.get(2),
                    (DurationSpec) combination.get(3),
                    (DurationSpec) combination.get(4),
                    (DurationSpec) combination.get(5),
                    (Strength) combination.get(6),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

                                         "System.clearProperty(*['some.property'])",
                                         "clearProperty('some.property')",
                                     ], [false, true]].combinations()
            indyStatus = enableIndy ? "with indy" : "without indy"
        }
    
        def "#setProperties is instrumented in dynamic Groovy #indyStatus"() {
            def configurationCache = newConfigurationCacheFixture()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top