Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for Subtract (0.18 sec)

  1. src/crypto/internal/edwards25519/field/fe_alias_test.go

    			oneArgF: func(v, x *Element) *Element {
    				return v.Mult32(x, 0xffffffff)
    			},
    		},
    		{name: "Multiply", twoArgsF: (*Element).Multiply},
    		{name: "Add", twoArgsF: (*Element).Add},
    		{name: "Subtract", twoArgsF: (*Element).Subtract},
    		{
    			name: "SqrtRatio",
    			twoArgsF: func(v, x, y *Element) *Element {
    				r, _ := v.SqrtRatio(x, y)
    				return r
    			},
    		},
    		{
    			name: "Select0",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. src/crypto/internal/edwards25519/scalar_alias_test.go

    			return checkAliasingTwoArgs((*Scalar).Multiply, v, x, y)
    		},
    		"Add": func(v, x, y Scalar) bool {
    			return checkAliasingTwoArgs((*Scalar).Add, v, x, y)
    		},
    		"Subtract": func(v, x, y Scalar) bool {
    			return checkAliasingTwoArgs((*Scalar).Subtract, v, x, y)
    		},
    		"MultiplyAdd1": func(v, x, y, fixed Scalar) bool {
    			return checkAliasingTwoArgs(func(v, x, y *Scalar) *Scalar {
    				return v.MultiplyAdd(&fixed, x, y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. src/runtime/mpagealloc_64bit.go

    		// memory twice, it should never be possible to prune in such a way that causes
    		// need to be split.
    		if inUseIndex > 0 {
    			need = need.subtract(addrRangeToSumAddrRange(l, p.inUse.ranges[inUseIndex-1]))
    		}
    		if inUseIndex < len(p.inUse.ranges) {
    			need = need.subtract(addrRangeToSumAddrRange(l, p.inUse.ranges[inUseIndex]))
    		}
    		// It's possible that after our pruning above, there's nothing new to map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir

    // CHECK:         %[[CONVERT_0:.*]] = u8[] convert(f32[] %[[ROUND]])
    // CHECK:         %[[CONVERT_1:.*]] = s32[] convert(u8[] %[[CONVERT_0]])
    // CHECK:         %[[SUB:.*]] = s32[] subtract(s32[] %[[CONVERT_1]],
    // CHECK:         %[[CONVERT_2:.*]] = f32[] convert(s32[] %[[SUB]])
    // CHECK:         %[[MUL:.*]] = f32[] multiply(f32[] %[[CONVERT_2]],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 07 16:28:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/runtime/msize.go

    		// Small object.
    		if !noscan && reqSize > minSizeForMallocHeader { // !noscan && !heapBitsInSpan(reqSize)
    			reqSize += mallocHeaderSize
    		}
    		// (reqSize - size) is either mallocHeaderSize or 0. We need to subtract mallocHeaderSize
    		// from the result if we have one, since mallocgc will add it back in.
    		if reqSize <= smallSizeMax-8 {
    			return uintptr(class_to_size[size_to_class8[divRoundUp(reqSize, smallSizeDiv)]]) - (reqSize - size)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/unfuse_mhlo_batch_norm.mlir

      // CHECK-DAG: %[[MEAN_BCAST:.+]] = "mhlo.broadcast_in_dim"(%[[MEAN]]) <{broadcast_dimensions = dense<1> : tensor<1xi64>}> : (tensor<256xf32>) -> tensor<4x256xf32>
      // CHECK: %[[X_CENTER:.+]] = mhlo.subtract %[[X]], %[[MEAN_BCAST]] : tensor<4x256xf32>
      // CHECK: %[[X_SCALED:.+]] = mhlo.multiply %[[X_CENTER]], %[[SCALE_BCAST]] : tensor<4x256xf32>
      // CHECK: %[[X_NORMED:.+]] = mhlo.divide %[[X_SCALED]], %[[STDDEV_BCAST]] : tensor<4x256xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/AddingConfigurationIntegrationTest.groovy

                        assert sum.files.sort() == [ file1, file2 ]
                    }
                }
            """
    
            expect:
            succeeds "addConfigs"
        }
    
        def "can subtract configurations" () {
            buildFile << """
                def file1 = file('file1')
                def file2 = file('file2')
                def file3 = file('file3')
    
                configurations {
                    conf1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

            Set set = collection.files
            Set set2 = collection as Set
            List list = collection as List
            String path = collection.asPath
            File file = collection.singleFile
    
            // Add and subtract collections
            def union = collection + projectLayout.files('src/file2.txt')
            def difference = collection - projectLayout.files('src/file2.txt')
    
            // end::usage[]
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/runtime/time_windows_arm.s

    	MOVW	$0,R7
    	MULALU	R2,R3,(R7,R6)
    
    	// unscale by discarding low 32 bits, shifting the rest by 29
    	MOVW	R6>>29,R6		// R7:R6 = (R7:R6:R5 >> 61)
    	ORR	R7<<3,R6
    	MOVW	R7>>29,R7
    
    	// subtract (10**9 * sec) from nsec to get nanosecond remainder
    	MOVW	$1000000000, R5	// 10**9
    	MULLU	R6,R5,(R9,R8)   // R9:R8 = R7:R6 * R5
    	MULA	R7,R5,R9,R9
    	SUB.S	R8,R1		// R2:R1 -= R9:R8
    	SBC	R9,R2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/net/netip/uint128_test.go

    package netip
    
    import (
    	"testing"
    )
    
    func TestUint128AddSub(t *testing.T) {
    	const add1 = 1
    	const sub1 = -1
    	tests := []struct {
    		in   uint128
    		op   int // +1 or -1 to add vs subtract
    		want uint128
    	}{
    		{uint128{0, 0}, add1, uint128{0, 1}},
    		{uint128{0, 1}, add1, uint128{0, 2}},
    		{uint128{1, 0}, add1, uint128{1, 1}},
    		{uint128{0, ^uint64(0)}, add1, uint128{1, 0}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 01:28:01 UTC 2021
    - 2.1K bytes
    - Viewed (0)
Back to top