Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for copyFrom (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_min_max.cc

      if (min_max_statistics_.global_min() == std::numeric_limits<float>::max())
        return std::nullopt;
    
      CalibrationStatistics statistics;
      statistics.mutable_min_max_statistics()->CopyFrom(min_max_statistics_);
    
      return statistics;
    }
    
    }  // namespace calibrator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 03:57:26 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/junitplatform/JUnitPlatformOptionsTest.groovy

                .includeEngines("targetIncludedCategory")
                .excludeEngines("targetExcludedCategory")
                .includeTags("targetIncludedTag")
                .excludeTags("targetExcludedTag")
            target.copyFrom(source)
    
            then:
            with(target) {
                includeEngines =~ ["sourceIncludedCategory"]
                excludeEngines =~ ["sourceExcludedCategory"]
                includeTags =~ ["sourceIncludedTag"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/tasks/testing/junit/JUnitOptions.java

        private Set<String> excludeCategories = new LinkedHashSet<String>();
    
        /**
         * Copies the options from the source options into the current one.
         * @since 8.0
         */
        public void copyFrom(JUnitOptions other) {
            replace(this.includeCategories, other.includeCategories);
            replace(this.excludeCategories, other.excludeCategories);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/ConfigurableFileTreeCodec.kt

            val dir = readFile()
            val patterns = read() as PatternSet
            val tree = fileCollectionFactory.fileTree()
            tree.setDir(dir)
            // TODO - read patterns directly into tree
            tree.patterns.copyFrom(patterns)
            return tree
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_average_min_max.cc

    CalibrationStatisticsCollectorAverageMinMax::GetStatistics() const {
      if (average_min_max_statistics_.num_samples() == 0) return std::nullopt;
    
      CalibrationStatistics statistics;
      statistics.mutable_average_min_max_statistics()->CopyFrom(
          average_min_max_statistics_);
    
      return statistics;
    }
    
    }  // namespace calibrator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 03:57:26 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h.pump

      tuple(const ::std::pair<U0, U1>& p) : f0_(p.first), f1_(p.second) {}
    
    ]]
    
      tuple& operator=(const tuple& t) { return CopyFrom(t); }
    
      template <GTEST_$(k)_TYPENAMES_(U)>
      tuple& operator=(const GTEST_$(k)_TUPLE_(U)& t) {
        return CopyFrom(t);
      }
    
    $if k == 2 [[
      template <typename U0, typename U1>
      tuple& operator=(const ::std::pair<U0, U1>& p) {
        f0_ = p.first;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DownloadableGradleDistribution.groovy

                    distributionZip.delete()
                    gradleHomeDir.deleteDir()
    
                    URL url = getDownloadURL();
                    System.out.println("downloading $url")
                    distributionZip.copyFrom(url)
    
                    System.out.println("unzipping ${distributionZip} to ${gradleHomeDir}")
                    distributionZip.usingNativeTools().unzipTo(versionDir)
    
                    markerFile.createFile()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/FilteredMinimalFileTreeTest.groovy

                nestedVisitor.visitFileTree(dir, sourcePatterns, o)
            }
            1 * sourcePatterns.intersect() >> intersectPatterns
            1 * intersectPatterns.copyFrom(patterns)
            1 * visitor.visitFileTree(dir, intersectPatterns, owner)
            0 * _
        }
    
        def "applies filters to mirror"() {
            def sourceMirror = Mock(DirectoryFileTree)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

        def copyFromOverridesOldOptions() {
            given:
            def source = testNGOptionsWithPrefix("source", false, 0)
    
            when:
            def target = testNGOptionsWithPrefix("target", true, 5)
            target.copyFrom(source)
    
            then:
            with(target) {
                outputDirectory == source.outputDirectory
                includeGroups == source.includeGroups
                excludeGroups == source.excludeGroups
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r14/ToolingApiInitScriptCrossVersionIntegrationTest.groovy

        TestFile createDistribution(int i) {
            def distro = temporaryDistributionFolder.file("distro$i")
            distro.deleteDir()
    
            distro.copyFrom(getTargetDist().getGradleHomeDir())
            distro.file("bin", OperatingSystem.current().getScriptName("gradle")).permissions = 'rwx------'
            distro.file("init.d/init.gradle") << """
                gradle.allprojects {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top