Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for copyFrom (0.19 sec)

  1. subprojects/core-api/src/test/groovy/org/gradle/api/tasks/util/PatternSetTest.groovy

            PatternSet other = new PatternSet()
            other.include 'a', 'b'
            other.exclude 'c'
            other.include({ true } as Spec)
            other.exclude({ false } as Spec)
    
            when:
            patternSet.copyFrom(other)
    
            then:
            patternSet.includes == ['a', 'b'] as Set
            patternSet.excludes == ['c'] as Set
            !patternSet.includes.is(other.includes)
            !patternSet.excludes.is(other.excludes)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 12:37:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestFramework.java

        @UsedByScanPlugin("test-retry")
        @Override
        public TestFramework copyWithFilters(TestFilter newTestFilters) {
            TestNGOptions copiedOptions = objects.newInstance(TestNGOptions.class);
            copiedOptions.copyFrom(options);
    
            return new TestNGTestFramework(
                (DefaultTestFilter) newTestFilters,
                objects,
                testTaskTemporaryDir,
                htmlReport,
                copiedOptions,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_histogram.cc

      hist_stats.mutable_hist_freq()->Assign(hist_freq_.begin(),
                                             hist_freq_.begin() + real_size);
    
      CalibrationStatistics statistics;
      statistics.mutable_histogram_statistics()->CopyFrom(hist_stats);
    
      return statistics;
    }
    
    std::pair<int32_t, int32_t>
    CalibrationStatisticsCollectorHistogram::ExpandHistogramIfNeeded(
        const float lower_bound, const float upper_bound) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestFramework.java

        }
    
        @UsedByScanPlugin("test-retry")
        @Override
        public TestFramework copyWithFilters(TestFilter newTestFilters) {
            JUnitOptions copiedOptions = new JUnitOptions();
            copiedOptions.copyFrom(options);
    
            return new JUnitTestFramework(
                (DefaultTestFilter) newTestFilters,
                useImplementationDependencies,
                copiedOptions,
                testTaskTemporaryDir,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestFramework.java

        }
    
        @UsedByScanPlugin("test-retry")
        @Override
        public TestFramework copyWithFilters(TestFilter newTestFilters) {
            JUnitPlatformOptions copiedOptions = new JUnitPlatformOptions();
            copiedOptions.copyFrom(options);
    
            return new JUnitPlatformTestFramework(
                (DefaultTestFilter) newTestFilters,
                useImplementationDependencies,
                copiedOptions,
                dryRun
            );
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. tensorflow/cc/saved_model/fingerprinting_utils.cc

            // means the chunked_field is relevant and the necessary data should be
            // copied over.
            auto cf = std::make_unique<proto_splitter::ChunkedField>();
            cf->mutable_field_tag()->CopyFrom(chunked_field.field_tag());
            TF_ASSIGN_OR_RETURN(
                *cf->mutable_message(),
                PruneChunkedMessage(chunked_field.message(), reader, chunks_info,
                                    target_fields_list));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DirectoryFileTree.java

        public File getDir() {
            return dir;
        }
    
        @Override
        public DirectoryFileTree filter(PatternFilterable patterns) {
            PatternSet patternSet = this.patternSet.intersect();
            patternSet.copyFrom(patterns);
            return new DirectoryFileTree(dir, patternSet, fileSystem, postfix);
        }
    
        @Override
        public boolean contains(File file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 21:33:45 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildCommandLineArgsIntegrationTest.groovy

            given:
            dependency 'org.test:buildB:1.0'
    
            buildA.settingsFile << """
    rootProject.buildFileName='build-copy.gradle'
    """
    
            buildA.file("build-copy.gradle").copyFrom(buildA.buildFile)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 09 12:02:33 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  9. tensorflow/cc/experimental/base/public/tensor.h

      // owns the underlying memory. This could be a .deepcopy()/clone() method.
    
      // TODO(bmzhao): In the future, we want to relax the non-copyability
      // constraint. To do so, we can add a C API function that acts like
      // CopyFrom:
      // https://github.com/tensorflow/tensorflow/blob/08931c1e3e9eb2e26230502d678408e66730826c/tensorflow/core/framework/tensor.h#L301-L311
    
      // Tensor is movable, but not copyable
      Tensor(Tensor&&) = default;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 28 20:10:33 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  10. tensorflow/c/tf_tensor.cc

            EmptyTensor(static_cast<TF_DataType>(src.dtype()), src.shape());
        auto* ret = emptyTensor->tensor;
        delete emptyTensor;
        return ret;
      }
    
      Tensor tensor;
      if (!tensor.CopyFrom(src, src.shape())) {
        return nullptr;
      }
      return new tensorflow::TensorInterface(std::move(tensor));
    }
    
    // Non-static for testing.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top