- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 307 for value_ (0.21 sec)
-
tensorflow/cc/experimental/libtf/impl/string.h
// This is the same as the default equality operator, which works because // we're interning all strings. It is specified here so we are explicit about // it. We're not saying "= default;" because we can't use C++20 features yet. bool operator==(const String& other) const { return value_ == other.value_; } const std::string& str() const { return *value_; } /** Absl hash function. */
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 30 17:28:28 UTC 2021 - 2.3K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/impl/scalars.h
namespace impl { /** A thin wrapper around a C++ scalar value. * This wrapper makes the scalar immutable. */ template <typename T> class Scalar final { public: explicit Scalar(T x) : value_(x) {} Scalar(const Scalar<T>& o) : value_(o.value_) {} bool operator==(const Scalar<T>& o) const { return o.value_ == value_; } T get() const { return value_; } /** Absl hash function. */ template <typename H>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 30 17:28:28 UTC 2021 - 2K bytes - Viewed (0) -
test/typeparam/absdiff2.go
type numericAbs[T Numeric] interface { ~struct{ Value_ T } Abs() T Value() T } // absDifference computes the absolute value of the difference of // a and b, where the absolute value is determined by the Abs method. func absDifference[T Numeric, U numericAbs[T]](a, b U) T { d := a.Value() - b.Value() dt := U{Value_: d} return dt.Abs() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 09 21:26:42 UTC 2022 - 3.6K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/object.h
auto it = value_.dict().find(key.value_); if (it != value_.dict().end()) return Cast<T>(Handle(it->second)); return absl::NotFoundError("Key not in dictionary."); } /// Sets `key` with value `value`. void Set(const String& key, Handle value) { value_.dict()[key.value_] = std::move(value.value_); } /// Sets `key` with value `value`. void Set(const Handle& key, Handle value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 11 08:05:36 UTC 2023 - 23.6K bytes - Viewed (0) -
test/typeparam/absdiffimp2.dir/a.go
type numericAbs[T Numeric] interface { ~struct{ Value_ T } Abs() T Value() T } // absDifference computes the absolute value of the difference of // a and b, where the absolute value is determined by the Abs method. func absDifference[T Numeric, U numericAbs[T]](a, b U) T { d := a.Value() - b.Value() dt := U{Value_: d} return dt.Abs() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 09 21:26:42 UTC 2022 - 2.8K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-linked_ptr.h
depart(); capture(ptr); } T* get() const { return value_; } T* operator->() const { return value_; } T& operator*() const { return *value_; } bool operator==(T* p) const { return value_ == p; } bool operator!=(T* p) const { return value_ != p; } template <typename U> bool operator==(linked_ptr<U> const& ptr) const { return value_ == ptr.get(); } template <typename U>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-linked_ptr.h
depart(); capture(ptr); } T* get() const { return value_; } T* operator->() const { return value_; } T& operator*() const { return *value_; } bool operator==(T* p) const { return value_ == p; } bool operator!=(T* p) const { return value_ != p; } template <typename U> bool operator==(linked_ptr<U> const& ptr) const { return value_ == ptr.get(); } template <typename U>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/core-plugins/project_report_plugin.adoc
The projects to generate the reports for. _Default value_: A one element set with the project the plugin was applied to. `projectReportDirName` — `String`:: The name of the directory to generate the project report into, relative to the reports directory. _Default value_: `"project"`. `projectReportDir` — `File` (read-only):: The directory to generate the project report into. _Default value_: `__reportsDir__/__projectReportDirName__`.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4.3K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
public: Iterator(const ParamGeneratorInterface<T>* base, T value, int index, IncrementT step) : base_(base), value_(value), index_(index), step_(step) {} virtual ~Iterator() {} virtual const ParamGeneratorInterface<T>* BaseGenerator() const { return base_; } virtual void Advance() { value_ = value_ + step_; index_++; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 23.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h
public: Iterator(const ParamGeneratorInterface<T>* base, T value, int index, IncrementT step) : base_(base), value_(value), index_(index), step_(step) {} virtual ~Iterator() {} virtual const ParamGeneratorInterface<T>* BaseGenerator() const { return base_; } virtual void Advance() { value_ = value_ + step_; index_++; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 23.6K bytes - Viewed (0)