Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,525 for pcount (0.22 sec)

  1. src/internal/coverage/cformat/format.go

    	if fm.cm == coverage.CtrModeSet {
    		if count != 0 || pcount != 0 {
    			result = 1
    		}
    	} else {
    		// Use saturating arithmetic.
    		result, _ = cmerge.SaturatingAdd(pcount, count)
    	}
    	fm.p.unitTable[ukey] = result
    }
    
    // sortUnits sorts a slice of extcu objects in a package according to
    // source position information (e.g. file and line). Note that we don't
    // include function name as part of the sorting criteria, the thinking
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Count.java

    import javax.annotation.CheckForNull;
    
    /**
     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Count.java

    import javax.annotation.CheckForNull;
    
    /**
     * A mutable value of type {@code int}, for multisets to use in tracking counts of values.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class Count implements Serializable {
      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/tutorial/count/tests/count.sample.conf

    # tag::cli[]
    # gradle --quiet count
    # end::cli[]
    executable: gradle
    args: count
    flags: --quiet
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 127 bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Amount.java

            }
        }
    
        /**
         * Converts this amount to an equivalent amount in the specified units.
         *
         * @return The converted amount.
         */
        public Amount<Q> toUnits(Units<Q> units) {
            if (units.equals(this.units)) {
                return this;
            }
            return new Amount<>(this.units.scaleTo(value, units), units);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/resource/amount.go

    	exponent = int32(-a.Dec.Scale())
    	amount := big.NewInt(0).Set(mantissa)
    	// move all factors of 10 into the exponent for easy reasoning
    	amount, times := removeBigIntFactors(amount, bigTen)
    	exponent += times
    
    	// make sure exponent is a multiple of 3
    	for exponent%3 != 0 {
    		amount.Mul(amount, bigTen)
    		exponent--
    	}
    
    	return append(out, amount.String()...), exponent
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 19:42:28 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tutorial/count/tests/count.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/get-arithmetic-count.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tfl-get-arithmetic-count %s | FileCheck %s
    
    func.func @testConv2D(tensor<256x32x32x3xf32>, tensor<16x3x3x3xf32>, tensor<16xf32>) -> tensor<256x32x32x16xf32> {
    ^bb0(%arg0: tensor<256x32x32x3xf32>, %arg1: tensor<16x3x3x3xf32>, %arg2: tensor<16xf32>):
      // CHECK: _arithmetic_count = 230686720 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:58:17 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        return multiset(ImmutableMap.of(value1, count1, value2, count2));
      }
    
      private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListenerCallQueueTest.java

        return multiset(ImmutableMap.of(value1, count1, value2, count2));
      }
    
      private static <T> ImmutableMultiset<T> multiset(Map<T, Integer> counts) {
        ImmutableMultiset.Builder<T> builder = ImmutableMultiset.builder();
        for (Entry<T, Integer> entry : counts.entrySet()) {
          builder.addCopies(entry.getKey(), entry.getValue());
        }
        return builder.build();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 8.2K bytes
    - Viewed (0)
Back to top