Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for zero (0.12 sec)

  1. test/cmplxdivide1.go

    	{complex(zero, zero), complex(nan, inf), complex(zero, -zero)},
    	{complex(zero, zero), complex(nan, -inf), complex(-zero, zero)},
    	{complex(zero, zero), complex(zero, zero), complex(nan, nan)},
    	{complex(zero, zero), complex(-zero, -zero), complex(nan, nan)},
    	{complex(zero, zero), complex(zero, 1), complex(zero, zero)},
    	{complex(zero, zero), complex(-zero, -1), complex(-zero, -zero)},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 15 22:45:17 UTC 2017
    - 240.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/generic.rules

    // Don't Zero variables that are immediately completely overwritten
    // before being accessed.
    (Move {t} [n] dst1 src1 zero:(Zero {t} [n] dst2 mem))
    	&& zero.Uses == 1
    	&& isSamePtr(dst1, dst2) && disjoint(src1, n, dst2, n)
    	&& clobber(zero)
    	=> (Move {t} [n] dst1 src1 mem)
    (Move {t} [n] dst1 src1 vardef:(VarDef {x} zero:(Zero {t} [n] dst2 mem)))
    	&& zero.Uses == 1 && vardef.Uses == 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  3. src/reflect/value.go

    }
    
    // Zero returns a Value representing the zero value for the specified type.
    // The result is different from the zero value of the Value struct,
    // which represents no value at all.
    // For example, Zero(TypeOf(42)) returns a Value with Kind [Int] and value 0.
    // The returned value is neither addressable nor settable.
    func Zero(typ Type) Value {
    	if typ == nil {
    		panic("reflect: Zero(nil)")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    // zeroing
    (Zero [0] _   mem) => mem
    (Zero [1] ptr mem) => (MOVBstore ptr (MOVDconst [0]) mem)
    (Zero [2] ptr mem) => (MOVHstore ptr (MOVDconst [0]) mem)
    (Zero [4] ptr mem) => (MOVWstore ptr (MOVDconst [0]) mem)
    (Zero [3] ptr mem) =>
    	(MOVBstore [2] ptr (MOVDconst [0])
    		(MOVHstore ptr (MOVDconst [0]) mem))
    (Zero [5] ptr mem) =>
    	(MOVBstore [4] ptr (MOVDconst [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK-DAG: [[ZERO:%.*]] = "tf.Const"() <{value = dense<0.000000e+00> : tensor<2xf32>}>
      // CHECK-DAG: [[ONE:%.*]] = "tf.Const"() <{value = dense<1.000000e+00> : tensor<2xf32>}>
      // CHECK: [[ADD_N:%.*]] = "tf.AddN"(%arg0, [[ZERO]], [[ONE]])
      // CHECK: return %arg0, %arg0, [[ZERO]], [[ADD_N]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/AMD64Ops.go

    			},
    			faultOnNilArg0: true,
    			unsafePoint:    true, // FP maintenance around DUFFCOPY can be clobbered by interrupts
    		},
    
    		// arg0 = address of memory to zero
    		// arg1 = # of 8-byte words to zero
    		// arg2 = value to store (will always be zero)
    		// arg3 = mem
    		// returns mem
    		{
    			name:      "REPSTOSQ",
    			argLength: 4,
    			reg: regInfo{
    				inputs:   []regMask{buildReg("DI"), buildReg("CX"), buildReg("AX")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 16:40:24 UTC 2023
    - 98K bytes
    - Viewed (1)
  7. pkg/apis/apps/validation/validation_test.go

    	}{
    		"invalid: unset": {
    			ds:          &apps.RollingUpdateDaemonSet{},
    			expectError: true,
    		},
    		"invalid: zero percent": {
    			ds: &apps.RollingUpdateDaemonSet{
    				MaxUnavailable: intstr.FromString("0%"),
    			},
    			expectError: true,
    		},
    		"invalid: zero": {
    			ds: &apps.RollingUpdateDaemonSet{
    				MaxUnavailable: intstr.FromInt32(0),
    			},
    			expectError: true,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  8. src/reflect/all_test.go

    	if allocs := testing.AllocsPerRun(100, func() { Zero(typ) }); allocs > 0 {
    		t.Errorf("Creating small zero values caused %f allocs, want 0", allocs)
    	}
    }
    
    func TestBigZero(t *testing.T) {
    	const size = 1 << 10
    	var v [size]byte
    	z := Zero(ValueOf(v).Type()).Interface().([size]byte)
    	for i := 0; i < size; i++ {
    		if z[i] != 0 {
    			t.Fatalf("Zero object not all zero, index %d", i)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    /// divisor if all the elements of the divisor are zero and to tf.Div if all the
    /// elements of the divisor are non-zero.
    
    /// Similarly, if the op is tf.MulNoNan and the multiplier is a constant tensor
    /// (with all the elements of any allowed type: float or complex), rewrite the
    /// op to the multiplier if all the elements of the multiplier are zero and to
    /// tf.Mul if all the elements of the multiplier are non-zero.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    <code>T</code> is a floating-point type and <code>x</code> can be rounded to <code>T</code>'s
    precision without overflow. Rounding uses IEEE 754 round-to-even rules but with an IEEE
    negative zero further simplified to an unsigned zero. Note that constant values never result
    in an IEEE negative zero, NaN, or infinity.
    </li>
    
    <li>
    <code>T</code> is a complex type, and <code>x</code>'s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top