Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for copyFrom (0.24 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

      tuple(const GTEST_1_TUPLE_(U)& t) : f0_(t.f0_) {}
    
      tuple& operator=(const tuple& t) { return CopyFrom(t); }
    
      template <GTEST_1_TYPENAMES_(U)>
      tuple& operator=(const GTEST_1_TUPLE_(U)& t) {
        return CopyFrom(t);
      }
    
      GTEST_DECLARE_TUPLE_AS_FRIEND_
    
      template <GTEST_1_TYPENAMES_(U)>
      tuple& CopyFrom(const GTEST_1_TUPLE_(U)& t) {
        f0_ = t.f0_;
        return *this;
      }
    
      T0 f0_;
    };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-tuple.h

      tuple(const GTEST_1_TUPLE_(U)& t) : f0_(t.f0_) {}
    
      tuple& operator=(const tuple& t) { return CopyFrom(t); }
    
      template <GTEST_1_TYPENAMES_(U)>
      tuple& operator=(const GTEST_1_TUPLE_(U)& t) {
        return CopyFrom(t);
      }
    
      GTEST_DECLARE_TUPLE_AS_FRIEND_
    
      template <GTEST_1_TYPENAMES_(U)>
      tuple& CopyFrom(const GTEST_1_TUPLE_(U)& t) {
        f0_ = t.f0_;
        return *this;
      }
    
      T0 f0_;
    };
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  3. tensorflow/cc/saved_model/fingerprinting_utils_test.cc

                                field_tag { field: 5 }
                                field_tag { map_key { ui32: 123 } }
                              )pb"));
      RepeatedPtrField<FieldIndex> field_tags_sub;
      field_tags_sub.CopyFrom(field_tags);
      field_tags_sub.DeleteSubrange(2, 2);
    
      EXPECT_THAT(fieldTagMatches(field_tags_sub, field_tags), IsOkAndHolds(2));
    }
    
    TEST(FingerprintingTest, TestFieldTagMatchesNoninitialSubsequence) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

            calibration_parameters.set_num_bins(512);
            calibration_parameters.set_min_percentile(0.001);
            calibration_parameters.set_max_percentile(99.999);
            calib_opts_.mutable_calibration_parameters()->CopyFrom(
                calibration_parameters);
            break;
          }
          case TEST_CASE_HISTOGRAM_MSE_BRUTEFORCE: {
            calib_opts_.set_calibration_method(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/tasks/util/PatternSet.java

        }
    
        private static Set<?> nullToEmpty(@Nullable Set<?> set) {
            return set == null ? Collections.emptySet() : set;
        }
    
        public PatternSet copyFrom(PatternFilterable sourcePattern) {
            return doCopyFrom((PatternSet) sourcePattern);
        }
    
        protected PatternSet doCopyFrom(PatternSet from) {
            caseSensitive = from.caseSensitive;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 15 21:33:45 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

                    throw new RuntimeException(String.format("Could not copy test file '%s' to '%s'", this, target), e);
                }
            }
        }
    
        public void copyFrom(File target) {
            new TestFile(target).copyTo(this);
        }
    
        public void copyFrom(final URL resource) {
            final TestFile testFile = this;
            RetryUtil.retry(new Closure(null, null) {
                @SuppressWarnings("UnusedDeclaration")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParameters.java

                    legacyProgressListeners, progressListeners, cancellationToken, systemProperties, new FailsafeStreamedValueListener(streamedValueListener));
            }
    
            public void copyFrom(ConsumerOperationParameters operationParameters) {
                tasks = operationParameters.tasks;
                launchables = operationParameters.launchables;
                cancellationToken = operationParameters.cancellationToken;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top