Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 179 for set_count (0.19 sec)

  1. tensorflow/compiler/jit/xla_cluster_util.cc

      for (const auto& pair : histogram) {
        XlaAutoClusteringSummary::OpAndCount* new_entry = result->Add();
        new_entry->set_op(std::string(pair.first));
        new_entry->set_count(pair.second);
      }
    
      absl::c_sort(*result, [](const XlaAutoClusteringSummary::OpAndCount& a,
                               const XlaAutoClusteringSummary::OpAndCount& b) {
        return a.op() < b.op();
      });
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    			newSetCounts[ss] = struct{}{}
    		}
    	}
    
    	setCounts = []uint64{}
    	for setCount := range newSetCounts {
    		setCounts = append(setCounts, setCount)
    	}
    
    	// Not necessarily needed but it ensures to the readers
    	// eyes that we prefer a sorted setCount slice for the
    	// subsequent function to figure out the right common
    	// divisor, it avoids loops.
    	sort.Slice(setCounts, func(i, j int) bool {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultiset.java

         * @throws NullPointerException if {@code element} is null
         * @throws IllegalArgumentException if {@code count} is negative
         */
        @CanIgnoreReturnValue
        public Builder<E> setCount(E element, int count) {
          contents.setCount(checkNotNull(element), count);
          return this;
        }
    
        /**
         * Adds each element of {@code elements} to the {@code ImmutableMultiset}.
         *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multisets.java

        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int setCount(@ParametricNullness E element, int count) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
          throw new UnsupportedOperationException();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multisets.java

        @Override
        public void clear() {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public int setCount(@ParametricNullness E element, int count) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
          throw new UnsupportedOperationException();
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      }
    
      /** Call the {@code setCount()} method under test, and check its return value. */
      abstract void setCountCheckReturnValue(E element, int count);
    
      /**
       * Call the {@code setCount()} method under test, but do not check its return value. Callers
       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeMultiset.java

        }
        int[] result = new int[1]; // used as a mutable int reference to hold result
        AvlNode<E> newRoot = root.setCount(comparator(), element, count, result);
        rootReference.checkAndSet(root, newRoot);
        return result[0];
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
        checkNonnegative(newCount, "newCount");
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      }
    
      /** Call the {@code setCount()} method under test, and check its return value. */
      abstract void setCountCheckReturnValue(E element, int count);
    
      /**
       * Call the {@code setCount()} method under test, but do not check its return value. Callers
       * should use this method over {@link #setCountCheckReturnValue(Object, int)} when they expect
       * {@code setCount()} to throw an exception, as checking the return value could produce an
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMultiset.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public int setCount(@ParametricNullness E element, int count) {
        return delegate().setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
        return delegate().setCount(element, oldCount, newCount);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ForwardingMultiset.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public int setCount(@ParametricNullness E element, int count) {
        return delegate().setCount(element, count);
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean setCount(@ParametricNullness E element, int oldCount, int newCount) {
        return delegate().setCount(element, oldCount, newCount);
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 10.4K bytes
    - Viewed (0)
Back to top