Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 797 for zero (0.04 sec)

  1. src/cmd/compile/internal/ssa/deadstore_test.go

    			Valu("sp", OpSP, c.config.Types.Uintptr, 0, nil),
    			Valu("zero", OpConst64, c.config.Types.Int, 0, nil),
    			Valu("v6", OpLocalAddr, ptrType, 0, name, "sp", "start"),
    			Valu("v3", OpOffPtr, ptrType, 8, nil, "v6"),
    			Valu("v22", OpOffPtr, ptrType, 0, nil, "v6"),
    			Valu("zerostore1", OpStore, types.TypeMem, 0, c.config.Types.Int, "v22", "zero", "start"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. src/internal/reflectlite/export_test.go

    	}
    	p := &t.Fields[i]
    	return toType(p.Typ)
    }
    
    // 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: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/net/netip/netip.go

    func (ip Addr) v6u16(i uint8) uint16 {
    	return uint16(*(ip.addr.halves()[(i/4)%2]) >> ((3 - i%4) * 16))
    }
    
    // isZero reports whether ip is the zero value of the IP type.
    // The zero value is not a valid IP address of any type.
    //
    // Note that "0.0.0.0" and "::" are not the zero value. Use IsUnspecified to
    // check for these values instead.
    func (ip Addr) isZero() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_tidy_diff.txt

    ! stdout 'diff current/go.mod tidy/go.mod'
    stdout 'diff current/go.sum tidy/go.sum'
    
    # Everything is tidy, should return zero exit code.
    go mod tidy
    go mod tidy -diff
    ! stdout 'diff current/go.mod tidy/go.mod'
    ! stdout 'diff current/go.sum tidy/go.sum'
    
    # go.mod requires updates, should return non-zero exit code.
    cp go.mod.orig go.mod
    ! go mod tidy -diff
    stdout 'diff current/go.mod tidy/go.mod'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td

                                      $n, $num_upper),
       (TF_RangeOp:$range_m $zero, $m, $one),
       (TF_RangeOp:$range_n $zero, $n, $one),
       (TF_SubOp:$offset (TF_ExpandDimsOp $range_m, $neg_one), $range_n),
       (TF_LogicalAndOp:$indicator (TF_LessEqualOp $offset, $num_lower_or_m),
                                   (TF_GreaterEqualOp $offset,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

        %2 = stablehlo.constant dense<-128> : tensor<1x1x1xi8>  // Input 1 zero point (z1).
        %3 = stablehlo.constant dense<-128> : tensor<1x1x1xi32>  // Input 1 zero point (z1) (upcast & folded into i32).
        %4 = stablehlo.constant dense<4.000000e-01> : tensor<1x1x1xf32>  // Input 2 inverse scale (1 / s2).
        %5 = stablehlo.constant dense<0> : tensor<1x1x1xi8>  // Input 2 zero point (z2).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
  7. src/internal/coverage/cfile/apis.go

    	}
    
    	// Implementation note: this function would be faster and simpler
    	// if we could just zero out the entire counter array, but for the
    	// moment we go through and zero out just the slots in the array
    	// corresponding to the counter values. We do this to avoid the
    	// following bad scenario: suppose that a user builds their Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/crypto/internal/nistec/p256_asm.go

    		}
    		index += 6
    		sel, sign = boothW6(uint(wvalue))
    		p256SelectAffine(&t0, &p256Precomputed[i], sel)
    		p256PointAddAffineAsm(p, p, &t0, sign, sel, zero)
    		zero |= sel
    	}
    
    	// If the whole scalar was zero, set to the point at infinity.
    	p256MovCond(p, p, NewP256Point(), zero)
    }
    
    func (p *P256Point) p256ScalarMult(scalar *p256OrdElement) {
    	// precomp is a table of precomputed points that stores powers of p
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  9. src/syscall/js/js_test.go

    	}
    
    	expectPanic(t, func() {
    		dummys.Call("zero")
    	})
    	expectValueError(t, func() {
    		dummys.Get("zero").Call("badMethod")
    	})
    }
    
    func TestInvoke(t *testing.T) {
    	var i int64 = 40
    	if got := dummys.Get("add").Invoke(i, 2).Int(); got != 42 {
    		t.Errorf("got %#v, want %#v", got, 42)
    	}
    
    	expectValueError(t, func() {
    		dummys.Get("zero").Invoke()
    	})
    }
    
    func TestNew(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  10. src/text/template/exec_test.go

    	{"if 1", "{{if 1}}NON-ZERO{{else}}ZERO{{end}}", "NON-ZERO", tVal, true},
    	{"if 0", "{{if 0}}NON-ZERO{{else}}ZERO{{end}}", "ZERO", tVal, true},
    	{"if 1.5", "{{if 1.5}}NON-ZERO{{else}}ZERO{{end}}", "NON-ZERO", tVal, true},
    	{"if 0.0", "{{if .FloatZero}}NON-ZERO{{else}}ZERO{{end}}", "ZERO", tVal, true},
    	{"if 1.5i", "{{if 1.5i}}NON-ZERO{{else}}ZERO{{end}}", "NON-ZERO", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
Back to top