Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 261 for power9 (0.36 sec)

  1. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

    // RUN: tf-opt "-tfl-lower-static-tensor-list=allow-tensorlist-pass-through default-to-single-batch" -split-input-file %s | FileCheck %s
    
    // -----
    
    // CHECK-LABEL: tensorlistConst
    func.func @tensorlistConst(%arg0 : tensor<1xi32>) -> tensor<2x3xi32> {
      // CHECK-DAG: %[[ELEMENT0:.*]] = "tf.Const"() <{value = dense<[0, 1, 2]> : tensor<3xi32>}> : () -> tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/magic.go

    	d := uint64(c) << (64 - n) >> (64 - n)
    
    	// Doesn't work for 0.
    	// Don't use for powers of 2.
    	return d&(d-1) != 0
    }
    
    // umagicOKn reports whether we should strength reduce an unsigned n-bit divide by c.
    // We can strength reduce when c != 0 and c is not a power of two.
    func umagicOK8(c int8) bool   { return c&(c-1) != 0 }
    func umagicOK16(c int16) bool { return c&(c-1) != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/util.go

    	if !abiDetail || a.Sym == nil {
    		return ""
    	}
    	return fmt.Sprintf("<%s>", a.Sym.ABI())
    }
    
    // AlignmentPadding bytes to add to align code as requested.
    // Alignment is restricted to powers of 2 between 8 and 2048 inclusive.
    //
    // pc_: current offset in function, in bytes
    // p:  a PCALIGN or PCALIGNMAX prog
    // ctxt: the context, for current function
    // cursym: current function being assembled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/math/BigIntegerMath.java

     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class BigIntegerMath {
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code BigInteger.valueOf(2).pow(log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/math/big/natconv.go

    	// len(x) > 0
    
    	// allocate buffer for conversion
    	i := int(float64(x.bitLen())/math.Log2(float64(base))) + 1 // off by 1 at most
    	if neg {
    		i++
    	}
    	s := make([]byte, i)
    
    	// convert power of two and non power of two bases separately
    	if b := Word(base); b == b&-b {
    		// shift is base b digit size in bits
    		shift := uint(bits.TrailingZeros(uint(b))) // shift > 0 because b >= 2
    		mask := Word(1<<shift - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/BigIntegerMath.java

     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class BigIntegerMath {
      /**
       * Returns the smallest power of two greater than or equal to {@code x}. This is equivalent to
       * {@code BigInteger.valueOf(2).pow(log2(x, CEILING))}.
       *
       * @throws IllegalArgumentException if {@code x <= 0}
       * @since 20.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/runtime/string.go

    	// prefix and at least one digit.
    	if len(s) < 4 {
    		return 0, false
    	}
    	power := 0
    	switch s[len(s)-3] {
    	case 'K':
    		power = 1
    	case 'M':
    		power = 2
    	case 'G':
    		power = 3
    	case 'T':
    		power = 4
    	default:
    		// Invalid suffix.
    		return 0, false
    	}
    	m := uint64(1)
    	for i := 0; i < power; i++ {
    		m *= 1024
    	}
    	n, ok := atoi64(s[:len(s)-3])
    	if !ok || n < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

      }
    
      public void testCountOverflow_doesNotThrow() {
        PairedStatsAccumulator accumulator = new PairedStatsAccumulator();
        accumulator.add(ONE_VALUE, OTHER_ONE_VALUE);
        for (int power = 1; power < Long.SIZE - 1; power++) {
          accumulator.addAll(accumulator.snapshot());
        }
        // Should overflow without throwing.
        accumulator.addAll(accumulator.snapshot());
        assertThat(accumulator.count()).isLessThan(0L);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 23.4K bytes
    - Viewed (0)
  9. plugin/pkg/admission/gc/gc_admission.go

    		return nil
    	}
    
    	// if you are creating a thing, you should always be allowed to set an owner ref since you logically had the power
    	// to never create it.  We still need to check block owner deletion below, because the power to delete does not
    	// imply the power to prevent deletion on other resources.
    	if attributes.GetOperation() != admission.Create {
    		deleteAttributes := authorizer.AttributesRecord{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 02:24:38 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Striped64.java

    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top