Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 161 for bounded (1.69 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    // Check if device coordinate is outside of topology mesh shape bounds.
    bool DeviceCoordinateOutOfBound(int x, int y, int z, int core, int bound_x,
                                    int bound_y, int bound_z, int bound_core) {
      return x < 0 || x >= bound_x || y < 0 || y >= bound_y || z < 0 ||
             z >= bound_z || core < 0 || core >= bound_core;
    }
    
    // Create error message for an out of bound device coordinate.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. src/math/big/int.go

    	// Calculate the quotient and cosequences using Collins' stopping condition.
    	// Note that overflow of a Word is not possible when computing the remainder
    	// sequence and cosequences since the cosequence size is bounded by the input size.
    	// See section 4.2 of Jebelean for details.
    	for a2 >= v2 && a1-a2 >= v1+v2 {
    		q, r := a1/a2, a1%a2
    		a1, a2 = a2, r
    		u0, u1, u2 = u1, u2, u1+q*u2
    		v0, v1, v2 = v1, v2, v1+q*v2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/order.go

    		return
    	}
    
    	mk := as.Y.(*ir.MakeExpr)
    	if mk.Esc() == ir.EscNone || mk.Len == nil || mk.Cap != nil {
    		return
    	}
    	mk.SetOp(ir.OMAKESLICECOPY)
    	mk.Cap = cp.Y
    	// Set bounded when m = OMAKESLICE([]T, len(s)); OCOPY(m, s)
    	mk.SetBounded(mk.Len.Op() == ir.OLEN && ir.SameSafeExpr(mk.Len.(*ir.UnaryExpr).X, cp.Y))
    	as.Y = typecheck.Expr(mk)
    	s[1] = nil // remove separate copy call
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go

    			maxVols:      4,
    			test:         "already-mounted AzureDisk volumes are always ok to allow",
    		},
    		{
    			newPod:       splitAzureDiskPod,
    			existingPods: []*v1.Pod{oneAzureDiskPod, oneAzureDiskPod, onePVCPod(azureDiskVolumeFilterType)},
    			filterName:   azureDiskVolumeFilterType,
    			maxVols:      3,
    			test:         "the same AzureDisk volumes are not counted multiple times",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 30 23:00:56 UTC 2023
    - 36.8K bytes
    - Viewed (0)
  5. src/math/big/float.go

    			// considered "1.0", for p == 0, the mantissa value m is >= 0.5.
    			// If m > 0.5, it is rounded up to 1.0; i.e., the smallest denormal.
    			// If m == 0.5, it is rounded down to even, i.e., 0.0.
    			// If p < 0, the mantissa value m is <= "0.25" which is never rounded up.
    			if p < 0 /* m <= 0.25 */ || p == 0 && x.mant.sticky(uint(len(x.mant))*_W-1) == 0 /* m == 0.5 */ {
    				// underflow to ±0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  6. samples/bookinfo/src/productpage/templates/productpage.html

        </div>
      </div>
    </nav>
    
    <!-- Sign in dialog -->
    <dialog id="dialog" class="w-full sm:w-2/3 lg:w-1/3 border rounded-md shadow-xl">
      <div class="flex min-h-full flex-col justify-center px-6 py-12 lg:px-8">
        <div class="absolute right-0 top-0 hidden pr-4 pt-4 sm:block">
          <button id="close-dialog" type="button" class="rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2">
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 19:54:05 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          int result = BigIntegerMath.log2(x, HALF_UP);
          BigInteger x2 = x.pow(2);
          // x^2 < 2^(2 * result + 1), or else we would have rounded up
          assertTrue(ZERO.setBit(2 * result + 1).compareTo(x2) > 0);
          // x^2 >= 2^(2 * result - 1), or else we would have rounded down
          assertTrue(result == 0 || ZERO.setBit(2 * result - 1).compareTo(x2) <= 0);
        }
      }
    
      public void testLog2HalfDown() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 17:58:33 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/DoubleMath.java

        }
      }
    
      /**
       * Returns the {@code int} value that is equal to {@code x} rounded with the specified rounding
       * mode, if possible.
       *
       * @throws ArithmeticException if
       *     <ul>
       *       <li>{@code x} is infinite or NaN
       *       <li>{@code x}, after being rounded to a mathematical integer using the specified rounding
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/math/DoubleMath.java

        }
      }
    
      /**
       * Returns the {@code int} value that is equal to {@code x} rounded with the specified rounding
       * mode, if possible.
       *
       * @throws ArithmeticException if
       *     <ul>
       *       <li>{@code x} is infinite or NaN
       *       <li>{@code x}, after being rounded to a mathematical integer using the specified rounding
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. src/crypto/internal/mlkem768/mlkem768_test.go

    	// so it should work as we expect. (There's no direct way to round a Rat.)
    	rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64)
    	if err != nil {
    		panic(err)
    	}
    
    	// If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction.
    	return uint16(rounded % (1 << d))
    }
    
    func TestCompress(t *testing.T) {
    	for d := 1; d < 12; d++ {
    		for n := 0; n < q; n++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 15:27:18 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top