Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for nonnegative (0.23 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy

        }
    
        @Test public void testResolveAbsoluteFileURIString() {
            File absoluteFile = new File('nonRelative').canonicalFile
            assertEquals(absoluteFile, baseDirConverter.resolve(absoluteFile.toURI().toString()))
        }
    
        @Test public void testResolveAbsoluteFileURI() {
            File absoluteFile = new File('nonRelative').canonicalFile
            assertEquals(absoluteFile, baseDirConverter.resolve(absoluteFile.toURI()))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 29 17:15:52 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/prove.go

    		return isNonNegative(v.Args[0])
    
    	case OpAnd64, OpAnd32, OpAnd16, OpAnd8:
    		return isNonNegative(v.Args[0]) || isNonNegative(v.Args[1])
    
    	case OpMod64, OpMod32, OpMod16, OpMod8,
    		OpDiv64, OpDiv32, OpDiv16, OpDiv8,
    		OpOr64, OpOr32, OpOr16, OpOr8,
    		OpXor64, OpXor32, OpXor16, OpXor8:
    		return isNonNegative(v.Args[0]) && isNonNegative(v.Args[1])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    }
    
    // boundsCheck generates bounds checking code. Checks if 0 <= idx <[=] len, branches to exit if not.
    // Starts a new block on return.
    // On input, len must be converted to full int width and be nonnegative.
    // Returns idx converted to full int width.
    // If bounded is true then caller guarantees the index is not out of bounds
    // (but boundsCheck will still extend the index to full int width).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      %crops = "tf.Const"() {value = dense<[[-1, -2], [-3, -4]]> : tensor<2x2xi32>} : () -> tensor<2x2xi32>
      // expected-error @+1 {{'tf.BatchToSpace' op requires all crop values to be nonnegative, but got dense<[[-1, -2], [-3, -4]]> : tensor<2x2xi32>}}
      %0 = "tf.BatchToSpace"(%arg0, %crops) {block_size = 2 : i64} : (tensor<*xf32>, tensor<2x2xi32>) -> tensor<*xf32>
      func.return
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Div8  n (Const8  [c])) && isNonNegative(n) && isPowerOfTwo8(c)  => (Rsh8Ux64  n (Const64 <typ.UInt64> [log8(c)]))
    (Div16 n (Const16 [c])) && isNonNegative(n) && isPowerOfTwo16(c) => (Rsh16Ux64 n (Const64 <typ.UInt64> [log16(c)]))
    (Div32 n (Const32 [c])) && isNonNegative(n) && isPowerOfTwo32(c) => (Rsh32Ux64 n (Const64 <typ.UInt64> [log32(c)]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritegeneric.go

    		v.AuxInt = int16ToAuxInt(c / d)
    		return true
    	}
    	// match: (Div16 n (Const16 [c]))
    	// cond: isNonNegative(n) && isPowerOfTwo16(c)
    	// result: (Rsh16Ux64 n (Const64 <typ.UInt64> [log16(c)]))
    	for {
    		n := v_0
    		if v_1.Op != OpConst16 {
    			break
    		}
    		c := auxIntToInt16(v_1.AuxInt)
    		if !(isNonNegative(n) && isPowerOfTwo16(c)) {
    			break
    		}
    		v.reset(OpRsh16Ux64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
Back to top