Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for UnionWith (0.3 sec)

  1. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

        val mappedTo = mapping.mappedTo
    
        var unionWith: Mapping = mapping
        index++
    
        while (index < mappings.size) {
          val next = mappings[index]
    
          if (type != canonicalizeType(next.type)) break
          if (type == TYPE_MAPPED && mappedTo != next.mappedTo) break
    
          unionWith = next
          index++
        }
    
        result +=
          Mapping(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_util.cc

      const int storage_size = storage_.size();
      if (word_index >= storage_size) {
        storage_.resize(word_index + 1, 0);
      }
    
      storage_[word_index] |= (1ull << bit_index);
    }
    
    void DeviceSet::UnionWith(const DeviceSet& other) {
      if (other.storage_.size() > storage_.size()) {
        storage_.resize(other.storage_.size(), 0);
      }
    
      for (int i = 0, end = other.storage_.size(); i < end; i++) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_util.h

      friend class DeviceInfoCache;
      friend class DeviceSet;
    };
    
    // A set of DeviceIds, represented as a bitmap.
    class DeviceSet {
     public:
      void Insert(DeviceId device_id);
      void UnionWith(const DeviceSet& other);
      bool IsEmpty() const;
    
      // Calls `func` on each DeviceId in the set.  Stops iterating early if `func`
      // return false.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      cluster_size_ += other->cluster_size_;
      effective_cluster_size_ += other->effective_cluster_size_;
      has_functional_control_flow_ |= other->has_functional_control_flow_;
    
      devices_.UnionWith(other->devices_);
    
      DCHECK(!(resource_op_device_.has_value() &&
               other->resource_op_device_.has_value()) ||
             *resource_op_device_ == *other->resource_op_device_)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top