Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for nonnegative (0.18 sec)

  1. src/runtime/error.go

    	// That means we'd need 65 bits to encode all possible indexes, from -2^63 to 2^64-1.
    	// Instead, we keep track of whether x should be interpreted as signed or unsigned.
    	// y is known to be nonnegative and to fit in an int.
    	signed bool
    	code   boundsErrorCode
    }
    
    type boundsErrorCode uint8
    
    const (
    	boundsIndex boundsErrorCode = iota // s[x], 0 <= x < len(s) failed
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Strings.java

       *
       * <p><b>Java 11+ users:</b> use {@code string.repeat(count)} instead.
       *
       * @param string any non-null string
       * @param count the number of times to repeat it; a nonnegative integer
       * @return a string containing {@code string} repeated {@code count} times (the empty string if
       *     {@code count} is zero)
       * @throws IllegalArgumentException if {@code count} is negative
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Sep 17 20:47:03 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  3. src/crypto/internal/edwards25519/field/fe.go

    	// r = CT_SELECT(r_prime IF flipped_sign_sqrt | flipped_sign_sqrt_i ELSE r)
    	rr.Select(rPrime, rr, flippedSignSqrt|flippedSignSqrtI)
    
    	r.Absolute(rr) // Choose the nonnegative square root.
    	return r, correctSignSqrt | flippedSignSqrt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      }
    
      // Query Operations
    
      /**
       * Returns the number of occurrences of {@code element} in this multiset.
       *
       * @param element the element to look for
       * @return the nonnegative number of occurrences of the element
       */
      @Override
      public int count(@CheckForNull Object element) {
        AtomicInteger existingCounter = Maps.safeGet(countMap, element);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      }
    
      // Query Operations
    
      /**
       * Returns the number of occurrences of {@code element} in this multiset.
       *
       * @param element the element to look for
       * @return the nonnegative number of occurrences of the element
       */
      @Override
      public int count(@CheckForNull Object element) {
        AtomicInteger existingCounter = Maps.safeGet(countMap, element);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/primitives/UnsignedLongs.java

              x >>>= shift;
            } while (x != 0);
          } else {
            // Separate off the last digit using unsigned division. That will leave
            // a number that is nonnegative as a signed integer.
            long quotient;
            if ((radix & 1) == 0) {
              // Fast path for the usual case where the radix is even.
              quotient = (x >>> 1) / (radix >>> 1);
            } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/UnsignedLongs.java

              x >>>= shift;
            } while (x != 0);
          } else {
            // Separate off the last digit using unsigned division. That will leave
            // a number that is nonnegative as a signed integer.
            long quotient;
            if ((radix & 1) == 0) {
              // Fast path for the usual case where the radix is even.
              quotient = (x >>> 1) / (radix >>> 1);
            } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. test/prove.go

    // The opt pass doesnt have sufficient information to see that n is positive.
    // So, instead, opt rewrites the division with a less-than-optimal replacement.
    // Prove, which can see that n is nonnegative, cannot see the division because
    // opt, an earlier pass, has already replaced it.
    // The fix for this issue allows prove to zero a right shift that was added as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 23 00:02:36 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. src/internal/abi/type.go

    	if n.Bytes == nil {
    		return false
    	}
    	_, l := n.ReadVarint(1)
    	return l == 1 && *n.Data(2) == '_'
    }
    
    // writeVarint writes n to buf in varint form. Returns the
    // number of bytes written. n must be nonnegative.
    // Writes at most 10 bytes.
    func writeVarint(buf []byte, n int) int {
    	for i := 0; ; i++ {
    		b := byte(n & 0x7f)
    		n >>= 7
    		if n == 0 {
    			buf[i] = b
    			return i + 1
    		}
    		buf[i] = b | 0x80
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    
    namespace mlir {
    namespace TF {
    namespace {
    
    // A collection of Resource IDs. Note that `kUnknownResourceId` is smaller than
    // all other resource IDs which are nonnegative (see check above) so it will
    // always be the first element of a `ResourceIdSet` (we make use of this).
    using ResourceIdSet = llvm::SmallSet<ResourceId, 8>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top