Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,175 for zero (0.05 sec)

  1. src/math/big/int.go

    // If y == 0, a division-by-zero run-time panic occurs.
    // Quo implements truncated division (like Go); see [Int.QuoRem] for more details.
    func (z *Int) Quo(x, y *Int) *Int {
    	z.abs, _ = z.abs.div(nil, x.abs, y.abs)
    	z.neg = len(z.abs) > 0 && x.neg != y.neg // 0 has no sign
    	return z
    }
    
    // Rem sets z to the remainder x%y for y != 0 and returns z.
    // If y == 0, a division-by-zero run-time panic occurs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. src/net/netip/fuzz_test.go

    )
    
    var corpus = []string{
    	// Basic zero IPv4 address.
    	"0.0.0.0",
    	// Basic non-zero IPv4 address.
    	"192.168.140.255",
    	// IPv4 address in windows-style "print all the digits" form.
    	"010.000.015.001",
    	// IPv4 address with a silly amount of leading zeros.
    	"000001.00000002.00000003.000000004",
    	// 4-in-6 with octet with leading zero
    	"::ffff:1.2.03.4",
    	// Basic zero IPv6 address.
    	"::",
    	// Localhost IPv6.
    	"::1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  3. src/debug/dwarf/type.go

    // DW_AT_bit_offset DWARF attribute that was deprecated in DWARF 4 and
    // removed in DWARF 5.
    //
    // At most one of DataBitOffset and BitOffset will be non-zero;
    // DataBitOffset/BitOffset will only be non-zero if BitSize is
    // non-zero. Whether a C compiler uses one or the other
    // will depend on compiler vintage and command line options.
    //
    // Here is an example of C/C++ bit field use, along with what to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  4. src/internal/reflectlite/value.go

    // It returns false if v is the zero Value.
    // If IsValid returns false, all other methods except String panic.
    // Most functions and methods never return an invalid Value.
    // If one does, its documentation states the conditions explicitly.
    func (v Value) IsValid() bool {
    	return v.flag != 0
    }
    
    // Kind returns v's Kind.
    // If v is the zero Value (IsValid returns false), Kind returns Invalid.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

           (TF_MulOp $grad, $adagrad_lr)),
         (TF_MulOp:$l1_gt_zero (TF_SignOp $prox_var),
           (TF_MaximumOp
              (TF_SubOp (TF_AbsOp $prox_var), (TF_MulOp $adagrad_lr, $l1)), $zero)),
         (TF_SelectV2Op:$var_numerator (TF_GreaterOp $l1, $zero),
           $l1_gt_zero, $prox_var),
         (TF_DivOp:$var_new
           $var_numerator, (TF_AddOp $one, (TF_MulOp $adagrad_lr, $l2))),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	return q.i.AsCanonicalBytes(out)
    }
    
    // IsZero returns true if the quantity is equal to zero.
    func (q *Quantity) IsZero() bool {
    	if q.d.Dec != nil {
    		return q.d.Dec.Sign() == 0
    	}
    	return q.i.value == 0
    }
    
    // Sign returns 0 if the quantity is zero, -1 if the quantity is less than zero, or 1 if the
    // quantity is greater than zero.
    func (q *Quantity) Sign() int {
    	if q.d.Dec != nil {
    		return q.d.Dec.Sign()
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. src/math/j0.go

    }
    
    // The asymptotic expansions of pzero is
    //      1 - 9/128 s**2 + 11025/98304 s**4 - ..., where s = 1/x.
    // For x >= 2, We approximate pzero by
    // 	pzero(x) = 1 + (R/S)
    // where  R = pR0 + pR1*s**2 + pR2*s**4 + ... + pR5*s**10
    // 	  S = 1 + pS0*s**2 + ... + pS4*s**10
    // and
    //      | pzero(x)-1-R/S | <= 2  ** ( -60.26)
    
    // for x in [inf, 8]=1/[0,0.125]
    var p0R8 = [6]float64{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * creation and removal (including automatic removal of zeroes). If the modification of an
       * AtomicInteger results in zero, we compareAndSet the value to zero; if that succeeds, we remove
       * the entry from the Map. If another operation sees a zero in the map, it knows that the entry is
       * about to be removed, so this operation may remove it (often by replacing it with a new
       * AtomicInteger).
       */
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/reflect/abi.go

    	pStart := len(a.steps)
    	a.valueStart = append(a.valueStart, pStart)
    	if t.Size() == 0 {
    		// If the size of the argument type is zero, then
    		// in order to degrade gracefully into ABI0, we need
    		// to stack-assign this type. The reason is that
    		// although zero-sized types take up no space on the
    		// stack, they do cause the next argument to be aligned.
    		// So just do that here, but don't bother actually
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:08:32 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. src/strings/replace.go

    	// otherwise. In the example above, positive/zero priorities are marked
    	// with a trailing "+" or "-".
    	priority int
    
    	// A trie node may have zero, one or more child nodes:
    	//  * if the remaining fields are zero, there are no children.
    	//  * if prefix and next are non-zero, there is one child in next.
    	//  * if table is non-zero, it defines all the children.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:10:31 UTC 2023
    - 14.5K bytes
    - Viewed (0)
Back to top