Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for value_ (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/cc/experimental/libtf/impl/string.cc

    using StringTable = std::unordered_set<std::string>;
    
    namespace tf {
    namespace libtf {
    namespace impl {
    
    String::String(const char* s) {
      static StringTable* table = new StringTable;
      value_ = &*table->insert(s).first;
    }
    
    }  // namespace impl
    }  // namespace libtf
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 28 21:37:07 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/core-plugins/war_plugin.adoc

    [[sec:war_convention_properties]]
    == Convention properties (deprecated)
    
    `webAppDirName` — `String`::
    _Default value_: `src/main/webapp`
    +
    The name of the web application source directory, relative to the project directory.
    
    `webAppDir` — (read-only) `File`::
    _Default value_: `$webAppDirName`, e.g. _src/main/webapp_
    +
    The path to the web application source directory.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. pkg/config/labels/instance_test.go

    			tags: labels.Instance{"istio./key": "value"},
    		},
    		{
    			name: "bad tag value 1",
    			tags: labels.Instance{"key": ".value"},
    		},
    		{
    			name: "bad tag value 2",
    			tags: labels.Instance{"key": "value_"},
    		},
    		{
    			name: "bad tag value 3",
    			tags: labels.Instance{"key": "value$"},
    		},
    	}
    	for _, c := range cases {
    		if got := c.tags.Validate(); (got == nil) != c.valid {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 06:54:36 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top